POST api/Report/bookKeeping

Request Information

URI Parameters

None.

Body Parameters

ReportReceivedDataModels
NameDescriptionTypeAdditional information
vendor_id

string

None.

handphone

string

None.

mobile_token

string

None.

Date_From

date

None.

Date_To

date

None.

is_detail

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "vendor_id": "sample string 1",
  "handphone": "sample string 2",
  "mobile_token": "sample string 3",
  "Date_From": "2026-01-30T14:00:52.0965805+07:00",
  "Date_To": "2026-01-30T14:00:52.0965805+07:00",
  "is_detail": true
}

application/xml, text/xml

Sample:
<ReportReceivedDataModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.ReportIntegrator.ReceivedDataModels">
  <Date_From>2026-01-30T14:00:52.0965805+07:00</Date_From>
  <Date_To>2026-01-30T14:00:52.0965805+07:00</Date_To>
  <handphone>sample string 2</handphone>
  <is_detail>true</is_detail>
  <mobile_token>sample string 3</mobile_token>
  <vendor_id>sample string 1</vendor_id>
</ReportReceivedDataModels>

multipart/form-data

Sample:
<ReportReceivedDataModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.ReportIntegrator.ReceivedDataModels"><Date_From>2026-01-30T14:00:52.0965805+07:00</Date_From><Date_To>2026-01-30T14:00:52.0965805+07:00</Date_To><handphone>sample string 2</handphone><is_detail>true</is_detail><mobile_token>sample string 3</mobile_token><vendor_id>sample string 1</vendor_id></ReportReceivedDataModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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

multipart/form-data

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