GET GetAvailableSlots/{lang}/{staffId}/{bookingdate}/{timeframe}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lang

string

Required

staffId

integer

Required

bookingdate

string

Required

timeframe

string

Required

Body Parameters

None.

Response Information

Resource Description

TimeFrameResponse
NameDescriptionTypeAdditional information
Status

integer

None.

Message

string

None.

TimeFrames

Collection of TimeFrameDTO

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Message": "sample string 2",
  "TimeFrames": [
    {
      "TimeFrame_Id": 1,
      "TimeFrame_Name": "sample string 2"
    },
    {
      "TimeFrame_Id": 1,
      "TimeFrame_Name": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<TimeFrameResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NailItWeb.UINew.Models">
  <Message>sample string 2</Message>
  <Status>1</Status>
  <TimeFrames>
    <TimeFrameDTO>
      <TimeFrame_Id>1</TimeFrame_Id>
      <TimeFrame_Name>sample string 2</TimeFrame_Name>
    </TimeFrameDTO>
    <TimeFrameDTO>
      <TimeFrame_Id>1</TimeFrame_Id>
      <TimeFrame_Name>sample string 2</TimeFrame_Name>
    </TimeFrameDTO>
  </TimeFrames>
</TimeFrameResponse>