Create an address locale
post
/crmRestApi/resources/11.13.18.05/accounts/{PartyNumber}/child/Address/{AddressNumber}/child/AddressLocale
Request
Path Parameters
-
AddressNumber(required): string
The alternate key identifier of the address that is internally generated during create. One of AddressId, AddressNumber or SourceSystem and SourceSystemReferenceValue keys is used to identify the address record during update.
-
PartyNumber(required): string
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
-
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-
AddrElementAttribute1: string
Title:
Address Element Attribute 1Maximum Length:150The additional address element 1 to support flexible address format in local language. -
AddrElementAttribute2: string
Title:
Address Element Attribute 2Maximum Length:150The additional address element 2 to support flexible address format in local language. -
AddrElementAttribute3: string
Title:
Address Element Attribute 3Maximum Length:150The additional address element 3 to support flexible address format in local language. -
AddrElementAttribute4: string
Title:
Address Element Attribute 4Maximum Length:150The additional address element 4 to support flexible address format in local language. -
AddrElementAttribute5: string
Title:
Address Element Attribute 5Maximum Length:150The additional address element 5 to support flexible address format in local language. -
Address1: string
Title:
Address Line 1Maximum Length:240The first line of the address in the local language. -
Address2: string
Title:
Address Line 2Maximum Length:240The second line of the address in the local language. -
Address3: string
Title:
Address Line 3Maximum Length:240The third line of the address in the local language. -
Address4: string
Title:
Address Line 4Maximum Length:240The fourth line of the address in the local language. -
Building: string
Title:
BuildingMaximum Length:240The specific building name or number at a given address in local language. -
City: string
Title:
CityMaximum Length:60The specific name of the city in local language. -
County: string
Title:
CountyMaximum Length:60The specific name of the county in local language. -
FloorNumber: string
Title:
FloorMaximum Length:240The specific floor number at a given address or a particular building when building number is provided in local language. -
LocationId: integer
(int64)
The unique identifier of the location record.
-
PostalCode: string
Title:
Postal CodeMaximum Length:60The postal code of the locale. A postal code, known in various countries as a post code, postcode, or ZIP code, is a series of letters or digits appended to a postal address for the purpose of sorting mail in local language. -
PostalPlus4code: string
Title:
Postal Code ExtensionMaximum Length:20The four digit extension to the United States Postal ZIP code in local language. -
Province: string
Title:
ProvinceMaximum Length:60The name of the province in local language. -
SiteSourceSystem: string
The name of external source system for the parent address denoted by a code, which is defined by an administrator as part of system setup. The value for this attribute should be predefined in the lookup type HZ_ORIG_SYSTEMS_VL using the setup task Manage Trading Community Source Systems. SourceSystem and SourceSystemReference combination is unique and is used as the foreign key to identify an address.
-
SiteSourceSystemReferenceValue: string
The unique identifier for the parent address from the external source. SourceSystem and SourceSystemReference combination is unique and is used as the foreign key to identify an address.
-
State: string
Title:
StateMaximum Length:60The name of the State in the local language. -
TransliterationLanguage: string
Title:
Transliteration LanguageMaximum Length:4Transliteration Language helps people pronounce words and names in foreign languages. It's validated against FND_LANGUAGES.LANGUAGE_CODE. Sample values are US,NL, DK.
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 : accounts-Address-AddressLocale-item-response
Type:
Show Source
object-
AddrElementAttribute1: string
Title:
Address Element Attribute 1Maximum Length:150The additional address element 1 to support flexible address format in local language. -
AddrElementAttribute2: string
Title:
Address Element Attribute 2Maximum Length:150The additional address element 2 to support flexible address format in local language. -
AddrElementAttribute3: string
Title:
Address Element Attribute 3Maximum Length:150The additional address element 3 to support flexible address format in local language. -
AddrElementAttribute4: string
Title:
Address Element Attribute 4Maximum Length:150The additional address element 4 to support flexible address format in local language. -
AddrElementAttribute5: string
Title:
Address Element Attribute 5Maximum Length:150The additional address element 5 to support flexible address format in local language. -
Address1: string
Title:
Address Line 1Maximum Length:240The first line of the address in the local language. -
Address2: string
Title:
Address Line 2Maximum Length:240The second line of the address in the local language. -
Address3: string
Title:
Address Line 3Maximum Length:240The third line of the address in the local language. -
Address4: string
Title:
Address Line 4Maximum Length:240The fourth line of the address in the local language. -
AddressNumber: string
Title:
Site NumberRead Only:trueMaximum Length:30The unique address identifier that's internally generated during create. One of the following keys is used to identify the address purpose record during update: AddressId, AddressNumber, or SourceSystem and SourceSystemReferenceValue. -
Building: string
Title:
BuildingMaximum Length:240The specific building name or number at a given address in local language. -
City: string
Title:
CityMaximum Length:60The specific name of the city in local language. -
Country: string
Title:
CountryRead Only:trueMaximum Length:2The specific name of the country in local language. -
County: string
Title:
CountyMaximum Length:60The specific name of the county in local language. -
CreatedBy: string
Read Only:
trueMaximum Length:64The user who created the address locale record. -
CreationDate: string
(date-time)
Read Only:
trueThe date and time when the address locale record was created. -
FloorNumber: string
Title:
FloorMaximum Length:240The specific floor number at a given address or a particular building when building number is provided in local language. -
FormattedAddress: string
Read Only:
trueThe formatted read only version of the locale address. -
LastUpdateDate: string
(date-time)
Read Only:
trueThe date and time when the address locale was last updated. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64The user who last updated the address locale record. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32The login of the user who last updated the address locale record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LocationId: integer
(int64)
The unique identifier of the location record.
-
LocationLocaleId: integer
(int64)
Read Only:
trueThe unique identifier of the location locale record. -
PostalCode: string
Title:
Postal CodeMaximum Length:60The postal code of the locale. A postal code, known in various countries as a post code, postcode, or ZIP code, is a series of letters or digits appended to a postal address for the purpose of sorting mail in local language. -
PostalPlus4code: string
Title:
Postal Code ExtensionMaximum Length:20The four digit extension to the United States Postal ZIP code in local language. -
Province: string
Title:
ProvinceMaximum Length:60The name of the province in local language. -
SiteSourceSystem: string
The name of external source system for the parent address denoted by a code, which is defined by an administrator as part of system setup. The value for this attribute should be predefined in the lookup type HZ_ORIG_SYSTEMS_VL using the setup task Manage Trading Community Source Systems. SourceSystem and SourceSystemReference combination is unique and is used as the foreign key to identify an address.
-
SiteSourceSystemReferenceValue: string
The unique identifier for the parent address from the external source. SourceSystem and SourceSystemReference combination is unique and is used as the foreign key to identify an address.
-
State: string
Title:
StateMaximum Length:60The name of the State in the local language. -
TransliterationLanguage: string
Title:
Transliteration LanguageMaximum Length:4Transliteration Language helps people pronounce words and names in foreign languages. It's validated against FND_LANGUAGES.LANGUAGE_CODE. Sample values are US,NL, DK.
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
- TransliterationLanguageLOV
-
The following properties are defined on the LOV link relation:
- Source Attribute: TransliterationLanguage; Target Attribute: LanguageCode
- Display Attribute: Description