Create a Cost Rate Override
post
/fscmRestApi/resources/11.13.18.05/projectandTaskCostRateOverrides
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:
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
CurrencyCode: string
Title:
Currency CodeMaximum Length:15Currency code associated with the rate override. -
CurrencyName: string
Title:
Currency NameMaximum Length:255Currency name associated with the rate override. -
ExpenditureTypeId: integer
(int64)
Title:
Expenditure Type IDIdentifier of the expenditure type to which the rate override belongs. -
ExpenditureTypeName: string
Title:
Expenditure Type NameName of the expenditure type to which the rate override belongs. -
FromDate: string
(date)
Title:
From DateDate from which the rate override is effective. The date format is YYYY-MM-DD. -
JobCode: string
Title:
Job CodeMaximum Length:255Code of the job to which the rate override belongs. -
JobId: integer
(int64)
Title:
Job IDIdentifier of the job to which the rate override belongs. -
JobName: string
Title:
Job NameName of the job to which the rate override belongs. -
PersonEmail: string
Title:
Person EmailMaximum Length:255Email of the person to which the rate override belongs. -
PersonId: integer
(int64)
Title:
Person IDIdentifier of the person to which the rate override belongs. -
PersonName: string
Title:
Person NameName of the person to which the rate override belongs. -
PersonNumber: string
Title:
Person NumberNumber of the person to which the rate override belongs. -
ProjectId: integer
(int64)
Title:
Project IDIdentifier of the project to which the rate override belongs. -
ProjectName: string
Title:
Project NameName of the project to which the rate override belongs. -
ProjectNumber: string
Title:
Project NumberNumber of the project to which the rate override belongs. -
Rate: number
Title:
RateThe rate assigned to the rate override. -
RateOverrideReason: string
Title:
Rate Override ReasonThe reason for changing the rate override. Enter a valid meaning of the lookup code for the Discount Reason lookup type. -
RateOverrideReasonCode: string
Title:
Rate Override Reason CodeMaximum Length:30The reason code for changing the rate override. -
TaskId: integer
(int64)
Title:
Task IDIdentifier of the task to which the rate override belongs. -
TaskName: string
Title:
Task NameName of the task to which the rate override belongs. -
TaskNumber: string
Title:
Task NumberNumber of the task to which the rate override belongs. -
ToDate: string
(date)
Title:
To DateDate after which the rate override is no longer effective. The date format is YYYY-MM-DD.
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 : projectandTaskCostRateOverrides-item-response
Type:
Show Source
object-
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the record. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date when the record was created. -
CurrencyCode: string
Title:
Currency CodeMaximum Length:15Currency code associated with the rate override. -
CurrencyName: string
Title:
Currency NameMaximum Length:255Currency name associated with the rate override. -
ExpenditureTypeId: integer
(int64)
Title:
Expenditure Type IDIdentifier of the expenditure type to which the rate override belongs. -
ExpenditureTypeName: string
Title:
Expenditure Type NameName of the expenditure type to which the rate override belongs. -
FromDate: string
(date)
Title:
From DateDate from which the rate override is effective. The date format is YYYY-MM-DD. -
JobCode: string
Title:
Job CodeMaximum Length:255Code of the job to which the rate override belongs. -
JobId: integer
(int64)
Title:
Job IDIdentifier of the job to which the rate override belongs. -
JobName: string
Title:
Job NameName of the job to which the rate override belongs. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueThe date when the record was last updated. -
LastUpdatedBy: string
Title:
Last Update ByRead Only:trueMaximum Length:64The user who last updated the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PersonEmail: string
Title:
Person EmailMaximum Length:255Email of the person to which the rate override belongs. -
PersonId: integer
(int64)
Title:
Person IDIdentifier of the person to which the rate override belongs. -
PersonName: string
Title:
Person NameName of the person to which the rate override belongs. -
PersonNumber: string
Title:
Person NumberNumber of the person to which the rate override belongs. -
ProjectId: integer
(int64)
Title:
Project IDIdentifier of the project to which the rate override belongs. -
ProjectName: string
Title:
Project NameName of the project to which the rate override belongs. -
ProjectNumber: string
Title:
Project NumberNumber of the project to which the rate override belongs. -
Rate: number
Title:
RateThe rate assigned to the rate override. -
RateOverrideId: integer
(int64)
Title:
Rate Override IDRead Only:trueThe unique identifier of the rate override. -
RateOverrideReason: string
Title:
Rate Override ReasonThe reason for changing the rate override. Enter a valid meaning of the lookup code for the Discount Reason lookup type. -
RateOverrideReasonCode: string
Title:
Rate Override Reason CodeMaximum Length:30The reason code for changing the rate override. -
TaskId: integer
(int64)
Title:
Task IDIdentifier of the task to which the rate override belongs. -
TaskName: string
Title:
Task NameName of the task to which the rate override belongs. -
TaskNumber: string
Title:
Task NumberNumber of the task to which the rate override belongs. -
ToDate: string
(date)
Title:
To DateDate after which the rate override is no longer effective. The date format is YYYY-MM-DD.
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.
Examples
The following example shows how to create a cost rate override by submitting a POST request on the REST resource using cURL.
curl -H "Content-Type: application/vnd.oracle.adf.action+json" --user ppm_cloud_user -X POST -d @example_request_payload.json https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectAndTaskCostRateOverrides/
Request Body Example
The following shows an example of the request body in JSON format.
{
"ProjectName":"Vision-Financials Implementation",
"TaskNumber":"2.1",
"PersonId":"1561",
"ExpenditureTypeId":"10000",
"Rate":60,
"CurrencyCode":"USD",
"FromDate":"2024-01-10",
"ToDate":"2024-04-23",
"RateOverrideReasonCode":"TRAINING"
}
Response Body Example
The following shows an example of the response body in JSON format.
{
"RateOverrideId": 300100587541617,
"ProjectId": 2255,
"ProjectNumber": null,
"ProjectName": "Vision-Financials Implementation",
"TaskId": 3044,
"TaskNumber": "2.1",
"TaskName": null,
"PersonId": 1561,
"PersonNumber": null,
"PersonEmail": null,
"PersonName": null,
"JobId": null,
"JobCode": null,
"JobName": null,
"ExpenditureTypeId": 10000,
"ExpenditureTypeName": null,
"Rate": 60,
"CurrencyCode": "USD",
"CurrencyName": null,
"FromDate": "2024-01-10",
"ToDate": "2024-04-23",
"RateOverrideReasonCode": "TRAINING",
"RateOverrideReason": null,
"CreationDate": "2024-03-07T06:03:49+00:00",
"CreatedBy": "Charles.Smith",
"LastUpdateDate": "2024-03-07T06:03:49.321+00:00",
"LastUpdatedBy": "Charles.Smith",
"links": [
{
"rel": "self",
"href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectandTaskCostRateOverrides/300100587541617",
"name": "projectandTaskCostRateOverrides",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
},
{
"rel": "canonical",
"href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectandTaskCostRateOverrides/300100587541617",
"name": "projectandTaskCostRateOverrides",
"kind": "item"
}
]
}