Create details
post
/fscmRestApi/resources/11.13.18.05/maintenanceOperationTransactions/{maintenanceOperationTransactionsUniqID}/child/OperationTransactionDetail
Request
Path Parameters
-
maintenanceOperationTransactionsUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Maintenance Work Order Operation Transactions resource and used to uniquely identify an instance of Maintenance Work Order Operation Transactions. The client should not generate the hash key value. Instead, the client should query on the Maintenance Work Order Operation Transactions collection resource in order to navigate to a specific instance of Maintenance Work Order Operation Transactions to get the hash key.
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
-
FromDispatchState(required): string
Title:
From Dispatch State
Maximum Length:30
Value that reflects the state of the operation in the maintenance work order before operation transaction. Valid values for maintenance operation from operation transaction perspective are READY and COMPLETE. A list of accepted values is defined in the lookup type ORA_WIE_DISPATCH_STATE. -
OperationTransactionDFF: array
Flexfields for Operation Transactions
Title:
Flexfields for Operation Transactions
The Flexfields for Operation Transactions resource manages details about the descriptive flexfields that the maintenance operation transaction uses. -
OrganizationCode: string
Title:
Organization Code
Maximum Length:30
Abbreviation that identifies the organization where the operation transaction is performed. This organization will be same as the maintenance work order organization. -
SourceSystemCode: string
Title:
Source System Code
Maximum Length:30
Abbreviation that identifies the source application that started this operation transaction. This code must be registered in Oracle Manufacturing Cloud. The application validates this value against the WIE_SOURCE_SYSTEMS_V database view. -
ToDispatchState(required): string
Title:
To Dispatch State
Maximum Length:30
Value that reflects the to be state of the operation in the maintenance work order post operation transaction. Valid values for maintenance operation are READY and COMPLETE. A list of accepted values is defined in the lookup type ORA_WIE_DISPATCH_STATE. -
TransactionDate: string
(date-time)
Title:
Transaction Date
Date an time when the operation transaction is performed. The valid date range is from the work order released date till the system date. Future date is not valid and the default value is system date. -
TransactionNote: string
Title:
Transaction Note
Maximum Length:4000
Text which reflects the details captured during the operation transaction. This is optional to perform the operation transaction. -
WoOperationSequenceNumber: number
Title:
Operation Sequence
Number that uniquely identifies the operation within the maintenance work orders. An operation transaction is performed against the same in the maintenance work order. -
WoOperationTransactionId: integer
(int64)
The value that uniquely identifies the operation transaction performed against the maintenance work order. If the transaction is successful the value will be a number, otherwise the value will be 0. This attribute is included in the response payload.
-
WorkOrderNumber: string
Title:
Work Order
Maximum Length:120
Number uniquely identifies the maintenance work order. The operation transaction is performed against the operation within the maintenance work order.
Nested Schema : Flexfields for Operation Transactions
Type:
array
Title:
Flexfields for Operation Transactions
The Flexfields for Operation Transactions resource manages details about the descriptive flexfields that the maintenance operation transaction uses.
Show Source
Nested Schema : schema
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Segment
Maximum Length:80
Descriptive flexfield context name for operation transactions. -
__FLEX_Context_DisplayValue: string
Title:
Context Segment
-
Discriminator: string
-
InterfaceRowId: integer
(int64)
Value that uniquely identifies the operation transaction detail that references a descriptive flexfield. It is recommended that you not include this attribute in the request payload. The response payload contains the primary key of the operation transaction detail that references the descriptive flexfield.
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 : maintenanceOperationTransactions-OperationTransactionDetail-item-response
Type:
Show Source
object
-
ErrorMessageNames: string
Read Only:
true
Maximum Length:255
Names of the error messages that occurred when processing the operation transaction. Each error message name corresponds to one text string that the ErrorMessages attribute contains. A comma ( , ) separates each message name. -
ErrorMessages: string
Read Only:
true
Maximum Length:2000
Text of the error messages that occurred when processing the operation transaction. Each text string for each error message corresponds to one error message name that the ErrorMessageNames attribute contains. A double dollar sign ($$) separated each message. -
FromDispatchState: string
Title:
From Dispatch State
Maximum Length:30
Value that reflects the state of the operation in the maintenance work order before operation transaction. Valid values for maintenance operation from operation transaction perspective are READY and COMPLETE. A list of accepted values is defined in the lookup type ORA_WIE_DISPATCH_STATE. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
OperationTransactionDFF: array
Flexfields for Operation Transactions
Title:
Flexfields for Operation Transactions
The Flexfields for Operation Transactions resource manages details about the descriptive flexfields that the maintenance operation transaction uses. -
OrganizationCode: string
Title:
Organization Code
Maximum Length:30
Abbreviation that identifies the organization where the operation transaction is performed. This organization will be same as the maintenance work order organization. -
SourceSystemCode: string
Title:
Source System Code
Maximum Length:30
Abbreviation that identifies the source application that started this operation transaction. This code must be registered in Oracle Manufacturing Cloud. The application validates this value against the WIE_SOURCE_SYSTEMS_V database view. -
ToDispatchState: string
Title:
To Dispatch State
Maximum Length:30
Value that reflects the to be state of the operation in the maintenance work order post operation transaction. Valid values for maintenance operation are READY and COMPLETE. A list of accepted values is defined in the lookup type ORA_WIE_DISPATCH_STATE. -
TransactionDate: string
(date-time)
Title:
Transaction Date
Date an time when the operation transaction is performed. The valid date range is from the work order released date till the system date. Future date is not valid and the default value is system date. -
TransactionNote: string
Title:
Transaction Note
Maximum Length:4000
Text which reflects the details captured during the operation transaction. This is optional to perform the operation transaction. -
WoOperationSequenceNumber: number
Title:
Operation Sequence
Number that uniquely identifies the operation within the maintenance work orders. An operation transaction is performed against the same in the maintenance work order. -
WoOperationTransactionId: integer
(int64)
The value that uniquely identifies the operation transaction performed against the maintenance work order. If the transaction is successful the value will be a number, otherwise the value will be 0. This attribute is included in the response payload.
-
WorkOrderNumber: string
Title:
Work Order
Maximum Length:120
Number uniquely identifies the maintenance work order. The operation transaction is performed against the operation within the maintenance work order.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Flexfields for Operation Transactions
Type:
array
Title:
Flexfields for Operation Transactions
The Flexfields for Operation Transactions resource manages details about the descriptive flexfields that the maintenance operation transaction uses.
Show Source
Nested Schema : link
Type:
Show Source
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed 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 : maintenanceOperationTransactions-OperationTransactionDetail-OperationTransactionDFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Segment
Maximum Length:80
Descriptive flexfield context name for operation transactions. -
__FLEX_Context_DisplayValue: string
Title:
Context Segment
-
Discriminator: string
-
InterfaceRowId: integer
(int64)
Value that uniquely identifies the operation transaction detail that references a descriptive flexfield. It is recommended that you not include this attribute in the request payload. The response payload contains the primary key of the operation transaction detail that references the descriptive flexfield.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Links
- OperationTransactionDFF
-
Parameters:
- OperationTransactionDetailUniqID:
$request.path.OperationTransactionDetailUniqID
- maintenanceOperationTransactionsUniqID:
$request.path.maintenanceOperationTransactionsUniqID
The Flexfields for Operation Transactions resource manages details about the descriptive flexfields that the maintenance operation transaction uses. - OperationTransactionDetailUniqID: