PUT api/communication/folder/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

None.

Body Parameters

Folder
NameDescriptionTypeAdditional information
Id

integer

None.

ClientId

integer

None.

RecipientType

string

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ClientId": 2,
  "RecipientType": "Undefined",
  "Name": "sample string 4"
}

application/javascript

Sample:
{"Id":1,"ClientId":2,"RecipientType":"Undefined","Name":"sample string 4"}

application/xml, text/xml

Sample:
<Folder xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <ClientId>2</ClientId>
  <ObjectTypeFlag>Undefined</ObjectTypeFlag>
  <RecipientType>Undefined</RecipientType>
  <Name>sample string 4</Name>
</Folder>

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

Response Information

Resource Description

WebMethodResultOfFolder
NameDescriptionTypeAdditional information
Result

Folder

None.

Success

boolean

None.

ErrorText

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": {
    "Id": 1,
    "ClientId": 2,
    "RecipientType": "Undefined",
    "Name": "sample string 4"
  },
  "Success": true,
  "ErrorText": "sample string 2"
}

application/javascript

Sample:
{"Result":{"Id":1,"ClientId":2,"RecipientType":"Undefined","Name":"sample string 4"},"Success":true,"ErrorText":"sample string 2"}

application/xml, text/xml

Sample:
<WebMethodResultOfFolder xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Success>true</Success>
  <ErrorText>sample string 2</ErrorText>
  <Result>
    <Id>1</Id>
    <ClientId>2</ClientId>
    <ObjectTypeFlag>Undefined</ObjectTypeFlag>
    <RecipientType>Undefined</RecipientType>
    <Name>sample string 4</Name>
  </Result>
</WebMethodResultOfFolder>