GET api/Data/GetScheduleRequests?routeid={routeid}&dt={dt}&vendorid={vendorid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
routeid

integer

Required

dt

date

Required

vendorid

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CustomerOrders
NameDescriptionTypeAdditional information
id

integer

None.

user_name

string

None.

user_email

string

None.

user_phone

string

None.

user_id

integer

None.

dor

date

None.

dos

date

None.

tos

time interval

None.

type

string

None.

dept

string

None.

origin

string

None.

order_total

decimal number

None.

address_id

integer

None.

dod

date

None.

customersign

string

None.

deliveredby

string

None.

feedback

string

None.

emailsent

boolean

None.

vendorid

integer

None.

createby

string

None.

token

string

None.

customer_notes

string

None.

delivery_notes

string

None.

driver_instructions

string

None.

status

string

None.

routeid

integer

None.

staff_id

integer

None.

public_id

string

None.

pon

string

None.

ackby

string

None.

user_address

string

None.

driver

string

None.

paidmt

decimal number

None.

route

string

None.

route_name

string

None.

route_address

string

None.

route_phone

string

None.

route_email

string

None.

qbrefno

string

None.

building

string

None.

floor_room

string

None.

point_of_contact

string

None.

discount_type

string

None.

seq

integer

None.

discount

decimal number

None.

orderEntries

Collection of CustomerOrderEntry

None.

orderTimings

Collection of CustomerOrderTimings

None.

orderPayments

Collection of CustomerPayments

None.

orderFiles

Collection of OrderFiles

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "id": 1,
    "user_name": "sample string 2",
    "user_email": "sample string 3",
    "user_phone": "sample string 4",
    "user_id": 1,
    "dor": "2025-12-31T01:38:02.1254706+00:00",
    "dos": "2025-12-31T01:38:02.1254706+00:00",
    "tos": "00:00:00.1234567",
    "type": "sample string 5",
    "dept": "sample string 6",
    "origin": "sample string 7",
    "order_total": 1.0,
    "address_id": 1,
    "dod": "2025-12-31T01:38:02.1254706+00:00",
    "customersign": "sample string 8",
    "deliveredby": "sample string 9",
    "feedback": "sample string 10",
    "emailsent": true,
    "vendorid": 1,
    "createby": "sample string 11",
    "token": "sample string 12",
    "customer_notes": "sample string 13",
    "delivery_notes": "sample string 14",
    "driver_instructions": "sample string 15",
    "status": "sample string 16",
    "routeid": 1,
    "staff_id": 1,
    "public_id": "sample string 17",
    "pon": "sample string 18",
    "ackby": "sample string 19",
    "user_address": "sample string 20",
    "driver": "sample string 21",
    "paidmt": 1.0,
    "route": "sample string 22",
    "route_name": "sample string 23",
    "route_address": "sample string 24",
    "route_phone": "sample string 25",
    "route_email": "sample string 26",
    "qbrefno": "sample string 27",
    "building": "sample string 28",
    "floor_room": "sample string 29",
    "point_of_contact": "sample string 30",
    "discount_type": "sample string 31",
    "seq": 32,
    "discount": 1.0,
    "orderEntries": [
      {
        "$id": "2",
        "id": 1,
        "itemid": 1,
        "description": "sample string 2",
        "qty": 1.0,
        "discount": 3.0,
        "price": 1.0,
        "orderid": 1,
        "pic": "sample string 4",
        "notes": "sample string 5",
        "uom": "sample string 6",
        "category": "sample string 7",
        "subcategory": "sample string 8",
        "qtydelivered": 1.0,
        "orderEntryAddOns": [
          {
            "$id": "3",
            "id": 1,
            "order_entry_id": 2,
            "item_addon_id": 3,
            "quantity": 4,
            "price": 5.0,
            "notes": "sample string 6",
            "description": "sample string 7",
            "uom": "sample string 8"
          },
          {
            "$ref": "3"
          }
        ]
      },
      {
        "$ref": "2"
      }
    ],
    "orderTimings": [
      {
        "$id": "4",
        "id": 1,
        "order_id": 2,
        "status": "sample string 3",
        "created_at": "2025-12-31T01:38:02.1254706+00:00",
        "updated_at": "2025-12-31T01:38:02.1254706+00:00",
        "createby": "sample string 4"
      },
      {
        "$ref": "4"
      }
    ],
    "orderPayments": [
      {
        "$id": "5",
        "amount": 1.0,
        "narration": "sample string 2",
        "trandate": "2025-12-31T01:38:02.1254706+00:00",
        "tranby": "sample string 3",
        "pm": "sample string 4"
      },
      {
        "$ref": "5"
      }
    ],
    "orderFiles": [
      {
        "$id": "6",
        "id": 1,
        "order_id": 1,
        "file_name": "sample string 2",
        "createby": "sample string 3",
        "createdate": "2025-12-31T01:38:02.1254706+00:00"
      },
      {
        "$ref": "6"
      }
    ]
  },
  {
    "$ref": "1"
  }
]