Difference between revisions of "NATS4 REST API Path changes"

From TMM Wiki
Jump to navigationJump to search
Line 6: Line 6:
 
|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>
+
|<pre>http://domain/api/adtools/categories</pre>'''Using GET method'''
|<pre>http://domain/api/adtool/categories</pre>
+
|<pre>http://domain/api/adtool/categories</pre>'''Using GET method'''
 
|-
 
|-
|<pre>http://domain/api/adtools/admin</pre>
+
|<pre>http://domain/api/adtools/admin</pre>'''Using GET method'''
|<pre>http://domain/api/adtool/search</pre>
+
|<pre>http://domain/api/adtool/search</pre>'''Using GET method'''
 
|-
 
|-
|<pre>http://domain/api/adtools/importdump</pre>
+
|<pre>http://domain/api/adtools/importdump</pre>'''Using POST method'''
|<pre>http://domain/api/adtool/import</pre>
+
|<pre>http://domain/api/adtool/import</pre>'''Using POST method'''
 
|-
 
|-
|<pre>http://domain/api/affiliate/hitdata</pre>
+
|<pre>http://domain/api/affiliate/hitdata</pre>'''Using GET method'''
|<pre>http://domain/api/affiliate/hits</pre>
+
|<pre>http://domain/api/affiliate/hits</pre>'''Using GET method'''
 
|-
 
|-
|<pre>http://domain/api/affiliate/campaigns</pre>
+
|<pre>http://domain/api/affiliate/campaigns</pre>'''Using GET method'''
|<pre>http://domain/api/affiliate/campaigns</pre>
+
|<pre>http://domain/api/affiliate/campaigns</pre>'''Using GET method'''
 
|-
 
|-
|<pre>http://domain/api/affiliate/payout</pre>
+
|<pre>http://domain/api/affiliate/getaffcampaigns</pre>'''Using GET method'''
|<pre>http://domain/api/affiliate/payout</pre>
+
|<pre>http://domain/api/affiliate/campaigns</pre>'''Using GET method'''
 
|-
 
|-
|<pre>http://domain/api/affiliate/searchinfo</pre>
+
|<pre>http://domain/api/affiliate/payout</pre>'''Using GET method'''
|<pre>http://domain/api/affiliate/search</pre>
+
|<pre>http://domain/api/affiliate/payout</pre>'''Using GET method'''
 
|-
 
|-
|<pre>http://domain/api/affiliate/addaffiliate</pre>
+
|<pre>http://domain/api/affiliate/loginids</pre>'''Using GET method'''
|<pre>http://domain/api/affiliate/</pre>
+
|<pre>http://domain/api/affiliate/loginids</pre>'''Using GET method'''
 
|-
 
|-
|<pre>http://domain/api/affiliate/setcustoms</pre>
+
|<pre>http://domain/api/affiliate/programcampaigns</pre>'''Using GET method'''
|<pre>http://domain/api/affiliate/customs</pre>
+
|<pre>http://domain/api/affiliate/programcampaigns</pre>'''Using GET method'''
 
|-
 
|-
|<pre>http://domain/api/affiliate/setinformation</pre>
+
|<pre>http://domain/api/affiliate/natscodes</pre>'''Using GET method'''
|<pre>http://domain/api/affiliate/details</pre>
+
|<pre>http://domain/api/affiliate/natscodes</pre>'''Using GET method'''
 
|-
 
|-
|<pre>http://domain/api/affiliate/setadminsettings</pre>
+
|<pre>http://domain/api/affiliate/searchinfo</pre>'''Using GET method'''
|<pre>http://domain/api/affiliate/adminsettings</pre>
+
|<pre>http://domain/api/affiliate/search</pre>'''Using GET method'''
 
|-
 
|-
|<pre>http://domain/api/affiliate/setpayviainfo</pre>
+
|<pre>http://domain/api/affiliate/setcustoms</pre>'''Using PATCH method'''
|<pre>http://domain/api/affiliate/payvia</pre>
+
|<pre>http://domain/api/affiliate/customs</pre>'''Using PATCH method'''
 
|-
 
|-
|<pre>http://domain/api/affiliate/setdefaults</pre>
+
|<pre>http://domain/api/affiliate/setdefaults</pre>'''Using PATCH method'''
|<pre>http://domain/api/affiliate/defaults</pre>
+
|<pre>http://domain/api/affiliate/defaults</pre>'''Using PATCH method'''
 
