POST /v2/contracts/status
Changes the status of the contract.
Resource information
Authentication |
Yes |
Request Formats |
json,xml |
Response Formats |
json,xml |
HTTP Method |
POST |
Request Object |
Contract status
|
Response Object |
Status Result
|
API Version |
v2 |
Example Request
https://api.poplidays.com/v2/contracts/status
json post body
{
"provider": {
"providerId": "Channel",
"providerReference": "23452345"
},
"status" : "End of contract",
"comments": "comments"
}
xml post body
<?xml version="1.0" encoding="UTF-8" ?>
<contract>
<provider>
<providerId>Channel</providerId>
<providerReference>23452345</providerReference>
</provider>
<status>End of contract</status>
<comments>comments</comments>
</contract>