The Read Role API (Roles_EXT_ReadRQ) is used to read roles with permission codes.
Target Audience
Travel Agency
Airline Carrier
API Version
1.0.0
Authentication
Session Token
Service Action Code
Roles_EXT_ReadRQ
User Roles allows the user to group low-level permissions like ALL OPERATIONS ON PROFILES, READ PROFILES, DELETE PROFILES, UPDATE TEMPLATE, READ FORMATS, SEARCH FILTERS, etc., and then assign roles to a user to control their access for specific functions.
Additional information about these elements and their functionality can be found in the Sabre Profiles and User Roles Web Services technical documents.
Sample Request
<Sabre_RolesReadRQ TimeStamp="2001-12-17T09:30:47-05:00" Target="Production" Version="3.1415926535897932384626433832795" xmlns="http://www.sabre.com/UserRoles/schemas">
<Roles RoleName="RameshTestRole105" DomainID="ABCD" RoleStatusCode="AC"/>
</Sabre_RolesReadRQ>
<Roles RoleName="RameshTestRole105" DomainID="ABCD" RoleStatusCode="AC"/>
</Sabre_RolesReadRQ>
Sample Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Sabre_RolesReadRS Version="1.0" TimeStamp="2009-03-10T15:55:33.215-05:00" xmlns="http://www.sabre.com/UserRoles/schemas">
<ResponseMessage>
<Success/>
</ResponseMessage>
<Roles>
<RolesIdentity RoleStatusCode="AC" DomainID="ABCD" RoleName="RameshTestRole105"/>
<AssociatedPermissions ApplicationCode="PPP" PermissionCode="UPRF"/>
<AssociatedPermissions ApplicationCode="PPP" PermissionCode="CPRF"/>
</Roles>
</Sabre_RolesReadRS>
<Sabre_RolesReadRS Version="1.0" TimeStamp="2009-03-10T15:55:33.215-05:00" xmlns="http://www.sabre.com/UserRoles/schemas">
<ResponseMessage>
<Success/>
</ResponseMessage>
<Roles>
<RolesIdentity RoleStatusCode="AC" DomainID="ABCD" RoleName="RameshTestRole105"/>
<AssociatedPermissions ApplicationCode="PPP" PermissionCode="UPRF"/>
<AssociatedPermissions ApplicationCode="PPP" PermissionCode="CPRF"/>
</Roles>
</Sabre_RolesReadRS>