POST api/Common/RejectPickupsAndPakages
Request Information
URI Parameters
None.
Body Parameters
RejectPickupsAndPakagesDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| RejectList | Collection of RejectList |
None. |
|
| MylerId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"RejectList": [
{
"ActualId": 1,
"IsPickup": true,
"ReasonID": 3,
"Comment": "sample string 4"
},
{
"ActualId": 1,
"IsPickup": true,
"ReasonID": 3,
"Comment": "sample string 4"
}
],
"MylerId": 1
}
application/xml, text/xml
Sample:
<RejectPickupsAndPakagesDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MYLERZ.Base.DTO">
<MylerId>1</MylerId>
<RejectList>
<RejectList>
<ActualId>1</ActualId>
<Comment>sample string 4</Comment>
<IsPickup>true</IsPickup>
<ReasonID>3</ReasonID>
</RejectList>
<RejectList>
<ActualId>1</ActualId>
<Comment>sample string 4</Comment>
<IsPickup>true</IsPickup>
<ReasonID>3</ReasonID>
</RejectList>
</RejectList>
</RejectPickupsAndPakagesDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DescriptiveResponseOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Value | boolean |
None. |
|
| CoreValue | string |
None. |
|
| IsErrorState | boolean |
None. |
|
| ErrorDescription | string |
None. |
|
| ErrorMetadata | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Value": true,
"CoreValue": "sample string 2",
"IsErrorState": true,
"ErrorDescription": "sample string 4",
"ErrorMetadata": {}
}
application/xml, text/xml
Sample:
<DescriptiveResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MYLERZ.Base.Entities"> <CoreValue>sample string 2</CoreValue> <ErrorDescription>sample string 4</ErrorDescription> <ErrorMetadata /> <IsErrorState>true</IsErrorState> <Value>true</Value> </DescriptiveResponseOfboolean>