Create a user

post

/api/rest/2.0/system/user

Creates a new user.

Request

Supported Media Types
Body ()
The request body defines the details of the user to be created.
Root Schema : User
Type: object
Title: User
Show Source
Nested Schema : betaAccess
Type: array
A list of strings: beta programs the user can access.
Show Source
Nested Schema : capabilities
Type: array
A list of strings: the user's capabilities.
Show Source
Nested Schema : crmUserNames
Type: object
Title: crmUserNames
Show Source
Nested Schema : interfacePermissions
Type: array
A list of the user's interface permissions.
Show Source
Nested Schema : permissions
Type: array
The permissions for the user granted to your current instance. This is a read-only property.
Show Source
Nested Schema : UserPreferences
Type: object
Title: UserPreferences
Show Source
Nested Schema : productPermissions
Type: array
A list of the user's product permissions.
Show Source
Nested Schema : securityGroups
Type: array
The user's security groups.
Show Source
Nested Schema : shortcuts
Type: array
This parameter is not used.
Show Source
Nested Schema : typePermissions
Type: array
A list of the user's type permissions.
Show Source
Nested Schema : InterfacePermission
Type: object
Title: InterfacePermission
Show Source
Nested Schema : nestedInterfacePermissions
Type: array
Show Source
Nested Schema : ProductPermission
Type: object
Title: ProductPermission
Show Source
Nested Schema : SecurityGroup
Type: object
Title: SecurityGroup
Show Source
  • Acronym for the security group
  • Read Only: true
    The date and time the security group was created, expressed in Unix time.
  • Read Only: true
    The login id of the user who created the security group.
  • Read Only: true
    Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth: minimal, partial, and complete. Any other values passed are reset to complete by default. For more information, see Request depth.
  • The description of the security group.
  • Read Only: true
    Id of the security group.
  • Read Only: true
    Indicates if the security group is effective.
  • Read Only: true
    Indicates if the security group is read only.
  • The name of the security group.
  • The asset's type in Eloqua. This is a read-only property.
  • Read Only: true
    Unix timestamp for the date and time the security group was last updated. This is a read-only property.
  • Read Only: true
    The login id of the user that last updated the security group. This is a read-only property.
Nested Schema : TypePermission
Type: object
Title: TypePermission
Show Source
Nested Schema : TypePermissions
Type: object
Title: TypePermissions
Show Source
  • The asset's type in Eloqua. This is a read-only property.
Back to Top

Response

Supported Media Types

201 Response

Success
Body ()
Root Schema : User
Type: object
Title: User
Show Source
Nested Schema : betaAccess
Type: array
A list of strings: beta programs the user can access.
Show Source
Nested Schema : capabilities
Type: array
A list of strings: the user's capabilities.
Show Source
Nested Schema : crmUserNames
Type: object
Title: crmUserNames
Show Source
Nested Schema : interfacePermissions
Type: array
A list of the user's interface permissions.
Show Source
Nested Schema : permissions
Type: array
The permissions for the user granted to your current instance. This is a read-only property.
Show Source
Nested Schema : UserPreferences
Type: object
Title: UserPreferences
Show Source
Nested Schema : productPermissions
Type: array
A list of the user's product permissions.
Show Source
Nested Schema : securityGroups
Type: array
The user's security groups.
Show Source
Nested Schema : shortcuts
Type: array
This parameter is not used.
Show Source
Nested Schema : typePermissions
Type: array
A list of the user's type permissions.
Show Source
Nested Schema : InterfacePermission
Type: object
Title: InterfacePermission
Show Source
Nested Schema : nestedInterfacePermissions
Type: array
Show Source
Nested Schema : ProductPermission
Type: object
Title: ProductPermission
Show Source
Nested Schema : SecurityGroup
Type: object
Title: SecurityGroup
Show Source
  • Acronym for the security group
  • Read Only: true
    The date and time the security group was created, expressed in Unix time.
  • Read Only: true
    The login id of the user who created the security group.
  • Read Only: true
    Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth: minimal, partial, and complete. Any other values passed are reset to complete by default. For more information, see Request depth.
  • The description of the security group.
  • Read Only: true
    Id of the security group.
  • Read Only: true
    Indicates if the security group is effective.
  • Read Only: true
    Indicates if the security group is read only.
  • The name of the security group.
  • The asset's type in Eloqua. This is a read-only property.
  • Read Only: true
    Unix timestamp for the date and time the security group was last updated. This is a read-only property.
  • Read Only: true
    The login id of the user that last updated the security group. This is a read-only property.
Nested Schema : TypePermission
Type: object
Title: TypePermission
Show Source
Nested Schema : TypePermissions
Type: object
Title: TypePermissions
Show Source
  • The asset's type in Eloqua. This is a read-only property.

400 Response

