Create payload rule
post
/hcmRestApi/resources/11.13.18.05/payrollConnectPayloadRuleTreeStructs/action/createPayloadRule
Creates a payload rule for the selected extract definition and returns the generated payload rule tree structure.
Request
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.
Supported Media Types
- application/vnd.oracle.adf.action+json
Root Schema : schema
Type:
Show Source
object-
criteriaValues: object
criteriaValues
Additional Properties Allowed: additionalPropertiesCriteria values used to create the payload rule.
-
extractObjects: object
extractObjects
Additional Properties Allowed: additionalPropertiesExtract objects to include in the payload rule.
-
pDefinitionName: string
Payload rule definition name.
-
plegislativedatagroupid: number
Legislative data group identifier.
-
prulePropertyId: number
Rule property identifier.
-
psourceextractdefinitionid: number
Source extract definition identifier.
-
pVendor: string
Consumer code
Nested Schema : criteriaValues
Type:
objectAdditional Properties Allowed
Show Source
Criteria values used to create the payload rule.
Nested Schema : extractObjects
Type:
objectAdditional Properties Allowed
Show Source
-
object additionalProperties
Additional Properties Allowed: additionalProperties
Extract objects to include in the payload rule.
Response
Supported Media Types
- application/json
- application/vnd.oracle.adf.actionresult+json
Default Response
The following table describes the default response for this task.
Root Schema : schema
Type:
Show Source
object-
result(required): number
Generated payload rule tree structure returned by the action.