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
Request Body - application/xml ()
Root Schema : schema
Type: object
Show Source
  • Maximum Length: 60
    A unique identifier of the record as represented in the external system.
    Example: 300001230554550
  • Maximum Length: 30
    The Work and Asset Management code that represents the external system.
    Example: ERP
  • inventory
  • 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
  • Maximum Length: 12
    The current status of the Stock Item Detail.
    Example: ACTIVE
  • 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 Lot
    Example: W1IN
  • Maximum Length: 12
    System-generated ID in the Work and Asset Management system to uniquely identify the Stock Item Detail.
    Example: 815404563965
  • Maximum Length: 60
    Unique identification of the Stock Item in the external system.
    Example: 500000228404042
  • Maximum Length: 60
    Unique identification of the Storeroom in the external system.
    Example: 300000058336894
  • Maximum Length: 30
    Defines the type of unit used to issue item from the storeroom.
    Example: EACH
  • 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: object
Show Source
  • Maximum Length: 254
    Enterprise Resource Planning Account Segment.
    Example: 012
  • Maximum Length: 254
    Enterprise Resource Planning Account Segment.
    Example: 012
  • Maximum Length: 254
    Enterprise Resource Planning Account Segment.
    Example: 012
  • Maximum Length: 254
    Enterprise Resource Planning Account Segment.
    Example: 012
  • Maximum Length: 254
    Enterprise Resource Planning Account Segment.
    Example: 012
  • Maximum Length: 254
    Enterprise Resource Planning Account Segment.
    Example: 012
  • Maximum Length: 254
    Enterprise Resource Planning Account Segment.
    Example: 012
  • Maximum Length: 254
    Enterprise Resource Planning Account Segment.
    Example: 012
  • Maximum Length: 254
    Enterprise Resource Planning Account Segment.
    Example: 012
  • Maximum Length: 254
    Enterprise Resource Planning Account Segment.
    Example: 012
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Maximum Length: 60
    A unique identifier of the record as represented in the external system.
    Example: 300001230554550
  • Maximum Length: 30
    The Work and Asset Management code that represents the external system.
    Example: ERP
  • inventory
  • 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
  • Maximum Length: 12
    The current status of the Stock Item Detail.
    Example: ACTIVE
  • 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 Lot
    Example: W1IN
  • Maximum Length: 12
    System-generated ID in the Work and Asset Management system to uniquely identify the Stock Item Detail.
    Example: 815404563965
  • Maximum Length: 60
    Unique identification of the Stock Item in the external system.
    Example: 500000228404042
  • Maximum Length: 60
    Unique identification of the Storeroom in the external system.
    Example: 300000058336894
  • Maximum Length: 30
    Defines the type of unit used to issue item from the storeroom.
    Example: EACH
  • 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: object
Show Source
  • Maximum Length: 254
    Enterprise Resource Planning Account Segment.
    Example: 012
  • Maximum Length: 254
    Enterprise Resource Planning Account Segment.
    Example: 012
  • Maximum Length: 254
    Enterprise Resource Planning Account Segment.
    Example: 012
  • Maximum Length: 254
    Enterprise Resource Planning Account Segment.
    Example: 012
  • Maximum Length: 254
    Enterprise Resource Planning Account Segment.
    Example: 012
  • Maximum Length: 254
    Enterprise Resource Planning Account Segment.
    Example: 012
  • Maximum Length: 254
    Enterprise Resource Planning Account Segment.
    Example: 012
  • Maximum Length: 254
    Enterprise Resource Planning Account Segment.
    Example: 012
  • Maximum Length: 254
    Enterprise Resource Planning Account Segment.
    Example: 012
  • Maximum Length: 254
    Enterprise Resource Planning Account Segment.
    Example: 012
Back to Top

Response

Supported Media Types

200 Response

Success response
Body ()
Root Schema : W1ProcSID
Type: object
Show Source
  • Maximum Length: 60
    A unique identifier of the record as represented in the external system.
    Example: 300001230554550
  • 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
Body ()
Root Schema : problemDetailDocument
Type: object
Show Source
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 9999
    The HTTP Status code for the error.
  • 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.
  • 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
  • Maximum Length: 60
    The stack trace shows where the error occurs during the execution of a program.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type: object
Show Source
  • Maximum Length: 60
    Delimited sequence of programs called.
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 0
    Message Category within Oracle Utilities Application Framework.
  • Minimum Value: -99999
    Maximum Value: 99999
    Message Number within Oracle Utilities Application Framework.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
  • Maximum Length: 60
    Name of the program that encountered the error.

500 Response

Internal Server Error
Body ()
Root Schema : problemDetailDocument
Type: object
Show Source
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 9999
    The HTTP Status code for the error.
  • 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.
  • 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
  • Maximum Length: 60
    The stack trace shows where the error occurs during the execution of a program.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type: object
Show Source
  • Maximum Length: 60
    Delimited sequence of programs called.
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 0
    Message Category within Oracle Utilities Application Framework.
  • Minimum Value: -99999
    Maximum Value: 99999
    Message Number within Oracle Utilities Application Framework.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
  • Maximum Length: 60
    Name of the program that encountered the error.
Back to Top