AnsweredAssumed Answered

REST webservices , Obtain Access Key

Question asked by hizam on Jul 28, 2016
Latest reply on Aug 4, 2016 by Sensiple

Hi,

 

I want to connect to SDM using REST web services. I'm using SOAPui as a tool to connect.

 

Below is the example is from CA SDM guide;

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Example Obtain an Access Key

This REST API example demonstrates how to obtain an access key (login) for userid ServiceDesk. Perform this operation using SSL to avoid risking an unauthorized user stealing your secret key. Keep the force_unique_userid Options Manager option enabled at all times. When you disable this option, and multiple contact records with the same login ID exist, problems with data partitions, multi-tenancy, security, and other functions can occur.

The following example shows the request:

POST /caisd-rest/rest_access HTTP/1.1 
Host: hostname
Content-Type: application/xml;charset=UTF-8
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Before I can obtain the Access Key, I need to know the "Authorization Key".
Where I can get the Authorization Key (QWxhZGRpbjpvcGVuIHNlc2FtZQ==)?


 

 

Outcomes