Create an additional name

post

/crmRestApi/resources/11.13.18.05/accounts/{PartyNumber}/child/AdditionalName

Request

Path Parameters
  • The unique alternate identifier for the account party. You can update the value if the profile option HZ_GENERATE_PARTY_NUMBER is set to True. The default value is a concatenation of the value specified in the profile option ZCA_PUID_PREFIX and a unique system generated sequence number. Inactive records can't be updated.
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.
  • 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
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Title: Academic Title
    Maximum Length: 30
    The part of the person's title that denotes the academic qualification, such as Dr. Jane Smith.
  • Default Value: 0
    The unique identifier of the conflict. This number is used by mobile or portable applications that consume the web service.
  • Title: Description
    Maximum Length: 240
    The description of the Additional Name record
  • Title: First Name
    Maximum Length: 150
    The first name associated with the record.
  • Title: Last Name
    Maximum Length: 150
    The last name associated with the record.
  • Title: Middle Name
    Maximum Length: 60
    The middle name associated with the record.
  • Title: Additional Name
    Maximum Length: 360
    The name of the organization, person, or group party. For example, "Oracle" or "John Smith".
  • Title: Additional Name Type
    Maximum Length: 30
    The type of the name. For example, ALIAS or LEGAL.
  • The unique identifier of the party.
  • The name of external source system where the account party, associated with the address, is imported from. The values can be configured in setup task Trading Community Source System.
  • The unique identifier for the account, associated with the address, from the external source system specified in the attribute PartySourceSystem.
  • Title: Preferred Indicator
    Maximum Length: 1
    Default Value: false
    Identify the name as preferred name for this party within this name type. Possible values are 'Y' and 'N'. Default is 'N'.
  • The name of external source system where the account party is imported from. The values configured in setup task Trading Community Source System.
  • The unique identifier for the account party from the external source system specified in the attribute SourceSystem.
  • Maximum Length: 1
    Default Value: true
    Indicates if the additional name is currently active.
  • Title: Title
    Maximum Length: 60
    A professional or family title, such as Don or The Right Honorable
  • Title: Transliteration Language
    Maximum Length: 4
    TransliterationLanguage helps people pronounce words and names in foreign languages. It is validated against FND_LANGUAGES.LANGUAGE_CODE. Sample values: US,NL,DK etc.
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 : accounts-AdditionalName-item-response
Type: object
Show Source
  • Title: Academic Title
    Maximum Length: 30
    The part of the person's title that denotes the academic qualification, such as Dr. Jane Smith.
  • Default Value: 0
    The unique identifier of the conflict. This number is used by mobile or portable applications that consume the web service.
  • Read Only: true
    Maximum Length: 64
    The user who created the contact record.
  • Read Only: true
    The date and time when the contact record was created.
  • Title: Description
    Maximum Length: 240
    The description of the Additional Name record
  • Title: First Name
    Maximum Length: 150
    The first name associated with the record.
  • Title: Last Name
    Maximum Length: 150
    The last name associated with the record.
  • Read Only: true
    The date and time when the contact was last updated.
  • Read Only: true
    Maximum Length: 64
    The user who last updated the contact record.
  • Links
  • Title: Middle Name
    Maximum Length: 60
    The middle name associated with the record.
  • Title: Additional Name
    Maximum Length: 360
    The name of the organization, person, or group party. For example, "Oracle" or "John Smith".
  • Read Only: true
    The unique identifier of the name.
  • Title: Additional Name Type
    Maximum Length: 30
    The type of the name. For example, ALIAS or LEGAL.
  • The unique identifier of the party.
  • Title: Registry ID
    Read Only: true
    Maximum Length: 30
    The alternate identifier of the party. Inactive records can't be updated.
  • The name of external source system where the account party, associated with the address, is imported from. The values can be configured in setup task Trading Community Source System.
  • The unique identifier for the account, associated with the address, from the external source system specified in the attribute PartySourceSystem.
  • Title: Preferred Indicator
    Maximum Length: 1
    Default Value: false
    Identify the name as preferred name for this party within this name type. Possible values are 'Y' and 'N'. Default is 'N'.
  • The name of external source system where the account party is imported from. The values configured in setup task Trading Community Source System.
  • The unique identifier for the account party from the external source system specified in the attribute SourceSystem.
  • Maximum Length: 1
    Default Value: true
    Indicates if the additional name is currently active.
  • Title: Title
    Maximum Length: 60
    A professional or family title, such as Don or The Right Honorable
  • Title: Transliteration Language
    Maximum Length: 4
    TransliterationLanguage helps people pronounce words and names in foreign languages. It is validated against FND_LANGUAGES.LANGUAGE_CODE. Sample values: US,NL,DK etc.
Back to Top

Examples

The following example shows how to create an additional name by submitting a POST request on the REST resource using cURL.

cURL Command

curl -u <username:password> \ -X POST -d @example_request_payload.json https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/accounts/100000013637001/child/AdditionalName/

Example of Request Body

The following shows an example of the request body in JSON format.

{   
 "NameType": "LOCAL",
 "Name": "LocalRestName" 
}

Example of Response Body

The following shows an example of the response body in JSON format.

{
"Name": "LocalRestName",
"NameType": "LOCAL",
"NameId": 300100156549375,
"StatusFlag": "A",
"CreationDate": "2017-12-14T14:09:54+00:00",
"CreatedBy": "SALES_ADMIN",
"LastUpdateDate": "2017-12-14T14:09:56.282+00:00",
"LastUpdatedBy": "SALES_ADMIN"
}
Back to Top