Update a joint venture operational measure
patch
/fscmRestApi/resources/11.13.18.05/jointVentureOperationalMeasures/{operationalMeasureId}
Request
Path Parameters
-
operationalMeasureId(required): integer(int64)
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
measureStatus: string
Title:
StatusThe status of the operational measure for generating statistical journal entries. -
measureValue: number
Title:
Measure ValueThe value of the operational measure. -
operationalMeasureDFF: array
operationalMeasureDFF
Nested Schema : jointVentureOperationalMeasures-operationalMeasureDFF-item-patch-request
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context SegmentMaximum Length:150Context Segment -
__FLEX_Context_DisplayValue: string
Title:
Context SegmentContext Segment
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 : jointVentureOperationalMeasures-item-response
Type:
Show Source
object-
accountingHeaderId: integer
(int64)
Title:
Accounting Header IDRead Only:trueThe unique identifier of the accounting header. -
createdBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the operational measure. -
creationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date and time when the operational measure was created. -
documentNumber: string
Title:
Document NumberRead Only:trueMaximum Length:240The unique document reference for the joint venture accounting transaction. -
jointVenture: string
Title:
Joint VentureThe unique name of the joint venture. -
jointVentureDescription: string
Title:
Joint Venture DescriptionRead Only:trueMaximum Length:240The description of the joint venture. -
lastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date and time when the operational measure was last updated. -
lastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the operational measure. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
measureDate: string
(date)
Title:
Measure DateThe date of the operational measure. -
measureLineNumber: integer
(int32)
Title:
Line NumberRead Only:trueThe line number of the operational measure that's incremented when processing reversals and corrections of statistical journal entries. -
measureLineType: string
Title:
Line TypeRead Only:trueMaximum Length:80The type of the operational measure line for processing reversals and corrections of statistical journal entries. Valid values are Original, Canceled, and Reversed. -
measureStatus: string
Title:
StatusThe status of the operational measure for generating statistical journal entries. -
measureType: string
Title:
Measure TypeThe unique name of the measure type. -
measureTypeDescription: string
Title:
Measure Type DescriptionRead Only:trueMaximum Length:240The description of the measure type. -
measureValue: number
Title:
Measure ValueThe value of the operational measure. -
measureValueType: string
Title:
Value TypeRead Only:trueMaximum Length:80The value type used to identify the operational measure value as a number or a percent. -
operationalMeasureDFF: array
operationalMeasureDFF
-
operationalMeasureId: integer
(int64)
Title:
Operational Measure IDRead Only:trueThe unique identifier of the operational measure. -
primarySegment: string
Title:
Primary SegmentRead Only:trueMaximum Length:255The name of the account segment labeled as the primary segment in the chart of accounts instance associated with the joint venture. -
reference: string
Title:
ReferenceMaximum Length:64The reference associated with the operational measure. -
segmentValue: string
Title:
Primary Segment ValueMaximum Length:25A valid value defined for the segment labeled as the primary segment within the chart of accounts instance associated with the joint venture. -
segmentValueDescription: string
Title:
Primary Segment Value DescriptionRead Only:trueThe description of the primary segment value. -
unitOfMeasure: string
Title:
Unit of MeasureRead Only:trueMaximum Length:80The unit of measure for the operational measure value.
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.
Nested Schema : jointVentureOperationalMeasures-operationalMeasureDFF-item-response
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context SegmentMaximum Length:150Context Segment -
__FLEX_Context_DisplayValue: string
Title:
Context SegmentContext Segment -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
OperationalMeasureId: integer
(int64)
Title:
Operational Measure IDRead Only:true
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- operationalMeasureDFF
-
Parameters:
- operationalMeasureId:
$request.path.operationalMeasureId
- operationalMeasureId:
- reverseOperationalMeasure
-
Parameters:
- operationalMeasureId:
$request.path.operationalMeasureId
Reverses the operational measure value associated with a processed accounting transaction. If the accounting event is unprocessed, the operational measure's association with the event is removed so that it's not included when the accounting transaction is processed. - operationalMeasureId:
Examples
The following example shows how to update a joint venture operational measure by submitting a PATCH request on the REST resource using cURL.
curl -i -u "username:password" -H "Content-type: application/json" -X PATCH -d <payload> "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/jointVentureOperationalMeasures/300100544400992"
Example Request Payload
The following example shows the contents of the request body in JSON format:
{
"measureValue": 145.5578
}Example Response Body
The following example shows the contents of the response body in JSON format:
{
"operationalMeasureId": 300100544400992,
"measureType": "PRODUCTIONUNITS",
"measureTypeDescription": null,
"jointVenture": "ALBERTA",
"jointVentureDescription": "Alberta Production",
"primarySegment": "HEPPCostcenter",
"segmentValue": "1005",
"segmentValueDescription": "Bakken Wells Cost Center",
"reference": "Bakken Wells",
"measureDate": "2021-08-25",
"measureValue": 145.5578,
"unitOfMeasure": "Units",
"measureValueType": "Number",
"createdBy": "username",
"creationDate": "2021-08-25T06:11:15+00:00",
"lastUpdatedBy": "username",
"lastUpdateDate": "2021-08-31T06:21:45+00:00",
"links": [
{
"rel": "self",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/jointVentureOperationalMeasures/300100544400992",
"name": "jointVentureOperationalMeasures",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
}
},
{
"rel": "canonical",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/jointVentureOperationalMeasures/300100544400992",
"name": "jointVentureOperationalMeasures",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/jointVentureOperationalMeasures/300100544400992/child/operationalMeasureDFF",
"name": "operationalMeasureDFF",
"kind": "collection"
}
]
}