PUT api/m/Responsibility/Put

Request Information

URI Parameters

None.

Body Parameters

Responsibility
NameDescriptionTypeAdditional information
id

integer

None.

k

integer

None.

ak

integer

None.

rc

string

None.

sn

integer

None.

ft

Collection of integer

None.

d

string

None.

sort

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "k": 2,
  "ak": 1,
  "rc": "sample string 3",
  "sn": 1,
  "ft": [
    1,
    2
  ],
  "d": "sample string 4",
  "sort": 1
}

text/html

Sample:
{"id":1,"k":2,"ak":1,"rc":"sample string 3","sn":1,"ft":[1,2],"d":"sample string 4","sort":1}

application/xml, text/xml

Sample:
<Responsibility xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GIP_Communicator_Server.Models">
  <ak>1</ak>
  <d>sample string 4</d>
  <ft xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </ft>
  <id>1</id>
  <k>2</k>
  <rc>sample string 3</rc>
  <sn>1</sn>
  <sort>1</sort>
</Responsibility>

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 'Responsibility'.

Response Information

Resource Description

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.