POST api/my/basura/bookings/admin/schedules
Request Information
URI Parameters
None.
Body Parameters
BookingsScheduleCreateDTOName | Description | Type | Additional information |
---|---|---|---|
bookingid | integer |
None. |
|
schedule | Collection of SchedulesCreateDTO |
None. |
Request Formats
application/json, text/json
Sample:
{ "bookingid": 1, "schedule": [ { "schedule": "2025-07-13T18:51:56.3924465+08:00" }, { "schedule": "2025-07-13T18:51:56.3924465+08:00" } ] }
application/xml, text/xml
Sample:
<BookingsScheduleCreateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO"> <bookingid>1</bookingid> <schedule> <SchedulesCreateDTO> <schedule>2025-07-13T18:51:56.3924465+08:00</schedule> </SchedulesCreateDTO> <SchedulesCreateDTO> <schedule>2025-07-13T18:51:56.3924465+08:00</schedule> </SchedulesCreateDTO> </schedule> </BookingsScheduleCreateDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.