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
PartnerGetAvailableServiceDatesModelName | Description | Type | Additional information |
---|---|---|---|
ID |
PartnerID |
integer |
None. |
ServiceTypeID | 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": "2025-09-05T16:02:03.970296+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>2025-09-05T16:02:03.970296+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 dateResponse Formats
application/json, text/json
Sample:
[ "2025-09-05T16:02:04.0328039+00:00", "2025-09-05T16:02:04.0328039+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>2025-09-05T16:02:04.0328039+00:00</dateTime> <dateTime>2025-09-05T16:02:04.0328039+00:00</dateTime> </ArrayOfdateTime>