PUT api/Tasks/{id}/Response

Records or updates the user's response to an appointment invitation.

Request

Parameters

Name Description Default
id Unique task ID.
response Response to the invitation.

Response

Body

Content Type: application/xml or application/json
Success or an error message.

XML JSON
<Response>                     
  <Result>string</Result>      <!--Always 'Success'--> 
  <Message>string</Message>    <!--Error message--> 
</Response>                    
{                         
   "Result": "string",    // Always 'Success'
   "Message": "string"    // Error message
}                         
                          

Status Codes

Code Condition
200 OK The operation completed successfully.
400 Bad RequestInvalid task or response.
401 Unauthorized Access token is invalid, expired or not specified.
403 ForbiddenUser does not have permission to respond to the invitation.
404 Not FoundTask not found.
406 Not Acceptable Content type specified in the Accept header isn't supported.
409 ConflictUser is not listed as an attendee.
500 Internal Server Error An internal error occurred.

Remarks

The response can be one of the following values:
ValueDescription
noneNo response.
acceptedMember accepted the invitation.
declinedMember declined the invitation.