POST api/my/basura/bookings/admin/schedules/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Collection of BookingsScheduleUpdateDTO
NameDescriptionTypeAdditional information
scheduleid

integer

None.

schedule

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "scheduleid": 1,
    "schedule": "2025-07-13T21:09:45.6030111+08:00"
  },
  {
    "scheduleid": 1,
    "schedule": "2025-07-13T21:09:45.6030111+08:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfBookingsScheduleUpdateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO">
  <BookingsScheduleUpdateDTO>
    <schedule>2025-07-13T21:09:45.6030111+08:00</schedule>
    <scheduleid>1</scheduleid>
  </BookingsScheduleUpdateDTO>
  <BookingsScheduleUpdateDTO>
    <schedule>2025-07-13T21:09:45.6030111+08:00</schedule>
    <scheduleid>1</scheduleid>
  </BookingsScheduleUpdateDTO>
</ArrayOfBookingsScheduleUpdateDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.