Manage Stock Item Detail
post
https://server:port/rest/apis/asset/inventory/stockItemDetail/
Creates or updates Stock Item Detail records.
Request
There are no request parameters for this operation.
Supported Media Types
- application/xml
- application/json
Root Schema : schema
Type:
Show Source
object
-
externalId: string
Maximum Length:
60
A unique identifier of the record as represented in the external system.Example:300001230554550
-
externalSystem: string
Maximum Length:
30
The Work and Asset Management code that represents the external system.Example:ERP
-
inventory: object
inventory
-
purchaseToIssueRatio: number
Minimum Value:
0
Maximum Value:99999999
Number representing the relationship between the Unit of Purchase and the Unit of Issue. This ratio can be used to determine the number of units issued from each unit purchased.Example:1
-
status: string
Maximum Length:
12
The current status of the Stock Item Detail.Example:ACTIVE
-
stockItemDetailClass: string
Allowed Values:
[ "W1DP", "W1ER", "W1IL", "W1IN", "W1IT", "W1SD", "W1SL" ]
Stock Item Detail Class * `W1DP` - Direct Purchase, * `W1ER` - Expensed at Receipt, * `W1IL` - Inventory Lot Managed, * `W1IN` - Inventory, * `W1IT` - Inventory Tracked, * `W1SD` - Specific Direct Purchase, * `W1SL` - Specific LotExample:W1IN
-
stockItemDetailId: string
Maximum Length:
12
System-generated ID in the Work and Asset Management system to uniquely identify the Stock Item Detail.Example:815404563965
-
stockItemExternalId: string
Maximum Length:
60
Unique identification of the Stock Item in the external system.Example:500000228404042
-
storeroomExternalId: string
Maximum Length:
60
Unique identification of the Storeroom in the external system.Example:300000058336894
-
unitOfIssue: string
Maximum Length:
30
Defines the type of unit used to issue item from the storeroom.Example:EACH
-
unitOfPurchase: string
Maximum Length:
30
Defines the type of unit used to when purchasing items to replenish inventory to the storeroom.Example:BOX
Nested Schema : inventory
Type:
Show Source
object
-
segment1: string
Maximum Length:
254
Enterprise Resource Planning Account Segment.Example:012
-
segment10: string
Maximum Length:
254
Enterprise Resource Planning Account Segment.Example:012
-
segment2: string
Maximum Length:
254
Enterprise Resource Planning Account Segment.Example:012
-
segment3: string
Maximum Length:
254
Enterprise Resource Planning Account Segment.Example:012
-
segment4: string
Maximum Length:
254
Enterprise Resource Planning Account Segment.Example:012
-
segment5: string
Maximum Length:
254
Enterprise Resource Planning Account Segment.Example:012
-
segment6: string
Maximum Length:
254
Enterprise Resource Planning Account Segment.Example:012
-
segment7: string
Maximum Length:
254
Enterprise Resource Planning Account Segment.Example:012
-
segment8: string
Maximum Length:
254
Enterprise Resource Planning Account Segment.Example:012
-
segment9: string
Maximum Length:
254
Enterprise Resource Planning Account Segment.Example:012
Root Schema : schema
Type:
Show Source
object
-
externalId: string
Maximum Length:
60
A unique identifier of the record as represented in the external system.Example:300001230554550
-
externalSystem: string
Maximum Length:
30
The Work and Asset Management code that represents the external system.Example:ERP
-
inventory: object
inventory
-
purchaseToIssueRatio: number
Minimum Value:
0
Maximum Value:99999999
Number representing the relationship between the Unit of Purchase and the Unit of Issue. This ratio can be used to determine the number of units issued from each unit purchased.Example:1
-
status: string
Maximum Length:
12
The current status of the Stock Item Detail.Example:ACTIVE
-
stockItemDetailClass: string
Allowed Values:
[ "W1DP", "W1ER", "W1IL", "W1IN", "W1IT", "W1SD", "W1SL" ]
Stock Item Detail Class * `W1DP` - Direct Purchase, * `W1ER` - Expensed at Receipt, * `W1IL` - Inventory Lot Managed, * `W1IN` - Inventory, * `W1IT` - Inventory Tracked, * `W1SD` - Specific Direct Purchase, * `W1SL` - Specific LotExample:W1IN
-
stockItemDetailId: string
Maximum Length:
12
System-generated ID in the Work and Asset Management system to uniquely identify the Stock Item Detail.Example:815404563965
-
stockItemExternalId: string
Maximum Length:
60
Unique identification of the Stock Item in the external system.Example:500000228404042
-
storeroomExternalId: string
Maximum Length:
60
Unique identification of the Storeroom in the external system.Example:300000058336894
-
unitOfIssue: string
Maximum Length:
30
Defines the type of unit used to issue item from the storeroom.Example:EACH
-
unitOfPurchase: string
Maximum Length:
30
Defines the type of unit used to when purchasing items to replenish inventory to the storeroom.Example:BOX
Nested Schema : inventory
Type:
Show Source
object
-
segment1: string
Maximum Length:
254
Enterprise Resource Planning Account Segment.Example:012
-
segment10: string
Maximum Length:
254
Enterprise Resource Planning Account Segment.Example:012
-
segment2: string
Maximum Length:
254
Enterprise Resource Planning Account Segment.Example:012
-
segment3: string
Maximum Length:
254
Enterprise Resource Planning Account Segment.Example:012
-
segment4: string
Maximum Length:
254
Enterprise Resource Planning Account Segment.Example:012
-
segment5: string
Maximum Length:
254
Enterprise Resource Planning Account Segment.Example:012
-
segment6: string
Maximum Length:
254
Enterprise Resource Planning Account Segment.Example:012
-
segment7: string
Maximum Length:
254
Enterprise Resource Planning Account Segment.Example:012
-
segment8: string
Maximum Length:
254
Enterprise Resource Planning Account Segment.Example:012
-
segment9: string
Maximum Length:
254
Enterprise Resource Planning Account Segment.Example:012
Response
Supported Media Types
- application/xml
- application/json
200 Response
Success response
Root Schema : W1ProcSID
Type:
Show Source
object
-
externalId: string
Maximum Length:
60
A unique identifier of the record as represented in the external system.Example:300001230554550
-
stockItemDetailId: string
Maximum Length:
12
System-generated ID in the Work and Asset Management system to uniquely identify the Stock Item Detail.Example:815404563965
400 Response
Bad Request
Root Schema : problemDetailDocument
Type:
Show Source
object
-
detail: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0
Maximum Value:9999
The HTTP Status code for the error. -
problemInstance: string
Maximum Length:
60
Fully qualified URL consisting of the Base URI Timestamp of error in ISO format, the User used for the transaction, the Message Category within Oracle Utilities Application Framework, the Message Number within Oracle Utilities Application Framework, the Request URL and the HTTP method used for the transaction. -
problemType: string
Maximum Length:
60
URL of the format "A/message/X/Y" where A is the base URI, X is the Message Category and Y is the Message Number within Oracle Utilities Application Framework. -
serverMessage: object
serverMessage
-
stackTrace: string
Maximum Length:
60
The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object
-
callSequence: string
Maximum Length:
60
Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0
Maximum Value:0
Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999
Maximum Value:99999
Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60
Name of the program that encountered the error.
500 Response
Internal Server Error
Root Schema : problemDetailDocument
Type:
Show Source
object
-
detail: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0
Maximum Value:9999
The HTTP Status code for the error. -
problemInstance: string
Maximum Length:
60
Fully qualified URL consisting of the Base URI Timestamp of error in ISO format, the User used for the transaction, the Message Category within Oracle Utilities Application Framework, the Message Number within Oracle Utilities Application Framework, the Request URL and the HTTP method used for the transaction. -
problemType: string
Maximum Length:
60
URL of the format "A/message/X/Y" where A is the base URI, X is the Message Category and Y is the Message Number within Oracle Utilities Application Framework. -
serverMessage: object
serverMessage
-
stackTrace: string
Maximum Length:
60
The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object
-
callSequence: string
Maximum Length:
60
Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0
Maximum Value:0
Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999
Maximum Value:99999
Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60
Name of the program that encountered the error.