GET api/Values/GetLoadStatus?LoadNumber={LoadNumber}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
LoadNumber

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of tblDriverLocation
NameDescriptionTypeAdditional information
id

integer

None.

LoadNumber

string

None.

StartTime

date

None.

EndTime

date

None.

Latitude

string

None.

Longitude

string

None.

LoadStatus

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "LoadNumber": "sample string 2",
    "StartTime": "2025-12-10T07:54:31.6554095-08:00",
    "EndTime": "2025-12-10T07:54:31.6554095-08:00",
    "Latitude": "sample string 3",
    "Longitude": "sample string 4",
    "LoadStatus": 1
  },
  {
    "id": 1,
    "LoadNumber": "sample string 2",
    "StartTime": "2025-12-10T07:54:31.6554095-08:00",
    "EndTime": "2025-12-10T07:54:31.6554095-08:00",
    "Latitude": "sample string 3",
    "Longitude": "sample string 4",
    "LoadStatus": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOftblDriverLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Models">
  <tblDriverLocation>
    <EndTime>2025-12-10T07:54:31.6554095-08:00</EndTime>
    <Latitude>sample string 3</Latitude>
    <LoadNumber>sample string 2</LoadNumber>
    <LoadStatus>1</LoadStatus>
    <Longitude>sample string 4</Longitude>
    <StartTime>2025-12-10T07:54:31.6554095-08:00</StartTime>
    <id>1</id>
  </tblDriverLocation>
  <tblDriverLocation>
    <EndTime>2025-12-10T07:54:31.6554095-08:00</EndTime>
    <Latitude>sample string 3</Latitude>
    <LoadNumber>sample string 2</LoadNumber>
    <LoadStatus>1</LoadStatus>
    <Longitude>sample string 4</Longitude>
    <StartTime>2025-12-10T07:54:31.6554095-08:00</StartTime>
    <id>1</id>
  </tblDriverLocation>
</ArrayOftblDriverLocation>