Create a set of contact address for the user profile
post
/fscmRestApi/resources/11.13.18.05/publicSectorBusinessProfiles/{ProfileId}/child/ProfileLocation
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
ProfileId: integer
The unique identifier for a registered public user account profile.
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorBusinessProfiles-ProfileLocation-item
Type:
Show Source
object
-
Address1(optional):
string
The first line of the address.
-
Address2(optional):
string
The second line of the address.
-
Address3(optional):
string
The third line of the address.
-
Address4(optional):
string
The fourth line of the address.
-
AddressFull(optional):
string
The full address for a profile address.
-
City(optional):
string
The city of the address.
-
Country(optional):
string
The country of the address.
-
County(optional):
string
The county of the address.
-
links(optional):
array Items
Title:
Items
Link Relations -
LocationSiteId(optional):
integer(int64)
The unique identifier for a profile address.
-
OnlineFlag(optional):
string
Maximum Length:
1
Indicates whether this location has a website. Valid values are Y for yes and N for no. -
PostalCode(optional):
string
The postal code of the address.
-
PrimaryFlag(optional):
string
Title:
Primary
Maximum Length:1
Indicates whether an address is the primary address for the profile. Valid values are Y for yes and N for no. -
ProfileId(optional):
integer(int64)
The unique identifier for the profile that is associated with the address.
-
SiteUseType(optional):
string
Title:
Type
The address type. Valid values are BUSINESS for business and HOME for home. -
State(optional):
string
The state for the address.
-
Status(optional):
string
The status of the address. Valid values are A for active and I for inactive.
Nested Schema : link
Type:
Show Source
object
-
href(optional):
string
Title:
hyperlink reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The name of the relation to the resource instance. Example: self.
Response
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Default Response
The following table describes the default response for this task.
Root Schema : publicSectorBusinessProfiles-ProfileLocation-item
Type:
Show Source
object
-
Address1(optional):
string
The first line of the address.
-
Address2(optional):
string
The second line of the address.
-
Address3(optional):
string
The third line of the address.
-
Address4(optional):
string
The fourth line of the address.
-
AddressFull(optional):
string
The full address for a profile address.
-
City(optional):
string
The city of the address.
-
Country(optional):
string
The country of the address.
-
County(optional):
string
The county of the address.
-
links(optional):
array Items
Title:
Items
Link Relations -
LocationSiteId(optional):
integer(int64)
The unique identifier for a profile address.
-
OnlineFlag(optional):
string
Maximum Length:
1
Indicates whether this location has a website. Valid values are Y for yes and N for no. -
PostalCode(optional):
string
The postal code of the address.
-
PrimaryFlag(optional):
string
Title:
Primary
Maximum Length:1
Indicates whether an address is the primary address for the profile. Valid values are Y for yes and N for no. -
ProfileId(optional):
integer(int64)
The unique identifier for the profile that is associated with the address.
-
SiteUseType(optional):
string
Title:
Type
The address type. Valid values are BUSINESS for business and HOME for home. -
State(optional):
string
The state for the address.
-
Status(optional):
string
The status of the address. Valid values are A for active and I for inactive.
Nested Schema : link
Type:
Show Source
object
-
href(optional):
string
Title:
hyperlink reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The name of the relation to the resource instance. Example: self.