POST api/v2/Orders/SearchOrdersPendingConfirmation

Request Information

URI Parameters

None.

Body Parameters

SearchOrdersContract
NameDescriptionTypeAdditional information
OrderId

integer

None.

FarmName

string

None.

ExpectedDateFrom

date

None.

ExpectedDateTo

date

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderId": 1,
  "FarmName": "sample string 1",
  "ExpectedDateFrom": "2026-09-22 12:11:53",
  "ExpectedDateTo": "2026-09-22 12:11:53"
}

application/xml, text/xml

Sample:
<SearchOrdersContract xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Agrifood.Cloud.FP.Service.V2.DataContracts.Orders">
  <ExpectedDateFrom>2026-09-22T12:11:53.2868581+00:00</ExpectedDateFrom>
  <ExpectedDateTo>2026-09-22T12:11:53.2868581+00:00</ExpectedDateTo>
  <FarmName>sample string 1</FarmName>
  <OrderId>1</OrderId>
</SearchOrdersContract>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of OrdersContract
NameDescriptionTypeAdditional information
OrderId

integer

None.

IntegratorId

integer

None.

FarmId

integer

None.

Status

integer

None.

OrderDate

date

None.

ExpectedDate

date

None.

DeliveryDate

date

None.

ConfirmedDate

date

None.

InProcessDate

date

None.

Remarks

string

None.

IntegratorName

string

None.

FarmName

string

None.

StatusName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "OrderId": 1,
    "IntegratorId": 2,
    "FarmId": 3,
    "Status": 4,
    "OrderDate": "2026-09-22 12:11:53",
    "ExpectedDate": "2026-09-22 12:11:53",
    "DeliveryDate": "2026-09-22 12:11:53",
    "ConfirmedDate": "2026-09-22 12:11:53",
    "InProcessDate": "2026-09-22 12:11:53",
    "Remarks": "sample string 5",
    "IntegratorName": "sample string 6",
    "FarmName": "sample string 7",
    "StatusName": "sample string 8"
  },
  {
    "OrderId": 1,
    "IntegratorId": 2,
    "FarmId": 3,
    "Status": 4,
    "OrderDate": "2026-09-22 12:11:53",
    "ExpectedDate": "2026-09-22 12:11:53",
    "DeliveryDate": "2026-09-22 12:11:53",
    "ConfirmedDate": "2026-09-22 12:11:53",
    "InProcessDate": "2026-09-22 12:11:53",
    "Remarks": "sample string 5",
    "IntegratorName": "sample string 6",
    "FarmName": "sample string 7",
    "StatusName": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfOrdersContract xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.agrifoodatsolutions.com/FPService/v2/contracts/2017/01">
  <OrdersContract>
    <ConfirmedDate>2026-09-22T12:11:53.2868581+00:00</ConfirmedDate>
    <DeliveryDate>2026-09-22T12:11:53.2868581+00:00</DeliveryDate>
    <ExpectedDate>2026-09-22T12:11:53.2868581+00:00</ExpectedDate>
    <FarmId>3</FarmId>
    <FarmName>sample string 7</FarmName>
    <InProcessDate>2026-09-22T12:11:53.2868581+00:00</InProcessDate>
    <IntegratorId>2</IntegratorId>
    <IntegratorName>sample string 6</IntegratorName>
    <OrderDate>2026-09-22T12:11:53.2868581+00:00</OrderDate>
    <OrderId>1</OrderId>
    <Remarks>sample string 5</Remarks>
    <Status>4</Status>
    <StatusName>sample string 8</StatusName>
  </OrdersContract>
  <OrdersContract>
    <ConfirmedDate>2026-09-22T12:11:53.2868581+00:00</ConfirmedDate>
    <DeliveryDate>2026-09-22T12:11:53.2868581+00:00</DeliveryDate>
    <ExpectedDate>2026-09-22T12:11:53.2868581+00:00</ExpectedDate>
    <FarmId>3</FarmId>
    <FarmName>sample string 7</FarmName>
    <InProcessDate>2026-09-22T12:11:53.2868581+00:00</InProcessDate>
    <IntegratorId>2</IntegratorId>
    <IntegratorName>sample string 6</IntegratorName>
    <OrderDate>2026-09-22T12:11:53.2868581+00:00</OrderDate>
    <OrderId>1</OrderId>
    <Remarks>sample string 5</Remarks>
    <Status>4</Status>
    <StatusName>sample string 8</StatusName>
  </OrdersContract>
</ArrayOfOrdersContract>