POST api/DropDown/getDropDown

Request Information

URI Parameters

None.

Body Parameters

DropDownReceivedDataModels
NameDescriptionTypeAdditional information
codeDropDown

string

None.

handphone

string

None.

mobile_token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "codeDropDown": "sample string 1",
  "handphone": "sample string 2",
  "mobile_token": "sample string 3"
}

application/xml, text/xml

Sample:
<DropDownReceivedDataModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.DropDownIntegrator.ReceivedDataModels">
  <codeDropDown>sample string 1</codeDropDown>
  <handphone>sample string 2</handphone>
  <mobile_token>sample string 3</mobile_token>
</DropDownReceivedDataModels>

multipart/form-data

Sample:
<DropDownReceivedDataModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.DropDownIntegrator.ReceivedDataModels"><codeDropDown>sample string 1</codeDropDown><handphone>sample string 2</handphone><mobile_token>sample string 3</mobile_token></DropDownReceivedDataModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DropDownBaseTreeModels
NameDescriptionTypeAdditional information
message

string

None.

success

boolean

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "success": true,
  "data": {}
}

application/xml, text/xml

Sample:
<DropDownBaseTreeModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.DropDownIntegrator.BaseTreeModels">
  <data />
  <message>sample string 1</message>
  <success>true</success>
</DropDownBaseTreeModels>

multipart/form-data

Sample:
<DropDownBaseTreeModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.DropDownIntegrator.BaseTreeModels"><data /><message>sample string 1</message><success>true</success></DropDownBaseTreeModels>