Previous Topic: Additional REST Support when Requesting Data FormatsNext Topic: REST Java Sample Code


CA SDM Role Authorization

As with SOAP Web Services, part of the REST Web Services Access Key creation (login operation) includes verifying the user has authorization to access REST Web Services. In SOAP, the Web Service and API Role lookup field controls this verification in the Access Type detail form. In REST, a new lookup field named REST Web Service API Role controls the verification for REST. You can only associate one role to this field, and this field is the default role for the user. If this lookup field is empty, the users belonging to this Access Type do not have access to CA SDM through the REST Web Services interface.

In addition, REST Web Services supports the same list of Attached Roles that are part of the Web Client interface. A REST user can select a different role from the list of Attached Roles (including the roles in its Contact record) by passing in an additional message header as part of the request.

Example: Use the Administrator role for the request

POST /caisd-rest/cnt HTTP/1.1
Host: hostname
Date: Mon, 21 Apr 2011 19:37:58 +0000
X-Role: 10002