Update a cost allocation
patch
/hcmRestApi/resources/11.13.18.05/assignmentCosting/{assignmentCostingUniqID}
Request
Path Parameters
-
assignmentCostingUniqID(required): string
This is the hash key of the attributes which make up the composite key--- CostAllocationId, EffectiveEndDate and EffectiveStartDate ---for the Cost Allocations for Payroll Assignment resource and used to uniquely identify an instance of Cost Allocations for Payroll Assignment. The client should not generate the hash key value. Instead, the client should query on the Cost Allocations for Payroll Assignment collection resource with a filter on the primary key values in order to navigate to a specific instance of Cost Allocations for Payroll Assignment.
For example: assignmentCosting?q=CostAllocationId=<value1>;EffectiveEndDate=<value2>;EffectiveStartDate=<value3>
Header Parameters
-
Effective-Of: string
This header accepts a string value. The string is a semi-colon separated list of
= . It is used to perform effective date range operations. The accepted parameters are RangeMode, RangeSpan, RangeStartDate, RangeEndDate, RangeStartSequence and RangeEndSequence. The parameter values are always strings. The possible values for RangeMode are SET_LOGICAL_START, SET_LOGICAL_END, END_DATE, SET_EFFECTIVE_START, SET_EFFECTIVE_END, REPLACE_CORRECTION, REPLACE_UPDATE, RECONCILE_CORRECTION, CORRECTION, RECONCILE_UPDATE, UPDATE, ZAP and DELETE_CHANGES. The possible values for RangeSpan are PHYSICAL_ROW_END_DATE and LOGICAL_ROW_END_DATE. The values for RangeStartDate and RangeEndDate have to be a string representation of a date in yyyy-MM-dd format. The value for RangeStartSequence and RangeEndSequence must be strings such that when parsed they yield positive integers. -
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/json
Root Schema : schema
Type:
Show Source
object-
AssignmentNumber: string
Title:
Assignment NumberMaximum Length:30Assignment number of the cost allocation record. -
CostAllocationAccounts: array
Cost Allocation Accounts
Title:
Cost Allocation AccountsThe CostAllocationAccounts resource provides details of individual costing segments of the respective costing levels of the given cost allocations. -
EffectiveEndDate(required): string
(date)
Title:
Effective End DateEffective start date of the cost allocation record. -
EffectiveStartDate(required): string
(date)
Title:
Effective Start DateEffective end date of the cost allocation record. -
LegislativeDataGroupName: string
Title:
NameMaximum Length:240Legislative data group name of the cost allocation record.
Nested Schema : Cost Allocation Accounts
Type:
arrayTitle:
Cost Allocation AccountsThe CostAllocationAccounts resource provides details of individual costing segments of the respective costing levels of the given cost allocations.
Show Source
Nested Schema : assignmentCosting-CostAllocationAccounts-item-patch-request
Type:
Show Source
object-
Proportion: number
Title:
PercentageProportion of the cost allocation account record. -
Segment1: string
Maximum Length:
60Segment 1 of the cost allocation account key flexfield. -
Segment10: string
Maximum Length:
60Segment 10 of the cost allocation account key flexfield record. -
Segment11: string
Maximum Length:
60Segment 11 of the cost allocation account key flexfield record. -
Segment12: string
Maximum Length:
60Segment 12 of the cost allocation account key flexfield record. -
Segment13: string
Maximum Length:
60Segment 13 of the cost allocation account key flexfield record. -
Segment14: string
Maximum Length:
60Segment 14 of the cost allocation account key flexfield record. -
Segment15: string
Maximum Length:
60Segment 15 of the cost allocation account key flexfield record. -
Segment16: string
Maximum Length:
60Segment 16 of the cost allocation account key flexfield record. -
Segment17: string
Maximum Length:
60Segment 17 of the cost allocation account key flexfield record. -
Segment18: string
Maximum Length:
60Segment 18 of the cost allocation account key flexfield record. -
Segment19: string
Maximum Length:
60Segment 19 of the cost allocation account key flexfield record. -
Segment2: string
Maximum Length:
60Segment 2 of the cost allocation account key flexfield record. -
Segment20: string
Maximum Length:
60Segment 20 of the cost allocation account key flexfield record. -
Segment21: string
Maximum Length:
60Segment 21 of the cost allocation account key flexfield record. -
Segment22: string
Maximum Length:
60Segment 22 of the cost allocation account key flexfield record. -
Segment23: string
Maximum Length:
60Segment 23 of the cost allocation account key flexfield record. -
Segment24: string
Maximum Length:
60Segment 24 of the cost allocation account key flexfield record. -
Segment25: string
Maximum Length:
60Segment 25 of the cost allocation account key flexfield record. -
Segment26: string
Maximum Length:
60Segment 26 of the cost allocation account key flexfield record. -
Segment27: string
Maximum Length:
60Segment 27 of the cost allocation account key flexfield record. -
Segment28: string
Maximum Length:
60Segment 28 of the cost allocation account key flexfield record. -
Segment29: string
Maximum Length:
60Segment 29 of the cost allocation account key flexfield record. -
Segment3: string
Maximum Length:
60Segment 3 of the cost allocation account key flexfield record. -
Segment30: string
Maximum Length:
60Segment 30 of the cost allocation account key flexfield record. -
Segment4: string
Maximum Length:
60Segment 4 of the cost allocation account key flexfield record. -
Segment5: string
Maximum Length:
60Segment 5 of the cost allocation account key flexfield record. -
Segment6: string
Maximum Length:
60Segment 6 of the cost allocation account key flexfield record. -
Segment7: string
Maximum Length:
60Segment 7 of the cost allocation account key flexfield record. -
Segment8: string
Maximum Length:
60Segment 8 of the cost allocation account key flexfield record. -
Segment9: string
Maximum Length:
60Segment 9 of the cost allocation account key flexfield record.
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 : assignmentCosting-item-response
Type:
Show Source
object-
AssignmentNumber: string
Title:
Assignment NumberMaximum Length:30Assignment number of the cost allocation record. -
CostAllocationAccounts: array
Cost Allocation Accounts
Title:
Cost Allocation AccountsThe CostAllocationAccounts resource provides details of individual costing segments of the respective costing levels of the given cost allocations. -
CostAllocationId: integer
(int64)
Read Only:
trueCost allocation identifier for the cost allocation record. -
EffectiveEndDate: string
(date)
Title:
Effective End DateEffective start date of the cost allocation record. -
EffectiveStartDate: string
(date)
Title:
Effective Start DateEffective end date of the cost allocation record. -
LegislativeDataGroupName: string
Title:
NameMaximum Length:240Legislative data group name of the cost allocation record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance.
Nested Schema : Cost Allocation Accounts
Type:
arrayTitle:
Cost Allocation AccountsThe CostAllocationAccounts resource provides details of individual costing segments of the respective costing levels of the given cost allocations.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : assignmentCosting-CostAllocationAccounts-item-response
Type:
Show Source
object-
CostAllocAccountId: integer
(int64)
Read Only:
trueCost allocation account identifier for the cost allocation account record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
Proportion: number
Title:
PercentageProportion of the cost allocation account record. -
Segment1: string
Maximum Length:
60Segment 1 of the cost allocation account key flexfield. -
Segment10: string
Maximum Length:
60Segment 10 of the cost allocation account key flexfield record. -
Segment11: string
Maximum Length:
60Segment 11 of the cost allocation account key flexfield record. -
Segment12: string
Maximum Length:
60Segment 12 of the cost allocation account key flexfield record. -
Segment13: string
Maximum Length:
60Segment 13 of the cost allocation account key flexfield record. -
Segment14: string
Maximum Length:
60Segment 14 of the cost allocation account key flexfield record. -
Segment15: string
Maximum Length:
60Segment 15 of the cost allocation account key flexfield record. -
Segment16: string
Maximum Length:
60Segment 16 of the cost allocation account key flexfield record. -
Segment17: string
Maximum Length:
60Segment 17 of the cost allocation account key flexfield record. -
Segment18: string
Maximum Length:
60Segment 18 of the cost allocation account key flexfield record. -
Segment19: string
Maximum Length:
60Segment 19 of the cost allocation account key flexfield record. -
Segment2: string
Maximum Length:
60Segment 2 of the cost allocation account key flexfield record. -
Segment20: string
Maximum Length:
60Segment 20 of the cost allocation account key flexfield record. -
Segment21: string
Maximum Length:
60Segment 21 of the cost allocation account key flexfield record. -
Segment22: string
Maximum Length:
60Segment 22 of the cost allocation account key flexfield record. -
Segment23: string
Maximum Length:
60Segment 23 of the cost allocation account key flexfield record. -
Segment24: string
Maximum Length:
60Segment 24 of the cost allocation account key flexfield record. -
Segment25: string
Maximum Length:
60Segment 25 of the cost allocation account key flexfield record. -
Segment26: string
Maximum Length:
60Segment 26 of the cost allocation account key flexfield record. -
Segment27: string
Maximum Length:
60Segment 27 of the cost allocation account key flexfield record. -
Segment28: string
Maximum Length:
60Segment 28 of the cost allocation account key flexfield record. -
Segment29: string
Maximum Length:
60Segment 29 of the cost allocation account key flexfield record. -
Segment3: string
Maximum Length:
60Segment 3 of the cost allocation account key flexfield record. -
Segment30: string
Maximum Length:
60Segment 30 of the cost allocation account key flexfield record. -
Segment4: string
Maximum Length:
60Segment 4 of the cost allocation account key flexfield record. -
Segment5: string
Maximum Length:
60Segment 5 of the cost allocation account key flexfield record. -
Segment6: string
Maximum Length:
60Segment 6 of the cost allocation account key flexfield record. -
Segment7: string
Maximum Length:
60Segment 7 of the cost allocation account key flexfield record. -
Segment8: string
Maximum Length:
60Segment 8 of the cost allocation account key flexfield record. -
Segment9: string
Maximum Length:
60Segment 9 of the cost allocation account key flexfield record.
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
- CostAllocationAccounts
-
Parameters:
- assignmentCostingUniqID:
$request.path.assignmentCostingUniqID
The CostAllocationAccounts resource provides details of individual costing segments of the respective costing levels of the given cost allocations. - assignmentCostingUniqID: