Create details

post

/fscmRestApi/resources/11.13.18.05/maintenanceResourceTransactions/{maintenanceResourceTransactionsUniqID}/child/ResourceTransactionDetail

Request

Path Parameters
  • This is the hash key of the attributes which make up the composite key for the Maintenance Work Order Resource Transactions resource and used to uniquely identify an instance of Maintenance Work Order Resource Transactions. The client should not generate the hash key value. Instead, the client should query on the Maintenance Work Order Resource Transactions collection resource in order to navigate to a specific instance of Maintenance Work Order Resource Transactions to get the hash key.
Header Parameters
  • 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".
  • 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
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Work order asset identifier for which the resource transactions are performed.
  • Maximum Length: 80
    Work order asset number for which the resource transactions are performed.
  • Maximum Length: 255
    Abbreviation that uniquely identifies the equipment resource in the manufacturing plant.
  • Value that uniquely identifies the resource of equipment type.
  • Title: Equipment Identifier
    Maximum Length: 80
    Value that uniquely identifies the equipment resource in the manufacturing plant.
  • Maximum Length: 255
    Abbreviation that uniquely identifies the labor resource in the manufacturing plant.
  • Value that uniquely identifies the resource of labor type.
  • Title: Labor Identifier
    Maximum Length: 30
    Value that uniquely identifies the labor resource in the manufacturing plant.
  • Title: Operation Sequence
    Number that uniquely identifies the operation in each maintenance work.order. The application transacts each resource for an operation in the maintenance work order.
  • Title: Organization Code
    Maximum Length: 30
    Abbreviation that identifies the organization where the application performs the resource transaction. This organization is the same as the organization for the maintenance work order.
  • Maximum Length: 30
    Abbreviation that uniquely identifies the reason for repair from the condition event.
  • Maximum Length: 30
    Abbreviation that uniquely identifies the repair transaction from the condition event.
  • Title: Resource Activity Code
    Maximum Length: 30
    Abbreviation that identifies the activity that the application performed for an operation in the maintenance work order. This attribute is optional for the resource transaction. Lookup ORA_WIS_RESOURCE_ACTIVITY defines the following predefined values that you can use: Run, Teardown, or Setup. You can modify these values.
  • Title: Resource Code
    Maximum Length: 30
    Abbreviation that uniquely identifies the resource that the application used for an operation in the maintenance work order.
  • Title: Resource Sequence
    Number that identifies the resource in the operation for the maintenance work order. The application can use the same resource sequence number for more than one resource, and can simultaneously call these resources. If the application simultaneously calls them, then you must specify one of the resources as the principal resource. If scheduled equals YES for the principal resource, then scheduled can equal YES or NO for the other resources. If scheduled equals NO for the principal resource, then scheduled must equal NO for the other resources.
  • Descriptive Flexfields
    Title: Descriptive Flexfields
    The resource Flexfields for Transactions for Maintenance Resources gets details from flexfields that store information about the transaction.
  • Title: Source Header Reference
    Maximum Length: 240
    Reference to the object header in the source system.
  • Title: Source Header Reference ID
    Value that uniquely identifies the object header in the source system.
  • Title: Source Line Reference
    Maximum Length: 240
    Reference to the object line in the source system.
  • Title: Source Line Reference ID
    Value that uniquely identifies the object line in the source system.
  • Title: Source System Code
    Maximum Length: 30
    Abbreviation that identifies the source system that started this operation transaction. You must register this code in Manufacturing Cloud. The application validates this value against the WIE_SOURCE_SYSTEMS_V database view.
  • Title: Transaction Date
    Date and time when the application performed the transaction for the resource. You can use dates starting with the release date for the work order up to the current system date. You cannot use a date that occurs after the current system date. The current system date is the default value.
  • Title: Transaction Quantity
    Quantity of the resource charged or reversed against the maintenance work order.
  • Title: Transaction Type Code
    Maximum Length: 30
    Contains one of the following values. RESOURCE_CHARGE: charge the resource against the operation for the maintenance work order. RESOURCE_REVERSE: reverse the charges of the resource against the operation for the maintenance work order. This attribute is required for the resource transaction. Lookup ORA_WIE_TRANSACTION_TYPES defines the values that you can use.
  • Maximum Length: 30
    Abbreviation that uniquely identifies the work accomplished from the condition event.
  • Title: Work Order
    Maximum Length: 120
    Number that uniquely identifies the maintenance work order. The application performs the resource transaction for this maintenance work order.
Nested Schema : Descriptive Flexfields
Type: array
Title: Descriptive Flexfields
The resource Flexfields for Transactions for Maintenance Resources gets details from flexfields that store information about the transaction.
Show Source
Nested Schema : maintenanceResourceTransactions-ResourceTransactionDetail-ResourceTransactionDFF-item-post-request
Type: object
Show Source
  • Title: Context Segment
    Maximum Length: 80
    Descriptive flexfield context of the resource transaction.
  • Title: Context Segment
  • This is a transient attribute. The value of this attribute will always be null. Ignore this attribute.
  • Primary key of the ResourceTransactionDetail record that references a descriptive flefield. It is recommended that you not include this attribute in the request payload. The response payload contains the primary key of the ResourceTransactionDetail that references the descriptive flefield.
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • 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".
  • 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.
