POST api/authorizations/{authId}/communication?receiverRole={receiverRole}&RqUID={RqUID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
authId

integer

Required

receiverRole

integer

Required

RqUID

string

None.

Body Parameters

RestEntryChatDTO
NameDescriptionTypeAdditional information
Content

string

Required

String length: inclusive between 0 and 3900

UserLogin

string

Required

String length: inclusive between 0 and 50

Request Formats

application/json, text/json

Sample:
{
  "Content": "sample string 1",
  "UserLogin": "sample string 2"
}

application/xml, text/xml

Sample:
<RestEntryChatDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.Authorization">
  <UserLogin xmlns="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.Shared">sample string 2</UserLogin>
  <Content>sample string 1</Content>
</RestEntryChatDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RestElementIdResponseDTO
NameDescriptionTypeAdditional information
ElementId

integer

None.

RqUID

string

None.

Code

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ElementId": 1,
  "RqUID": "sample string 2",
  "Code": "sample string 3",
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<RestElementIdResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.Shared">
  <Code>sample string 3</Code>
  <Message>sample string 4</Message>
  <RqUID>sample string 2</RqUID>
  <ElementId>1</ElementId>
</RestElementIdResponseDTO>