POST api/Message

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of User
NameDescriptionTypeAdditional information
name

string

None.

department

Collection of string

None.

userid

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "name": "sample string 1",
    "department": [
      "sample string 1",
      "sample string 2"
    ],
    "userid": "sample string 2"
  },
  {
    "name": "sample string 1",
    "department": [
      "sample string 1",
      "sample string 2"
    ],
    "userid": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModelUtils">
  <User>
    <department xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </department>
    <name>sample string 1</name>
    <userid>sample string 2</userid>
  </User>
  <User>
    <department xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </department>
    <name>sample string 1</name>
    <userid>sample string 2</userid>
  </User>
</ArrayOfUser>