NATS4 REST API Path changes

From TMM Wiki
Jump to navigationJump to search
NATS 4
Members Admin
The Members Admin
View Member Details
Add Member
MySQL Auth
Mod Authn DB
Multisite Access
Member Logging
Member Password Retrieval
OpenID Connect
Mod Auth OpenIDC
ID Numbers
SOAP API
API
API Best Practices
WSDL Cache
Add Affiliate
Add Member Note
Admin Get Adtools
Adtool Categories
Adtool Types
Affiliate Get Campaigns
Bulk Import Adtools
Caching
Decode Natscode
Expire Manual Member
Get Affiliate Campaigns
Get Affiliate Hit Data
Get Affiliate Loginids
Get Affiliate Nats Codes
Get Affiliate Payout
Get Affiliate Program Campaign List
Get_Affiliate_Program_Campaign_List
Get Member Details
Get Member Instant Upgrade String
Get Member Package Upgrade String
Get Member Token Rebuy String
Get Member Upsell String
Get Payment Data
Get Payvia Rule
Get Profit Loss Report
Ping
Record Member Login
Search Affiliate Info
Search Member Info
Send Email API Function
Set Affiliate Admin Settings
Set Affiliate Customs
Set Affiliate Defaults
Set Affiliate Information
Set Affiliate Settings
Set Member Details
Set Payment Status
Set Payvia Rule
REST API
API Overview
API Best Practices
REST API PATH UPDATES
Adtools
GET /adtools/admin
GET /adtools/categories
GET /adtools/types
POST /adtools/importdump
Affiliate
GET /affiliate/campaigns
GET /affiliate/hitdata
GET /affiliate/payout
GET /affiliate/searchinfo
POST /affiliate/addaffiliate
POST /affiliate/invoice
PATCH /affiliate/setadminsettings
PATCH /affiliate/setcustoms
PATCH /affiliate/setdefaults
PATCH /affiliate/setinformation
PATCH /affiliate/setpayviainfo
PATCH /affiliate/setsettings
PATCH /affiliate/status
Member
GET /member/authstring
GET /member/details
GET /member/searchinfo
GET /suggestedcanceloffers
PATCH /member/setdetails
PATCH /member/setexpiration
POST /member/addnote
POST /member/recordlogin
PUT /member/expiremanual
PATCH /member/forget
Option
GET /option/options
GET /option/rule
PATCH /option/rule
PATCH/option/text
POST /option/rule
Payments
GET /payments/getpayments
GET /payviarule
PATCH /payments/setstatus
PATCH /payviarule
Report
GET /profitlossreport
Get /transactionpayouts
GET /report/transaction
Service
GET /service/decodenatscode
GET /service/ping
POST /service/sendemail

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
Returns JSON instead of csv now
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
http://domain/api/member/updatestatus
Using PUT method
http://domain/api/member/status
Using PATCH method