POST api/MaxDeliveryDate/maxdeliverydate
Request Information
URI Parameters
None.
Body Parameters
MaxDeliveryDateReceivedDataModels| Name | Description | Type | Additional information |
|---|---|---|---|
| location_description | string |
None. |
|
| origin | string |
None. |
|
| product_code | string |
None. |
|
| vendor_id | string |
None. |
|
| date | string |
None. |
|
| handphone | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"location_description": "sample string 1",
"origin": "sample string 2",
"product_code": "sample string 3",
"vendor_id": "sample string 4",
"date": "sample string 5",
"handphone": "sample string 6"
}
application/xml, text/xml
Sample:
<MaxDeliveryDateReceivedDataModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.MaxDeliveryDateIntegrator.ReceivedDataModels"> <date>sample string 5</date> <handphone>sample string 6</handphone> <location_description>sample string 1</location_description> <origin>sample string 2</origin> <product_code>sample string 3</product_code> <vendor_id>sample string 4</vendor_id> </MaxDeliveryDateReceivedDataModels>
multipart/form-data
Sample:
<MaxDeliveryDateReceivedDataModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.MaxDeliveryDateIntegrator.ReceivedDataModels"><date>sample string 5</date><handphone>sample string 6</handphone><location_description>sample string 1</location_description><origin>sample string 2</origin><product_code>sample string 3</product_code><vendor_id>sample string 4</vendor_id></MaxDeliveryDateReceivedDataModels>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MaxDeliveryDateBaseTreeModels| Name | Description | Type | Additional information |
|---|---|---|---|
| message | string |
None. |
|
| success | boolean |
None. |
|
| data | Collection of MaxDeliveryDateSentDataModels |
None. |
Response Formats
application/json, text/json
Sample:
{
"message": "sample string 1",
"success": true,
"data": [
{
"location_description": "sample string 1",
"origin": "sample string 2",
"product_code": "sample string 3",
"vendor_id": "sample string 4",
"date": "sample string 5",
"handphone": "sample string 6"
},
{
"location_description": "sample string 1",
"origin": "sample string 2",
"product_code": "sample string 3",
"vendor_id": "sample string 4",
"date": "sample string 5",
"handphone": "sample string 6"
}
]
}
application/xml, text/xml
Sample:
<MaxDeliveryDateBaseTreeModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.MaxDeliveryDateIntegrator.BaseTreeModels">
<data xmlns:d2p1="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.MaxDeliveryDateIntegrator.SentDataModels">
<d2p1:MaxDeliveryDateSentDataModels>
<d2p1:date>sample string 5</d2p1:date>
<d2p1:handphone>sample string 6</d2p1:handphone>
<d2p1:location_description>sample string 1</d2p1:location_description>
<d2p1:origin>sample string 2</d2p1:origin>
<d2p1:product_code>sample string 3</d2p1:product_code>
<d2p1:vendor_id>sample string 4</d2p1:vendor_id>
</d2p1:MaxDeliveryDateSentDataModels>
<d2p1:MaxDeliveryDateSentDataModels>
<d2p1:date>sample string 5</d2p1:date>
<d2p1:handphone>sample string 6</d2p1:handphone>
<d2p1:location_description>sample string 1</d2p1:location_description>
<d2p1:origin>sample string 2</d2p1:origin>
<d2p1:product_code>sample string 3</d2p1:product_code>
<d2p1:vendor_id>sample string 4</d2p1:vendor_id>
</d2p1:MaxDeliveryDateSentDataModels>
</data>
<message>sample string 1</message>
<success>true</success>
</MaxDeliveryDateBaseTreeModels>
multipart/form-data
Sample:
<MaxDeliveryDateBaseTreeModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.MaxDeliveryDateIntegrator.BaseTreeModels"><data xmlns:d2p1="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.MaxDeliveryDateIntegrator.SentDataModels"><d2p1:MaxDeliveryDateSentDataModels><d2p1:date>sample string 5</d2p1:date><d2p1:handphone>sample string 6</d2p1:handphone><d2p1:location_description>sample string 1</d2p1:location_description><d2p1:origin>sample string 2</d2p1:origin><d2p1:product_code>sample string 3</d2p1:product_code><d2p1:vendor_id>sample string 4</d2p1:vendor_id></d2p1:MaxDeliveryDateSentDataModels><d2p1:MaxDeliveryDateSentDataModels><d2p1:date>sample string 5</d2p1:date><d2p1:handphone>sample string 6</d2p1:handphone><d2p1:location_description>sample string 1</d2p1:location_description><d2p1:origin>sample string 2</d2p1:origin><d2p1:product_code>sample string 3</d2p1:product_code><d2p1:vendor_id>sample string 4</d2p1:vendor_id></d2p1:MaxDeliveryDateSentDataModels></data><message>sample string 1</message><success>true</success></MaxDeliveryDateBaseTreeModels>