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": "ef6b5892-2420-42ec-8fad-ae17f31e444d",
  "userGroupId": "86c919c0-f919-4d40-8acd-fac06f5f16c4",
  "tenantId": "f6b6f05a-ff8e-4b5d-a4f4-242add757219",
  "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>f6b6f05a-ff8e-4b5d-a4f4-242add757219</TenantId>
  <UserGroupId>86c919c0-f919-4d40-8acd-fac06f5f16c4</UserGroupId>
  <UserId>ef6b5892-2420-42ec-8fad-ae17f31e444d</UserId>
  <UserName>sample string 2</UserName>
</LoginMessageBody>