POST api/Requests/{code}/Messages

Create a new Message in the Maintenance Request

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

The Request code

integer

Required

Body Parameters

MessageNew
NameDescriptionTypeAdditional information
Message

string

None.

Request Formats

Sample:
{
  "Message": "sample string 1"
}
Sample:
<MessageNew xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models.Pedidos">
  <Message>sample string 1</Message>
</MessageNew>
Sample:

Sample not available.

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Message"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

Returns the new Message Id; Status code: 201 (Created)

integer

Response Formats

Sample:
1
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name=""

1
--MultipartDataMediaFormatterBoundary1q2w3e--