POST api/Tracking/AddTracking
Request Information
URI Parameters
None.
Body Parameters
TrackingAddModel| Name | Description | Type | Additional information |
|---|---|---|---|
| string |
None. |
||
| PhoneNo | string |
None. |
|
| Type | string |
None. |
|
| singledelivery | Collection of Tracking_Product |
None. |
|
| subscription | Collection of Tracking_Product |
None. |
Request Formats
application/json, text/json
Sample:
{
"Email": "sample string 1",
"PhoneNo": "sample string 2",
"Type": "sample string 3",
"singledelivery": [
{
"produceCode": "sample string 1",
"image": "sample string 2",
"title": "sample string 3",
"Quantity": "sample string 4",
"Product_Value": "sample string 5",
"weight": "sample string 6",
"maximumquantity": "sample string 7"
},
{
"produceCode": "sample string 1",
"image": "sample string 2",
"title": "sample string 3",
"Quantity": "sample string 4",
"Product_Value": "sample string 5",
"weight": "sample string 6",
"maximumquantity": "sample string 7"
}
],
"subscription": [
{
"produceCode": "sample string 1",
"image": "sample string 2",
"title": "sample string 3",
"Quantity": "sample string 4",
"Product_Value": "sample string 5",
"weight": "sample string 6",
"maximumquantity": "sample string 7"
},
{
"produceCode": "sample string 1",
"image": "sample string 2",
"title": "sample string 3",
"Quantity": "sample string 4",
"Product_Value": "sample string 5",
"weight": "sample string 6",
"maximumquantity": "sample string 7"
}
]
}
application/xml, text/xml
Sample:
<TrackingAddModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Types.ProductMaster">
<Email>sample string 1</Email>
<PhoneNo>sample string 2</PhoneNo>
<Type>sample string 3</Type>
<singledelivery>
<Tracking_Product>
<Product_Value>sample string 5</Product_Value>
<Quantity>sample string 4</Quantity>
<image>sample string 2</image>
<maximumquantity>sample string 7</maximumquantity>
<produceCode>sample string 1</produceCode>
<title>sample string 3</title>
<weight>sample string 6</weight>
</Tracking_Product>
<Tracking_Product>
<Product_Value>sample string 5</Product_Value>
<Quantity>sample string 4</Quantity>
<image>sample string 2</image>
<maximumquantity>sample string 7</maximumquantity>
<produceCode>sample string 1</produceCode>
<title>sample string 3</title>
<weight>sample string 6</weight>
</Tracking_Product>
</singledelivery>
<subscription>
<Tracking_Product>
<Product_Value>sample string 5</Product_Value>
<Quantity>sample string 4</Quantity>
<image>sample string 2</image>
<maximumquantity>sample string 7</maximumquantity>
<produceCode>sample string 1</produceCode>
<title>sample string 3</title>
<weight>sample string 6</weight>
</Tracking_Product>
<Tracking_Product>
<Product_Value>sample string 5</Product_Value>
<Quantity>sample string 4</Quantity>
<image>sample string 2</image>
<maximumquantity>sample string 7</maximumquantity>
<produceCode>sample string 1</produceCode>
<title>sample string 3</title>
<weight>sample string 6</weight>
</Tracking_Product>
</subscription>
</TrackingAddModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |