Difference between revisions of "NATS4 REST API Add Affiliate Manual Invoice"
From TMM Wiki
Jump to navigationJump to searchTmm vincent (talk | contribs) (Created page with "{{NATS4 Manual | show_api_admin_section = true }} == '''POST /affiliate/addaffiliate''' == '''Description''' *This function add a manual invoice for an affiliate. '''Resourc...") |
|||
Line 2: | Line 2: | ||
| show_api_admin_section = true | | show_api_admin_section = true | ||
}} | }} | ||
− | == '''POST /affiliate/ | + | == '''POST /affiliate/invoice''' == |
'''Description''' | '''Description''' | ||
*This function add a manual invoice for an affiliate. | *This function add a manual invoice for an affiliate. |
Latest revision as of 13:38, 2 August 2019
POST /affiliate/invoice
Description
- This function add a manual invoice for an affiliate.
Resource URL
- http://domain/api/affiliate/invoice
- Replace domain with the NATS domain
- POST
Response Format
- JSON
- HTTP headers
Parameters
Paremeters must be sent with the request body. The examples below show the parameters sent as x-www-form-urlencoded
- loginid
- type: int
- required
- amount
- type: string
- required
Example Request
POST
http://domain/api/affiliate/invoice
- Response:
[ { "result": true } ]