POST request/contract/status/multiple
Updates the status of any particular Multimeter Contract
Request Information
URI Parameters
None.
Body Parameters
MultiStatusModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ContractId | integer |
None. |
|
| DetailId | integer |
None. |
|
| StatusId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"contractId": 1,
"detailId": 1,
"statusId": 2
}
text/html
Sample:
{"contractId":1,"detailId":1,"statusId":2}
application/xml, text/xml
Sample:
<MultiStatusModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CCSCommercialAPI.Models.CustomerUpdate"> <ContractId>1</ContractId> <DetailId>1</DetailId> <StatusId>2</StatusId> </MultiStatusModel>
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>