|-
 
|-
|<pre>http://domain/api/affiliate/setsettings</pre>
+
|<pre>http://domain/api/affiliate/setinformation</pre>'''Using PATCH method'''
|<pre>http://domain/api/affiliate/settings</pre>
+
|<pre>http://domain/api/affiliate/details</pre>'''Using PATCH method'''
 
|-
 
|-
|<pre>http://domain/api/decodenatscode</pre>
+
|<pre>http://domain/api/affiliate/setsettings</pre>'''Using PATCH method'''
|<pre>http://domain/api/service/decodenatscode</pre>
+
|<pre>http://domain/api/affiliate/settings</pre>'''Using PATCH method'''
 
|-
 
|-
|<pre>http://domain/api/member/upsellstring</pre>
+
|<pre>http://domain/api/affiliate/setadminsettings</pre>'''Using PATCH method'''
|<pre>http://domain/api/member/authstring</pre>
+
|<pre>http://domain/api/affiliate/adminsettings</pre>'''Using PATCH method'''
 
|-
 
|-
|<pre>http://domain/api/member/tokenrebuystring</pre>
+
|<pre>http://domain/api/affiliate/setpayviainfo</pre>'''Using PATCH method'''
|<pre>http://domain/api/member/authstring</pre>
+
|<pre>http://domain/api/affiliate/payvia</pre>'''Using PATCH method'''
 
|-
 
|-
|<pre>http://domain/api/member/instantupgradestring</pre>
+
|<pre>http://domain/api/affiliate/</pre>'''Using  method'''
|<pre>http://domain/api/member/authstring</pre>
+
|<pre>http://domain/api/affiliate/status</pre>'''Using PATCH method'''
 
|-
 
|-
|<pre>http://domain/api/member/packageupgradestring</pre>
+
|<pre>http://domain/api/affiliate/addaffiliate</pre>'''Using POST method'''
|<pre>http://domain/api/member/authstring</pre>
+
|<pre>http://domain/api/affiliate/</pre>'''Using POST method'''
 
|-
 
|-
|<pre>http://domain/api/member/details</pre>
+
|<pre>http://domain/api/decodenatscode</pre>'''Using GET method'''
|<pre>http://domain/api/member/details</pre>
+
|<pre>http://domain/api/service/decodenatscode</pre>'''Using GET method'''
 
|-
 
|-
|<pre>http://domain/api/member/cancelstring</pre>
+
|<pre>http://domain/api/sendemail</pre>'''Using POST method'''
|<pre>http://domain/api/member/authstring</pre>
+
|<pre>http://domain/api/service/sendemail</pre>'''Using POST method'''
 
|-
 
|-
|<pre>http://domain/api/member/signupplusstring</pre>
+
|<pre>http://domain/api/member/addnote</pre>'''Using POST method'''
|<pre>http://domain/api/member/authstring</pre>
+
|<pre>http://domain/api/member/note</pre>'''Using POST method'''
 
|-
 
|-
|<pre>http://domain/api/member/searchinfo</pre>
+
|<pre>http://domain/api/member/recordlogin</pre>'''Using POST method'''
|<pre>http://domain/api/member/search</pre>
+
|<pre>http://domain/api/member/login</pre>'''Using POST method'''
 
|-
 
|-
|<pre>http://domain/api/member/addnote</pre>
+
|<pre>http://domain/api/member/addmanual</pre>'''Using POST method'''
|<pre>http://domain/api/member/note</pre>
+
|<pre>http://domain/api/member/manual</pre>'''Using POST method'''
 
|-
 
|-
|<pre>http://domain/api/member/recordlogin</pre>
+
|<pre>http://domain/api/member/expiremanual</pre>'''Using PUT method'''
|<pre>http://domain/api/member/login</pre>
+
|<pre>http://domain/api/member/expiremanual</pre>'''Using PATCH method'''
 
|-
 
|-
|<pre>http://domain/api/member/expiremanual</pre>
+
|<pre>http://domain/api/member/setdetails</pre>'''Using PATCH method'''
|<pre></pre>
+
|<pre>http://domain/api/member/details</pre>'''Using PATCH method'''
 
|-
 
