Get a self-service user

get

/crmRestApi/resources/11.13.18.05/customerSelfServiceUsers/{UserId}

Request

Path Parameters
Query Parameters
  • This parameter specifies dependencies which are fields that are set before and rolled back after generating the response. Generally they are used to preview the effects of an attribute change. The fields specified in this parameter are always set in the resource instance in question. When a child resource collection is requested and the parameter is set, the fields will be set in the parent resource instance before generating the resource collection payload. The value of this query parameter is a set of dependency fields. Example: dependency=ProductId=2

    Format: <attr1>=<val1>,<attr2>=<value2>
  • When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
  • This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.

    Format: ?fields=Attribute1,Attribute2

    Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2
  • This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>

    Example:
    self,canonical
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : customerSelfServiceUsers-item-response
Type: object
Show Source
  • Title: Account
    Read Only: true
    Maximum Length: 360
    The name of the account associated with the self-service user.
  • Title: Account Administrator
    Maximum Length: 1
    Indicates whether the user has the account administrator role.
  • Title: Account Manager
    Maximum Length: 1
    Indicates whether the user has the account manager role.
  • Title: Account ID
    The unique identifier of the account associated with the self-service user.
  • Title: Account Party Number
    Read Only: true
    Maximum Length: 30
    The unique identifier of the account associated with the self-service user.
  • Title: Contact ID
    The unique identifier of the contact record associated with the self-service user.
  • Title: Contact Party Number
    Read Only: true
    Maximum Length: 30
    The unique identifier of the contact record associated with the self-service user.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    The user who created the record.
  • Title: Creation Date
    Read Only: true
    The date when the record was created.
  • Title: Current Identity Provider
    Maximum Length: 30
    The current identity provider of the self-service user.
  • Title: Email
    Read Only: true
    Maximum Length: 320
    The email of the self-service user.
  • Title: Initial Identity Provider
    Maximum Length: 30
    The initial identity provider of the self-service user.
  • Title: Last Updated Date
    Read Only: true
    The date when the record was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    The sign in name of the user who last updated the record.
  • Title: Last Update Login
    Read Only: true
    Maximum Length: 32
    The global user identifier of the user who last updated the record.
  • Links
  • Title: Name
    Read Only: true
    Maximum Length: 360
    The name of the self-service user.
  • Title: Role Codes
    Maximum Length: 2000
    The list of comma-separated codes of all the roles that are assigned to the user. The list of accepted values is defined in the lookup ORA_SVC_CSS_REL_TYPE_CD.
  • Title: Roles
    Read Only: true
    The names of the roles assigned to a user such as Customer Self-Service User, Customer Self-Service Account Manager, or Customer Self-Service Administrator.
  • Customer Self-Service Roles
    Title: Customer Self-Service Roles
    The self-service roles resource is used to view, create, update, and delete roles for self-service users.
  • Customer Self-Service Roles Histories
    Title: Customer Self-Service Roles Histories
    The self-service roles histories resource is used to view when a role was granted to or revoked from a self-service user.
  • Title: User ID
    Read Only: true
    The unique identifier of the self-service user.
  • Title: User Type
    Maximum Length: 30
    The type of the self-service user. The list of accepted values is defined in the lookup type ORA_SVC_CSS_REL_TYPE_CD.
Nested Schema : Customer Self-Service Roles
Type: array
Title: Customer Self-Service Roles
The self-service roles resource is used to view, create, update, and delete roles for self-service users.
Show Source
Nested Schema : Customer Self-Service Roles Histories
Type: array
Title: Customer Self-Service Roles Histories
The self-service roles histories resource is used to view when a role was granted to or revoked from a self-service user.
Show Source
Nested Schema : customerSelfServiceUsers-SelfServiceRoles-item-response
Type: object
Show Source
  • Title: Account ID
    The unique identifier of the account of the self-service user associated with the role.
  • Title: Account
    Read Only: true
    Maximum Length: 360
    The name of the account of the self-service user associated with the role.
  • Title: Account Party Number
    Read Only: true
    Maximum Length: 30
    The unique identifier of the account of the self-service user associated with the role.
  • Title: Can Delete
    Read Only: true
    Default Value: true
    Indicates whether the record can be deleted.
  • Title: Can Update
    Read Only: true
    Default Value: false
    Indicates whether the record can be updated. The default value is false.
  • Title: Contact ID
    The unique identifier of the contact record of the self-service user associated with the role.
  • Title: Name
    Read Only: true
    Maximum Length: 360
    The name of the contact record of the self-service user associated with the role.
  • Title: Contact Party Number
    Read Only: true
    Maximum Length: 30
    The unique identifier of the contact record of the self-service user associated with the role.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    The user who created the role record.
  • Title: Creation Date
    Read Only: true
    The date when the role record was created.
  • Title: Email
    Read Only: true
    Maximum Length: 320
    The email address of the self-service user associated with the role.
  • Title: End Date
    Read Only: true
    The date when the role was deleted from the user.
  • Title: Last Updated Date
    Read Only: true
    The date when the role record was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    The sign in name of the user who last updated the role record.
  • Title: Last Update Login
    Read Only: true
    Maximum Length: 32
    The global user identifier of the user who last updated the role record.
  • Links
  • Title: Login ID
    Maximum Length: 320
    The login Id of the self-service user associated with the role.
  • Title: Registration ID
    Read Only: true
    The unique identifier of the self-service registration request whose approval was used to grant the role.
  • Title: Relationship Type
    Maximum Length: 320
    The code indicating the type of role. The list of accepted values is defined in the lookup type ORA_SVC_CSS_REL_TYPE_CD.
  • Title: Role Value
    Read Only: true
    Maximum Length: 80
    The description of the role type.
  • Title: Request Type
    Maximum Length: 30
    The code indicating the type of registration request. The list of accepted values is defined in the lookup type ORA_SVC_CSS_REL_TYPE_CD.
  • Title: Role ID
    Read Only: true
    The unique identifier of the role.
  • Title: Start Date
    Read Only: true
    The date when the role is assigned to the self-service user.
Nested Schema : customerSelfServiceUsers-SelfServiceRolesHistory-item-response
Type: object
Show Source
  • Title: Account ID
    Read Only: true
    The unique identifier of the account of the self-service user associated with the role history.
  • Title: Account Name
    Read Only: true
    Maximum Length: 360
    The name of the account of the self-service user associated with the role history.
  • Title: Date
    Read Only: true
    The date when the role history was updated.
  • Title: Administrator Login
    Read Only: true
    Maximum Length: 64
    The unique identifier of the administrator who updated the role history.
  • Title: Administrator
    Read Only: true
    Maximum Length: 255
    The name of the administrator who updated the role history.
  • Title: Contact ID
    Read Only: true
    The unique identifier of the contact record of the self-service user associated with the role history.
  • Title: Contact Name
    Read Only: true
    Maximum Length: 360
    The name of the contact record of the self-service user associated with the role history.
  • Title: History ID
    Read Only: true
    Maximum Length: 41
    The unique identifier of the role history.
  • Links
  • Title: Relationship Type
    Read Only: true
    Maximum Length: 80
    The description of the role type.
  • Title: Relationship Type Code
    Read Only: true
    Maximum Length: 320
    The code indicating the type of role. The list of accepted values is defined in the lookup type ORA_SVC_CSS_REL_TYPE_CD.
  • Title: Status
    Read Only: true
    The status of the role history. The status can be Granted or Revoked.
Back to Top