NATS5 REST API Site PATCH site-partner
From TMM Wiki
Jump to navigationJump to search
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