Difference between revisions of "NATS4 REST API Path changes"
From TMM Wiki
Jump to navigationJump to searchTmmStephen (talk | contribs) |
|||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{NATS4 Manual | ||
+ | | show_api_admin_section = true | ||
+ | }} | ||
+ | |||
As of NATS version 4.1.13.5 the paths used for the REST API have changed, the following are the equivilant changes from the old REST path to the new. | As of NATS version 4.1.13.5 the paths used for the REST API have changed, the following are the equivilant changes from the old REST path to the new. | ||
Line 6: | Line 10: | ||
|New Path | |New Path | ||
|- | |- | ||
− | |<pre>http://domain/api/adtools/types</pre> | + | |<pre>http://domain/api/adtools/types</pre>'''Using GET method''' |
− | |<pre>http://domain/api/adtool/types</pre> | + | |<pre>http://domain/api/adtool/types</pre>'''Using GET method''' |
+ | |- | ||
+ | |<pre>http://domain/api/adtools/categories</pre>'''Using GET method''' | ||
+ | |<pre>http://domain/api/adtool/categories</pre>'''Using GET method''' | ||
+ | |- | ||
+ | |<pre>http://domain/api/adtools/admin</pre>'''Using GET method''' | ||
+ | |<pre>http://domain/api/adtool/search</pre>'''Using GET method''' | ||
+ | |- | ||
+ | |<pre>http://domain/api/adtools/importdump</pre>'''Using POST method''' | ||
+ | |<pre>http://domain/api/adtool/import</pre>'''Using POST method''' | ||
+ | |- | ||
+ | |<pre>http://domain/api/affiliate/hitdata</pre>'''Using GET method''' | ||
+ | |<pre>http://domain/api/affiliate/hits</pre>'''Using GET method''' | ||
+ | |- | ||
+ | |<pre>http://domain/api/affiliate/campaigns</pre>'''Using GET method''' | ||
+ | |<pre>http://domain/api/affiliate/campaigns</pre>'''Using GET method''' | ||
+ | |- | ||
+ | |<pre>http://domain/api/affiliate/getaffcampaigns</pre>'''Using GET method''' | ||
+ | |<pre>http://domain/api/affiliate/campaigns</pre>'''Using GET method''' | ||
+ | |- | ||
+ | |<pre>http://domain/api/affiliate/payout</pre>'''Using GET method''' | ||
+ | |<pre>http://domain/api/affiliate/payout</pre>'''Using GET method''' | ||
+ | |- | ||
+ | |<pre>http://domain/api/affiliate/loginids</pre>'''Using GET method''' | ||
+ | |<pre>http://domain/api/affiliate/loginids</pre>'''Using GET method''' | ||
+ | |- | ||
+ | |<pre>http://domain/api/affiliate/programcampaigns</pre>'''Using GET method''' | ||
+ | |<pre>http://domain/api/affiliate/programcampaigns</pre>'''Using GET method''' | ||
+ | |- | ||
+ | |<pre>http://domain/api/affiliate/natscodes</pre>'''Using GET method''' | ||
+ | |<pre>http://domain/api/affiliate/natscodes</pre>'''Using GET method''' | ||
+ | |- | ||
+ | |<pre>http://domain/api/affiliate/searchinfo</pre>'''Using GET method''' | ||
+ | |<pre>http://domain/api/affiliate/search</pre>'''Using GET method''' | ||
+ | |- | ||
+ | |<pre>http://domain/api/affiliate/setcustoms</pre>'''Using PATCH method''' | ||
+ | |<pre>http://domain/api/affiliate/customs</pre>'''Using PATCH method''' | ||
+ | |- | ||
+ | |<pre>http://domain/api/affiliate/setdefaults</pre>'''Using PATCH method''' | ||
+ | |<pre>http://domain/api/affiliate/defaults</pre>'''Using PATCH method''' | ||
+ | |- | ||
+ | |<pre>http://domain/api/affiliate/setinformation</pre>'''Using PATCH method''' | ||
+ | |<pre>http://domain/api/affiliate/details</pre>'''Using PATCH method''' | ||
+ | |- | ||
+ | |<pre>http://domain/api/affiliate/setsettings</pre>'''Using PATCH method''' | ||
+ | |<pre>http://domain/api/affiliate/settings</pre>'''Using PATCH method''' | ||
+ | |- | ||
+ | |<pre>http://domain/api/affiliate/setadminsettings</pre>'''Using PATCH method''' | ||
+ | |<pre>http://domain/api/affiliate/adminsettings</pre>'''Using PATCH method''' | ||
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/affiliate/setpayviainfo</pre>'''Using PATCH method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/affiliate/payvia</pre>'''Using PATCH method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/affiliate/</pre>'''Using method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/affiliate/status</pre>'''Using PATCH method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/affiliate/addaffiliate</pre>'''Using POST method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/affiliate/</pre>'''Using POST method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/decodenatscode</pre>'''Using GET method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/service/decodenatscode</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/sendemail</pre>'''Using POST method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/service/sendemail</pre>'''Using POST method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/addnote</pre>'''Using POST method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/note</pre>'''Using POST method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/recordlogin</pre>'''Using POST method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/login</pre>'''Using POST method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/addmanual</pre>'''Using POST method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/manual</pre>'''Using POST method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/expiremanual</pre>'''Using PUT method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/expiremanual</pre>'''Using PATCH method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/setdetails</pre>'''Using PATCH method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/details</pre>'''Using PATCH method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/setexpiration</pre>'''Using PATCH method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/expiration</pre>'''Using PATCH method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/upsellstring</pre>'''Using GET method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/authstring</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/tokenrebuystring</pre>'''Using GET method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/authstring</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/instantupgradestring</pre>'''Using GET method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/authstring</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/packageupgradestring</pre>'''Using GET method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/authstring</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/member/ | + | |<pre>http://domain/api/member/details</pre>'''Using GET method''' |
− | |<pre>http://domain/api/member/ | + | |<pre>http://domain/api/member/details</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/member/ | + | |<pre>http://domain/api/member/cancelstring</pre>'''Using GET method''' |
− | |<pre>http://domain/api/member/authstring</pre> | + | |<pre>http://domain/api/member/authstring</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/member/ | + | |<pre>http://domain/api/member/signupplusstring</pre>'''Using GET method''' |
− | |<pre>http://domain/api/member/authstring</pre> | + | |<pre>http://domain/api/member/authstring</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/member/ | + | |<pre>http://domain/api/member/searchinfo</pre>'''Using GET method''' |
− | |<pre>http://domain/api/member/ | + | |<pre>http://domain/api/member/search</pre>'''Using GET method''' |
+ | | Returns JSON instead of csv now | ||
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/option/getrule</pre>'''Using GET method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/option/rule</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/option/addrule</pre>'''Using POST method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/option/rule</pre>'''Using POST method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/option/editrule</pre>'''Using PATCH method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/option/rule</pre>'''Using PATCH method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/option/edittext</pre>'''Using PUT method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/option/text</pre>'''Using PATCH method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/payviarule</pre>'''Using GET method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/payment/payviarule</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/payviarule</pre>'''Using PATCH method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/payment/payviarule</pre>'''Using PATCH method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/ping</pre>'''Using GET method''' |
− | |<pre></pre> | + | |<pre>http://domain/api/service/ping</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/profitlossreport</pre>'''Using GET method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/report/profitloss</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/surferactionreport</pre>'''Using GET method''' |
− | |<pre></pre> | + | |<pre>http://domain/api/report/surferaction</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/suggestedcanceloffers</pre>'''Using GET method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/suggestedcanceloffers</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/payments/getpayments</pre>'''Using GET method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/payment/BLANK</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/payments/setstatus</pre>'''Using PATCH method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/payment/BLANK</pre>'''Using PATCH method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/details</pre>'''Using GET method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/details</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/option/options</pre>'''Using GET method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/option/options or BLANK</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/biller/cascades</pre>'''Using GET method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/biller/cascades</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/report/hits</pre>'''Using GET method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/report/hits</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/report/transactions</pre>'''Using GET method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/report/transactions</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/report/transactionpayouts</pre>'''Using GET method''' |
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/report/transactionpayouts</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/report/surferaction</pre>'''Using GET method''' |
− | |<pre>http://domain/api/report/ | + | |<pre>http://domain/api/report/surferaction</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/service/decodenatscode</pre>'''Using GET method''' |
− | |<pre>http://domain/api/service/ | + | |<pre>http://domain/api/service/decodenatscode</pre>'''Using GET method''' |
|- | |- | ||
− | |<pre>http://domain/api/ | + | |<pre>http://domain/api/member/updatestatus</pre>'''Using PUT method''' |
− | |<pre>http://domain/api/member/ | + | |<pre>http://domain/api/member/status</pre>'''Using PATCH method''' |
− | } | + | |} |
Latest revision as of 16:00, 2 March 2017
NATS 4
|
---|
As of NATS version 4.1.13.5 the paths used for the REST API have changed, the following are the equivilant changes from the old REST path to the new.
Old Path | New Path | |
http://domain/api/adtools/typesUsing GET method |
http://domain/api/adtool/typesUsing GET method | |
http://domain/api/adtools/categoriesUsing GET method |
http://domain/api/adtool/categoriesUsing GET method | |
http://domain/api/adtools/adminUsing GET method |
http://domain/api/adtool/searchUsing GET method | |
http://domain/api/adtools/importdumpUsing POST method |
http://domain/api/adtool/importUsing POST method | |
http://domain/api/affiliate/hitdataUsing GET method |
http://domain/api/affiliate/hitsUsing GET method | |
http://domain/api/affiliate/campaignsUsing GET method |
http://domain/api/affiliate/campaignsUsing GET method | |
http://domain/api/affiliate/getaffcampaignsUsing GET method |
http://domain/api/affiliate/campaignsUsing GET method | |
http://domain/api/affiliate/payoutUsing GET method |
http://domain/api/affiliate/payoutUsing GET method | |
http://domain/api/affiliate/loginidsUsing GET method |
http://domain/api/affiliate/loginidsUsing GET method | |
http://domain/api/affiliate/programcampaignsUsing GET method |
http://domain/api/affiliate/programcampaignsUsing GET method | |
http://domain/api/affiliate/natscodesUsing GET method |
http://domain/api/affiliate/natscodesUsing GET method | |
http://domain/api/affiliate/searchinfoUsing GET method |
http://domain/api/affiliate/searchUsing GET method | |
http://domain/api/affiliate/setcustomsUsing PATCH method |
http://domain/api/affiliate/customsUsing PATCH method | |
http://domain/api/affiliate/setdefaultsUsing PATCH method |
http://domain/api/affiliate/defaultsUsing PATCH method | |
http://domain/api/affiliate/setinformationUsing PATCH method |
http://domain/api/affiliate/detailsUsing PATCH method | |
http://domain/api/affiliate/setsettingsUsing PATCH method |
http://domain/api/affiliate/settingsUsing PATCH method | |
http://domain/api/affiliate/setadminsettingsUsing PATCH method |
http://domain/api/affiliate/adminsettingsUsing PATCH method | |
http://domain/api/affiliate/setpayviainfoUsing PATCH method |
http://domain/api/affiliate/payviaUsing PATCH method | |
http://domain/api/affiliate/Using method |
http://domain/api/affiliate/statusUsing PATCH method | |
http://domain/api/affiliate/addaffiliateUsing POST method |
http://domain/api/affiliate/Using POST method | |
http://domain/api/decodenatscodeUsing GET method |
http://domain/api/service/decodenatscodeUsing GET method | |
http://domain/api/sendemailUsing POST method |
http://domain/api/service/sendemailUsing POST method | |
http://domain/api/member/addnoteUsing POST method |
http://domain/api/member/noteUsing POST method | |
http://domain/api/member/recordloginUsing POST method |
http://domain/api/member/loginUsing POST method | |
http://domain/api/member/addmanualUsing POST method |
http://domain/api/member/manualUsing POST method | |
http://domain/api/member/expiremanualUsing PUT method |
http://domain/api/member/expiremanualUsing PATCH method | |
http://domain/api/member/setdetailsUsing PATCH method |
http://domain/api/member/detailsUsing PATCH method | |
http://domain/api/member/setexpirationUsing PATCH method |
http://domain/api/member/expirationUsing PATCH method | |
http://domain/api/member/upsellstringUsing GET method |
http://domain/api/member/authstringUsing GET method | |
http://domain/api/member/tokenrebuystringUsing GET method |
http://domain/api/member/authstringUsing GET method | |
http://domain/api/member/instantupgradestringUsing GET method |
http://domain/api/member/authstringUsing GET method | |
http://domain/api/member/packageupgradestringUsing GET method |
http://domain/api/member/authstringUsing GET method | |
http://domain/api/member/detailsUsing GET method |
http://domain/api/member/detailsUsing GET method | |
http://domain/api/member/cancelstringUsing GET method |
http://domain/api/member/authstringUsing GET method | |
http://domain/api/member/signupplusstringUsing GET method |
http://domain/api/member/authstringUsing GET method | |
http://domain/api/member/searchinfoUsing GET method |
http://domain/api/member/searchUsing GET method |
Returns JSON instead of csv now |
http://domain/api/option/getruleUsing GET method |
http://domain/api/option/ruleUsing GET method | |
http://domain/api/option/addruleUsing POST method |
http://domain/api/option/ruleUsing POST method | |
http://domain/api/option/editruleUsing PATCH method |
http://domain/api/option/ruleUsing PATCH method | |
http://domain/api/option/edittextUsing PUT method |
http://domain/api/option/textUsing PATCH method | |
http://domain/api/payviaruleUsing GET method |
http://domain/api/payment/payviaruleUsing GET method | |
http://domain/api/payviaruleUsing PATCH method |
http://domain/api/payment/payviaruleUsing PATCH method | |
http://domain/api/pingUsing GET method |
http://domain/api/service/pingUsing GET method | |
http://domain/api/profitlossreportUsing GET method |
http://domain/api/report/profitlossUsing GET method | |
http://domain/api/surferactionreportUsing GET method |
http://domain/api/report/surferactionUsing GET method | |
http://domain/api/suggestedcanceloffersUsing GET method |
http://domain/api/member/suggestedcanceloffersUsing GET method | |
http://domain/api/payments/getpaymentsUsing GET method |
http://domain/api/payment/BLANKUsing GET method | |
http://domain/api/payments/setstatusUsing PATCH method |
http://domain/api/payment/BLANKUsing PATCH method | |
http://domain/api/member/detailsUsing GET method |
http://domain/api/member/detailsUsing GET method | |
http://domain/api/option/optionsUsing GET method |
http://domain/api/option/options or BLANKUsing GET method | |
http://domain/api/biller/cascadesUsing GET method |
http://domain/api/biller/cascadesUsing GET method | |
http://domain/api/report/hitsUsing GET method |
http://domain/api/report/hitsUsing GET method | |
http://domain/api/report/transactionsUsing GET method |
http://domain/api/report/transactionsUsing GET method | |
http://domain/api/report/transactionpayoutsUsing GET method |
http://domain/api/report/transactionpayoutsUsing GET method | |
http://domain/api/report/surferactionUsing GET method |
http://domain/api/report/surferactionUsing GET method | |
http://domain/api/service/decodenatscodeUsing GET method |
http://domain/api/service/decodenatscodeUsing GET method | |
http://domain/api/member/updatestatusUsing PUT method |
http://domain/api/member/statusUsing PATCH method |