POST api/MapGeoTag/getMapFarmer

Request Information

URI Parameters

None.

Body Parameters

ReceivedData
NameDescriptionTypeAdditional information
handphone

string

None.

mobile_token

string

None.

Type_Farmer

boolean

None.

FarmerId

integer

None.

MapId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "handphone": "sample string 1",
  "mobile_token": "sample string 2",
  "Type_Farmer": true,
  "FarmerId": 1,
  "MapId": 1
}

application/xml, text/xml

Sample:
<ReceivedData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.MapGeoTagIntegrator.ReceivedDataModels">
  <FarmerId>1</FarmerId>
  <MapId>1</MapId>
  <Type_Farmer>true</Type_Farmer>
  <handphone>sample string 1</handphone>
  <mobile_token>sample string 2</mobile_token>
</ReceivedData>

multipart/form-data

Sample:
<ReceivedData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.MapGeoTagIntegrator.ReceivedDataModels"><FarmerId>1</FarmerId><MapId>1</MapId><Type_Farmer>true</Type_Farmer><handphone>sample string 1</handphone><mobile_token>sample string 2</mobile_token></ReceivedData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MapGeoTagBaseTreeModels
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:
<MapGeoTagBaseTreeModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.MapGeoTagIntegrator.BaseTreeModels">
  <data />
  <message>sample string 1</message>
  <success>true</success>
</MapGeoTagBaseTreeModels>

multipart/form-data

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