POST api/Partner/GetNextAvailableDatesForService

Provides a collection of dates with open timeslots to accomodate the service of specified type

Request Information

URI Parameters

None.

Body Parameters

PartnerGetAvailableServiceDatesModel
NameDescriptionTypeAdditional information
ID

PartnerID

integer

None.

ServiceTypeID

deprecated - only included for older mobile versions

integer

None.

ServiceTypes

Collection of integer

None.

FromDate

date

None.

NoOfDates

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "ServiceTypeID": 2,
  "ServiceTypes": [
    1,
    2
  ],
  "FromDate": "2026-04-19T05:18:53.3228871+00:00",
  "NoOfDates": 4
}

application/xml, text/xml

Sample:
<PartnerGetAvailableServiceDatesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Models.DTO">
  <FromDate>2026-04-19T05:18:53.3228871+00:00</FromDate>
  <ID>1</ID>
  <NoOfDates>4</NoOfDates>
  <ServiceTypeID>2</ServiceTypeID>
  <ServiceTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ServiceTypes>
</PartnerGetAvailableServiceDatesModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of date

Response Formats

application/json, text/json

Sample:
[
  "2026-04-19T05:18:53.3228871+00:00",
  "2026-04-19T05:18:53.3228871+00:00"
]

application/xml, text/xml

Sample:
<ArrayOfdateTime xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <dateTime>2026-04-19T05:18:53.3228871+00:00</dateTime>
  <dateTime>2026-04-19T05:18:53.3228871+00:00</dateTime>
</ArrayOfdateTime>