POST api/InsertEtiqueta/CDB
Request Information
URI Parameters
None.
Body Parameters
InsertCDB| Name | Description | Type | Additional information |
|---|---|---|---|
| caption | string |
None. |
|
| package_type | integer |
None. |
|
| package_size | integer |
None. |
|
| shipping_method | integer |
None. |
|
| cost | integer |
None. |
|
| external_code | string |
None. |
|
| schedule_destination | ScheduleDestination |
None. |
|
| client | Client |
None. |
Request Formats
application/json, text/json
Sample:
{
"caption": "sample string 1",
"package_type": 2,
"package_size": 3,
"shipping_method": 4,
"cost": 5,
"external_code": "sample string 6",
"schedule_destination": {
"name": "sample string 1",
"shipping_address": "sample string 2",
"comments": "sample string 3",
"address_comments": "sample string 4",
"phone": "sample string 5"
},
"client": {
"name": "sample string 1",
"last_name": "sample string 2",
"mail": "sample string 3",
"phone": "sample string 4"
}
}
application/xml, text/xml
Sample:
<InsertCDB xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiAndesmar.Request">
<Caption>sample string 1</Caption>
<Client>
<LastName>sample string 2</LastName>
<Mail>sample string 3</Mail>
<Name>sample string 1</Name>
<Phone>sample string 4</Phone>
</Client>
<Cost>5</Cost>
<ExternalCode>sample string 6</ExternalCode>
<PackageSize>3</PackageSize>
<PackageType>2</PackageType>
<ScheduleDestination>
<AddressComments>sample string 4</AddressComments>
<Comments>sample string 3</Comments>
<Name>sample string 1</Name>
<Phone>sample string 5</Phone>
<ShippingAddress>sample string 2</ShippingAddress>
</ScheduleDestination>
<ShippingMethod>4</ShippingMethod>
</InsertCDB>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.