PUT api/orders/accept/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
OrderActionModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| Remarks | string |
None. |
|
| SupplierId | integer |
None. |
|
| SupplierName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"Remarks": "sample string 2",
"SupplierId": 1,
"SupplierName": "sample string 3"
}
application/xml, text/xml
Sample:
<OrderActionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SeaShellMarket.Models"> <Remarks>sample string 2</Remarks> <SupplierId>1</SupplierId> <SupplierName>sample string 3</SupplierName> <UserId>1</UserId> </OrderActionModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.