|-
|<pre>http://domain/api/member/setdetails</pre>
+
|<pre>http://domain/api/member/setexpiration</pre>'''Using PATCH method'''
|<pre>http://domain/api/member/details</pre>
+
|<pre>http://domain/api/member/expiration</pre>'''Using PATCH method'''
 
|-
 
|-
|<pre>http://domain/api/member/setexpiration</pre>
+
|<pre>http://domain/api/member/upsellstring</pre>'''Using GET method'''
|<pre></pre>
+
|<pre>http://domain/api/member/authstring</pre>'''Using GET method'''
 
|-
 
|-
|<pre>http://domain/api/option/getrule</pre>
+
|<pre>http://domain/api/member/tokenrebuystring</pre>'''Using GET method'''
|<pre>http://domain/api/option/rule</pre>
+
|<pre>http://domain/api/member/authstring</pre>'''Using GET method'''
 
|-
 
|-
|<pre>http://domain/api/option/addrule</pre>
+
|<pre>http://domain/api/member/instantupgradestring</pre>'''Using GET method'''
|<pre>http://domain/api/option/rule</pre>
+
|<pre>http://domain/api/member/authstring</pre>'''Using GET method'''
 
|-
 
|-
|<pre>http://domain/api/option/edittext</pre>
+
|<pre>http://domain/api/member/packageupgradestring</pre>'''Using GET method'''
|<pre>http://domain/api/option/text</pre>
+
|<pre>http://domain/api/member/authstring</pre>'''Using GET method'''
 
|-
 
|-
|<pre>http://domain/api/option/editrule</pre>
+
|<pre>http://domain/api/member/details</pre>'''Using GET method'''
|<pre>http://domain/api/option/rule</pre>
+
|<pre>http://domain/api/member/details</pre>'''Using GET method'''
 
|-
 
|-
|<pre>http://domain/api/payments/getpayments</pre>
+
|<pre>http://domain/api/member/cancelstring</pre>'''Using GET method'''
|<pre>http://domain/api/payment/</pre>
+
|<pre>http://domain/api/member/authstring</pre>'''Using GET method'''
 
|-
 
|-
|<pre>http://domain/api/payments/setstatus</pre>
+
|<pre>http://domain/api/member/signupplusstring</pre>'''Using GET method'''
|<pre>http://domain/api/payment/</pre>
+
|<pre>http://domain/api/member/authstring</pre>'''Using GET method'''
 
|-
 
|-
|<pre>http://domain/api/payviarule</pre>
+
|<pre>http://domain/api/member/searchinfo</pre>'''Using GET method'''
|<pre>http://domain/api/payment/payviarule</pre>
+
|<pre>http://domain/api/member/search</pre>'''Using GET method'''
 
|-
 
|-
|<pre>http://domain/api/payviarule</pre>
+
|<pre>http://domain/api/option/getrule</pre>'''Using GET method'''
|<pre>http://domain/api/payment/payviarule</pre>
+
|<pre>http://domain/api/option/rule</pre>'''Using GET method'''
 
|-
 
|-
|<pre>http://domain/api/ping</pre>
+
|<pre>http://domain/api/option/addrule</pre>'''Using POST method'''
|<pre>http://domain/api/service/ping</pre>
+
|<pre>http://domain/api/option/rule</pre>'''Using POST method'''
 
|-
 
|-
|<pre>http://domain/api/profitlossreport</pre>
+
|<pre>http://domain/api/option/editrule</pre>'''Using PATCH method'''
|<pre>http://domain/api/report/profitloss</pre>
+
|<pre>http://domain/api/option/rule</pre>'''Using PATCH method'''
 
|-
 
|-
|<pre>http://domain/api/sendemail</pre>
+
|<pre>http://domain/api/option/edittext</pre>'''Using PUT method'''
|<pre>http://domain/api/service/sendemail</pre>
+
|<pre>http://domain/api/option/text</pre>'''Using PATCH method'''
 
|-
 
|-
|<pre>http://domain/api/suggestedcanceloffers</pre>
+
|<pre>http://domain/api/payviarule</pre>'''Using GET method'''
|<pre>http://domain/api/member/suggestedcanceloffers</pre>
+
|<pre>http://domain/api/payment/payviarule</pre>'''Using GET method'''
 +
|-
 +
|<pre>http://domain/api/payviarule</pre>'''Using PATCH method'''
 +
|<pre>http://domain/api/payment/payviarule</pre>'''Using PATCH method'''
 +
