Create all location associations
post
/fscmRestApi/resources/11.13.18.05/hedSystemOffices/{SystemOfficeId}/child/locations
Request
Path Parameters
-
SystemOfficeId(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=
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.
-
Upsert-Mode:
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-
AssociationEndDate: string
(date)
Title:
End DateThe end date of the location site association. -
AssociationStartDate: string
(date)
Title:
Start DateThe start date of the location site association. -
LocationId: integer
(int64)
Title:
Location IDThe unique identifier of the location. -
PreferredAddressFlag: boolean
Title:
Preferred AddressMaximum Length:1Indicates the preferred address. The default value is: false.
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 : hedSystemOffices-locations-item-response
Type:
Show Source
object-
AddrElementAttributeFive: string
Title:
Additional Address Element 5Read Only:trueMaximum Length:150The additional address element to support flexible address format. -
AddrElementAttributeFour: string
Title:
Additional Address Element 4Read Only:trueMaximum Length:150The additional address element to support flexible address format. -
AddrElementAttributeOne: string
Title:
Additional Address Element 1Read Only:trueMaximum Length:150The additional address element to support flexible address format. -
AddrElementAttributeThree: string
Title:
Additional Address Element 3Read Only:trueMaximum Length:150The additional address element to support flexible address format. -
AddrElementAttributeTwo: string
Title:
Additional Address Element 2Read Only:trueMaximum Length:150The additional address element to support flexible address format. -
AddressFour: string
Title:
Address Line 4Read Only:trueMaximum Length:240The fourth line for the address. -
AddressLinesPhonetic: string
Title:
Address Lines PhoneticRead Only:trueMaximum Length:560The phonetic or Kana representation of the Kanji address lines, used in Japan. -
AddressOne: string
Title:
Address Line 1Read Only:trueMaximum Length:240The first line for the address. -
AddressThree: string
Title:
Address Line 3Read Only:trueMaximum Length:240The third line for the address. -
AddressTwo: string
Title:
Address Line 2Read Only:trueMaximum Length:240The second line for the address. -
AddressUseTypeCode: string
Title:
Address Use Type CodeRead Only:trueMaximum Length:30The type of address usage, such as home or legal. A list of accepted values is defined in the lookup type PARTY_SITE_USE_CODE. -
AddressUseTypeMeaning: string
Title:
Address Use TypeRead Only:trueMaximum Length:80The meaning of the site use type code. A list of accepted values is defined in the lookup type PARTY_SITE_USE_CODE. -
AssociationEndDate: string
(date)
Title:
End DateThe end date of the location site association. -
AssociationStartDate: string
(date)
Title:
Start DateThe start date of the location site association. -
Building: string
Title:
BuildingRead Only:trueMaximum Length:240The building name or number at a given address. -
City: string
Title:
CityRead Only:trueMaximum Length:60The city for the address. -
CountryCode: string
Title:
Country CodeRead Only:trueMaximum Length:2The country code from the TERRITORY_CODE column in the FND_TERRITORY table. -
County: string
Title:
CountyRead Only:trueMaximum Length:60The county of the address. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the row. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date the row was created. -
FloorNumber: string
Title:
Floor NumberRead Only:trueMaximum Length:40The floor number at a given address or in a particular building when building number is provided. -
FormattedAddress: string
Title:
AddressRead Only:trueThe address formatted based on the country code. -
FormattedMultilineAddress: string
Title:
AddressRead Only:trueThe multiline display for the formatted address. -
HouseType: string
Title:
House TypeRead Only:trueMaximum Length:30The type of building. A list of accepted values is defined in the lookup type HZ_HOUSE_TYPE. -
HouseTypeMeaning: string
Title:
House TypeRead Only:trueMaximum Length:80The meaning of the house type code. A list of accepted values is defined in the lookup type HZ_HOUSE_TYPE. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date the row was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the row. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LocationAssociationId: integer
(int64)
Title:
Location Association IDRead Only:trueThe unique identifier for the location association identifier. -
LocationDirections: string
Title:
Location DirectionsRead Only:trueMaximum Length:640The directions to the location. -
LocationId: integer
(int64)
Title:
Location IDThe unique identifier of the location. -
LocationName: string
Title:
Location NameRead Only:trueMaximum Length:100The name of the location. -
LocationStatusCode: string
Title:
Location Status CodeRead Only:trueMaximum Length:30The status code of the location. This controls the availability of the location for assignments. -
LocationStatusMeaning: string
Title:
Location StatusRead Only:trueMaximum Length:80The status of the location. -
Position: string
Title:
PositionRead Only:trueMaximum Length:50The primary direction such as North or East that's used to access the location. -
PostalCode: string
Title:
Postal CodeRead Only:trueMaximum Length:60The postal code for the address. -
PostalPlusFourCode: string
Title:
Postal Code ExtensionRead Only:trueMaximum Length:20The four digit extension to the United States postal code. -
PreferredAddressFlag: boolean
Title:
Preferred AddressMaximum Length:1Indicates the preferred address. The default value is: false. -
Province: string
Title:
Province CodeRead Only:trueMaximum Length:60The province of the address. -
StateCode: string
Title:
State CodeRead Only:trueMaximum Length:60The state of the address.
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.