PUT api/orders/UpdateOffer
Request Information
URI Parameters
None.
Body Parameters
RestOfferDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderLineId | integer |
None. |
|
| SupplierCode | string |
None. |
|
| Status | integer |
None. |
|
| PriceOEM | decimal number |
None. |
|
| Code | string |
None. |
|
| Price | decimal number |
None. |
|
| Discount | decimal number |
None. |
|
| EstimatedDeliveryDateTime | string |
None. |
|
| EstimatedCollectionDate | string |
None. |
|
| Stock | decimal number |
None. |
|
| RequestNumber | string |
None. |
|
| CommentList | Collection of RestOfferCommentDTO |
None. |
|
| RqUID | string |
String length: inclusive between 0 and 36 |
Request Formats
application/json, text/json
Sample:
{
"OrderLineId": 1,
"SupplierCode": "sample string 1",
"Status": 1,
"PriceOEM": 1.0,
"Code": "sample string 2",
"Price": 1.0,
"Discount": 1.0,
"EstimatedDeliveryDateTime": "sample string 3",
"EstimatedCollectionDate": "sample string 4",
"Stock": 1.0,
"RequestNumber": "sample string 5",
"CommentList": [
{
"Content": "sample string 1"
},
{
"Content": "sample string 1"
}
],
"RqUID": "sample string 6"
}
application/xml, text/xml
Sample:
<RestOfferDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.Order">
<RqUID xmlns="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.Shared">sample string 6</RqUID>
<Code>sample string 2</Code>
<CommentList>
<RestOfferCommentDTO>
<Content>sample string 1</Content>
</RestOfferCommentDTO>
<RestOfferCommentDTO>
<Content>sample string 1</Content>
</RestOfferCommentDTO>
</CommentList>
<Discount>1</Discount>
<EstimatedCollectionDate>sample string 4</EstimatedCollectionDate>
<EstimatedDeliveryDateTime>sample string 3</EstimatedDeliveryDateTime>
<OrderLineId>1</OrderLineId>
<Price>1</Price>
<PriceOEM>1</PriceOEM>
<RequestNumber>sample string 5</RequestNumber>
<Status>1</Status>
<Stock>1</Stock>
<SupplierCode>sample string 1</SupplierCode>
</RestOfferDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RestBasicResponseDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": "sample string 1",
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<RestBasicResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.Shared"> <Code>sample string 1</Code> <Message>sample string 2</Message> </RestBasicResponseDTO>