POST api/Courier/CloneCourier
Request Information
URI Parameters
None.
Body Parameters
AddCourierModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| SourceId | string |
None. |
|
| FullName | string |
None. |
|
| ServiceProviderId | integer |
None. |
|
| UserId | string |
None. |
|
| PhoneNo | string |
None. |
|
| StatusId | byte |
None. |
|
| DeviceId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"SourceId": "sample string 2",
"FullName": "sample string 3",
"ServiceProviderId": 4,
"UserId": "sample string 5",
"PhoneNo": "sample string 6",
"StatusId": 64,
"DeviceId": 1
}
text/html
Sample:
{"Id":1,"SourceId":"sample string 2","FullName":"sample string 3","ServiceProviderId":4,"UserId":"sample string 5","PhoneNo":"sample string 6","StatusId":64,"DeviceId":1}
application/xml, text/xml
Sample:
<AddCourierModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mediahuis.Models.Courier"> <DeviceId>1</DeviceId> <FullName>sample string 3</FullName> <Id>1</Id> <PhoneNo>sample string 6</PhoneNo> <ServiceProviderId>4</ServiceProviderId> <SourceId>sample string 2</SourceId> <StatusId>64</StatusId> <UserId>sample string 5</UserId> </AddCourierModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.