Update an additional name
patch
/crmRestApi/resources/11.13.18.05/contacts/{PartyNumber}/child/AdditionalName/{NameId}
Request
Path Parameters
-
NameId(required): integer(int64)
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
-
PartyNumber(required): string
The alternate key identifier for the contact party. The profile option HZ_GENERATE_PARTY_NUMBER controls whether the attribute value can be system generated or user-provided during create. Review and update the value for this attribute using the Setup and Maintenance work area, Manage Trading Community Common Profile Options task. Inactive records can't be updated.
Header Parameters
-
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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
AcademicTitle: string
Title:
Academic TitleMaximum Length:30The part of the person's title that denotes the academic qualification, such as Dr. Jane Smith. -
ConflictId: integer
(int64)
Default Value:
0The attribute value is used to guarantee the uniqueness of the row when duplicates are created in different databases. -
Description: string
Title:
DescriptionMaximum Length:240The description of the Additional Name record -
FirstName: string
Title:
First NameMaximum Length:150The first name of a person. -
LastName: string
Title:
Last NameMaximum Length:150The last name of a person. -
MiddleName: string
Title:
Middle NameMaximum Length:60The middle name of a person. -
Name: string
Title:
Additional NameMaximum Length:360The name of the organization, person, or group party. For example, "Oracle" or "John Smith". -
PartySourceSystem: string
The source system name.
-
PartySourceSystemReferenceValue: string
The identifier for the record from the original system.
-
PreferredFlag: boolean
Title:
Preferred IndicatorMaximum Length:1Default Value:falseIdentify the name as preferred name for this party within this name type. Possible values are 'Y' and 'N'. Default is 'N'. -
SourceSystem: string
The name of the source system for the associated party.
-
SourceSystemReferenceValue: string
The identifier of the source system reference for the associated party.
-
StatusFlag: boolean
Maximum Length:
1Default Value:trueThe record status used to soft delete the record. The accepted values are A for active and I for inactive. The default value is A. -
Title: string
Title:
TitleMaximum Length:60A professional or family title, such as Don or The Right Honorable -
TransliterationLanguage: string
Title:
Transliteration LanguageMaximum Length:4TransliterationLanguage helps people pronounce words and names in foreign languages. It is validated against FND_LANGUAGES.LANGUAGE_CODE. Sample values: US,NL,DK etc.
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 : contacts-AdditionalName-item-response
Type:
Show Source
object-
AcademicTitle: string
Title:
Academic TitleMaximum Length:30The part of the person's title that denotes the academic qualification, such as Dr. Jane Smith. -
ConflictId: integer
(int64)
Default Value:
0The attribute value is used to guarantee the uniqueness of the row when duplicates are created in different databases. -
CreatedBy: string
Read Only:
trueMaximum Length:64The user who created the contact record. -
CreationDate: string
(date-time)
Read Only:
trueThe date and time when the contact record was created. -
Description: string
Title:
DescriptionMaximum Length:240The description of the Additional Name record -
FirstName: string
Title:
First NameMaximum Length:150The first name of a person. -
LastName: string
Title:
Last NameMaximum Length:150The last name of a person. -
LastUpdateDate: string
(date-time)
Read Only:
trueThe date and time when the contact was last updated. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64The user who last updated the contact record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MiddleName: string
Title:
Middle NameMaximum Length:60The middle name of a person. -
Name: string
Title:
Additional NameMaximum Length:360The name of the organization, person, or group party. For example, "Oracle" or "John Smith". -
NameId: integer
(int64)
Read Only:
trueThe unique identifier of the name. -
NameType: string
Title:
Additional Name TypeMaximum Length:30The type of the name. For example, ALIAS or LEGAL. -
PartyId: integer
(int64)
The unique identifier of the party.
-
PartyNumber: string
Title:
Registry IDRead Only:trueMaximum Length:30The public unique identifier of the party. -
PartySourceSystem: string
The source system name.
-
PartySourceSystemReferenceValue: string
The identifier for the record from the original system.
-
PreferredFlag: boolean
Title:
Preferred IndicatorMaximum Length:1Default Value:falseIdentify the name as preferred name for this party within this name type. Possible values are 'Y' and 'N'. Default is 'N'. -
SourceSystem: string
The name of the source system for the associated party.
-
SourceSystemReferenceValue: string
The identifier of the source system reference for the associated party.
-
StatusFlag: boolean
Maximum Length:
1Default Value:trueThe record status used to soft delete the record. The accepted values are A for active and I for inactive. The default value is A. -
Title: string
Title:
TitleMaximum Length:60A professional or family title, such as Don or The Right Honorable -
TransliterationLanguage: string
Title:
Transliteration LanguageMaximum Length:4TransliterationLanguage helps people pronounce words and names in foreign languages. It is validated against FND_LANGUAGES.LANGUAGE_CODE. Sample values: US,NL,DK etc.
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
- NameTypeLOV
-
Parameters:
- finder:
NameTypeFinder
The type of the name. For example, ALIAS or LEGAL. - finder:
- StatusLOV
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DHZ_STATUS
Indicates whether the additional identifier is currently active. - finder:
- TransliterationLanguageLOV
-
The transliteration language associated with the additional name for account.