NATS4 REST API Add Affiliate Manual Invoice
From TMM Wiki
Revision as of 17:07, 20 April 2017 by Tmm 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...")
POST /affiliate/addaffiliate
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 } ]