POST api/List/farmerGroupList

Request Information

URI Parameters

None.

Body Parameters

ListReceivedDataModels
NameDescriptionTypeAdditional information
vendor_id

string

None.

handphone

string

None.

mobile_token

string

None.

id

integer

None.

location_id

integer

None.

material_package_id

integer

None.

order_date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "vendor_id": "sample string 1",
  "handphone": "sample string 2",
  "mobile_token": "sample string 3",
  "id": 4,
  "location_id": 5,
  "material_package_id": 6,
  "order_date": "2026-01-30T14:00:51.5965829+07:00"
}

application/xml, text/xml

Sample:
<ListReceivedDataModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.ListIntegrator.ReceivedDataModels">
  <handphone>sample string 2</handphone>
  <id>4</id>
  <location_id>5</location_id>
  <material_package_id>6</material_package_id>
  <mobile_token>sample string 3</mobile_token>
  <order_date>2026-01-30T14:00:51.5965829+07:00</order_date>
  <vendor_id>sample string 1</vendor_id>
</ListReceivedDataModels>

multipart/form-data

Sample:
<ListReceivedDataModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.ListIntegrator.ReceivedDataModels"><handphone>sample string 2</handphone><id>4</id><location_id>5</location_id><material_package_id>6</material_package_id><mobile_token>sample string 3</mobile_token><order_date>2026-01-30T14:00:51.5965829+07:00</order_date><vendor_id>sample string 1</vendor_id></ListReceivedDataModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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

multipart/form-data

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