POST api/user/CreateOutOfOffice

Create OutOfOffice

Request Information

URI Parameters

None.

Body Parameters

CreateOutOfOfficeRequestModel
NameDescriptionTypeAdditional information
UserName

string

Required

StartDate

Date Time Format 'mm/dd/yy'

string

Required

EndDate

Date Time Format 'mm/dd/yy'

string

Required

StartTime

Default '00:00'. 24 Hour time format eg: '16:45'

string

None.

EndTime

Default '23:59'. 24 Hour time format eg: '16:45'

string

None.

CoveringUser

Specify Group ID and Covering User eg: [{"GroupID": "1", "CoverUserName" : "Test"}]

Collection of CoveringUser

Required

APIKey

string

Required

Request Formats

text/json, application/json

Sample:
{
     "APIKey": "12ae8a55-22ee-4761-ac59-d8e6d182ef78",
     "UserName" : "devTestUser11",
     "StartDate": "03/15/2018",
     "EndDate":"03/16/2018",
     "StartTime":"00:00",
     "EndTime":"23:59",
     "CoveringUser": [
     	{"GroupID": "565", "CoverUserName" : "aadams"}, 
     	{"GroupID": "564", "CoverUserName" : "DEvTestUser1"}
     ]
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.