NATS5 REST API Codes GET affiliate-codes
From TMM Wiki
Jump to navigationJump to search
GET /codes/affiliate-codes
Description
- Get a list of NATS code values and links for a specific affiliate and program
Resource URL
- http://domain/api/codes/affiliate-codes
- Replace domain with the nats domain
- GET
Response Format
- JSON
- HTTP headers
Parameters
Parameters can be sent as url encoded params
- loginid
- type: digit
- required
- programid
- type: digit
- required
- siteid
- type: digit
- optional
- tourid
- type: digit
- optional
- campaignid
- type: digit
- optional
- adtoolid
- type: digit
- optional
- subid1
- type: digit
- optional
- subid2
- type: digit
- optional
- promotionalid
- type: digit
- optional
- link_style
- type: string
- optional (default value: encoded)