GET api/V3/VanSales/OrderIntent?lastUpdated={lastUpdated}

API can be used to fetch 10 incremental records of Van Order Intent.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lastUpdated

For a given lastUpdated, the next 10 values for the company are sent. DATA FOR THE PARAM ID IS NOT INCLUDED.If lastUpdated is empty then it is assumed 0 and first 10 values are sent.

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of V3.OrderIntentDetails
NameDescriptionTypeAdditional information
EpochTime

Order Intent Last Approved DateTime

integer

None.

LoadOutIntentId

Load Out Intent ID

integer

None.

EmployeeName

Name of Employee

string

None.

EmployeeGuid

Employee unique Id

globally unique identifier

None.

EmployeeErpId

ERPID of Employee

string

None.

EmployeeDesignation

Current Designation of the User

integer

None.

DistributorErpId

Distributor ErpId for Order Intent

string

None.

VanChasisNumber

Chassis Number of Van

string

None.

Time

Time of the Order Intent

date

None.

EmployeeType

Current Type of the User

string

None.

OrderIntentItemDetails

List of Order Intent Items

Collection of V3.OrderIntentItemDetails

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "EpochTime": 1,
    "LoadOutIntentId": 2,
    "EmployeeName": "sample string 3",
    "EmployeeGuid": "593eb491-88f6-46d9-ba9a-e9af52eed3af",
    "EmployeeErpId": "sample string 5",
    "EmployeeDesignation": 1,
    "DistributorErpId": "sample string 6",
    "VanChasisNumber": "sample string 7",
    "Time": "2025-04-04T05:16:49.2293956+00:00",
    "EmployeeType": "sample string 9",
    "OrderIntentItemDetails": [
      {
        "ProductErpId": "sample string 1",
        "ProductName": "sample string 2",
        "FreshPiece": 1,
        "FreshCase": 1.1,
        "CasePrice": 1.1,
        "PiecePrice": 1.1
      },
      {
        "ProductErpId": "sample string 1",
        "ProductName": "sample string 2",
        "FreshPiece": 1,
        "FreshCase": 1.1,
        "CasePrice": 1.1,
        "PiecePrice": 1.1
      }
    ]
  },
  {
    "EpochTime": 1,
    "LoadOutIntentId": 2,
    "EmployeeName": "sample string 3",
    "EmployeeGuid": "593eb491-88f6-46d9-ba9a-e9af52eed3af",
    "EmployeeErpId": "sample string 5",
    "EmployeeDesignation": 1,
    "DistributorErpId": "sample string 6",
    "VanChasisNumber": "sample string 7",
    "Time": "2025-04-04T05:16:49.2293956+00:00",
    "EmployeeType": "sample string 9",
    "OrderIntentItemDetails": [
      {
        "ProductErpId": "sample string 1",
        "ProductName": "sample string 2",
        "FreshPiece": 1,
        "FreshCase": 1.1,
        "CasePrice": 1.1,
        "PiecePrice": 1.1
      },
      {
        "ProductErpId": "sample string 1",
        "ProductName": "sample string 2",
        "FreshPiece": 1,
        "FreshCase": 1.1,
        "CasePrice": 1.1,
        "PiecePrice": 1.1
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfOrderIntentDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.Models.V3">
  <OrderIntentDetails>
    <DistributorErpId>sample string 6</DistributorErpId>
    <EmployeeDesignation>1</EmployeeDesignation>
    <EmployeeErpId>sample string 5</EmployeeErpId>
    <EmployeeGuid>593eb491-88f6-46d9-ba9a-e9af52eed3af</EmployeeGuid>
    <EmployeeName>sample string 3</EmployeeName>
    <EmployeeType>sample string 9</EmployeeType>
    <EpochTime>1</EpochTime>
    <LoadOutIntentId>2</LoadOutIntentId>
    <OrderIntentItemDetails>
      <OrderIntentItemDetails>
        <CasePrice>1.1</CasePrice>
        <FreshCase>1.1</FreshCase>
        <FreshPiece>1</FreshPiece>
        <PiecePrice>1.1</PiecePrice>
        <ProductErpId>sample string 1</ProductErpId>
        <ProductName>sample string 2</ProductName>
      </OrderIntentItemDetails>
      <OrderIntentItemDetails>
        <CasePrice>1.1</CasePrice>
        <FreshCase>1.1</FreshCase>
        <FreshPiece>1</FreshPiece>
        <PiecePrice>1.1</PiecePrice>
        <ProductErpId>sample string 1</ProductErpId>
        <ProductName>sample string 2</ProductName>
      </OrderIntentItemDetails>
    </OrderIntentItemDetails>
    <Time>2025-04-04T05:16:49.2293956+00:00</Time>
    <VanChasisNumber>sample string 7</VanChasisNumber>
  </OrderIntentDetails>
  <OrderIntentDetails>
    <DistributorErpId>sample string 6</DistributorErpId>
    <EmployeeDesignation>1</EmployeeDesignation>
    <EmployeeErpId>sample string 5</EmployeeErpId>
    <EmployeeGuid>593eb491-88f6-46d9-ba9a-e9af52eed3af</EmployeeGuid>
    <EmployeeName>sample string 3</EmployeeName>
    <EmployeeType>sample string 9</EmployeeType>
    <EpochTime>1</EpochTime>
    <LoadOutIntentId>2</LoadOutIntentId>
    <OrderIntentItemDetails>
      <OrderIntentItemDetails>
        <CasePrice>1.1</CasePrice>
        <FreshCase>1.1</FreshCase>
        <FreshPiece>1</FreshPiece>
        <PiecePrice>1.1</PiecePrice>
        <ProductErpId>sample string 1</ProductErpId>
        <ProductName>sample string 2</ProductName>
      </OrderIntentItemDetails>
      <OrderIntentItemDetails>
        <CasePrice>1.1</CasePrice>
        <FreshCase>1.1</FreshCase>
        <FreshPiece>1</FreshPiece>
        <PiecePrice>1.1</PiecePrice>
        <ProductErpId>sample string 1</ProductErpId>
        <ProductName>sample string 2</ProductName>
      </OrderIntentItemDetails>
    </OrderIntentItemDetails>
    <Time>2025-04-04T05:16:49.2293956+00:00</Time>
    <VanChasisNumber>sample string 7</VanChasisNumber>
  </OrderIntentDetails>
</ArrayOfOrderIntentDetails>