Cyan Web API - Version 1


GET api/messageBodies/login

            Gets an example of the message body format for a "Login" message.
            

Response Information

Response body formats

application/json, text/json

Sample:
{
  "isExternal": true,
  "userName": "sample string 2",
  "password": "sample string 3",
  "userId": "dcd87f8c-3816-4107-9b94-b585733c5670",
  "userGroupId": "76f74830-1be3-4e3b-9b99-ffb33db1bea8",
  "tenantId": "21f9b017-a622-42f2-b087-3d3f035a5a2f",
  "tenantAccessKey": "sample string 4",
  "requestData": "sample string 5",
  "responseData": "sample string 6",
  "roles": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ]
}

application/xml, text/xml

Sample:
<LoginMessageBody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlueDot.Cyan.Server.Core.Models.Messaging">
  <IsExternal>true</IsExternal>
  <Password>sample string 3</Password>
  <RequestData>sample string 5</RequestData>
  <ResponseData>sample string 6</ResponseData>
  <Roles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </Roles>
  <TenantAccessKey>sample string 4</TenantAccessKey>
  <TenantId>21f9b017-a622-42f2-b087-3d3f035a5a2f</TenantId>
  <UserGroupId>76f74830-1be3-4e3b-9b99-ffb33db1bea8</UserGroupId>
  <UserId>dcd87f8c-3816-4107-9b94-b585733c5670</UserId>
  <UserName>sample string 2</UserName>
</LoginMessageBody>