Body ()
Root Schema : maintenanceResourceTransactions-ResourceTransactionDetail-item-response
Type: object
Show Source
  • Work order asset identifier for which the resource transactions are performed.
  • Maximum Length: 80
    Work order asset number for which the resource transactions are performed.
  • Maximum Length: 255
    Abbreviation that uniquely identifies the equipment resource in the manufacturing plant.
  • Value that uniquely identifies the resource of equipment type.
  • Title: Equipment Identifier
    Maximum Length: 80
    Value that uniquely identifies the equipment resource in the manufacturing plant.
  • Read Only: true
    Maximum Length: 255
    Names of the error messages that occurred when processing the item transaction. Each error message name corresponds to one text string that the ErrorMessages attribute contains. A comma ( , ) separate each message name.
  • Read Only: true
    Maximum Length: 2000
    Text of the error messages that occurred when processing the item transaction. Each text string for each error message corresponds to one error message name that the ErrorMessageNames attribute contains. Double dollar signs ($$) separate each message.
  • Maximum Length: 255
    Abbreviation that uniquely identifies the labor resource in the manufacturing plant.
  • Value that uniquely identifies the resource of labor type.
  • Title: Labor Identifier
    Maximum Length: 30
    Value that uniquely identifies the labor resource in the manufacturing plant.
  • Links
  • Title: Operation Sequence
    Number that uniquely identifies the operation in each maintenance work.order. The application transacts each resource for an operation in the maintenance work order.
  • Title: Organization Code
    Maximum Length: 30
    Abbreviation that identifies the organization where the application performs the resource transaction. This organization is the same as the organization for the maintenance work order.
  • Maximum Length: 30
    Abbreviation that uniquely identifies the reason for repair from the condition event.
  • Maximum Length: 30
    Abbreviation that uniquely identifies the repair transaction from the condition event.
  • Title: Resource Activity Code
    Maximum Length: 30
    Abbreviation that identifies the activity that the application performed for an operation in the maintenance work order. This attribute is optional for the resource transaction. Lookup ORA_WIS_RESOURCE_ACTIVITY defines the following predefined values that you can use: Run, Teardown, or Setup. You can modify these values.
  • Title: Resource Code
    Maximum Length: 30
    Abbreviation that uniquely identifies the resource that the application used for an operation in the maintenance work order.
  • Title: Resource Sequence
    Number that identifies the resource in the operation for the maintenance work order. The application can use the same resource sequence number for more than one resource, and can simultaneously call these resources. If the application simultaneously calls them, then you must specify one of the resources as the principal resource. If scheduled equals YES for the principal resource, then scheduled can equal YES or NO for the other resources. If scheduled equals NO for the principal resource, then scheduled must equal NO for the other resources.
  • Descriptive Flexfields
    Title: Descriptive Flexfields
    The resource Flexfields for Transactions for Maintenance Resources gets details from flexfields that store information about the transaction.
  • Title: Source Header Reference
    Maximum Length: 240
    Reference to the object header in the source system.
  • Title: Source Header Reference ID
    Value that uniquely identifies the object header in the source system.
  • Title: Source Line Reference
    Maximum Length: 240
    Reference to the object line in the source system.
  • Title: Source Line Reference ID
    Value that uniquely identifies the object line in the source system.
  • Title: Source System Code
    Maximum Length: 30
    Abbreviation that identifies the source system that started this operation transaction. You must register this code in Manufacturing Cloud. The application validates this value against the WIE_SOURCE_SYSTEMS_V database view.
  • Title: Transaction Date
    Date and time when the application performed the transaction for the resource. You can use dates starting with the release date for the work order up to the current system date. You cannot use a date that occurs after the current system date. The current system date is the default value.
  • Title: Transaction Quantity
    Quantity of the resource charged or reversed against the maintenance work order.
  • Title: Transaction Type Code
    Maximum Length: 30
    Contains one of the following values. RESOURCE_CHARGE: charge the resource against the operation for the maintenance work order. RESOURCE_REVERSE: reverse the charges of the resource against the operation for the maintenance work order. This attribute is required for the resource transaction. Lookup ORA_WIE_TRANSACTION_TYPES defines the values that you can use.
  • Read Only: true
    Value that uniquely identifies the resource transaction that the application performed for the maintenance work order. If the transaction successfully finishes, then WoResourceTransactionId contains the number that identifiies this transaction. If the transaction does not successfully finish, then WoResourceTransactionId contains 0 (zero), the ErrorsExistFlag attribute contains true, and the ErrorMessages and ErrorMessageNames attributes contain error details. The response payload includes this attribute.
  • Maximum Length: 30
    Abbreviation that uniquely identifies the work accomplished from the condition event.
  • Title: Work Order
    Maximum Length: 120
    Number that uniquely identifies the maintenance work order. The application performs the resource transaction for this maintenance work order.
Nested Schema : Descriptive Flexfields
Type: array
Title: Descriptive Flexfields
The resource Flexfields for Transactions for Maintenance Resources gets details from flexfields that store information about the transaction.
Show Source
Nested Schema : maintenanceResourceTransactions-ResourceTransactionDetail-ResourceTransactionDFF-item-response
Type: object
Show Source
  • Title: Context Segment
    Maximum Length: 80
    Descriptive flexfield context of the resource transaction.
  • Title: Context Segment
  • This is a transient attribute. The value of this attribute will always be null. Ignore this attribute.
  • Primary key of the ResourceTransactionDetail record that references a descriptive flefield. It is recommended that you not include this attribute in the request payload. The response payload contains the primary key of the ResourceTransactionDetail that references the descriptive flefield.
  • Links
Back to Top