POST api/VendorNotes/getdata
Request Information
URI Parameters
None.
Body Parameters
VendorNotesReceivedDataModels| Name | Description | Type | Additional information |
|---|---|---|---|
| location | string |
None. |
|
| handphone | string |
None. |
|
| mobile_token | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"location": "sample string 1",
"handphone": "sample string 2",
"mobile_token": "sample string 3"
}
application/xml, text/xml
Sample:
<VendorNotesReceivedDataModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.VendorNotesIntegrator.ReceivedDataModels"> <handphone>sample string 2</handphone> <location>sample string 1</location> <mobile_token>sample string 3</mobile_token> </VendorNotesReceivedDataModels>
multipart/form-data
Sample:
<VendorNotesReceivedDataModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.VendorNotesIntegrator.ReceivedDataModels"><handphone>sample string 2</handphone><location>sample string 1</location><mobile_token>sample string 3</mobile_token></VendorNotesReceivedDataModels>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VendorNotesBaseTreeModels| Name | Description | Type | Additional information |
|---|---|---|---|
| message | string |
None. |
|
| success | boolean |
None. |
|
| data | Collection of VendorNotesSentDataModels |
None. |
Response Formats
application/json, text/json
Sample:
{
"message": "sample string 1",
"success": true,
"data": [
{
"location": "sample string 1",
"DropDownValue": "sample string 2",
"handphone": "sample string 3",
"mobile_token": "sample string 4"
},
{
"location": "sample string 1",
"DropDownValue": "sample string 2",
"handphone": "sample string 3",
"mobile_token": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<VendorNotesBaseTreeModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.VendorNotesIntegrator.BaseTreeModels">
<data xmlns:d2p1="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.VendorNotesIntegrator.SentDataModels">
<d2p1:VendorNotesSentDataModels>
<d2p1:DropDownValue>sample string 2</d2p1:DropDownValue>
<d2p1:handphone>sample string 3</d2p1:handphone>
<d2p1:location>sample string 1</d2p1:location>
<d2p1:mobile_token>sample string 4</d2p1:mobile_token>
</d2p1:VendorNotesSentDataModels>
<d2p1:VendorNotesSentDataModels>
<d2p1:DropDownValue>sample string 2</d2p1:DropDownValue>
<d2p1:handphone>sample string 3</d2p1:handphone>
<d2p1:location>sample string 1</d2p1:location>
<d2p1:mobile_token>sample string 4</d2p1:mobile_token>
</d2p1:VendorNotesSentDataModels>
</data>
<message>sample string 1</message>
<success>true</success>
</VendorNotesBaseTreeModels>
multipart/form-data
Sample:
<VendorNotesBaseTreeModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.VendorNotesIntegrator.BaseTreeModels"><data xmlns:d2p1="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.VendorNotesIntegrator.SentDataModels"><d2p1:VendorNotesSentDataModels><d2p1:DropDownValue>sample string 2</d2p1:DropDownValue><d2p1:handphone>sample string 3</d2p1:handphone><d2p1:location>sample string 1</d2p1:location><d2p1:mobile_token>sample string 4</d2p1:mobile_token></d2p1:VendorNotesSentDataModels><d2p1:VendorNotesSentDataModels><d2p1:DropDownValue>sample string 2</d2p1:DropDownValue><d2p1:handphone>sample string 3</d2p1:handphone><d2p1:location>sample string 1</d2p1:location><d2p1:mobile_token>sample string 4</d2p1:mobile_token></d2p1:VendorNotesSentDataModels></data><message>sample string 1</message><success>true</success></VendorNotesBaseTreeModels>