PUT api/Vendor/Schedule/Replace?subtypeId={subtypeId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subtypeId

integer

Required

Body Parameters

VendorScheduleSaveDTO
NameDescriptionTypeAdditional information
slots

Collection of ScheduleSlotDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "slots": [
    {
      "day_of_week": 64,
      "start_time": "00:00:00.1234567",
      "end_time": "00:00:00.1234567"
    },
    {
      "day_of_week": 64,
      "start_time": "00:00:00.1234567",
      "end_time": "00:00:00.1234567"
    }
  ]
}

application/xml, text/xml

Sample:
<VendorScheduleSaveDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Caremate_API.Models.DTOs.Vendor">
  <slots>
    <ScheduleSlotDTO>
      <day_of_week>64</day_of_week>
      <end_time>PT0.1234567S</end_time>
      <start_time>PT0.1234567S</start_time>
    </ScheduleSlotDTO>
    <ScheduleSlotDTO>
      <day_of_week>64</day_of_week>
      <end_time>PT0.1234567S</end_time>
      <start_time>PT0.1234567S</start_time>
    </ScheduleSlotDTO>
  </slots>
</VendorScheduleSaveDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.