GET api/DeliveryManagement/GetTimeSlotByOrganization?Date={Date}&OrgId={OrgId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Date

string

Required

OrgId

integer

Required

Body Parameters

None.

Response Information

Resource Description

ResponseTimeSlot
NameDescriptionTypeAdditional information
time_slots

Collection of TimeSlot

None.

success

string

None.

error_message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "time_slots": [
    {
      "time_slot_id": 1,
      "from_time": "00:00:00.1234567",
      "to_time": "00:00:00.1234567"
    },
    {
      "time_slot_id": 1,
      "from_time": "00:00:00.1234567",
      "to_time": "00:00:00.1234567"
    }
  ],
  "success": "sample string 1",
  "error_message": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseTimeSlot xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartnerNetwork.Models">
  <error_message>sample string 2</error_message>
  <success>sample string 1</success>
  <time_slots>
    <TimeSlot>
      <from_time>PT0.1234567S</from_time>
      <time_slot_id>1</time_slot_id>
      <to_time>PT0.1234567S</to_time>
    </TimeSlot>
    <TimeSlot>
      <from_time>PT0.1234567S</from_time>
      <time_slot_id>1</time_slot_id>
      <to_time>PT0.1234567S</to_time>
    </TimeSlot>
  </time_slots>
</ResponseTimeSlot>