POST api/Contact

Send us a message. Requires authorization, as it figures out where to send it based on the email message

Request Information

URI Parameters

None.

Body Parameters

AppContactBindingModel
NameDescriptionTypeAdditional information
Barcode

string

Required

String length: inclusive between 0 and 30

Subject

string

Required

String length: inclusive between 0 and 256

Message

string

Required

String length: inclusive between 0 and 1024

MessageTypeId

string

String length: inclusive between 0 and 40

Type

MessageTypeId

None.

Request Formats

application/json, text/json

Sample:
{
  "Barcode": "sample string 1",
  "Subject": "sample string 2",
  "Message": "sample string 3",
  "MessageTypeId": "sample string 4",
  "Type": 5
}

application/xml, text/xml

Sample:
<AppContactBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PalmSmart.Models">
  <Barcode>sample string 1</Barcode>
  <Message>sample string 3</Message>
  <MessageTypeId>sample string 4</MessageTypeId>
  <Subject>sample string 2</Subject>
</AppContactBindingModel>

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>