Update a phone contact point for the user profile
patch
/fscmRestApi/resources/11.13.18.05/publicSectorBusinessProfiles/{ProfileId}/child/ProfileContactPointPhone/{ContactPtId}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
ContactPtId: integer
The unique identifier for the phone contact point.
-
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-ProfileContactPointPhone-item
Type:
Show Source
object-
ContactPointPurpose(optional):
string
Title:
TypeThe phone type. Valid values are BUSINESS for work and PERSONAL for home. -
ContactPtId(optional):
integer(int64)
The unique identifier for the phone contact point.
-
links(optional):
array Items
Title:
ItemsLink Relations -
PhoneAreaCode(optional):
string
The phone area code.
-
PhoneCountryCode(optional):
string
The phone country code.
-
PhoneExtension(optional):
string
The phone extension.
-
PhoneFull(optional):
string
The full formatted phone number.
-
PhoneNumber(optional):
string
The phone number.
-
PhoneType(optional):
string
Title:
TypeThe phone type. Valid values are WORK, HOME, and MOBILE. -
PrimaryFlag(optional):
string
Title:
PrimaryMaximum Length:1Indicates whether a phone is the primary phone 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 phone contact point.
-
Status(optional):
string
The status of the phone contact point. Valid values are A for active and I for inactive.
Nested Schema : link
Type:
Show Source
object-
href(optional):
string
Title:
hyperlink referenceThe URI to the related resource. -
rel(optional):
string
Title:
relationThe 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-ProfileContactPointPhone-item
Type:
Show Source
object-
ContactPointPurpose(optional):
string
Title:
TypeThe phone type. Valid values are BUSINESS for work and PERSONAL for home. -
ContactPtId(optional):
integer(int64)
The unique identifier for the phone contact point.
-
links(optional):
array Items
Title:
ItemsLink Relations -
PhoneAreaCode(optional):
string
The phone area code.
-
PhoneCountryCode(optional):
string
The phone country code.
-
PhoneExtension(optional):
string
The phone extension.
-
PhoneFull(optional):
string
The full formatted phone number.
-
PhoneNumber(optional):
string
The phone number.
-
PhoneType(optional):
string
Title:
TypeThe phone type. Valid values are WORK, HOME, and MOBILE. -
PrimaryFlag(optional):
string
Title:
PrimaryMaximum Length:1Indicates whether a phone is the primary phone 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 phone contact point.
-
Status(optional):
string
The status of the phone contact point. Valid values are A for active and I for inactive.
Nested Schema : link
Type:
Show Source
object-
href(optional):
string
Title:
hyperlink referenceThe URI to the related resource. -
rel(optional):
string
Title:
relationThe name of the relation to the resource instance. Example: self.