Oracle Web Services On Demand Guide > Web Services On Demand API Calls > Administrative Services API Calls >

AccessProfileUpsert


Updates an existing access profile or inserts a new access profile.

Usage

Use the AccessProfileUpsert method to insert a profile or update an existing access profile. The Manage Roles and Access privilege is required.

The apdata:AccessProfile argument contains the following elements containing access profile data:

  • Name. The name of the access profile. When performing an insert operation, this name is used as the display name, if a display name is not provided in the <AccessProfileTranslation> element.
  • NameTranslation. The name of the access profile in the user's language. This element is read-only and is ignored for upsert requests.
  • AccessProfileId. The access profile ID. This element is read-only and is ignored for upsert requests.
  • Description. A description of the access profile.
  • AvailableForTeam. Whether the profile can be assigned to team members.
  • AvailableForBook. Whether the profile can be assigned to book users.
  • Disabled. Whether the profile cannot be assigned, but existing assignments continue to work.
  • ListOfAccessProfileTranslation. The text fields in the languages activated for your company:
    • LanguageCode. The three-letter language code for the language.
    • Title. The display name of the access profile in the language identified by the language code.
    • Description. The description of the access profile in the language identified by the language code.
  • ListOfAccessProfileEntry. The access rights defined on the access profile for each object and child object:
    • AccessObjectName. The names of objects as used in access profiles.
    • PermissionCode. The permission codes corresponding to the various access levels for objects.

See Oracle Migration Tool On Demand Guide for reference tables about the following:

  • Mappings of three-letter language codes to languages.
  • Mappings of access profile object names to the display names for the objects in the Oracle CRM On Demand user interface.
  • The permission codes for the various access levels in Oracle CRM On Demand.

NOTE:  The Period object is not supported for the AccessProfileUpsert method in Oracle CRM On Demand Release 23 and later.

Arguments

Table 68 describes the arguments taken by the AccessProfileUpsert method.

Table 68. Arguments Taken by the AccessProfileUpsert Method
Name
Description
Required
Default
I/O

apData:AccessProfile

The access profile data to be inserted or updated.

Yes

Not applicable

Input

Status

The status of the call.

Not applicable

Not applicable

Output

Return Value of the Call

The status is returned.

Oracle Web Services On Demand Guide, Version 21.0 (Oracle CRM On Demand Release 33) Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices.