POST api/my/basura/fwbookings/adm/schedules

Request Information

URI Parameters

None.

Body Parameters

FWAdminScheduleCreateDTO
NameDescriptionTypeAdditional information
bookingID

integer

None.

schedule

Collection of SchedulesCreateDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "bookingID": 1,
  "schedule": [
    {
      "schedule": "2025-07-13T17:50:25.0218712+08:00"
    },
    {
      "schedule": "2025-07-13T17:50:25.0218712+08:00"
    }
  ]
}

application/xml, text/xml

Sample:
<FWAdminScheduleCreateDTO 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-13T17:50:25.0218712+08:00</schedule>
    </SchedulesCreateDTO>
    <SchedulesCreateDTO>
      <schedule>2025-07-13T17:50:25.0218712+08:00</schedule>
    </SchedulesCreateDTO>
  </schedule>
</FWAdminScheduleCreateDTO>

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 'FWAdminScheduleCreateDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.