Difference between revisions of "NATS5 REST API Site PATCH site-partner"
From TMM Wiki
Jump to navigationJump to search (Created page with "{{NATS4 Manual | show_api_admin_section = true }} == '''PATCH /site/site-partner''' == '''Description''' * Update a site partner '''Resource URL''' *<nowiki>http://domain/ap...") |
(No difference)
|
Revision as of 10:48, 19 April 2019
PATCH /site/site-partner
Description
- Update a site partner
Resource URL
- http://domain/api/site/site-partner
- Replace domain with the nats domain
- PATCH
Response Format
- JSON
- HTTP headers
Parameters
Parameters can be sent as url encoded params
- site_partner_id
- type: digit
- required
- sp_misc_expenses
- type: digit
- optional
- sp_percentage
- type: digit
- optional
- sp_on_income
- type: boolean_digit
- optional
- sp_flat_adjustment
- type: numeric
- optional
- sp_flat_percentage
- type: digit
- optional
- start_time
- type: datetime (A date string to be parsed by php strtotime, or a unix timestamp integer)
- optional
- end_time
- type: datetime (A date string to be parsed by php strtotime, or a unix timestamp integer)
- optional