Bad request. See Status Codes for information about other possible HTTP status codes.

401 Response

Unauthorized. See Status Codes for information about other possible HTTP status codes.

403 Response

Forbidden. See Status Codes for information about other possible HTTP status codes.

404 Response

The requested resource was not found. See Status Codes for information about other possible HTTP status codes.

409 Response

Conflict

500 Response

The service has encountered an error. See Status Codes for information about other possible HTTP status codes.
Back to Top

Examples

Create a new user account:


POST /api/REST/2.0/system/user
Content-Type: application/json 
			

Request body:


{
  "name": "API User",
  "emailAddress": "api.user@oracle.com",
  "loginName": "api.user",
  "firstName": "API",
  "lastName": "User"
}
			

Response:


{
  "type": "User",
  "id": "72",
  "createdAt": "1594828602",
  "createdBy": "9",
  "depth": "complete",
  "description": "API User",
  "folderId": "208",
  "name": "API User",
  "updatedAt": "1594828602",
  "updatedBy": "9",
  "address1": "",
  "address2": "",
  "betaAccess": [
    "AutoSSLProvisioning",
    "MSDynamicsBasicAuth",
    "CloudComponentErrorHandling",
    "CreateSecureContactField",
    "CustomContentBlocks",
    "DisableLegacyCloudComponents",
    "DisableLegacyCloudConnectors",
    "DynamicContent_Visitor_API",
    "EmailsSearchByNameOrSubject",
    "EnableResponsiveEditor",
    "field_merge_markup",
    "ExportEmailAndLPDesignEditorHTML",
    "flexreport",
    "FormExtIntegration",
    "FormValueLookup",
    "FormsEditor",
    "FormsEmailResendLimitIncludeInAPI",
    "FormsFieldMergeLookupWithContactAndVisitor",
    "AsyncAPIFormSubmissions",
    "Forms_As_Internal",
    "whitelistFrameableResponse",
    "group_management_rules",
    "hide_mobile_engage_menu_item",
    "ics_links",
    "idcs",
    "FormsIncludeErrorMessageInAPIResponse",
    "LandingPageEditor",
    "LandingPagesSearchByNameOrVanityUrl",
    "rest1legacySecurity",
    "LockedContentBlocks",
    "requestLoggingOutbound",
    "MarketingCalendar",
    "mobileStyling",
    "MOC2.0",
    "NewDoctypeToggle",
    "omniture_integration",
    "OBIEE",
    "processing_step_lookups",
    "Content_Feed",
    "STO",
    "STOEmailOpen",
    "stopSendingCloudConnectorMembersToEALM",
    "UseSqlBulkCopyInImports",
    "VerisignDNS",
    "prevent_creation_of_old_template",
    "X-XSS-ProtectionHeader"
  ],
  "capabilities": [
    "manageAssetPermissions",
    "manageApprovals",
    "ManageContactFields",
    "ManageAccountFields",
    "RegisterExternalActivities"
  ],
  "cellPhone": "",
  "city": "",
  "companyDisplayName": "",
  "companyUrl": "",
  "country": "",
  "crmUserNames": {
    "type": "crmUserNames",
    "MSDUserName": "",
    "OSCUserName": "",
    "SFDCUserName": "",
    "SODUserName": ""
  },
  "crmUsername": "",
  "defaultAccountViewId": "100003",
  "defaultContactViewId": "100001",
  "department": "",
  "digitalSignatureId": "",
  "emailAddress": "api.user@oracle.com",
  "fax": "",
  "federationId": "",
  "firstName": "API",
  "interfacePermissions": [
    
  ],
  "isDisabled": "False",
  "isUsingBrightenTemplate": "False",
  "jobTitle": "",
  "lastName": "User",
  "loginName": "api.user",
  "passwordExpires": "True",
  "personalMessage": "",
  "personalPhotoId": "",
  "personalUrl": "",
  "phone": "",
  "preferences": {
    "type": "UserPreferences",
    "timezoneId": "64"
  },
  "productPermissions": [
    {
      "type": "ProductPermission",
      "productCode": "SecureHypersites"
    },
    {
      "type": "ProductPermission",
      "productCode": "AuthenticatedMicrosites"
    }
  ],
  "replyToAddress": "api.user@oracle.com",
  "securityGroups": [
    {
      "type": "SecurityGroup",
      "id": "1",
      "createdAt": "1174881600",
      "depth": "complete",
      "name": "Everyone",
      "updatedAt": "1174881600",
      "acronym": "EVRY",
      "isEffective": "true",
      "isReadOnly": "true"
    }
  ],
  "senderDisplayName": "API User",
  "senderEmailAddress": "api.user@oracle.com",
  "ssoOnly": "False",
  "state": "",
  "typePermissions": [...],
  "zipCode": ""
}
			
Back to Top