Synchronize Purchase Order

post

https://server:port/rest/apis/asset/purchasing/purchaseOrderSynchronization/

This REST service synchronizes an Enterprise Resource Planning (ERP) Purchase Order with the Work and Asset Management Purchase Order inbound integration object.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/xml ()
Root Schema : schema
Type: object
Show Source
Nested Schema : input
Type: object
Show Source
  • Maximum Length: 36
    Represents Enterprise Resource Planning's unique system-generated item ID. Work and Asset Management's externalReferenceId and resourceTypeExternalId use the same value.
    Example: 300000230453798
  • Maximum Length: 30
    The default value for the Enterprise Resource Planning Integration. You can retrieve the correct value from the property name wacs.externalsystem in the ERPWACS_ConfigProps file. This value must be defined for Work and Asset Management to function properly.
    Example: ERP
  • purchaseOrder
Nested Schema : output
Type: object
Show Source
Nested Schema : purchaseOrder
Type: object
Show Source
Nested Schema : header
Type: object
Show Source
Nested Schema : lines
Type: object
Show Source
Nested Schema : location
Type: object
Show Source
  • Maximum Length: 254
    The first line for the address, associated with the Purchase Order.
    Example: 300 New Jersey Avenue
  • Maximum Length: 254
    The second line for the address, associated with the Purchase Order.
    Example: Suite 1000
  • Maximum Length: 254
    The third line for the address, associated with the Purchase Order.
  • Maximum Length: 254
    The fourth line for the address, associated with the Purchase Order.
  • Maximum Length: 90
    The City for the PO address
    Example: Washington
  • Maximum Length: 3
    The Country Code for the PO address
  • Maximum Length: 90
    The County for the PO address
    Example: US
  • Maximum Length: 64
    The Cross Street the PO address
  • Maximum Length: 11
    The Geographic Code for the PO address
  • The House Type for the PO address
  • Indicates whether or not this address is within the taxing boundary of the jurisdiction that's provided in the address.
  • Maximum Length: 6
    Address number 1 for the PO address
  • Maximum Length: 4
    Address number 2 for the PO address
  • Maximum Length: 12
    The Postal Code for the PO address
    Example: 20001
  • Maximum Length: 6
    The Postal Code for the PO address
    Example: District of Columbia
  • Maximum Length: 64
    The Suburb for the PO address
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : input
Type: object
Show Source
  • Maximum Length: 36
    Represents Enterprise Resource Planning's unique system-generated item ID. Work and Asset Management's externalReferenceId and resourceTypeExternalId use the same value.
    Example: 300000230453798
  • Maximum Length: 30
    The default value for the Enterprise Resource Planning Integration. You can retrieve the correct value from the property name wacs.externalsystem in the ERPWACS_ConfigProps file. This value must be defined for Work and Asset Management to function properly.
    Example: ERP
  • purchaseOrder
Nested Schema : output
Type: object
Show Source
Nested Schema : purchaseOrder
Type: object
Show Source
Nested Schema : header
Type: object
Show Source
Nested Schema : lines
Type: object
Show Source
Nested Schema : location
Type: object
Show Source
  • Maximum Length: 254
    The first line for the address, associated with the Purchase Order.
    Example: 300 New Jersey Avenue
  • Maximum Length: 254
    The second line for the address, associated with the Purchase Order.
    Example: Suite 1000
  • Maximum Length: 254
    The third line for the address, associated with the Purchase Order.
  • Maximum Length: 254
    The fourth line for the address, associated with the Purchase Order.
  • Maximum Length: 90
    The City for the PO address
    Example: Washington
  • Maximum Length: 3
    The Country Code for the PO address
  • Maximum Length: 90
    The County for the PO address
    Example: US
  • Maximum Length: 64
    The Cross Street the PO address
  • Maximum Length: 11
    The Geographic Code for the PO address
  • The House Type for the PO address
  • Indicates whether or not this address is within the taxing boundary of the jurisdiction that's provided in the address.
  • Maximum Length: 6
    Address number 1 for the PO address
  • Maximum Length: 4
    Address number 2 for the PO address
  • Maximum Length: 12
    The Postal Code for the PO address
    Example: 20001
  • Maximum Length: 6
    The Postal Code for the PO address
    Example: District of Columbia
  • Maximum Length: 64
    The Suburb for the PO address
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success response
Body ()
Root Schema : SYNCPURCHASEORDER_response
Type: object
Show Source
Nested Schema : W1PurOrdSync
Type: object
Show Source
Nested Schema : input
Type: object
Show Source
  • Maximum Length: 36
    Represents Enterprise Resource Planning's unique system-generated item ID. Work and Asset Management's externalReferenceId and resourceTypeExternalId use the same value.
    Example: 300000230453798
  • Maximum Length: 30
    The default value for the Enterprise Resource Planning Integration. You can retrieve the correct value from the property name wacs.externalsystem in the ERPWACS_ConfigProps file. This value must be defined for Work and Asset Management to function properly.
    Example: ERP
  • purchaseOrder
Nested Schema : output
Type: object
Show Source
Nested Schema : purchaseOrder
Type: object
Show Source
Nested Schema : header
Type: object
Show Source
Nested Schema : lines
Type: object
Show Source
Nested Schema : location
Type: object
Show Source
  • Maximum Length: 254
    The first line for the address, associated with the Purchase Order.
    Example: 300 New Jersey Avenue
  • Maximum Length: 254
    The second line for the address, associated with the Purchase Order.
    Example: Suite 1000
  • Maximum Length: 254
    The third line for the address, associated with the Purchase Order.
  • Maximum Length: 254
    The fourth line for the address, associated with the Purchase Order.
  • Maximum Length: 90
    The City for the PO address
    Example: Washington
  • Maximum Length: 3
    The Country Code for the PO address
  • Maximum Length: 90
    The County for the PO address
    Example: US
  • Maximum Length: 64
    The Cross Street the PO address
  • Maximum Length: 11
    The Geographic Code for the PO address
  • The House Type for the PO address
  • Indicates whether or not this address is within the taxing boundary of the jurisdiction that's provided in the address.
  • Maximum Length: 6
    Address number 1 for the PO address
  • Maximum Length: 4
    Address number 2 for the PO address
  • Maximum Length: 12
    The Postal Code for the PO address
    Example: 20001
  • Maximum Length: 6
    The Postal Code for the PO address
    Example: District of Columbia
  • Maximum Length: 64
    The Suburb for the PO address
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source

400 Response

Bad Request
Body ()
Root Schema : SYNCPURCHASEORDER_error
Type: object
Show Source
Nested 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 : SYNCPURCHASEORDER_error
Type: object
Show Source
Nested 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