|-
 +
|<pre>http://domain/api/ping</pre>'''Using GET method'''
 +
|<pre>http://domain/api/service/ping</pre>'''Using GET method'''
 +
|-
 +
|<pre>http://domain/api/profitlossreport</pre>'''Using GET method'''
 +
|<pre>http://domain/api/report/profitloss</pre>'''Using GET method'''
 +
|-
 +
|<pre>http://domain/api/surferactionreport</pre>'''Using GET method'''
 +
|<pre>http://domain/api/report/surferaction</pre>'''Using GET method'''
 +
|-
 +
|<pre>http://domain/api/suggestedcanceloffers</pre>'''Using GET method'''
 +
|<pre>http://domain/api/member/suggestedcanceloffers</pre>'''Using GET method'''
 +
|-
 +
|<pre>http://domain/api/payments/getpayments</pre>'''Using GET method'''
 +
|<pre>http://domain/api/payment/BLANK</pre>'''Using GET method'''
 +
|-
 +
|<pre>http://domain/api/payments/setstatus</pre>'''Using PATCH method'''
 +
|<pre>http://domain/api/payment/BLANK</pre>'''Using PATCH method'''
 +
|-
 +
|<pre>http://domain/api/member/details</pre>'''Using GET method'''
 +
|<pre>http://domain/api/member/details</pre>'''Using GET method'''
 +
|-
 +
|<pre>http://domain/api/option/options</pre>'''Using GET method'''
 +
|<pre>http://domain/api/option/options or BLANK</pre>'''Using GET method'''
 +
|-
 +
|<pre>http://domain/api/biller/cascades</pre>'''Using GET method'''
 +
|<pre>http://domain/api/biller/cascades</pre>'''Using GET method'''
 +
|-
 +
|<pre>http://domain/api/report/hits</pre>'''Using GET method'''
 +
|<pre>http://domain/api/report/hits</pre>'''Using GET method'''
 +
|-
 +
|<pre>http://domain/api/report/transactions</pre>'''Using GET method'''
 +
|<pre>http://domain/api/report/transactions</pre>'''Using GET method'''
 +
|-
 +
|<pre>http://domain/api/report/transactionpayouts</pre>'''Using GET method'''
 +
|<pre>http://domain/api/report/transactionpayouts</pre>'''Using GET method'''
 +
|-
 +
|<pre>http://domain/api/report/surferaction</pre>'''Using GET method'''
 +
|<pre>http://domain/api/report/surferaction</pre>'''Using GET method'''
 +
|-
 +
|<pre>http://domain/api/service/decodenatscode</pre>'''Using GET method'''
 +
|<pre>http://domain/api/service/decodenatscode</pre>'''Using GET method'''
 
|}
 
|}

