PUT api/AdminAvailability/PutGeneratePersonAvailability
Generate the person's availability between start time and end time If availability already exists, then it recreates the availability.
Request Information
URI Parameters
None.
Body Parameters
PutGeneratePersonAvailabilityDtoName | Description | Type | Additional information |
---|---|---|---|
PersonId | integer |
Required |
|
StartTime | integer |
Required |
|
EndTime | integer |
Required |
Request Formats
application/json, text/json
Sample:
{ "PersonId": 1, "StartTime": 2, "EndTime": 3 }
application/xml, text/xml
Sample:
<PutGeneratePersonAvailabilityDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudyTree.Common.Dtos.AdminNs"> <EndTime>3</EndTime> <PersonId>1</PersonId> <StartTime>2</StartTime> </PutGeneratePersonAvailabilityDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |