The Create Role (Roles_EXT_CreateRQ) is used to create role with permission codes.
Target Audience
Travel Agency
Airline Carrier
API Version
1.0.0
Authentication
Session Token
Service Action Code
Roles_EXT_CreateRQ
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_RolesCreateRQ TimeStamp="2001-12-17T09:30:47-05:00" Target="Production" Version="3.1415926535897932384626433832795" xmlns="http://www.sabre.com/UserRoles/schemas">
<Roles>
<RolesIdentity RoleName="RameshTestRole105" DomainID="ABCD" RoleStatusCode="AC"/>
<AssociatedPermissions PermissionCode="CPRF" ApplicationCode="PPP"/>
<AssociatedPermissions PermissionCode="UPRF" ApplicationCode="PPP"/>
</Roles>
</Sabre_RolesCreateRQ>
<Roles>
<RolesIdentity RoleName="RameshTestRole105" DomainID="ABCD" RoleStatusCode="AC"/>
<AssociatedPermissions PermissionCode="CPRF" ApplicationCode="PPP"/>
<AssociatedPermissions PermissionCode="UPRF" ApplicationCode="PPP"/>
</Roles>
</Sabre_RolesCreateRQ>
Sample Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Sabre_RolesCreateRS Version="1.0" TimeStamp="2009-03-10T15:54:09.053-05:00" xmlns="http://www.sabre.com/UserRoles/schemas">
<ResponseMessage>
<Success/>
</ResponseMessage>
<Roles RoleStatusCode="AC" DomainID="ABCD" RoleName="RameshTestRole105"/>
</Sabre_RolesCreateRS>
<Sabre_RolesCreateRS Version="1.0" TimeStamp="2009-03-10T15:54:09.053-05:00" xmlns="http://www.sabre.com/UserRoles/schemas">
<ResponseMessage>
<Success/>
</ResponseMessage>
<Roles RoleStatusCode="AC" DomainID="ABCD" RoleName="RameshTestRole105"/>
</Sabre_RolesCreateRS>