PUT api/Admin/Facility/Tasks/{taskId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
taskId

integer

Required

Body Parameters

FacilityTaskUpdateDTO
NameDescriptionTypeAdditional information
AssignedToName

string

None.

AssignedToMail

string

None.

CommentHml

string

None.

IsCompleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AssignedToName": "sample string 1",
  "AssignedToMail": "sample string 2",
  "CommentHml": "sample string 3",
  "IsCompleted": true
}

application/xml, text/xml

Sample:
<FacilityTaskUpdateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.Catering">
  <AssignedToMail>sample string 2</AssignedToMail>
  <AssignedToName>sample string 1</AssignedToName>
  <CommentHml>sample string 3</CommentHml>
  <IsCompleted>true</IsCompleted>
</FacilityTaskUpdateDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FacilityTaskUpdateDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.