XML - GetAuthorizationToken

You can use the GetAuthorizationToken method to obtain an authorization token for APIs that require a TokenId value.

Request

<?xml version="1.0" encoding="utf-16"?>
<TokenRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <TokenNeverExpires xmlns="http://www.campusmgmt.com/Soa/Foundation/MessageDefinition.xsd">true</TokenNeverExpires>
  <IsKeyBasedSecurity xmlns="http://www.campusmgmt.com/Soa/Foundation/MessageDefinition.xsd">true</IsKeyBasedSecurity>
  <AppKey xmlns="http://www.campusmgmt.com/Soa/Foundation/MessageDefinition.xsd">*************ss0w==</AppKey>
  <CallingAppName xmlns="http://www.campusmgmt.com/Soa/Foundation/MessageDefinition.xsd">Anthology_Workflow</CallingAppName>
</TokenRequest>

Response

<?xml version="1.0" encoding="utf-16"?>
<TokenResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Status xmlns="http://www.campusmgmt.com/Soa/Foundation/MessageDefinition.xsd">OK</Status>
  <TrxResult xmlns="http://www.campusmgmt.com/Soa/Foundation/MessageDefinition.xsd">OK</TrxResult>
  <TokenId xmlns="http://www.campusmgmt.com/Soa/Foundation/MessageDefinition.xsd">*****************9H+bw==</TokenId>
  <UserId xmlns="http://www.campusmgmt.com/Soa/Foundation/MessageDefinition.xsd">1031</UserId>
</TokenResponse>