NATS4 REST API Add Affiliate Manual Invoice
From TMM Wiki
Jump to navigationJump to searchThe printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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 } ]