POST api/MapGeoTag/saveFarmerNonEngagement

Request Information

URI Parameters

None.

Body Parameters

ReceivedFarmerNonEngagament
NameDescriptionTypeAdditional information
handphone

string

None.

mobile_token

string

None.

mode

string

None.

FarmerId

integer

None.

LocationId

integer

None.

Farmer_Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "handphone": "sample string 1",
  "mobile_token": "sample string 2",
  "mode": "sample string 3",
  "FarmerId": 4,
  "LocationId": 5,
  "Farmer_Name": "sample string 6"
}

application/xml, text/xml

Sample:
<ReceivedFarmerNonEngagament xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.MapGeoTagIntegrator.ReceivedDataModels">
  <FarmerId>4</FarmerId>
  <Farmer_Name>sample string 6</Farmer_Name>
  <LocationId>5</LocationId>
  <handphone>sample string 1</handphone>
  <mobile_token>sample string 2</mobile_token>
  <mode>sample string 3</mode>
</ReceivedFarmerNonEngagament>

multipart/form-data

Sample:
<ReceivedFarmerNonEngagament xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.MapGeoTagIntegrator.ReceivedDataModels"><FarmerId>4</FarmerId><Farmer_Name>sample string 6</Farmer_Name><LocationId>5</LocationId><handphone>sample string 1</handphone><mobile_token>sample string 2</mobile_token><mode>sample string 3</mode></ReceivedFarmerNonEngagament>

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>