Create a self-service registration request
post
/crmRestApi/resources/11.13.18.05/selfRegistrations
Request
Header Parameters
-
Metadata-Context: string
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".
-
REST-Framework-Version: string
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.
-
Upsert-Mode: string
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
AccountKey: string
Title:
Account KeyMaximum Length:320The account key is used to locate the account of the user submitting the self-service registration request, and the default value of the account key is the value of OrganizationName. The value can be changed using the profile option SVC_CSS_ACCT_KEY_FIELD. -
AccountPartyId: integer
(int64)
Title:
Account IDThe unique identifier of the account associated with the user submitting the self-service registration request. -
ContactPartyId: integer
(int64)
Title:
Contact IDThe unique identifier of the contact record associated with the user submitting the self-service registration request. -
DateOfBirth: string
(date)
Title:
Date of BirthThe date of birth of the self-registering user. -
EmailAddress: string
Title:
EmailMaximum Length:320The email of the user submitting the self-service registration request. -
HomePhoneAreaCode: string
Title:
Home Phone Area CodeMaximum Length:20The area code for the work phone number of the registering user. -
HomePhoneCountryCode: string
Title:
Home Phone Country CodeMaximum Length:10The country code for the home phone number of the registering user. -
HomePhoneNumber: string
Title:
Home Phone NumberMaximum Length:40The home phone number of the registering user. -
LoginId: string
Title:
Login IDMaximum Length:320The login ID of the person registering for a user account. -
MobileAreaCode: string
Title:
Mobile Area CodeMaximum Length:20The area code for the mobile number of the registering user. -
MobileCountryCode: string
Title:
Mobile Country CodeMaximum Length:10The country code for the mobile number of the registering user. -
MobileNumber: string
Title:
Mobile NumberMaximum Length:40The mobile number of the registering user. -
Name: string
Title:
NameMaximum Length:360The name of the person registering for a user account. The value is the concatenation of first name, middle name, and the last name of the user. -
PersonFirstName: string
Title:
First NameMaximum Length:150The first name of the person registering for a user account. -
PersonLastName: string
Title:
Last NameMaximum Length:150The last name of the person registering for a user account. -
PersonMiddleName: string
Title:
Middle NameMaximum Length:60The middle name of the person registering for a user account. -
PrimaryAddressLine1: string
Title:
Primary Address Line 1Maximum Length:240The first line for the primary address of the registering user. -
PrimaryAddressLine2: string
Title:
Primary Address Line 2Maximum Length:240The second line for the primary address of the registering user. -
PrimaryAddressTypeCd: string
Title:
Primary Address TypeMaximum Length:30The type of primary address of the self-registering user. Examples include Bill To, Ship To, and so on. -
PrimaryCity: string
Title:
Primary CityMaximum Length:60The city for the primary address of the registering user. -
PrimaryCountry: string
Title:
Primary CountryMaximum Length:2The country code for the primary address of the registering user. -
PrimaryPostalCode: string
Title:
Primary Postal CodeMaximum Length:60The postal code for the primary address of the registering user. -
PrimaryProvince: string
Title:
Primary ProvinceMaximum Length:60The province for the primary address of the registering user. -
PrimaryState: string
Title:
Primary StateMaximum Length:60The state for the primary address of the registering user. -
RawHomePhoneNumber: string
Title:
Unformatted Home Phone NumberMaximum Length:60The unformatted home phone number of the registering user. -
RawMobileNumber: string
Title:
Unformatted Mobile NumberMaximum Length:60The un-formatted home phone number of the registering user. -
RawWorkPhoneNumber: string
Title:
Unformatted Work Phone NumberMaximum Length:60The un-formatted work phone number of the registering user. -
RequestTypeCd: string
Title:
Request TypeMaximum Length:30The code indicating the type of self-service registration. A list of accepted values is defined in the lookup ORA_SVC_CSS_REQ_TYPE_CD. -
SecondaryAddressLine1: string
Title:
Secondary Address Line 1Maximum Length:240The first line of the street address in the secondary address of the self-registering user. -
SecondaryAddressLine2: string
Title:
Secondary Address Line 2Maximum Length:240The second line of the street address in the secondary address of the self-registering user. -
SecondaryAddressTypeCd: string
Title:
Secondary Address TypeMaximum Length:30The type of secondary address of the self-registering user. Examples include Bill To, Ship To, and so on. -
SecondaryCity: string
Title:
Secondary CityMaximum Length:60The city in the secondary address of the self-registering user. -
SecondaryCountry: string
Title:
Secondary CountryMaximum Length:2The country in the secondary address of the self-registering user. -
SecondaryPostalCode: string
Title:
Secondary Postal CodeMaximum Length:60The postal code in the secondary address of the self-registering user. -
SecondaryProvince: string
Title:
Secondary ProvinceMaximum Length:60The province in the secondary address of the self-registering user. -
SecondaryState: string
Title:
Secondary StateMaximum Length:60The state in the secondary address of the self-registering user. -
StatusCd: string
Title:
StatusMaximum Length:30The code indicating the status of the self-service registration request. A list of accepted values is defined in the lookup ORA_SVC_CSS_REG_STATUS_CD. -
StatusMsg: string
Title:
ReasonMaximum Length:800The reason for approving or rejecting a self-service registration request. -
WorkPhoneAreaCode: string
Title:
Work Phone Area CodeMaximum Length:20The area code for the work phone number of the registering user. -
WorkPhoneCountryCode: string
Title:
Work Phone Country CodeMaximum Length:10The country code for the work phone number of the registering user. -
WorkPhoneExtension: string
Title:
Work Phone ExtensionMaximum Length:20The extension for the work phone number of the registering use. -
WorkPhoneNumber: string
Title:
Work Phone NumberMaximum Length:40The work phone number of the registering user.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
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".
-
REST-Framework-Version:
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.
Root Schema : selfRegistrations-item-response
Type:
Show Source
object-
AccountKey: string
Title:
Account KeyMaximum Length:320The account key is used to locate the account of the user submitting the self-service registration request, and the default value of the account key is the value of OrganizationName. The value can be changed using the profile option SVC_CSS_ACCT_KEY_FIELD. -
AccountPartyId: integer
(int64)
Title:
Account IDThe unique identifier of the account associated with the user submitting the self-service registration request. -
AccountPartyName: string
Title:
Account NameRead Only:trueMaximum Length:360The name of the account belonging to the user submitting the self-service registration request. -
AccountPartyNumber: string
Title:
Account Party NumberRead Only:trueMaximum Length:30The number of the account belonging to the user submitting the self-service registration. -
ApproveActionDate: string
(date-time)
Title:
Status Change DateRead Only:trueThe date when the self-service registration record was approved or rejected. -
ApproverPartyId: string
Title:
Approver IDRead Only:trueThe unique identifier of the user who approved or rejected the self-service registration record. -
ApproverPartyName: string
Title:
ApproverRead Only:trueMaximum Length:360The name of the user who approved or rejected the self-service registration record. -
ContactPartyId: integer
(int64)
Title:
Contact IDThe unique identifier of the contact record associated with the user submitting the self-service registration request. -
ContactPartyName: string
Title:
Contact NameRead Only:trueMaximum Length:360The name of the user associated with the Contact Party object. -
ContactPartyNumber: string
Title:
Contact Party NumberRead Only:trueMaximum Length:30The number of the user associated with Contact Party object. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The unique identifier of the user submitting the self-service registration request. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date when the record was first created. -
DateOfBirth: string
(date)
Title:
Date of BirthThe date of birth of the self-registering user. -
DeleteFlag: boolean
Title:
Can DeleteRead Only:trueDefault Value:falseIndicates if a self-service registration record can be deleted. -
EmailAddress: string
Title:
EmailMaximum Length:320The email of the user submitting the self-service registration request. -
HomePhoneAreaCode: string
Title:
Home Phone Area CodeMaximum Length:20The area code for the work phone number of the registering user. -
HomePhoneCountryCode: string
Title:
Home Phone Country CodeMaximum Length:10The country code for the home phone number of the registering user. -
HomePhoneNumber: string
Title:
Home Phone NumberMaximum Length:40The home phone number of the registering user. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date when the record was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the self-service registration record. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32The login of the user who last updated the self-service registration record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LoginId: string
Title:
Login IDMaximum Length:320The login ID of the person registering for a user account. -
MobileAreaCode: string
Title:
Mobile Area CodeMaximum Length:20The area code for the mobile number of the registering user. -
MobileCountryCode: string
Title:
Mobile Country CodeMaximum Length:10The country code for the mobile number of the registering user. -
MobileNumber: string
Title:
Mobile NumberMaximum Length:40The mobile number of the registering user. -
Name: string
Title:
NameMaximum Length:360The name of the person registering for a user account. The value is the concatenation of first name, middle name, and the last name of the user. -
PersonFirstName: string
Title:
First NameMaximum Length:150The first name of the person registering for a user account. -
PersonLastName: string
Title:
Last NameMaximum Length:150The last name of the person registering for a user account. -
PersonMiddleName: string
Title:
Middle NameMaximum Length:60The middle name of the person registering for a user account. -
PrimaryAddressLine1: string
Title:
Primary Address Line 1Maximum Length:240The first line for the primary address of the registering user. -
PrimaryAddressLine2: string
Title:
Primary Address Line 2Maximum Length:240The second line for the primary address of the registering user. -
PrimaryAddressTypeCd: string
Title:
Primary Address TypeMaximum Length:30The type of primary address of the self-registering user. Examples include Bill To, Ship To, and so on. -
PrimaryCity: string
Title:
Primary CityMaximum Length:60The city for the primary address of the registering user. -
PrimaryCountry: string
Title:
Primary CountryMaximum Length:2The country code for the primary address of the registering user. -
PrimaryPostalCode: string
Title:
Primary Postal CodeMaximum Length:60The postal code for the primary address of the registering user. -
PrimaryProvince: string
Title:
Primary ProvinceMaximum Length:60The province for the primary address of the registering user. -
PrimaryState: string
Title:
Primary StateMaximum Length:60The state for the primary address of the registering user. -
RawHomePhoneNumber: string
Title:
Unformatted Home Phone NumberMaximum Length:60The unformatted home phone number of the registering user. -
RawMobileNumber: string
Title:
Unformatted Mobile NumberMaximum Length:60The un-formatted home phone number of the registering user. -
RawWorkPhoneNumber: string
Title:
Unformatted Work Phone NumberMaximum Length:60The un-formatted work phone number of the registering user. -
RegistrationId: integer
(int64)
Title:
Registration IDRead Only:trueThe unique identifier of the self-service registration request. -
RequestTypeCd: string
Title:
Request TypeMaximum Length:30The code indicating the type of self-service registration. A list of accepted values is defined in the lookup ORA_SVC_CSS_REQ_TYPE_CD. -
SecondaryAddressLine1: string
Title:
Secondary Address Line 1Maximum Length:240The first line of the street address in the secondary address of the self-registering user. -
SecondaryAddressLine2: string
Title:
Secondary Address Line 2Maximum Length:240The second line of the street address in the secondary address of the self-registering user. -
SecondaryAddressTypeCd: string
Title:
Secondary Address TypeMaximum Length:30The type of secondary address of the self-registering user. Examples include Bill To, Ship To, and so on. -
SecondaryCity: string
Title:
Secondary CityMaximum Length:60The city in the secondary address of the self-registering user. -
SecondaryCountry: string
Title:
Secondary CountryMaximum Length:2The country in the secondary address of the self-registering user. -
SecondaryPostalCode: string
Title:
Secondary Postal CodeMaximum Length:60The postal code in the secondary address of the self-registering user. -
SecondaryProvince: string
Title:
Secondary ProvinceMaximum Length:60The province in the secondary address of the self-registering user. -
SecondaryState: string
Title:
Secondary StateMaximum Length:60The state in the secondary address of the self-registering user. -
StatusCd: string
Title:
StatusMaximum Length:30The code indicating the status of the self-service registration request. A list of accepted values is defined in the lookup ORA_SVC_CSS_REG_STATUS_CD. -
StatusCdMeaning: string
Title:
Status ValueRead Only:trueMaximum Length:80The user friendly meaning of the status of the self-service registration request. -
StatusMsg: string
Title:
ReasonMaximum Length:800The reason for approving or rejecting a self-service registration request. -
UpdateFlag: boolean
Title:
Can UpdateRead Only:trueIndicates if a self-service registration record can be updated. The default value is false. -
WorkPhoneAreaCode: string
Title:
Work Phone Area CodeMaximum Length:20The area code for the work phone number of the registering user. -
WorkPhoneCountryCode: string
Title:
Work Phone Country CodeMaximum Length:10The country code for the work phone number of the registering user. -
WorkPhoneExtension: string
Title:
Work Phone ExtensionMaximum Length:20The extension for the work phone number of the registering use. -
WorkPhoneNumber: string
Title:
Work Phone NumberMaximum Length:40The work phone number of the registering user.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Links
- RequestTypeCdLookupLOVVO
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_SVC_CSS_REQ_TYPE_CD
The list of values indicating the type of self-service registration request. The lookup type is ORA_SVC_CSS_REQ_TYPE_CD.
The following properties are defined on the LOV link relation:- Source Attribute: RequestTypeCd; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder:
- StatusCDLookupVO
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_SVC_CSS_REG_STATUS_CD
The list of values indicating the status self-service registration request, such as Pending, Approved, or Rejected. The lookup type is ORA_SVC_CSS_REG_STATUS_CD.
The following properties are defined on the LOV link relation:- Source Attribute: StatusCd; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder:
Examples
Example of Request Header
The following shows an example of the request header.
POST crmRestApi/resources/11.13.18.05/selfRegistrations HTTP/1.1 HOST: servername.fa.us2.oraclecloud.com authorization: Basic U0FMRVNfQURNSU46V2VsY29tZTE= content-type: application/vnd.oracle.adf.resourceitem+json
Example of Request Body
The following shows an example of the request body in JSON format.
{
"AccountKey": "Pinnacle Account",
"EmailAddress": "pinnacle.account@oracle.com",
"LoginId": "Pinnacle",
"PersonFirstName": "Debra",
"PersonLastName": "Kim",
"PersonMiddleName": null
}
Example of Response Header
The following shows an example of the response header.
HTTP/1.1 200 OK Server: Oracle-HTTP-Server-11g Content-Type: application/vnd.oracle.adf.resourceitem+json Content-Language: en
Example of Response Body
The following shows an example of the response body in JSON format.
{
"RegistrationId": 300100095855333,
"AccountKey": "Pinnacle Account",
"AccountPartyId": 300100091492019,
"ContactPartyId": 300100095857524,
"CreatedBy": "FUSION",
"CreationDate": "2017-03-06T18:44:59-08:00",
"EmailAddress": "csstest.scn1_3196500861526535@oracle.com",
"LastUpdateDate": "2017-03-07T02:42:56-08:00",
"LastUpdateLogin": "4A217430FE441110E0530E8EF50AC384",
"LastUpdatedBy": "css_dev_user@oracle.com",
"LoginId": "csstest.scn1_3196500861526535@oracle.com",
"PersonFirstName": "Debra",
"PersonLastName": "Kim",
"PersonMiddleName": null,
"RegistrationTypeCd": null,
"StatusCd": "ORA_CSS_APPROVED",
"StatusMsg": "Congrats",
"ContactPartyName": "Lisa Pickford",
"AccountPartyName": "CSS ABCS Test 1",
"Name": "Debra Kim",
"links": [
{
"rel": "self",
"href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/selfRegistrations/300100095855333",
"name": "selfRegistrations",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000003737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B020000787200106A6176612E6C616E672E4F626A656374000000000000000000000078700000000278"
}
},
{
"rel": "canonical",
"href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/selfRegistrations/300100095855333",
"name": "selfRegistrations",
"kind": "item"
},
{
"rel": "lov",
"href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/selfRegistrations/300100095855333/lov/StatusCDLookupVO",
"name": "StatusCDLookupVO",
"kind": "collection"
},
{
"rel": "lov",
"href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/selfRegistrations/300100095855333/lov/RegistrationTypeLookupPVO",
"name": "RegistrationTypeLookupPVO",
"kind": "collection"
}
]
}