Add Inventory Adjustment
post
https://server:port/rest/apis/asset/inventory/stockItemDetail/inventoryAdjustment
Creates Stock Transactions when Quantity or Average Unit Price is adjusted for the Stock Item Detail.
Request
There are no request parameters for this operation.
Supported Media Types
- application/xml
- application/json
Root Schema : schema
Type:
Show Source
object-
averageUnitPrice: number
Minimum Value:
0Maximum Value:99999999999.9999Average Unit Price of the Stock Item.Example:120.59 -
externalId: string
Maximum Length:
60A unique identifier of the record as represented in the external system.Example:300001230554550 -
externalSystem: string
Maximum Length:
30The Work and Asset Management code that represents the external system.Example:ERP -
inventoryQty: number
Minimum Value:
-99999999.99999Maximum Value:99999999.99999Inventory quantity of the stock transaction.Example:10 -
stockItemDetailId: string
Maximum Length:
12System-generated ID in the Work and Asset Management system to uniquely identify the Stock Item Detail.Example:815404563965 -
transactionDate: string
(date)
Transaction Date
Root Schema : schema
Type:
Show Source
object-
averageUnitPrice: number
Minimum Value:
0Maximum Value:99999999999.9999Average Unit Price of the Stock Item.Example:120.59 -
externalId: string
Maximum Length:
60A unique identifier of the record as represented in the external system.Example:300001230554550 -
externalSystem: string
Maximum Length:
30The Work and Asset Management code that represents the external system.Example:ERP -
inventoryQty: number
Minimum Value:
-99999999.99999Maximum Value:99999999.99999Inventory quantity of the stock transaction.Example:10 -
stockItemDetailId: string
Maximum Length:
12System-generated ID in the Work and Asset Management system to uniquely identify the Stock Item Detail.Example:815404563965 -
transactionDate: string
(date)
Transaction Date
Response
Supported Media Types
- application/xml
- application/json
200 Response
Success response
Root Schema : W1ProcInvAdj
Type:
Show Source
object-
externalId: string
Maximum Length:
60A unique identifier of the record as represented in the external system.Example:300001230554550 -
stockItemDetailId: string
Maximum Length:
12System-generated ID in the Work and Asset Management system to uniquely identify the Stock Item Detail.Example:815404563965 -
stockTransactionId: string
Maximum Length:
14Stock Transaction ID
400 Response
Bad Request
Root Schema : problemDetailDocument
Type:
Show Source
object-
detail: string
Maximum Length:
60The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0Maximum Value:9999The HTTP Status code for the error. -
problemInstance: string
Maximum Length:
60Fully 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:
60URL 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:
60The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object-
callSequence: string
Maximum Length:
60Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0Maximum Value:0Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999Maximum Value:99999Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60Name of the program that encountered the error.
500 Response
Internal Server Error
Root Schema : problemDetailDocument
Type:
Show Source
object-
detail: string
Maximum Length:
60The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0Maximum Value:9999The HTTP Status code for the error. -
problemInstance: string
Maximum Length:
60Fully 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:
60URL 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:
60The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object-
callSequence: string
Maximum Length:
60Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0Maximum Value:0Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999Maximum Value:99999Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60Name of the program that encountered the error.