Create a person service hold
post
/fscmRestApi/resources/11.13.18.05/hedPersonServiceHolds
Request
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:
When set to true, the server will perform an Upsert operation instead of a Create. In an Upsert operation the server attempts to find an existing resource that matches the payload. If found, the server updates the existing resource instead of creating a new one. If not found, or when set to false (the default), a Create is performed.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
CommunicationTypeCode: string
Maximum Length:
30Code for service hold communication type. A list of accepted values is defined in the lookup type ORA_HEY_SVC_HOLD_COMM_TYPE. -
DetailedMitigationSteps: string
Maximum Length:
600Detailed steps defined for mitigating a service hold. -
EndDate: string
(date)
End date for the person service hold.
-
MitigationContactPartyId: integer
(int64)
Unique identifier for mitigation contact.
-
MitigationDestinationCode: string
Maximum Length:
30Code for an internal destination for service hold mitigation. -
MitigationSteps: string
Maximum Length:
100Steps defined for mitigating a service hold. -
PartyId: integer
(int64)
The unique identifier for the party. Party can be a person. For example, a person can be a party.
-
Resolution: string
Maximum Length:
600Resolution notes for resolving a service hold. -
ShowToRecipientFlag: boolean
Maximum Length:
1Default Value:trueIndicates whether the person service hold is visible to the person. The default value is yes. -
StartDate: string
(date)
Start date for the person service hold.
-
StatusCode: string
Maximum Length:
30Status code for the person service hold. A list of accepted values is defined in the lookup type ORA_TAG_ASSIGNMENT_STATUS_CODE. -
TagCode: string
Maximum Length:
30Code for a tag. -
TagId: integer
(int64)
Identifier for a tag.
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 : hedPersonServiceHolds-item-response
Type:
Show Source
object-
CommunicationTypeCode: string
Maximum Length:
30Code for service hold communication type. A list of accepted values is defined in the lookup type ORA_HEY_SVC_HOLD_COMM_TYPE. -
CommunicationTypeMeaning: string
Read Only:
trueMaximum Length:80Meaning for service hold communication type. A list of accepted values is defined in the lookup type ORA_HEY_SVC_HOLD_COMM_TYPE. -
DetailedMitigationSteps: string
Maximum Length:
600Detailed steps defined for mitigating a service hold. -
EndDate: string
(date)
End date for the person service hold.
-
FullName: string
Title:
NameRead Only:trueMaximum Length:360The first and last name of the party displayed as a single string. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MitigationContactName: string
Title:
NameRead Only:trueMaximum Length:360Name for mitigation contact. -
MitigationContactPartyId: integer
(int64)
Unique identifier for mitigation contact.
-
MitigationDestinationCode: string
Maximum Length:
30Code for an internal destination for service hold mitigation. -
MitigationDestinationName: string
Read Only:
trueMaximum Length:256Name for an internal destination for service hold mitigation. -
MitigationSteps: string
Maximum Length:
100Steps defined for mitigating a service hold. -
ModifiedDate: string
(date-time)
Read Only:
trueLast update date for the person service hold. -
PartyId: integer
(int64)
The unique identifier for the party. Party can be a person. For example, a person can be a party.
-
PersonServiceHoldId: integer
(int64)
Read Only:
trueThe unique identifier assigned to a person service hold. -
Resolution: string
Maximum Length:
600Resolution notes for resolving a service hold. -
ShowToRecipientFlag: boolean
Maximum Length:
1Default Value:trueIndicates whether the person service hold is visible to the person. The default value is yes. -
StartDate: string
(date)
Start date for the person service hold.
-
StatusCode: string
Maximum Length:
30Status code for the person service hold. A list of accepted values is defined in the lookup type ORA_TAG_ASSIGNMENT_STATUS_CODE. -
StatusMeaning: string
Read Only:
trueMaximum Length:80Status meaning for the person service hold. A list of accepted values is defined in the lookup type ORA_TAG_ASSIGNMENT_STATUS_CODE. -
TagCode: string
Maximum Length:
30Code for a tag. -
TagDescription: string
Read Only:
trueMaximum Length:240Description for a tag. -
TagId: integer
(int64)
Identifier for a tag.
-
TagName: string
Read Only:
trueMaximum Length:64Name for a tag.
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
- CommunicationTypeCodeLOV
-
Parameters:
- finder:
ByLookupTypeFinder%3BLookupType%3DORA_HEY_SVC_HOLD_COMM_TYPE%2CLookupCode%3D{CommunicationTypeCode}
The following properties are defined on the LOV link relation:- Source Attribute: CommunicationTypeCode; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder:
- MitigationContactPartyIdLOV
-
The following properties are defined on the LOV link relation:
- Source Attribute: MitigationContactPartyId; Target Attribute: ContactPartyId
- Display Attribute: FullName
- statusCodesLOV
-
Parameters:
- finder:
ByLookupTypeFinder%3BLookupType%3DORA_TAG_ASSIGNMENT_STATUS_CODE%2CLookupCode%3D{StatusCode}
The following properties are defined on the LOV link relation:- Source Attribute: StatusCode; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder:
- tagCodesLOV
-
Parameters:
- finder:
ByTagTypeFinder%3BTagTypeCode%3DORA_HEY_SERVICE_HOLD
The following properties are defined on the LOV link relation:- Source Attribute: TagCode; Target Attribute: TagCode
- Display Attribute: TagName
- finder: