POST api/ListActivity/getMetodePlanting

Request Information

URI Parameters

None.

Body Parameters

ListActivityReceivedDataModels
NameDescriptionTypeAdditional information
vendor_id

string

None.

handphone

string

None.

mobile_token

string

None.

location_id

integer

None.

reco_order_detail_id

integer

None.

type

string

None.

data

Object

None.

Request Formats

application/json, text/json

Sample:
{
  "vendor_id": "sample string 1",
  "handphone": "sample string 2",
  "mobile_token": "sample string 3",
  "location_id": 4,
  "reco_order_detail_id": 5,
  "type": "sample string 6",
  "data": {}
}

application/xml, text/xml

Sample:
<ListActivityReceivedDataModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.ListActivityIntegrator.ReceivedDataModels">
  <data />
  <handphone>sample string 2</handphone>
  <location_id>4</location_id>
  <mobile_token>sample string 3</mobile_token>
  <reco_order_detail_id>5</reco_order_detail_id>
  <type>sample string 6</type>
  <vendor_id>sample string 1</vendor_id>
</ListActivityReceivedDataModels>

multipart/form-data

Sample:
<ListActivityReceivedDataModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.ListActivityIntegrator.ReceivedDataModels"><data /><handphone>sample string 2</handphone><location_id>4</location_id><mobile_token>sample string 3</mobile_token><reco_order_detail_id>5</reco_order_detail_id><type>sample string 6</type><vendor_id>sample string 1</vendor_id></ListActivityReceivedDataModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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

multipart/form-data

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