PUT api/v3/Messages/RespondToMessage

Deletes a messsage from the system

Request Information

URI Parameters

None.

Body Parameters

MessageResponseInput
NameDescriptionTypeAdditional information
Id

Id of the message

integer

None.

Typ

Type of response (1 = Yes, 2 = Maybe, 3 = No)

integer

None.

Not

Note for the response

string

None.

Request Formats

application/json

Sample:
{
  "Id": 1,
  "Typ": 2,
  "Not": "sample string 3"
}

application/xml, text/xml

Sample:
<MessageResponseInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Resgrid.Web.Services.Controllers.Version3.Models.Messages">
  <Id>1</Id>
  <Not>sample string 3</Not>
  <Typ>2</Typ>
</MessageResponseInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Returns OK status code if successful

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.