POST api/AssignTimetable/OpersForDiaryArr

Request Information

URI Parameters

None.

Body Parameters

Collection of integer

Request Formats

application/json, text/json

Sample:
[
  1,
  2
]

application/xml, text/xml

Sample:
<ArrayOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <int>1</int>
  <int>2</int>
</ArrayOfint>

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 'Int32[]'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

Dictionary of integer [key] and Collection of integer [value]

Response Formats

application/json, text/json

Sample:
{
  "1": [
    1,
    2
  ],
  "2": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfintArrayOfintty7Ep6D1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfintArrayOfintty7Ep6D1>
    <Key>1</Key>
    <Value>
      <int>1</int>
      <int>2</int>
    </Value>
  </KeyValueOfintArrayOfintty7Ep6D1>
  <KeyValueOfintArrayOfintty7Ep6D1>
    <Key>2</Key>
    <Value>
      <int>1</int>
      <int>2</int>
    </Value>
  </KeyValueOfintArrayOfintty7Ep6D1>
</ArrayOfKeyValueOfintArrayOfintty7Ep6D1>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.