POST request/contract/{id}/status
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
ContractStatusModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DetailId | integer |
None. |
|
| FuelId | integer |
None. |
|
| StatusId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"statusId": 1,
"fuelId": 2,
"detailId": 1
}
text/html
Sample:
{"statusId":1,"fuelId":2,"detailId":1}
application/xml, text/xml
Sample:
<ContractStatusModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CCSCommercialAPI.Models.CustomerUpdate"> <DetailId>1</DetailId> <FuelId>2</FuelId> <StatusId>1</StatusId> </ContractStatusModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
StatusModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2"
}
text/html
Sample:
{"id":1,"name":"sample string 2"}
application/xml, text/xml
Sample:
<StatusModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CCSCommercialAPI.Models.CustomerUpdate"> <Id>1</Id> <Name>sample string 2</Name> </StatusModel>