POST ShiftPlan/AttendanceResponse?id={id}&selection={selection}&attend={attend}&reason={reason}&note={note}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

selection

integer

Required

attend

boolean

Required

reason

integer

None.

note

string

None.

Body Parameters

AttendanceDeclineBody
NameDescriptionTypeAdditional information
Reason

integer

None.

Note

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Reason": 1,
  "Note": "sample string 1"
}

application/xml, text/xml

Sample:
<ShiftPlanApiController.AttendanceDeclineBody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Controllers">
  <Note>sample string 1</Note>
  <Reason>1</Reason>
</ShiftPlanApiController.AttendanceDeclineBody>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AttendanceRespondResult
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

AttendanceStatus

integer

None.

WentOnline

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "AttendanceStatus": 3,
  "WentOnline": true
}

application/xml, text/xml

Sample:
<ShiftAttendanceModels.AttendanceRespondResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLogicLayer.ShiftPlans">
  <AttendanceStatus>3</AttendanceStatus>
  <Message>sample string 2</Message>
  <Success>true</Success>
  <WentOnline>true</WentOnline>
</ShiftAttendanceModels.AttendanceRespondResult>