POST api/BECorporate/UpdateContractDetail
Request Information
URI Parameters
None.
Body Parameters
ContractDetailCondition| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| AcceptableAmount | decimal number |
None. |
|
| QuoteProvideEquip | Collection of QCQuoteProvideEquip |
None. |
|
| WasteData | Collection of QCQuoteWaste |
None. |
Request Formats
application/json, text/json
Sample:
{
"Code": "sample string 1",
"AcceptableAmount": 1.0,
"QuoteProvideEquip": [
{
"ProvideEquip": "sample string 1",
"Price": 2.0,
"Qty": 3
},
{
"ProvideEquip": "sample string 1",
"Price": 2.0,
"Qty": 3
}
],
"WasteData": [
{
"WasteCode": "sample string 1",
"BucketWeight": 1.0,
"Price": 1.0,
"SubscriptionPrice": 1.0,
"OverPrice": 1.0
},
{
"WasteCode": "sample string 1",
"BucketWeight": 1.0,
"Price": 1.0,
"SubscriptionPrice": 1.0,
"OverPrice": 1.0
}
]
}
application/xml, text/xml
Sample:
<CustomerModel.ContractDetailCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRMS.Models">
<AcceptableAmount>1</AcceptableAmount>
<Code>sample string 1</Code>
<QuoteProvideEquip>
<CustomerModel.QCQuoteProvideEquip>
<Price>2</Price>
<ProvideEquip>sample string 1</ProvideEquip>
<Qty>3</Qty>
</CustomerModel.QCQuoteProvideEquip>
<CustomerModel.QCQuoteProvideEquip>
<Price>2</Price>
<ProvideEquip>sample string 1</ProvideEquip>
<Qty>3</Qty>
</CustomerModel.QCQuoteProvideEquip>
</QuoteProvideEquip>
<WasteData>
<CustomerModel.QCQuoteWaste>
<BucketWeight>1</BucketWeight>
<OverPrice>1</OverPrice>
<Price>1</Price>
<SubscriptionPrice>1</SubscriptionPrice>
<WasteCode>sample string 1</WasteCode>
</CustomerModel.QCQuoteWaste>
<CustomerModel.QCQuoteWaste>
<BucketWeight>1</BucketWeight>
<OverPrice>1</OverPrice>
<Price>1</Price>
<SubscriptionPrice>1</SubscriptionPrice>
<WasteCode>sample string 1</WasteCode>
</CustomerModel.QCQuoteWaste>
</WasteData>
</CustomerModel.ContractDetailCondition>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseResultOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| body | Object |
None. |
|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| code | string |
None. |
|
| response | Enum |
None. |
|
| exception | string |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<BaseModels.BaseResultOfanyTypeRvdAXEcW xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRMS.Models"> <body /> <exception>sample string 3</exception> <isSuccess>true</isSuccess> <response i:nil="true" /> </BaseModels.BaseResultOfanyTypeRvdAXEcW>