Revision as of 16:48, 11 January 2017

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/types
Using GET method
http://domain/api/adtool/types
Using GET method
http://domain/api/adtools/categories
Using GET method
http://domain/api/adtool/categories
Using GET method
http://domain/api/adtools/admin
Using GET method
http://domain/api/adtool/search
Using GET method
http://domain/api/adtools/importdump
Using POST method
http://domain/api/adtool/import
Using POST method
http://domain/api/affiliate/hitdata
Using GET method
http://domain/api/affiliate/hits
Using GET method
http://domain/api/affiliate/campaigns
Using GET method
http://domain/api/affiliate/campaigns
Using GET method
http://domain/api/affiliate/getaffcampaigns
Using GET method
http://domain/api/affiliate/campaigns
Using GET method
http://domain/api/affiliate/payout
Using GET method
http://domain/api/affiliate/payout
Using GET method
http://domain/api/affiliate/loginids
Using GET method
http://domain/api/affiliate/loginids
Using GET method
http://domain/api/affiliate/programcampaigns
Using GET method
http://domain/api/affiliate/programcampaigns
Using GET method
http://domain/api/affiliate/natscodes
Using GET method
http://domain/api/affiliate/natscodes
Using GET method
http://domain/api/affiliate/searchinfo
Using GET method
http://domain/api/affiliate/search
Using GET method
http://domain/api/affiliate/setcustoms
Using PATCH method
http://domain/api/affiliate/customs
Using PATCH method
http://domain/api/affiliate/setdefaults
Using PATCH method
http://domain/api/affiliate/defaults
Using PATCH method
http://domain/api/affiliate/setinformation
Using PATCH method
http://domain/api/affiliate/details
Using PATCH method
http://domain/api/affiliate/setsettings
Using PATCH method
http://domain/api/affiliate/settings
Using PATCH method
http://domain/api/affiliate/setadminsettings
Using PATCH method
http://domain/api/affiliate/adminsettings
Using PATCH method
http://domain/api/affiliate/setpayviainfo
Using PATCH method
http://domain/api/affiliate/payvia
Using PATCH method
http://domain/api/affiliate/
Using method
http://domain/api/affiliate/status
Using PATCH method
http://domain/api/affiliate/addaffiliate
Using POST method
http://domain/api/affiliate/
Using POST method
http://domain/api/decodenatscode
Using GET method
http://domain/api/service/decodenatscode
Using GET method
http://domain/api/sendemail
Using POST method
http://domain/api/service/sendemail
Using POST method
http://domain/api/member/addnote
Using POST method
http://domain/api/member/note
Using POST method
http://domain/api/member/recordlogin
Using POST method
http://domain/api/member/login
Using POST method
http://domain/api/member/addmanual
Using POST method
http://domain/api/member/manual
Using POST method
http://domain/api/member/expiremanual
Using PUT method
http://domain/api/member/expiremanual
Using PATCH method
http://domain/api/member/setdetails
Using PATCH method
http://domain/api/member/details
Using PATCH method
http://domain/api/member/setexpiration
Using PATCH method
http://domain/api/member/expiration
Using PATCH method
http://domain/api/member/upsellstring
Using GET method
http://domain/api/member/authstring
Using GET method
http://domain/api/member/tokenrebuystring
Using GET method
http://domain/api/member/authstring
Using GET method
http://domain/api/member/instantupgradestring
Using GET method
http://domain/api/member/authstring
Using GET method
http://domain/api/member/packageupgradestring
Using GET method
http://domain/api/member/authstring
Using GET method
http://domain/api/member/details
Using GET method
http://domain/api/member/details
Using GET method
http://domain/api/member/cancelstring
Using GET method
http://domain/api/member/authstring
Using GET method
http://domain/api/member/signupplusstring
Using GET method
http://domain/api/member/authstring
Using GET method
http://domain/api/member/searchinfo
Using GET method
http://domain/api/member/search
Using GET method
http://domain/api/option/getrule
Using GET method
http://domain/api/option/rule
Using GET method
http://domain/api/option/addrule
Using POST method
http://domain/api/option/rule
Using POST method
http://domain/api/option/editrule
Using PATCH method
http://domain/api/option/rule
Using PATCH method
http://domain/api/option/edittext
Using PUT method
http://domain/api/option/text
Using PATCH method
http://domain/api/payviarule
Using GET method
http://domain/api/payment/payviarule
Using GET method
http://domain/api/payviarule
Using PATCH method
http://domain/api/payment/payviarule
Using PATCH method
http://domain/api/ping
Using GET method
http://domain/api/service/ping
Using GET method
http://domain/api/profitlossreport
Using GET method
http://domain/api/report/profitloss
Using GET method
http://domain/api/surferactionreport
Using GET method
http://domain/api/report/surferaction
Using GET method
http://domain/api/suggestedcanceloffers
Using GET method
http://domain/api/member/suggestedcanceloffers
Using GET method
http://domain/api/payments/getpayments
Using GET method
http://domain/api/payment/BLANK
Using GET method
http://domain/api/payments/setstatus
Using PATCH method
http://domain/api/payment/BLANK
Using PATCH method
http://domain/api/member/details
Using GET method
http://domain/api/member/details
Using GET method
http://domain/api/option/options
Using GET method
http://domain/api/option/options or BLANK
Using GET method
http://domain/api/biller/cascades
Using GET method
http://domain/api/biller/cascades
Using GET method
http://domain/api/report/hits
Using GET method
http://domain/api/report/hits
Using GET method
http://domain/api/report/transactions
Using GET method
http://domain/api/report/transactions
Using GET method
http://domain/api/report/transactionpayouts
Using GET method
http://domain/api/report/transactionpayouts
Using GET method
http://domain/api/report/surferaction
Using GET method
http://domain/api/report/surferaction
Using GET method
http://domain/api/service/decodenatscode
Using GET method
http://domain/api/service/decodenatscode
Using GET method