Contract
Job contracts
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
ContractUpdateRequest
Responses
200
Returns success message if contract was succesfully updated.
application/json
ContractUpdateRequest
400
Bad request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
patch/contract
PATCH /rest/contract HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 234
{
"data": {
"contract_no": "123456",
"name": "Network contract",
"startdate": "2017-06-01",
"enddate": "2018-06-01",
"contractstatus": "closed",
"type": "insurance",
"termination_date": "2022-06-01",
"terminationterm": "14",
"product": "Home insurance"
}
}{
"data": {
"contract_no": "123456",
"name": "Network contract",
"startdate": "2017-06-01",
"enddate": "2018-06-01",
"contractstatus": "closed",
"type": "insurance",
"termination_date": "2022-06-01",
"terminationterm": "14",
"product": "Home insurance"
}
}Last updated
Was this helpful?

