POST api/DeliveryAgent/Agents/RejectAgent
Request Information
URI Parameters
None.
Body Parameters
DeliveryAgentRejectModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DeliveryAgentID | string |
Required |
|
| DeliveryAgentName | string |
None. |
|
| RejectReasonMsg | string |
Required |
|
| IPAddress | string |
None. |
|
| UserID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DeliveryAgentID": "sample string 1",
"DeliveryAgentName": "sample string 2",
"RejectReasonMsg": "sample string 3",
"IPAddress": "sample string 4",
"UserID": "sample string 5"
}
application/xml, text/xml
Sample:
<DeliveryAgentRejectModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DeliveryAgent.Operations.CustomModels"> <DeliveryAgentID>sample string 1</DeliveryAgentID> <DeliveryAgentName>sample string 2</DeliveryAgentName> <IPAddress>sample string 4</IPAddress> <RejectReasonMsg>sample string 3</RejectReasonMsg> <UserID>sample string 5</UserID> </DeliveryAgentRejectModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>