Update one header

patch

/fscmRestApi/resources/11.13.18.05/draftPurchaseOrders/{draftPurchaseOrdersUniqID}

Request

Path Parameters
  • This is the hash key of the attributes which make up the composite key for the Draft Purchase Orders resource and used to uniquely identify an instance of Draft Purchase Orders. The client should not generate the hash key value. Instead, the client should query on the Draft Purchase Orders collection resource in order to navigate to a specific instance of Draft Purchase Orders to get the hash key.
Header Parameters
  • This header accepts a string value. The string is a semi-colon separated list of =. It is used to perform effective date range operations. The accepted parameters are RangeMode, RangeSpan, RangeStartDate, RangeEndDate, RangeStartSequence and RangeEndSequence. The parameter values are always strings. The possible values for RangeMode are SET_LOGICAL_START, SET_LOGICAL_END, END_DATE, SET_EFFECTIVE_START, SET_EFFECTIVE_END, REPLACE_CORRECTION, REPLACE_UPDATE, RECONCILE_CORRECTION, CORRECTION, RECONCILE_UPDATE, UPDATE, ZAP and DELETE_CHANGES. The possible values for RangeSpan are PHYSICAL_ROW_END_DATE and LOGICAL_ROW_END_DATE. The values for RangeStartDate and RangeEndDate have to be a string representation of a date in yyyy-MM-dd format. The value for RangeStartSequence and RangeEndSequence must be strings such that when parsed they yield positive integers.
  • 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
  • Title: Additional Contact Email
    Maximum Length: 2000
    Email addresses of additional supplier contacts. These email addresses are used to send purchase orders to supplier contacts involved in the procurement process.
  • Attachments for Draft Purchase Orders
    Title: Attachments for Draft Purchase Orders
    The Attachments for Draft Purchase Orders resource manages attachments for a purchase order.
  • Title: Buyer
    Maximum Length: 240
    Person who is responsible for managing the purchase order.
  • Title: Purchase Order Email Sender
    Maximum Length: 240
    Email address of the buyer.
  • Value that uniquely identifies the buyer.
  • Text that describes the reason or purpose of the change order.
  • Title: Initiating Party
    Party where the purchase document change request originated. Valid values are requester, buyer, supplier, and catalog administrator.
  • Title: Confirming Order
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the purchase order is communicated verbally before the supplier receives the purchase order. If false, then there is no verbal communication before sending the purchase order. This attribute does not have a default value.
  • Conversion rate to use when converting the currency.
  • Title: Conversion Date
    Date to use for the conversion rate when converting an ordered amount into another currency. The conversion rate varies depending on the date.
  • Title: Conversion Rate Type
    Maximum Length: 30
    Type of rate that the application uses to determine the currency conversion rate for the purchase order.
  • Maximum Length: 30
    Abbreviation that identifies the conversion rate type.
  • Title: Currency
    Maximum Length: 80
    Currency of the purchase order.
  • Maximum Length: 15
    Abbreviation that identifies the currency of the purchase order.
  • Title: Taxation Country
    Maximum Length: 80
    Country where the transaction takes place. This attribute is used for taxation.
  • Maximum Length: 2
    Abbreviation that identifies the country for taxation.
  • Title: Description
    Maximum Length: 240
    Description of the purchase order.
  • Flexfields for Draft Purchase Orders
    Title: Flexfields for Draft Purchase Orders
    The Flexfields for Draft Purchase Orders resource manages additional details about purchase orders.
  • Maximum Length: 30
    Method by which the document was created, such as autocreate, enter PO, and so on.
  • Title: Document Fiscal Classification
    Maximum Length: 1996
    Tax classification used by a tax authority to categorize a document.
  • Maximum Length: 240
    Abbreviation that identifies the document fiscal classification.
  • Value that uniquely identifies the document fiscal classification.
  • Title: Document Style
    Maximum Length: 240
    Name of the purchasing document style. This attribute allows organizations to control the parameters and values displayed on the application to match the usage of the purchasing document.
  • Value that uniquely identifies the purchasing style of the document.
  • Value that uniquely identifies the first party registration number.
  • Title: First-Party Tax Registration Number
    Maximum Length: 50
    Value that is a unique sequence of letters or numbers assigned to a first party by a tax authority when it is registered. This attribute is used to identify the first party registration.
  • Title: Freight Terms
    Maximum Length: 80
    Terms that describe who pays charges to transport the item.
  • Maximum Length: 30
    Abbreviation that identifies the type of freight terms for the purchase order.
  • US Federal Attributes for Draft Purchase Orders
    Title: US Federal Attributes for Draft Purchase Orders
    The US Federal Attributes for Draft Purchase Orders resource manages federal financial attributes for purchase orders.
  • Lines
    Title: Lines
    The Lines resource manages purchasing details, such as the item to purchase, quantity, unit of measure, and price.
  • Value that uniquely identifies the contract from enterprise contracts. This attribute allows a direct connection between execution documents in Oracle Purchasing Cloud and high-level contracts in Oracle Enterprise Contracts Cloud.
  • Title: Master Contract
    Maximum Length: 120
    Number that identifies the contract from enterprise contracts. This attribute allows a direct connection between execution documents in Oracle Purchasing Cloud and high-level contracts in Oracle Enterprise Contracts Cloud.
  • Title: Master Contract Type
    Type of contract. This attribute specifies the nature of the enterprise contract. The contract type specifies what kind of information you can enter including the presence of lines and contract terms.
  • Value that uniquely identifies the contract type. This attribute specifies the nature of the enterprise contract. The contract type specifies what kind of information you can enter including the presence of lines and contract terms.
  • Title: Note to Receiver
    Maximum Length: 1000
    Note that the receiver can read to get details about how to process the purchase order.
  • Title: Note to Supplier
    Maximum Length: 1000
    Note that the supplier can read to get details about how to process the purchase order.
  • Title: Order
    Maximum Length: 30
    Number that uniquely identifies the purchase order in the sold-to legal entity.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, the purchase order can't be communicated using B2B communication, and you can communicate it using an alternate communication method such as email. If false, the purchase order must be communicated using B2B communication when the supplier site is configured to receive B2B messages. The default value is false.
  • Title: Overriding Approver
    Maximum Length: 240
    Overrides first approver identifier to route purchase orders for approval.
  • Value that uniquely identifies the user specified on the purchase order as the overriding approver for approval routing.
  • Title: Procurement BU
    Maximum Length: 240
    Business unit that manages and owns the purchase order.
  • Value that uniquely identifies the business unit that manages and owns the purchase order.
  • Title: Requires Signature
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the purchase order requires signatures to meet legal requirements. If false, then the purchase order does not require signatures. This attribute does not have a default value.
  • Title: Requisitioning BU
    Maximum Length: 240
    Business unit that creates the requisition.
  • Value that uniquely identifies the business unit that creates the requisition.
  • Title: Shipping Method
    Transportation method for the carrier or service level for the purchase order. For example, ABC Shipping - AIR - 2nd Day.
  • Special Handling Flexfields for Draft Purchase Orders
    Title: Special Handling Flexfields for Draft Purchase Orders
    A data field that includes the special handling flexfields for purchase orders.
  • Maximum Length: 40
    Abbreviation that identifies the purchase order status in the order life cycle.
  • Summary Attributes for Draft Purchase Orders
    Title: Summary Attributes for Draft Purchase Orders
    The Summary Attributes for Draft Purchase Orders resource manages the aggregated summary attributes of purchase orders. The summary attributes comprise of aggregated information from across the lines of a purchase order. This resource will return the corresponding data only when called in conjunction with an appropriate finder.
  • Title: Supplier
    Maximum Length: 360
    Name of the supplier who fulfills the item.
  • Title: Supplier Contact
    Maximum Length: 4000
    Person who represents the supplier when communicating with the buyer.
  • Value that uniquely identifies the supplier contact.
  • Value that uniquely identifies the supplier.
  • Title: Supplier Site
    Maximum Length: 240
    Location that the supplier uses to purchase the item.
  • Value that uniquely identifies the supplier site.
  • Value that uniquely identifies the third party registration.
  • Title: Third-Party Tax Registration Number
    Maximum Length: 50
    Value that is a unique sequence of letters or numbers assigned to a third party or third-party site by a tax authority. This attribute is used to identify the party or party-site level tax registration.
Nested Schema : Attachments for Draft Purchase Orders
Type: array
Title: Attachments for Draft Purchase Orders
The Attachments for Draft Purchase Orders resource manages attachments for a purchase order.
Show Source
Nested Schema : Flexfields for Draft Purchase Orders
Type: array
Title: Flexfields for Draft Purchase Orders
The Flexfields for Draft Purchase Orders resource manages additional details about purchase orders.
Show Source
Nested Schema : US Federal Attributes for Draft Purchase Orders
Type: array
Title: US Federal Attributes for Draft Purchase Orders
The US Federal Attributes for Draft Purchase Orders resource manages federal financial attributes for purchase orders.
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "FVxUSPOHeaders":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPoHeaderGdf_view_DraftRestPoHeaderGDFFVxUSPOHeadersVO-item-patch-request" } }
Nested Schema : Lines
Type: array
Title: Lines
The Lines resource manages purchasing details, such as the item to purchase, quantity, unit of measure, and price.
Show Source
Nested Schema : Special Handling Flexfields for Draft Purchase Orders
Type: array
Title: Special Handling Flexfields for Draft Purchase Orders
A data field that includes the special handling flexfields for purchase orders.
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "ORA_PO_BILL_ONLY_HEADERS":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPOHeaderSHdf_view_DraftPoHeaderRestSHDFFORA__5FPO__5FBILL__5FONLY__5FHEADERSVO-item-patch-request" } }
Nested Schema : Summary Attributes for Draft Purchase Orders
Type: array
Title: Summary Attributes for Draft Purchase Orders
The Summary Attributes for Draft Purchase Orders resource manages the aggregated summary attributes of purchase orders. The summary attributes comprise of aggregated information from across the lines of a purchase order. This resource will return the corresponding data only when called in conjunction with an appropriate finder.
Show Source
Nested Schema : draftPurchaseOrders-attachments-item-patch-request
Type: object
Show Source
Nested Schema : draftPurchaseOrders-DFF-item-patch-request
Type: object
Show Source
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPoHeaderGdf_view_DraftRestPoHeaderGDFFVxUSPOHeadersVO-item-patch-request
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
  • Title: Ordered
    Amount of the service on the purchase order line.
  • Attachments for Lines
    Title: Attachments for Lines
    The Attachments for Lines resource manages attachments for a purchase order line.
  • Title: Base Price
    Original price for each unit of the offered item or service. This attribute is associated with a feature that requires opt in.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, then the purchase order line is canceled. If false, then the purchase order line is not canceled. This attribute does not have a default value.
  • Title: Cancellation Reason
    Maximum Length: 240
    Description of the reason for cancellation.
  • Title: Cancel Unfulfilled Demand
    Contains one of the following values: True or False. If True, then cancel all the associated requisitions while canceling a purchase order line. If False, then do not cancel the associated requisitions while canceling an order line. This attribute does not have a default value.
  • Title: Category Name
    Maximum Length: 2400
    Name of the purchasing category that the purchase order uses to classify the purchase for the order line.
  • Maximum Length: 820
    Abbreviation that identifies the purchasing category.
  • Value that uniquely identifies the purchasing category.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, then the purchased item is a configuration, which is a single shippable unit made of a base model (model item) and optional additions (options). If false, then the purchased item is a standard item. This attribute does not have a default value.
  • Title: Description
    Maximum Length: 240
    Description of the item that the purchase order references.
  • Flexfields for Lines
    Title: Flexfields for Lines
    The Flexfields for Lines resource manages additional details about purchase order lines.
  • Title: Discount
    Value that indicates the discount percent or amount of the purchase order line.
  • Title: Discount Reason
    Maximum Length: 240
    Reason for the discount.
  • Title: Discount Type
    Type of discount that indicates whether the discount is based on amount or percent.
  • Title: Hazard Class
    Maximum Length: 40
    Name of the hazard class that is used to identify and classify hazardous materials to comply with the safety regulations.
  • Title: Code
    Maximum Length: 30
    Abbreviation that identifies the hazard class.
  • Value that uniquely identifies the hazard class.
  • Title: Item
    Abbreviation that uniquely identifies the item on the purchase order.
  • Value that uniquely identifies the item on the purchase order.
  • Title: Item Revision
    Maximum Length: 18
    Revision number of the item.
  • Title: Line
    Number that uniquely identifies the purchase order line.
  • Title: Line Type
    Maximum Length: 30
    Type that indicates whether the purchase order line references an item or a service.
  • Value that uniquely identifies whether the purchase order line references an item or a service.
  • Title: Maximum Retainage Amount
    Maximum amount of retainage that can be withheld on a contract line.
  • Title: Negotiated
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the buyer and the supplier negotiated and agreed on the price before the purchase. If false, then the buyer and the supplier did not negotiate the price before the purchase. This attribute does not have a default value.
  • Title: Negotiation Line
    Number that uniquely identifies the negotiation line that the purchase order line references.
  • Title: Note to Supplier
    Maximum Length: 1000
    Note that the supplier can read to get details about how to process the order line on the purchase order.
  • Title: Price
    Price of the purchase order line.
  • Title: UOM Name
    Maximum Length: 25
    Unit of measure that the item uses for pricing.
  • Maximum Length: 3
    Abbreviation that identifies the unit of measure the item uses for pricing.
  • Quantity of the item on the order line.
  • Title: Change Reason
    Maximum Length: 240
    Reason for changing the line.
  • Schedules
    Title: Schedules
    The Schedules resource manages purchasing details, such as ship-to location and delivery date.
  • Value that uniquely identifies the source agreement that the purchase order line references.
  • Title: Source Agreement Line
    Number that uniquely identifies the source agreement line that the purchase order line references.
  • Value that uniquely identifies the source agreement line that the purchase order line references.
  • Title: Source Agreement
    Number that uniquely identifies the source agreement that the purchase order line references.
  • Title: Source Agreement Procurement BU
    Business unit of the purchase agreement against which this purchase order line is released.
  • Value that uniquely identifies the business unit of the purchase agreement against which this purchase order line is released.
  • Abbreviation that identifies source agreement type. Valid values are contract and blanket.
  • Special Handling Flexfields for Draft Purchase Order Lines
    Title: Special Handling Flexfields for Draft Purchase Order Lines
    A data field that includes the special handling flexfields for purchase order lines.
  • Title: Supplier Item
    Maximum Length: 300
    Number that the supplier uses to identify the item on the purchase order line.
  • Title: UN Number
    Maximum Length: 20
    Number that the United Nations uses to identify hazardous material.
  • Title: Code
    Maximum Length: 30
    Abbreviation that uniquely identifies the number that the United Nations uses to identify hazardous material.
  • Title: UN Number Description
    Maximum Length: 240
    Description of the hazardous material that the United Nations identification number references.
  • Value that uniquely identifies the number that the United Nations uses to identify hazardous material.
  • Title: UOM
    Maximum Length: 25
    Unit of measure that the item uses for quantity.
  • Maximum Length: 3
    Abbreviation that identifies the unit of measure.
Nested Schema : Attachments for Lines
Type: array
Title: Attachments for Lines
The Attachments for Lines resource manages attachments for a purchase order line.
Show Source
Nested Schema : Flexfields for Lines
Type: array
Title: Flexfields for Lines
The Flexfields for Lines resource manages additional details about purchase order lines.
Show Source
Nested Schema : Schedules
Type: array
Title: Schedules
The Schedules resource manages purchasing details, such as ship-to location and delivery date.
Show Source
Nested Schema : Special Handling Flexfields for Draft Purchase Order Lines
Type: array
Title: Special Handling Flexfields for Draft Purchase Order Lines
A data field that includes the special handling flexfields for purchase order lines.
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "ORA_PO_BILL_ONLY_LINES":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPOLineSHdf_view_DraftPoLineRestSHDFFORA__5FPO__5FBILL__5FONLY__5FLINESVO-item-patch-request" } }
Nested Schema : draftPurchaseOrders-lines-attachments-item-patch-request
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : draftPurchaseOrders-lines-schedules-item-patch-request
Type: object
Show Source
  • Title: Accrue at Receipt
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then accrue the purchase order schedule at receipt. If false, then do not accrue the purchase order schedule at receipt. This attribute does not have a default value.
  • Title: Allow Substitute Receipts
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the purchase order schedule allows the application to use a substitute item in place of the ordered item. If false, then the purchase order schedule does not allow a substitute item. This attribute does not have a default value.
  • Title: Ordered
    Amount of the service on the purchase order schedule.
  • Title: Assessable Value
    Value of the product that can be assessable.
  • Attachments for Schedules
    Title: Attachments for Schedules
    The Attachments for Schedules resource manages attachments for a purchase order schedule.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, then the schedule is canceled. If false, then the schedule is not canceled. This attribute does not have a default value.
  • Title: Cancellation Reason
    Maximum Length: 240
    Description of the reason for cancellation.
  • Title: Cancel Unfulfilled Demand
    Contains one of the following values: True or False. If True, then cancel all the associated requisitions while canceling a purchase order schedule. If False, then do not cancel the associated requisitions while canceling an order schedule. This attribute does not have a default value.
  • Title: Carrier
    Maximum Length: 360
    Company that transports the item.
  • Value that uniquely identifies the company that transports the item.
  • Title: Country of Origin
    Maximum Length: 80
    Country of the organization that ships or exports the item.
  • Maximum Length: 2
    Abbreviation that identifies the country of the organization that ships or exports the item.
  • Title: Description
    Maximum Length: 240
    Description of the work associated with the progress payment schedule.
  • Title: Destination Type
    Type of destination that determines how to charge the item. Values include inventory, expense, drop ship, or work order.
  • Maximum Length: 25
    Value that indicates how to use the item during fulfillment. Values include inventory, expense, drop ship, or manufacturing.
  • Flexfields for Schedules
    Title: Flexfields for Schedules
    The Flexfields for Schedules resource manages additional details about purchase order schedules.
  • Distributions
    Title: Distributions
    The Distributions resource manages purchasing details, such as details about accounting or the project.
  • Title: Early Receipt Tolerance in Days
    Maximum number of days the application allows to receive an early shipment.
  • US Federal Attributes for Schedules
    Title: US Federal Attributes for Schedules
    The US Federal Attributes for Schedules resource manages federal financial attributes for purchase order schedules.
  • Title: Inspection Required
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the schedule must be inspected before the buyer can pay the invoice. If false, then the buyer can pay the invoice even if the schedule hasn't been inspected. This attribute does not have a default value.
  • Title: Invoice Close Tolerance Percent
    Percent that the application uses to determine whether to close a purchase order schedule when the invoice invoices only part of the item.
  • Title: Invoice Match Option
    Maximum Length: 80
    Determines whether to match the invoice to the purchase order or the receipt. If the purchase order line is under consignment, then match each invoice to the consumption advice.
  • Maximum Length: 25
    Determines whether the invoice for the purchase order schedule must match the purchase order or the receipt. Values include C for consumption advice, P for order, or R for receipt.
  • Title: Late Receipt Tolerance in Days
    Maximum number of days the application allows to receive a late shipment.
  • Title: Intended Use
    Maximum Length: 240
    Purpose for which a product is likely to be used in the business by the purchaser.
  • Value that uniquely identifies the intended use of a product in the business by the purchaser.
  • Abbreviation that identifies the final discharge location.
  • Value that uniquely identifies the final discharge location.
  • Title: Match Approval Level
    Value that specifies how quantities on the purchase order, receipt, inspection, and invoice must match before the buyer can pay the invoice. Values include 2-way, 3-way, or 4-way.
  • Maximum Length: 40
    Abbreviation that identifies the match approval level.
  • Title: Mode of Transport
    Maximum Length: 80
    Mode of transport to ship the item, such as truck, air, or boat.
  • Maximum Length: 30
    Abbreviation that identifies the mode of transport.
  • Title: Note to Receiver
    Maximum Length: 1000
    Note that the receiver can read to get details about how to process the purchase order schedule.
  • Title: Overreceipt Action
    Maximum Length: 80
    Action to take when the receipt exceeds the value that the OverReceiptTolerancePercent attribute specifies. Values include none, reject, or warning.
  • Maximum Length: 25
    Abbreviation that identifies the over receipt action.
  • Title: Overreceipt Tolerance Percent
    Percent tolerance to use when receiving more than the ordered quantity or amount without starting the action that the OverReceiptActionCode attribute specifies.
  • Number that uniquely identifies the schedule from which this schedule was created.
  • Value that uniquely identifies the purchase order.
  • Value that uniquely identifies the parent line of the schedule. This attribute is used when the schedule is split.
  • Title: Price
    Price of the purchase order schedule.
  • Maximum Length: 3
    Abbreviation that identifies the unit of measure the item uses for pricing.
  • Title: Product Category
    Maximum Length: 1996
    Name of the category used to classify products for tax purposes.
  • Maximum Length: 240
    Abbreviation that identifies the category used to classify products for tax purposes.
  • Title: Product Fiscal Classification
    Maximum Length: 240
    Tax classification used by a tax authority to categorize a product.
  • Maximum Length: 255
    Abbreviation that identifies the fiscal classification of a product by tax authority for tax purposes.
  • Value that uniquely identifies the fiscal classification of a product by tax authority for tax purposes. It is based on the inventory item category.
  • Title: Product Type
    Maximum Length: 80
    Value that determines how the tax is calculated. Values include goods and services.
  • Maximum Length: 240
    Abbreviation that identifies the product type.
  • Title: Promised Delivery Date
    Date when the supplier promises to deliver the item to the buyer.
  • Title: Promised Ship Date
    Date when the supplier promises to ship the item to the buyer.
  • Scheduled quantity of the item.
  • Title: Change Reason
    Maximum Length: 240
    Reason for changing the schedule.
  • Title: Receipt Close Tolerance Percent
    Percent that the application uses to determine whether to close a purchase order schedule when the receiver receives only part of the item.
  • Title: Receipt Date Exception Action
    Maximum Length: 80
    Action to take when the buyer does not receive the purchase ordered quantity or does not receive the amount before the value that the Late Receipt Tolerance Days attribute specifies. Values include none, reject, or warning.
  • Maximum Length: 25
    Action to take when the application does not receive the purchase ordered quantity or amount before the value that the Late Receipt Tolerance Days attribute specifies. Values include none, reject, or warning.
  • Title: Receipt Required
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the schedule must be received before the buyer can pay the invoice. If false, then the buyer can pay the invoice even if the schedule hasn't been received. This attribute does not have a default value.
  • Title: Receipt Routing
    Maximum Length: 80
    Value that indicates the routing to use when receiving the item. Values include standard receipt, inspection required, or direct delivery.
  • Value that uniquely identifies the routing to use when receiving the item. Values include 1 for standard receipt, 2 for inspection required, or 3 for direct delivery.
  • Title: Requested Delivery Date
    Date when the buyer requested that the supplier deliver the item.
  • Title: Requested Ship Date
    Date when the buyer requested that the supplier ship the item.
  • Title: Retainage Rate
    Percentage of the invoice value that can be withheld as retainage.
  • Title: Schedule
    Number that uniquely identifies the purchase order schedule for the purchase order line.
  • Title: Secondary Quantity
    Scheduled quantity in the secondary unit of measure. This attribute is applicable when more than one unit of measure controls the item.
  • Title: Meaning
    Maximum Length: 80
    Priority that determines how quickly to transport the item.
  • Maximum Length: 30
    Abbreviation that identifies the service level for the shipping method.
  • Transportation method for the carrier or service level for the purchase order. For example, ABC Shipping - AIR - 2nd Day.
  • Title: Ship-to Exception Action
    Maximum Length: 80
    Action to take if an exception occurs when the receiving location is different from the ship-to location. Values include none, reject, and warning.
  • Maximum Length: 25
    Value that indicates how to handle each receipt when the receiving location is different from the ship-to location. Values include none, reject, or warning.
  • Title: Ship-to Location
    Maximum Length: 240
    Name of the location where the supplier ships the item.
  • Title: Name
    Maximum Length: 60
    Abbreviation that identifies the location where the supplier ships the item.
  • Value that uniquely identifies the location where the supplier ships the item.
  • Title: Ship-to Location Internal Code
    Maximum Length: 150
    Abbreviation that internally identifies the location where the supplier should ship the goods.
  • Title: Ship-to Organization
    Maximum Length: 240
    Name of the inventory organization that receives the item.
  • Maximum Length: 18
    Abbreviation that identifies the inventory organization where the supplier ships the item.
  • Value that uniquely identifies the inventory organization where the supplier ships the item.
  • Title: Tax Classification
    Grouping of taxes for reporting and processing purposes.
  • Maximum Length: 30
    Abbreviation that identifies the tax classification.
  • Title: Transaction Business Category
    Maximum Length: 1996
    Classification or categorization of a transaction. This attribute is used for tax purposes as required by a tax authority.
  • Maximum Length: 240
    Abbreviation that identifies the classification or categorization of a transaction. This attribute is used for tax purposes as required by a tax authority.
  • Value that uniquely identifies the classification or categorization of a transaction. This attribute is used for tax purposes as required by a tax authority.
  • Title: Type
    Maximum Length: 80
    Type of payment whether it is released based on units of work or lump sum.
  • Maximum Length: 30
    Abbreviation that identifies the progress payment schedule type. Valid values are rate and lump sum.
  • Title: UOM
    Maximum Length: 25
    Unit of measure in the item quantity.
  • Maximum Length: 3
    Abbreviation that identifies the unit of measure.
  • Title: User-Defined Fiscal Classification
    Maximum Length: 240
    Additional classification of the transaction for tax purposes.
  • Maximum Length: 30
    Abbreviation that identifies the user-defined fiscal classification.
Nested Schema : Attachments for Schedules
Type: array
Title: Attachments for Schedules
The Attachments for Schedules resource manages attachments for a purchase order schedule.
Show Source
Nested Schema : Flexfields for Schedules
Type: array
Title: Flexfields for Schedules
The Flexfields for Schedules resource manages additional details about purchase order schedules.
Show Source
Nested Schema : Distributions
Type: array
Title: Distributions
The Distributions resource manages purchasing details, such as details about accounting or the project.
Show Source
Nested Schema : US Federal Attributes for Schedules
Type: array
Title: US Federal Attributes for Schedules
The US Federal Attributes for Schedules resource manages federal financial attributes for purchase order schedules.
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "FVxUSPOLineLocations":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPoScheduleGdf_view_DraftRestPoScheduleGDFFVxUSPOLineLocationsVO-item-patch-request" } }
Nested Schema : draftPurchaseOrders-lines-schedules-attachments-item-patch-request
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : Flexfields for Distributions
Type: array
Title: Flexfields for Distributions
The Flexfields for Distributions resource manages additional details about purchase order distributions.
Show Source
Nested Schema : US Federal Attributes for Distributions
Type: array
Title: US Federal Attributes for Distributions
The US Federal Attributes for Distributions resource manages federal financial attributes for purchase order distributions.
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "FVxUSPODistributions":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPoDistributionGdf_view_DraftRestPoDistributionGDFFVxUSPODistributionsVO-item-patch-request" } }
Nested Schema : Project Costing Flexfields for Distributions
Type: array
Title: Project Costing Flexfields for Distributions
The Project Costing Flexfields for Distributions resource manages project details about purchase order distributions.
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "AP_Distribution_Sets":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFAP__5FDistribution__5FSetsVO-item-patch-request", "AP_Invoice_Distribution":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFAP__5FInvoice__5FDistributionVO-item-patch-request", "AP_Invoice_Line":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFAP__5FInvoice__5FLineVO-item-patch-request", "EXM_Expense_Report":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFEXM__5FExpense__5FReportVO-item-patch-request", "EXM_Expense_Report_Line":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFEXM__5FExpense__5FReport__5FLineVO-item-patch-request", "INV_Misc_Transactions":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFINV__5FMisc__5FTransactionsVO-item-patch-request", "OM_Sales_Order":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFOM__5FSales__5FOrderVO-item-patch-request", "PJC_All":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPJC__5FAllVO-item-patch-request", "PJC_Expenditure_Batch":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPJC__5FExpenditure__5FBatchVO-item-patch-request", "POR_Requisition":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPOR__5FRequisitionVO-item-patch-request", "POR_User_Preferences":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPOR__5FUser__5FPreferencesVO-item-patch-request", "PO_Purchase_Order":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPO__5FPurchase__5FOrderVO-item-patch-request", "PO_Purchase_Order_Line":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPO__5FPurchase__5FOrder__5FLineVO-item-patch-request", "PO_Purchase_Order_Schedule":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPO__5FPurchase__5FOrder__5FScheduleVO-item-patch-request" } }
Nested Schema : draftPurchaseOrders-lines-schedules-distributions-DFF-item-patch-request
Type: object
Show Source
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPoDistributionGdf_view_DraftRestPoDistributionGDFFVxUSPODistributionsVO-item-patch-request
Type: object
Show Source
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFAP__5FDistribution__5FSetsVO-item-patch-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFAP__5FInvoice__5FDistributionVO-item-patch-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFAP__5FInvoice__5FLineVO-item-patch-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFEXM__5FExpense__5FReportVO-item-patch-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFEXM__5FExpense__5FReport__5FLineVO-item-patch-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFINV__5FMisc__5FTransactionsVO-item-patch-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFOM__5FSales__5FOrderVO-item-patch-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPJC__5FAllVO-item-patch-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPJC__5FExpenditure__5FBatchVO-item-patch-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPOR__5FRequisitionVO-item-patch-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPOR__5FUser__5FPreferencesVO-item-patch-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPO__5FPurchase__5FOrderVO-item-patch-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPO__5FPurchase__5FOrder__5FLineVO-item-patch-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPO__5FPurchase__5FOrder__5FScheduleVO-item-patch-request
Type: object
Show Source
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPoScheduleGdf_view_DraftRestPoScheduleGDFFVxUSPOLineLocationsVO-item-patch-request
Type: object
Show Source
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPOLineSHdf_view_DraftPoLineRestSHDFFORA__5FPO__5FBILL__5FONLY__5FLINESVO-item-patch-request
Type: object
Show Source
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPOHeaderSHdf_view_DraftPoHeaderRestSHDFFORA__5FPO__5FBILL__5FONLY__5FHEADERSVO-item-patch-request
Type: object
Show Source
Nested Schema : draftPurchaseOrders-summaryAttributes-item-patch-request
Type: object
Show Source
  • Contains one of the following values: true or false. If true, the charge account is the same for all distributions so all the purchase order (PO) distributions are charged to the same charge account. If false, then the charge account is different for each distribution so the PO distributions are charged to different charge accounts. The default value is false.
  • Value that uniquely identifies the chart of accounts.
  • Maximum Length: 255
    Physical address of the onetime location where the buying company needs to deliver the goods received from a supplier.
  • Value that uniquely identifies the one time location where the buying company should deliver the goods that were previously received from a supplier.
  • Abbreviation that identifies the final location where the buying company should deliver the goods that were previously received from a supplier.
  • Value that uniquely identifies the final location where the buying company should deliver the goods that were previously received from a supplier.
  • Contains one of the following values: true or false. If true, all the purchase order distributions have the same delivery location. If false, then the delivery location is different on distributions. The default value is false.
  • Sum Total of purchase order amounts across all lines.
  • Account that the purchase from a purchase order is charged to.
  • Value that uniquely identifies the account that the purchase from a purchase order is charged to.
  • Value that uniquely identifies the purchase order.
  • Contains one of the following values: NONE, SINGLE, or MULTIPLE. If none of the distributions have project costing details associated with them, the attribute value is set to NONE. If all the distributions have exactly the same project and task associated with them, it is set to SINGLE. If the project and task associated with the distributions are different, it is set to MULTIPLE.
  • Value that uniquely identifies the project.
  • Maximum Length: 240
    Name of the project, which is displayed on the purchase order header.
  • Maximum Length: 25
    Number of the project, which is displayed on the purchase order header.
  • Contains one of the following values: NONE, SINGLE, or MULTIPLE. If none of the distributions have project costing details associated with them, the attribute value is set to NONE. If all the distributions have the same project associated with them and the costing details are exactly the same, it is set to SINGLE. If the project costing details of the distributions are different, it is set to MULTIPLE.
  • Date when the buying company requested the ordered item or service to be delivered.
  • Display name of the person for whom goods or services are being ordered. The value is set to Null if the requester is different across purchase order distributions.
  • Value that uniquely identifies the person for whom goods or services are being ordered. The value is set to Null if the requester is different across the purchase order distributions.
  • Contains one of the following values: true or false. If true, all the purchase order schedules carry the same requested delivery date value. If false, then the requested delivery date is different on schedules. The default value is false.
  • Contains one of the following values: true or false. If true, all the purchase order lines are ordered for the same person. If false, the purchase order are ordered for different persons. This attribute doesn't have a default value.
  • Value that uniquely identifies the Task.
  • Name of the project task, which is displayed on the purchase order.
  • Maximum Length: 240
    Number of the project task, which is displayed on the purchase order.
  • Sum Total of Ordered and Total Tax amount.
  • Sum total of exclusive tax (nonrecoverable and recoverable) amounts on a purchase order expressed in the functional currency.
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 : draftPurchaseOrders-item-response
Type: object
Show Source
  • Title: Acknowledgment Due Date
    Date when the application requests the supplier to acknowledge the purchase order.
  • Title: Acknowledge Within Days
    Number of days for the supplier to decide to accept or reject the purchase order.
  • Title: Additional Contact Email
    Maximum Length: 2000
    Email addresses of additional supplier contacts. These email addresses are used to send purchase orders to supplier contacts involved in the procurement process.
  • Attachments for Draft Purchase Orders
    Title: Attachments for Draft Purchase Orders
    The Attachments for Draft Purchase Orders resource manages attachments for a purchase order.
  • Title: Bill-to BU
    Value that identifies the business unit that processes supplier invoices for the purchase order.
  • Value that uniquely identifies the business unit that processes supplier invoices for the purchase order.
  • Title: Bill-to Location
    Maximum Length: 60
    Value that identifies the bill-to location where the supplier sends the invoice.
  • Value that uniquely identifies the bill-to location.
  • Title: Bill-to Location Internal Code
    Maximum Length: 150
    Abbreviation that internally identifies the location to which the supplier should send the invoice.
  • Title: Budgetary Control Enabled
    Read Only: true
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then budgetary control is enabled on the purchase order. If false, then budgetary control is not enabled on the purchase order. This attribute does not have a default value.
  • Title: Buyer
    Maximum Length: 240
    Person who is responsible for managing the purchase order.
  • Title: Purchase Order Email Sender
    Maximum Length: 240
    Email address of the buyer.
  • Value that uniquely identifies the buyer.
  • Title: Buyer Managed Transportation
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the buyer or an agent that the buyer designates must arrange transportation from picking up the requested item to delivering it to the ship-to location that the purchase order specifies. If false, then the supplier must arrange transportation. This attribute does not have a default value.
  • Read Only: true
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the purchase order is canceled. If false, then the purchase order is not canceled. This attribute does not have a default value.
  • Title: Carrier
    Maximum Length: 360
    Company that transports the item by land, sea, or air.
  • Value that uniquely identifies the company that transports the item by land, sea, or air.
  • Text that describes the reason or purpose of the change order.
  • Title: Initiating Party
    Party where the purchase document change request originated. Valid values are requester, buyer, supplier, and catalog administrator.
  • Title: Change Order
    Read Only: true
    Maximum Length: 80
    Number that unquietly identifies the change order for a document.
  • Title: Change Order Status
    Read Only: true
    Status of the change order relative to the change order life cycle.
  • Read Only: true
    Maximum Length: 25
    Abbreviation that identifies the change order status.
  • Title: Change Order Type
    Read Only: true
    Value that indicates whether change order is an internal change order or an external change order. Suppliers can view the external changes.
  • Read Only: true
    Maximum Length: 1
    Abbreviation that defies the change order type.
  • Title: Change Performed By
    Read Only: true
    Maximum Length: 20
    User who requested changes to the purchase order.
  • Title: Confirming Order
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the purchase order is communicated verbally before the supplier receives the purchase order. If false, then there is no verbal communication before sending the purchase order. This attribute does not have a default value.
  • Title: Contract Terms Exist
    Read Only: true
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then contract clauses were added from the terms library to the purchase order. If false, then the purchase order does not contain any contract clauses from the contract terms library. This attribute does not have a default value.
  • Conversion rate to use when converting the currency.
  • Title: Conversion Date
    Date to use for the conversion rate when converting an ordered amount into another currency. The conversion rate varies depending on the date.
  • Title: Conversion Rate Type
    Maximum Length: 30
    Type of rate that the application uses to determine the currency conversion rate for the purchase order.
  • Maximum Length: 30
    Abbreviation that identifies the conversion rate type.
  • Read Only: true
    Maximum Length: 64
    User who created the purchase order.
  • Read Only: true
    Date and time when the buyer or application created the purchase order.
  • Title: Currency
    Maximum Length: 80
    Currency of the purchase order.
  • Maximum Length: 15
    Abbreviation that identifies the currency of the purchase order.
  • Title: Default Ship-to Location
    Maximum Length: 60
    Name of the location where the supplier ships the item.
  • Value that uniquely identifies the ship-to location.
  • Title: Default Ship-to Location Internal Code
    Maximum Length: 150
    Abbreviation that internally identifies the default value of the ship-to location where the supplier should ship the goods.
  • Title: Taxation Country
    Maximum Length: 80
    Country where the transaction takes place. This attribute is used for taxation.
  • Maximum Length: 2
    Abbreviation that identifies the country for taxation.
  • Title: Description
    Maximum Length: 240
    Description of the purchase order.
  • Flexfields for Draft Purchase Orders
    Title: Flexfields for Draft Purchase Orders
    The Flexfields for Draft Purchase Orders resource manages additional details about purchase orders.
  • Maximum Length: 30
    Method by which the document was created, such as autocreate, enter PO, and so on.
  • Title: Document Fiscal Classification
    Maximum Length: 1996
    Tax classification used by a tax authority to categorize a document.
  • Maximum Length: 240
    Abbreviation that identifies the document fiscal classification.
  • Value that uniquely identifies the document fiscal classification.
  • Title: Document Style
    Maximum Length: 240
    Name of the purchasing document style. This attribute allows organizations to control the parameters and values displayed on the application to match the usage of the purchasing document.
  • Value that uniquely identifies the purchasing style of the document.
  • Read Only: true
    Value that uniquely identifies the document from which the purchase order is copied or created.
  • Value that uniquely identifies the first party registration number.
  • Title: First-Party Tax Registration Number
    Maximum Length: 50
    Value that is a unique sequence of letters or numbers assigned to a first party by a tax authority when it is registered. This attribute is used to identify the first party registration.
  • Title: FOB
    Maximum Length: 80
    Freight on board. Location where ownership of the item transfers from the supplier to the buyer.
  • Maximum Length: 30
    Abbreviation that identifies the type of term for freight on board for the item.
  • Title: Freight Terms
    Maximum Length: 80
    Terms that describe who pays charges to transport the item.
  • Maximum Length: 30
    Abbreviation that identifies the type of freight terms for the purchase order.
  • Title: Funds Status
    Read Only: true
    Maximum Length: 80
    Status of the funds check or funds reservation validation result for the purchase order.
  • Read Only: true
    Maximum Length: 25
    Abbreviation that identifies the funds status.
  • US Federal Attributes for Draft Purchase Orders
    Title: US Federal Attributes for Draft Purchase Orders
    The US Federal Attributes for Draft Purchase Orders resource manages federal financial attributes for purchase orders.
  • Read Only: true
    Contains one of the following values: true or false. If true, then the purchase order schedule has multiple distributions. If false, then the purchase order schedule doesn???t have multiple distributions. This attribute doesn't have a default value.
  • Read Only: true
    Contains one of the following values: true or false. If true, then the purchase order has at least one schedule that was received or invoiced. If false, then the purchase order doesn???t have any schedule that was received or invoiced. This attribute doesn???t have a default value.
  • Title: Import Source
    Maximum Length: 25
    Value that indicates the source application from which the purchase order was imported.
  • Read Only: true
    Date and time when the buyer or application last updated the purchase order.
  • Read Only: true
    Maximum Length: 64
    User who last updated the purchase order.
  • Lines
    Title: Lines
    The Lines resource manages purchasing details, such as the item to purchase, quantity, unit of measure, and price.
  • Links
  • Value that uniquely identifies the contract from enterprise contracts. This attribute allows a direct connection between execution documents in Oracle Purchasing Cloud and high-level contracts in Oracle Enterprise Contracts Cloud.
  • Title: Master Contract
    Maximum Length: 120
    Number that identifies the contract from enterprise contracts. This attribute allows a direct connection between execution documents in Oracle Purchasing Cloud and high-level contracts in Oracle Enterprise Contracts Cloud.
  • Title: Master Contract Type
    Type of contract. This attribute specifies the nature of the enterprise contract. The contract type specifies what kind of information you can enter including the presence of lines and contract terms.
  • Value that uniquely identifies the contract type. This attribute specifies the nature of the enterprise contract. The contract type specifies what kind of information you can enter including the presence of lines and contract terms.
  • Title: Mode of Transport
    Maximum Length: 80
    Mode of transport that the shipper uses to transport the item, such as land, sea, or air.
  • Maximum Length: 30
    Abbreviation that identifies the mode of transport.
  • Title: Note to Receiver
    Maximum Length: 1000
    Note that the receiver can read to get details about how to process the purchase order.
  • Title: Note to Supplier
    Maximum Length: 1000
    Note that the supplier can read to get details about how to process the purchase order.
  • Title: Order
    Maximum Length: 30
    Number that uniquely identifies the purchase order in the sold-to legal entity.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, the purchase order can't be communicated using B2B communication, and you can communicate it using an alternate communication method such as email. If false, the purchase order must be communicated using B2B communication when the supplier site is configured to receive B2B messages. The default value is false.
  • Title: Overriding Approver
    Maximum Length: 240
    Overrides first approver identifier to route purchase orders for approval.
  • Value that uniquely identifies the user specified on the purchase order as the overriding approver for approval routing.
  • Title: Payment Terms
    Maximum Length: 50
    Terms that the application uses to schedule payments and calculate due dates, discount dates, and discount amounts for each invoice against the purchase order.
  • Value that uniquely identifies the payment terms.
  • Title: Pay on Receipt
    Maximum Length: 25
    Contains one of the following values: true or false. If true, then the application creates an invoice that requests payment for the item according to the receipt transaction. If false, then the application does not require the supplier to create this invoice and instead requests payment according to the receipt of the shipped item. This attribute does not have a default value.
  • Read Only: true
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then signatures are required before the purchase order is implemented. If false, then signatures are not required. This attribute does not have a default value.
  • Read Only: true
    Value that uniquely identifies the purchase order.
  • Title: Procurement BU
    Maximum Length: 240
    Business unit that manages and owns the purchase order.
  • Value that uniquely identifies the business unit that manages and owns the purchase order.
  • Title: Reference Number
    Read Only: true
    Maximum Length: 120
    Number that identifies the document of the purchase order that was imported from the legacy application into Oracle Purchasing Cloud.
  • Title: Required Acknowledgment
    Maximum Length: 80
    Acknowledgment that the application requires from the supplier. Values include document and schedule when supplier must acknowledge the header and schedule of the purchase order, document when supplier must acknowledge the header of the purchase order, or none when the purchase order does not require acknowledgment.
  • Maximum Length: 1
    Abbreviation that identifies the acknowledgment that the purchase order requires from the supplier. Values include Y for document and schedule, D for document, or N for none.
  • Title: Requires Signature
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the purchase order requires signatures to meet legal requirements. If false, then the purchase order does not require signatures. This attribute does not have a default value.
  • Title: Requisitioning BU
    Maximum Length: 240
    Business unit that creates the requisition.
  • Value that uniquely identifies the business unit that creates the requisition.
  • Title: Service Level
    Maximum Length: 80
    Priority that determines how quickly to transport the item.
  • Maximum Length: 30
    Abbreviation that identifies the service level for the shipping method.
  • Title: Shipping Method
    Transportation method for the carrier or service level for the purchase order. For example, ABC Shipping - AIR - 2nd Day.
  • Title: Sold-to Legal Entity
    Legal entity that is financially responsible for purchases on the purchase order.
  • Value that uniquely identifies the legal entity that is financially responsible for purchases on the purchase order.
  • Special Handling Flexfields for Draft Purchase Orders
    Title: Special Handling Flexfields for Draft Purchase Orders
    A data field that includes the special handling flexfields for purchase orders.
  • Title: Special Handling Type
    Maximum Length: 30
    Type, such as bill-only, that describes the behavior of purchasing documents that need to be handled in a special manner.
  • Title: Special Handling Type Code
    Maximum Length: 30
    Abbreviation that identifies the special handling type.
  • Title: Status
    Read Only: true
    Maximum Length: 80
    Status of the purchase order relative to the purchase order life cycle.
  • Maximum Length: 40
    Abbreviation that identifies the purchase order status in the order life cycle.
  • Summary Attributes for Draft Purchase Orders
    Title: Summary Attributes for Draft Purchase Orders
    The Summary Attributes for Draft Purchase Orders resource manages the aggregated summary attributes of purchase orders. The summary attributes comprise of aggregated information from across the lines of a purchase order. This resource will return the corresponding data only when called in conjunction with an appropriate finder.
  • Title: Supplier
    Maximum Length: 360
    Name of the supplier who fulfills the item.
  • Title: Bcc Email
    Maximum Length: 2000
    Email address to which a copy of the purchase order communication email is sent without letting other recipients know.
  • Title: Cc Email
    Maximum Length: 2000
    Email address to which a copy of the purchase order communication email is sent.
  • Title: Communication Method
    Maximum Length: 25
    Method by which the purchase order is communicated to the supplier, such as email or fax.
  • Title: Supplier Contact
    Maximum Length: 4000
    Person who represents the supplier when communicating with the buyer.
  • Value that uniquely identifies the supplier contact.
  • Title: To Email
    Maximum Length: 2000
    Email address of the supplier for communication.
  • Title: Fax
    Maximum Length: 60
    Fax number used to communicate the purchase order to the supplier.
  • Value that uniquely identifies the supplier.
  • Title: Supplier Order
    Read Only: true
    Maximum Length: 25
    Number that identifies the document that the supplier created for the purchase order.
  • Title: Supplier Site
    Maximum Length: 240
    Location that the supplier uses to purchase the item.
  • Value that uniquely identifies the supplier site.
  • Value that uniquely identifies the third party registration.
  • Title: Third-Party Tax Registration Number
    Maximum Length: 50
    Value that is a unique sequence of letters or numbers assigned to a third party or third-party site by a tax authority. This attribute is used to identify the party or party-site level tax registration.
Nested Schema : Attachments for Draft Purchase Orders
Type: array
Title: Attachments for Draft Purchase Orders
The Attachments for Draft Purchase Orders resource manages attachments for a purchase order.
Show Source
Nested Schema : Flexfields for Draft Purchase Orders
Type: array
Title: Flexfields for Draft Purchase Orders
The Flexfields for Draft Purchase Orders resource manages additional details about purchase orders.
Show Source
Nested Schema : US Federal Attributes for Draft Purchase Orders
Type: array
Title: US Federal Attributes for Draft Purchase Orders
The US Federal Attributes for Draft Purchase Orders resource manages federal financial attributes for purchase orders.
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "FVxUSPOHeaders":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPoHeaderGdf_view_DraftRestPoHeaderGDFFVxUSPOHeadersVO-item-response" } }
Nested Schema : Lines
Type: array
Title: Lines
The Lines resource manages purchasing details, such as the item to purchase, quantity, unit of measure, and price.
Show Source
Nested Schema : Special Handling Flexfields for Draft Purchase Orders
Type: array
Title: Special Handling Flexfields for Draft Purchase Orders
A data field that includes the special handling flexfields for purchase orders.
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "ORA_PO_BILL_ONLY_HEADERS":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPOHeaderSHdf_view_DraftPoHeaderRestSHDFFORA__5FPO__5FBILL__5FONLY__5FHEADERSVO-item-response" } }
Nested Schema : Summary Attributes for Draft Purchase Orders
Type: array
Title: Summary Attributes for Draft Purchase Orders
The Summary Attributes for Draft Purchase Orders resource manages the aggregated summary attributes of purchase orders. The summary attributes comprise of aggregated information from across the lines of a purchase order. This resource will return the corresponding data only when called in conjunction with an appropriate finder.
Show Source
Nested Schema : draftPurchaseOrders-attachments-item-response
Type: object
Show Source
Nested Schema : draftPurchaseOrders-DFF-item-response
Type: object
Show Source
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPoHeaderGdf_view_DraftRestPoHeaderGDFFVxUSPOHeadersVO-item-response
Type: object
Show Source
Nested Schema : draftPurchaseOrders-lines-item-response
Type: object
Show Source
  • Title: Ordered
    Amount of the service on the purchase order line.
  • Attachments for Lines
    Title: Attachments for Lines
    The Attachments for Lines resource manages attachments for a purchase order line.
  • Title: Base Model
    Read Only: true
    Number of code that identifies the buying organization for the model item from which an assemble-to-order configuration was created.
  • Read Only: true
    Value that uniquely identifies the buying organization for the model item from which an assemble-to-order configuration was created.
  • Title: Base Model Price
    Read Only: true
    Unit price of the base model from which the configuration was built.
  • Title: Base Price
    Original price for each unit of the offered item or service. This attribute is associated with a feature that requires opt in.
  • Title: Canceled Date
    Read Only: true
    Date when the purchase order line was canceled.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, then the purchase order line is canceled. If false, then the purchase order line is not canceled. This attribute does not have a default value.
  • Title: Canceled By
    Read Only: true
    User who canceled the purchase order line.
  • Title: Cancellation Reason
    Maximum Length: 240
    Description of the reason for cancellation.
  • Title: Cancel Unfulfilled Demand
    Contains one of the following values: True or False. If True, then cancel all the associated requisitions while canceling a purchase order line. If False, then do not cancel the associated requisitions while canceling an order line. This attribute does not have a default value.
  • Title: Category Name
    Maximum Length: 2400
    Name of the purchasing category that the purchase order uses to classify the purchase for the order line.
  • Maximum Length: 820
    Abbreviation that identifies the purchasing category.
  • Value that uniquely identifies the purchasing category.
  • Read Only: true
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then purchase order or change order is accepted by supplier. If false, then supplier response is not required or pending for supplier acceptance. This attribute does not have a default value.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, then the purchased item is a configuration, which is a single shippable unit made of a base model (model item) and optional additions (options). If false, then the purchased item is a standard item. This attribute does not have a default value.
  • Title: Consignment Line
    Read Only: true
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the item on the purchase order is under consignment. If false, then the item is not under consignment. This attribute does not have a default value.
  • Read Only: true
    Maximum Length: 64
    User who created the purchase order line.
  • Read Only: true
    Date and time when the buyer or application created the purchase order line.
  • Read Only: true
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the line type can be used to create credit lines. If false, then the line type can't be used to create credit lines. This attribute doesn't have a default value.
  • Title: Currency
    Read Only: true
    Maximum Length: 80
    Currency of the purchase order.
  • Read Only: true
    Maximum Length: 15
    Abbreviation that identifies the currency of the purchase order.
  • Title: Description
    Maximum Length: 240
    Description of the item that the purchase order references.
  • Flexfields for Lines
    Title: Flexfields for Lines
    The Flexfields for Lines resource manages additional details about purchase order lines.
  • Title: Discount
    Value that indicates the discount percent or amount of the purchase order line.
  • Title: Discount Reason
    Maximum Length: 240
    Reason for the discount.
  • Title: Discount Type
    Type of discount that indicates whether the discount is based on amount or percent.
  • Title: Funds Status
    Read Only: true
    Maximum Length: 80
    Status of the funds check or funds reservation validation result for the line.
  • Read Only: true
    Maximum Length: 25
    Abbreviation that identifies the funds status.
  • Title: Hazard Class
    Maximum Length: 40
    Name of the hazard class that is used to identify and classify hazardous materials to comply with the safety regulations.
  • Title: Code
    Maximum Length: 30
    Abbreviation that identifies the hazard class.
  • Value that uniquely identifies the hazard class.
  • Title: Item
    Abbreviation that uniquely identifies the item on the purchase order.
  • Value that uniquely identifies the item on the purchase order.
  • Title: Item Revision
    Maximum Length: 18
    Revision number of the item.
  • Read Only: true
    Date and time when the buyer or application last updated the purchase order line.
  • Read Only: true
    Maximum Length: 64
    User who last updated the purchase order line.
  • Title: Line
    Number that uniquely identifies the purchase order line.
  • Title: Line Type
    Maximum Length: 30
    Type that indicates whether the purchase order line references an item or a service.
  • Value that uniquely identifies whether the purchase order line references an item or a service.
  • Links
  • Title: Allow Price Override
    Read Only: true
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the price was manually changed by the user. If false, then the default price was applied by the application. This attribute does not have a default value.
  • Title: Manufacturer
    Read Only: true
    Maximum Length: 700
    Name of the manufacturer of the item.
  • Title: Manufacturer Part Number
    Read Only: true
    Maximum Length: 700
    Number issued by the manufacturer that uniquely identifies the individual product.
  • Title: Maximum Retainage Amount
    Maximum amount of retainage that can be withheld on a contract line.
  • Title: Negotiated
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the buyer and the supplier negotiated and agreed on the price before the purchase. If false, then the buyer and the supplier did not negotiate the price before the purchase. This attribute does not have a default value.
  • Title: Negotiation
    Read Only: true
    Maximum Length: 240
    Number that uniquely identifies the negotiation that the purchase order line references.
  • Read Only: true
    Value that uniquely identifies the negotiation that the purchase order line references.
  • Title: Negotiation Line
    Number that uniquely identifies the negotiation line that the purchase order line references.
  • Title: Note to Supplier
    Maximum Length: 1000
    Note that the supplier can read to get details about how to process the order line on the purchase order.
  • Title: Selected Options Price
    Read Only: true
    Sum of the extended price of all options chosen for each unit of the purchased configuration.
  • Title: Order
    Read Only: true
    Maximum Length: 30
    Number that uniquely identifies the purchase order in the sold-to legal entity.
  • Read Only: true
    Value that uniquely identifies the purchase order.
  • Read Only: true
    Value that uniquely identifies the purchase order line.
  • Title: Price
    Price of the purchase order line.
  • Title: UOM Name
    Maximum Length: 25
    Unit of measure that the item uses for pricing.
  • Maximum Length: 3
    Abbreviation that identifies the unit of measure the item uses for pricing.
  • Quantity of the item on the order line.
  • Title: Change Reason
    Maximum Length: 240
    Reason for changing the line.
  • Title: Reference Number
    Read Only: true
    Maximum Length: 25
    Number that identifies the document of the purchase order that was imported from the legacy application into Oracle Purchasing Cloud.
  • Title: Negotiation Response
    Read Only: true
    Number that uniquely identifies the supplier's response to the negotiation that the purchase order line references.
  • Title: Response Line
    Read Only: true
    Number that uniquely identifies the supplier's response line to the negotiation that the purchase order line references.
  • Schedules
    Title: Schedules
    The Schedules resource manages purchasing details, such as ship-to location and delivery date.
  • Value that uniquely identifies the source agreement that the purchase order line references.
  • Title: Source Agreement Line
    Number that uniquely identifies the source agreement line that the purchase order line references.
  • Value that uniquely identifies the source agreement line that the purchase order line references.
  • Title: Source Agreement
    Number that uniquely identifies the source agreement that the purchase order line references.
  • Title: Source Agreement Procurement BU
    Business unit of the purchase agreement against which this purchase order line is released.
  • Value that uniquely identifies the business unit of the purchase agreement against which this purchase order line is released.
  • Title: Source Agreement Document Type
    Read Only: true
    Value that specifies whether the agreement is a blanket purchase agreement or a contract purchase agreement.
  • Abbreviation that identifies source agreement type. Valid values are contract and blanket.
  • Special Handling Flexfields for Draft Purchase Order Lines
    Title: Special Handling Flexfields for Draft Purchase Order Lines
    A data field that includes the special handling flexfields for purchase order lines.
  • Read Only: true
    Maximum Length: 150
    Value that uniquely identifies the configured item that the requester created in the supplier application when creating the requisition.
  • Title: Supplier Item
    Maximum Length: 300
    Number that the supplier uses to identify the item on the purchase order line.
  • Read Only: true
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the document line is taxable. If false, then the document line is not taxable. This attribute does not have a default value.
  • Title: UN Number
    Maximum Length: 20
    Number that the United Nations uses to identify hazardous material.
  • Title: Code
    Maximum Length: 30
    Abbreviation that uniquely identifies the number that the United Nations uses to identify hazardous material.
  • Title: UN Number Description
    Maximum Length: 240
    Description of the hazardous material that the United Nations identification number references.
  • Value that uniquely identifies the number that the United Nations uses to identify hazardous material.
  • Title: UOM
    Maximum Length: 25
    Unit of measure that the item uses for quantity.
  • Maximum Length: 3
    Abbreviation that identifies the unit of measure.
  • Title: Product
    Read Only: true
    Maximum Length: 300
    Name of the finished item that the work order in contract manufacturing creates.
Nested Schema : Attachments for Lines
Type: array
Title: Attachments for Lines
The Attachments for Lines resource manages attachments for a purchase order line.
Show Source
Nested Schema : Flexfields for Lines
Type: array
Title: Flexfields for Lines
The Flexfields for Lines resource manages additional details about purchase order lines.
Show Source
Nested Schema : Schedules
Type: array
Title: Schedules
The Schedules resource manages purchasing details, such as ship-to location and delivery date.
Show Source
Nested Schema : Special Handling Flexfields for Draft Purchase Order Lines
Type: array
Title: Special Handling Flexfields for Draft Purchase Order Lines
A data field that includes the special handling flexfields for purchase order lines.
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "ORA_PO_BILL_ONLY_LINES":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPOLineSHdf_view_DraftPoLineRestSHDFFORA__5FPO__5FBILL__5FONLY__5FLINESVO-item-response" } }
Nested Schema : draftPurchaseOrders-lines-attachments-item-response
Type: object
Show Source
Nested Schema : draftPurchaseOrders-lines-DFF-item-response
Type: object
Show Source
Nested Schema : draftPurchaseOrders-lines-schedules-item-response
Type: object
Show Source
  • Title: Accrue at Receipt
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then accrue the purchase order schedule at receipt. If false, then do not accrue the purchase order schedule at receipt. This attribute does not have a default value.
  • Title: Allow Substitute Receipts
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the purchase order schedule allows the application to use a substitute item in place of the ordered item. If false, then the purchase order schedule does not allow a substitute item. This attribute does not have a default value.
  • Title: Ordered
    Amount of the service on the purchase order schedule.
  • Title: Assessable Value
    Value of the product that can be assessable.
  • Attachments for Schedules
    Title: Attachments for Schedules
    The Attachments for Schedules resource manages attachments for a purchase order schedule.
  • Title: Back-to-Back Order
    Read Only: true
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the sales order exists for the purchase order schedule, and you use back-to back-fulfillment. The purchase order schedule fulfills the sales order upon receipt. If false, then the sales order does not exist for the purchase order schedule. This attribute does not have a default value.
  • Title: Canceled Date
    Read Only: true
    Date when the purchase order schedule was canceled.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, then the schedule is canceled. If false, then the schedule is not canceled. This attribute does not have a default value.
  • Title: Canceled By
    Read Only: true
    User who canceled the purchase order schedule.
  • Title: Cancellation Reason
    Maximum Length: 240
    Description of the reason for cancellation.
  • Title: Cancel Unfulfilled Demand
    Contains one of the following values: True or False. If True, then cancel all the associated requisitions while canceling a purchase order schedule. If False, then do not cancel the associated requisitions while canceling an order schedule. This attribute does not have a default value.
  • Title: Carrier
    Maximum Length: 360
    Company that transports the item.
  • Value that uniquely identifies the company that transports the item.
  • Read Only: true
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then purchase order or change order is accepted by supplier. If false, then supplier response is not required or pending for supplier acceptance. This attribute does not have a default value.
  • Title: Canceled Amount
    Read Only: true
    Purchase order amount that is canceled as a result of a change order.
  • Title: Canceled Quantity
    Read Only: true
    Purchase order quantity that is canceled as a result of a change order.
  • Title: Country of Origin
    Maximum Length: 80
    Country of the organization that ships or exports the item.
  • Maximum Length: 2
    Abbreviation that identifies the country of the organization that ships or exports the item.
  • Read Only: true
    Maximum Length: 64
    User who created the schedule.
  • Read Only: true
    Date and time when the buyer or application created the purchase order schedule.
  • Title: Currency
    Read Only: true
    Maximum Length: 80
    Currency of the purchase order.
  • Read Only: true
    Maximum Length: 15
    Abbreviation that identifies the currency of the purchase order.
  • Title: Customer Item
    Read Only: true
    Maximum Length: 25
    Value that identifies the product being procured for a customer, which is used in the customer's sales order in a drop ship arrangement.
  • Title: Customer Item Description
    Read Only: true
    Maximum Length: 240
    Description of the product being procured for a customer, which is used in the customer's sales order in a drop ship arrangement.
  • Title: Customer Purchase Order Line
    Read Only: true
    Maximum Length: 50
    Number that identifies the purchase order line for the product being procured for a customer, which is used in the customer's sales order in a drop ship arrangement.
  • Title: Customer Purchase Order
    Read Only: true
    Maximum Length: 50
    Number that identifies the purchase order for the product being procured for a customer, which is used in the customer's sales order in a drop ship arrangement.
  • Title: Customer Sales Order Schedule
    Read Only: true
    Maximum Length: 50
    Number that identifies the purchase order schedule for the product being procured for a customer, which is used in the customer's sales order in a drop ship arrangement.
  • Title: Description
    Maximum Length: 240
    Description of the work associated with the progress payment schedule.
  • Title: Destination Type
    Type of destination that determines how to charge the item. Values include inventory, expense, drop ship, or work order.
  • Maximum Length: 25
    Value that indicates how to use the item during fulfillment. Values include inventory, expense, drop ship, or manufacturing.
  • Flexfields for Schedules
    Title: Flexfields for Schedules
    The Flexfields for Schedules resource manages additional details about purchase order schedules.
  • Distributions
    Title: Distributions
    The Distributions resource manages purchasing details, such as details about accounting or the project.
  • Title: Early Receipt Tolerance in Days
    Maximum number of days the application allows to receive an early shipment.
  • Read Only: true
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the schedule cannot be changed by the manufacturing application. If false, then the schedule can be changed by the manufacturing application. This attribute does not have a default value.
  • Read Only: true
    Value that indicates if the purchase order should be prevented from being automatically rescheduled by the manufacturing application.
  • Read Only: true
    Maximum Length: 25
    Abbreviation that identifies the firm status.
  • Title: Funds Status
    Read Only: true
    Maximum Length: 80
    Status of the funds check or funds reservation validation result for the schedule.
  • Read Only: true
    Maximum Length: 25
    Abbreviation that identifies the funds status.
  • US Federal Attributes for Schedules
    Title: US Federal Attributes for Schedules
    The US Federal Attributes for Schedules resource manages federal financial attributes for purchase order schedules.
  • Title: Inspection Required
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the schedule must be inspected before the buyer can pay the invoice. If false, then the buyer can pay the invoice even if the schedule hasn't been inspected. This attribute does not have a default value.
  • Title: Invoice Close Tolerance Percent
    Percent that the application uses to determine whether to close a purchase order schedule when the invoice invoices only part of the item.
  • Title: Invoice Match Option
    Maximum Length: 80
    Determines whether to match the invoice to the purchase order or the receipt. If the purchase order line is under consignment, then match each invoice to the consumption advice.
  • Maximum Length: 25
    Determines whether the invoice for the purchase order schedule must match the purchase order or the receipt. Values include C for consumption advice, P for order, or R for receipt.
  • Title: Last Acceptable Delivery Date
    Read Only: true
    Last date when the shipper can deliver the item.
  • Read Only: true
    Last date when the shipper can ship the item.
  • Read Only: true
    Date and time when the buyer or application last updated the purchase order schedule.
  • Read Only: true
    Maximum Length: 64
    User who last updated the schedule.
  • Title: Late Receipt Tolerance in Days
    Maximum number of days the application allows to receive a late shipment.
  • Title: Intended Use
    Maximum Length: 240
    Purpose for which a product is likely to be used in the business by the purchaser.
  • Value that uniquely identifies the intended use of a product in the business by the purchaser.
  • Read Only: true
    Value that uniquely identifies the purchase order schedule.
  • Title: Line
    Read Only: true
    Number that uniquely identifies the purchase order line.
  • Links
  • Abbreviation that identifies the final discharge location.
  • Value that uniquely identifies the final discharge location.
  • Title: Match Approval Level
    Value that specifies how quantities on the purchase order, receipt, inspection, and invoice must match before the buyer can pay the invoice. Values include 2-way, 3-way, or 4-way.
  • Maximum Length: 40
    Abbreviation that identifies the match approval level.
  • Title: Mode of Transport
    Maximum Length: 80
    Mode of transport to ship the item, such as truck, air, or boat.
  • Maximum Length: 30
    Abbreviation that identifies the mode of transport.
  • Title: Note to Receiver
    Maximum Length: 1000
    Note that the receiver can read to get details about how to process the purchase order schedule.
  • Title: Orchestration Agreement Line Number
    Read Only: true
    Number that identifies the orchestration agreement line.
  • Title: Orchestration Agreement Number
    Read Only: true
    Maximum Length: 100
    Number that identifies the orchestration agreement between the legal entities, business units, and trade organizations establishing a trade relationship.
  • Title: Order
    Read Only: true
    Maximum Length: 30
    Number that uniquely identifies the purchase order in the sold-to legal entity.
  • Title: Original Promised Delivery Date
    Read Only: true
    Date when the supplier originally promised to deliver the item to the buyer.
  • Title: Original Promised Ship Date
    Read Only: true
    Date when the supplier originally promised to ship the item to the buyer.
  • Title: Overreceipt Action
    Maximum Length: 80
    Action to take when the receipt exceeds the value that the OverReceiptTolerancePercent attribute specifies. Values include none, reject, or warning.
  • Maximum Length: 25
    Abbreviation that identifies the over receipt action.
  • Title: Overreceipt Tolerance Percent
    Percent tolerance to use when receiving more than the ordered quantity or amount without starting the action that the OverReceiptActionCode attribute specifies.
  • Read Only: true
    Value that uniquely identifies the schedule from which this schedule was created.
  • Number that uniquely identifies the schedule from which this schedule was created.
  • Value that uniquely identifies the purchase order.
  • Value that uniquely identifies the parent line of the schedule. This attribute is used when the schedule is split.
  • Read Only: true
    Name of the inventory organization reporting to the sold-to legal entity identified on a purchase order. This organization is used for cost accounting the transactions in the sold-to legal entity.
  • Read Only: true
    Abbreviation that identifies the inventory organization reporting to the sold-to legal entity identified on a purchase order. This organization is used for cost accounting the transactions in the sold-to legal entity.
  • Read Only: true
    Value that uniquely identifies the inventory organization reporting to the sold-to legal entity identified on a purchase order. This organization is used for cost accounting the transactions in the sold-to legal entity.
  • Title: Price
    Price of the purchase order schedule.
  • Title: UOM Name
    Read Only: true
    Maximum Length: 25
    Unit of measure that the item uses for pricing.
  • Maximum Length: 3
    Abbreviation that identifies the unit of measure the item uses for pricing.
  • Read Only: true
    Value that uniquely identifies the primary trade relationship in an orchestration agreement.
  • Title: Product Category
    Maximum Length: 1996
    Name of the category used to classify products for tax purposes.
  • Maximum Length: 240
    Abbreviation that identifies the category used to classify products for tax purposes.
  • Title: Product Fiscal Classification
    Maximum Length: 240
    Tax classification used by a tax authority to categorize a product.
  • Maximum Length: 255
    Abbreviation that identifies the fiscal classification of a product by tax authority for tax purposes.
  • Value that uniquely identifies the fiscal classification of a product by tax authority for tax purposes. It is based on the inventory item category.
  • Title: Product Type
    Maximum Length: 80
    Value that determines how the tax is calculated. Values include goods and services.
  • Maximum Length: 240
    Abbreviation that identifies the product type.
  • Title: Promised Delivery Date
    Date when the supplier promises to deliver the item to the buyer.
  • Title: Promised Ship Date
    Date when the supplier promises to ship the item to the buyer.
  • Scheduled quantity of the item.
  • Title: Change Reason
    Maximum Length: 240
    Reason for changing the schedule.
  • Title: Receipt Close Tolerance Percent
    Percent that the application uses to determine whether to close a purchase order schedule when the receiver receives only part of the item.
  • Title: Receipt Date Exception Action
    Maximum Length: 80
    Action to take when the buyer does not receive the purchase ordered quantity or does not receive the amount before the value that the Late Receipt Tolerance Days attribute specifies. Values include none, reject, or warning.
  • Maximum Length: 25
    Action to take when the application does not receive the purchase ordered quantity or amount before the value that the Late Receipt Tolerance Days attribute specifies. Values include none, reject, or warning.
  • Title: Receipt Required
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the schedule must be received before the buyer can pay the invoice. If false, then the buyer can pay the invoice even if the schedule hasn't been received. This attribute does not have a default value.
  • Title: Receipt Routing
    Maximum Length: 80
    Value that indicates the routing to use when receiving the item. Values include standard receipt, inspection required, or direct delivery.
  • Value that uniquely identifies the routing to use when receiving the item. Values include 1 for standard receipt, 2 for inspection required, or 3 for direct delivery.
  • Read Only: true
    User who rejected the schedule.
  • Read Only: true
    Maximum Length: 25
    Role of the user who rejected the schedule.
  • Title: Rejection Reason
    Read Only: true
    Maximum Length: 240
    Reason for rejecting the schedule.
  • Title: Requested Delivery Date
    Date when the buyer requested that the supplier deliver the item.
  • Title: Requested Ship Date
    Date when the buyer requested that the supplier ship the item.
  • Title: Retainage Rate
    Percentage of the invoice value that can be withheld as retainage.
  • Title: Customer Sales Order Line
    Read Only: true
    Maximum Length: 50
    Number that uniquely identifies the sales order line that the purchase order schedule references.
  • Title: Customer Sales Order
    Read Only: true
    Maximum Length: 50
    Number that uniquely identifies the sales order that the purchase order schedule references.
  • Title: Customer Sales Order Schedule
    Read Only: true
    Maximum Length: 50
    Number that uniquely identifies the sales order schedule that the purchase order schedule references.
  • Title: Schedule
    Number that uniquely identifies the purchase order schedule for the purchase order line.
  • Title: Secondary Quantity
    Scheduled quantity in the secondary unit of measure. This attribute is applicable when more than one unit of measure controls the item.
  • Title: Secondary UOM
    Read Only: true
    Maximum Length: 25
    Secondary unit of measure to use for the quantity when more than one unit of measure controls the item.
  • Read Only: true
    Maximum Length: 3
    Abbreviation that identifies the scheduled quantity in the secondary unit of measure. This attribute is applicable when more than one unit of measure controls the item.
  • Title: Meaning
    Maximum Length: 80
    Priority that determines how quickly to transport the item.
  • Maximum Length: 30
    Abbreviation that identifies the service level for the shipping method.
  • Transportation method for the carrier or service level for the purchase order. For example, ABC Shipping - AIR - 2nd Day.
  • Title: Ship-to Customer
    Read Only: true
    Maximum Length: 360
    Name of the party who receives the item that the supplier ships.
  • Title: Ship-to Customer Contact
    Read Only: true
    Maximum Length: 360
    Name of the contact from the company where the goods are shipped.
  • Read Only: true
    Value that uniquely identifies the contact from the company where the goods are shipped.
  • Read Only: true
    Value that uniquely identifies the third party that receives the item.
  • Read Only: true
    Value that uniquely identifies the location where the supplier should ship the goods.
  • Title: Ship-to Exception Action
    Maximum Length: 80
    Action to take if an exception occurs when the receiving location is different from the ship-to location. Values include none, reject, and warning.
  • Maximum Length: 25
    Value that indicates how to handle each receipt when the receiving location is different from the ship-to location. Values include none, reject, or warning.
  • Title: Ship-to Location
    Maximum Length: 240
    Name of the location where the supplier ships the item.
  • Title: Name
    Maximum Length: 60
    Abbreviation that identifies the location where the supplier ships the item.
  • Value that uniquely identifies the location where the supplier ships the item.
  • Title: Ship-to Location Internal Code
    Maximum Length: 150
    Abbreviation that internally identifies the location where the supplier should ship the goods.
  • Title: Ship-to Organization
    Maximum Length: 240
    Name of the inventory organization that receives the item.
  • Maximum Length: 18
    Abbreviation that identifies the inventory organization where the supplier ships the item.
  • Value that uniquely identifies the inventory organization where the supplier ships the item.
  • Title: Supplier Order Line
    Read Only: true
    Maximum Length: 25
    Number or text that the supplier uses to identify a purchase order schedule.
  • Read Only: true
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the document schedule is taxable. If false, then the document schedule is not taxable. This attribute does not have a default value.
  • Title: Tax Classification
    Grouping of taxes for reporting and processing purposes.
  • Maximum Length: 30
    Abbreviation that identifies the tax classification.
  • Title: Transaction Business Category
    Maximum Length: 1996
    Classification or categorization of a transaction. This attribute is used for tax purposes as required by a tax authority.
  • Maximum Length: 240
    Abbreviation that identifies the classification or categorization of a transaction. This attribute is used for tax purposes as required by a tax authority.
  • Value that uniquely identifies the classification or categorization of a transaction. This attribute is used for tax purposes as required by a tax authority.
  • Title: Type
    Maximum Length: 80
    Type of payment whether it is released based on units of work or lump sum.
  • Maximum Length: 30
    Abbreviation that identifies the progress payment schedule type. Valid values are rate and lump sum.
  • Title: UOM
    Maximum Length: 25
    Unit of measure in the item quantity.
  • Maximum Length: 3
    Abbreviation that identifies the unit of measure.
  • Title: User-Defined Fiscal Classification
    Maximum Length: 240
    Additional classification of the transaction for tax purposes.
  • Maximum Length: 30
    Abbreviation that identifies the user-defined fiscal classification.
  • Read Only: true
    Value that uniquely identifies the work order in the factory.
  • Title: Work Order
    Read Only: true
    Maximum Length: 120
    Number that uniquely identifies the work order in the factory.
  • Read Only: true
    Value that uniquely identifies the work order operation sequence.
  • Title: Operation Sequence
    Read Only: true
    Sequence to use when performing each work order operation.
  • Title: Subtype
    Read Only: true
    Maximum Length: 30
    Subtype of the manufacturing work order.
Nested Schema : Attachments for Schedules
Type: array
Title: Attachments for Schedules
The Attachments for Schedules resource manages attachments for a purchase order schedule.
Show Source
Nested Schema : Flexfields for Schedules
Type: array
Title: Flexfields for Schedules
The Flexfields for Schedules resource manages additional details about purchase order schedules.
Show Source
Nested Schema : Distributions
Type: array
Title: Distributions
The Distributions resource manages purchasing details, such as details about accounting or the project.
Show Source
Nested Schema : US Federal Attributes for Schedules
Type: array
Title: US Federal Attributes for Schedules
The US Federal Attributes for Schedules resource manages federal financial attributes for purchase order schedules.
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "FVxUSPOLineLocations":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPoScheduleGdf_view_DraftRestPoScheduleGDFFVxUSPOLineLocationsVO-item-response" } }
Nested Schema : draftPurchaseOrders-lines-schedules-attachments-item-response
Type: object
Show Source
Nested Schema : draftPurchaseOrders-lines-schedules-DFF-item-response
Type: object
Show Source
Nested Schema : draftPurchaseOrders-lines-schedules-distributions-item-response
Type: object
Show Source
Nested Schema : Flexfields for Distributions
Type: array
Title: Flexfields for Distributions
The Flexfields for Distributions resource manages additional details about purchase order distributions.
Show Source
Nested Schema : US Federal Attributes for Distributions
Type: array
Title: US Federal Attributes for Distributions
The US Federal Attributes for Distributions resource manages federal financial attributes for purchase order distributions.
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "FVxUSPODistributions":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPoDistributionGdf_view_DraftRestPoDistributionGDFFVxUSPODistributionsVO-item-response" } }
Nested Schema : Project Costing Flexfields for Distributions
Type: array
Title: Project Costing Flexfields for Distributions
The Project Costing Flexfields for Distributions resource manages project details about purchase order distributions.
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "AP_Distribution_Sets":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFAP__5FDistribution__5FSetsVO-item-response", "AP_Invoice_Distribution":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFAP__5FInvoice__5FDistributionVO-item-response", "AP_Invoice_Line":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFAP__5FInvoice__5FLineVO-item-response", "EXM_Expense_Report":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFEXM__5FExpense__5FReportVO-item-response", "EXM_Expense_Report_Line":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFEXM__5FExpense__5FReport__5FLineVO-item-response", "INV_Misc_Transactions":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFINV__5FMisc__5FTransactionsVO-item-response", "OM_Sales_Order":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFOM__5FSales__5FOrderVO-item-response", "PJC_All":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPJC__5FAllVO-item-response", "PJC_Expenditure_Batch":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPJC__5FExpenditure__5FBatchVO-item-response", "POR_Requisition":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPOR__5FRequisitionVO-item-response", "POR_User_Preferences":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPOR__5FUser__5FPreferencesVO-item-response", "PO_Purchase_Order":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPO__5FPurchase__5FOrderVO-item-response", "PO_Purchase_Order_Line":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPO__5FPurchase__5FOrder__5FLineVO-item-response", "PO_Purchase_Order_Schedule":"#/components/schemas/oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPO__5FPurchase__5FOrder__5FScheduleVO-item-response" } }
Nested Schema : draftPurchaseOrders-lines-schedules-distributions-DFF-item-response
Type: object
Show Source
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPoDistributionGdf_view_DraftRestPoDistributionGDFFVxUSPODistributionsVO-item-response
Type: object
Show Source
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFAP__5FDistribution__5FSetsVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFAP__5FInvoice__5FDistributionVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFAP__5FInvoice__5FLineVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFEXM__5FExpense__5FReportVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFEXM__5FExpense__5FReport__5FLineVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFINV__5FMisc__5FTransactionsVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFOM__5FSales__5FOrderVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPJC__5FAllVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPJC__5FExpenditure__5FBatchVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPOR__5FRequisitionVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPOR__5FUser__5FPreferencesVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPO__5FPurchase__5FOrderVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPO__5FPurchase__5FOrder__5FLineVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPJCPODistribution_view_PJCDFFPO__5FPurchase__5FOrder__5FScheduleVO-item-response
Type: object
Show Source
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPoScheduleGdf_view_DraftRestPoScheduleGDFFVxUSPOLineLocationsVO-item-response
Type: object
Show Source
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPOLineSHdf_view_DraftPoLineRestSHDFFORA__5FPO__5FBILL__5FONLY__5FLINESVO-item-response
Type: object
Show Source
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_prc_po_commonPo_draftRestPOHeaderSHdf_view_DraftPoHeaderRestSHDFFORA__5FPO__5FBILL__5FONLY__5FHEADERSVO-item-response
Type: object
Show Source
Nested Schema : draftPurchaseOrders-summaryAttributes-item-response
Type: object
Show Source
  • Contains one of the following values: true or false. If true, the charge account is the same for all distributions so all the purchase order (PO) distributions are charged to the same charge account. If false, then the charge account is different for each distribution so the PO distributions are charged to different charge accounts. The default value is false.
  • Value that uniquely identifies the chart of accounts.
  • Maximum Length: 255
    Physical address of the onetime location where the buying company needs to deliver the goods received from a supplier.
  • Value that uniquely identifies the one time location where the buying company should deliver the goods that were previously received from a supplier.
  • Abbreviation that identifies the final location where the buying company should deliver the goods that were previously received from a supplier.
  • Value that uniquely identifies the final location where the buying company should deliver the goods that were previously received from a supplier.
  • Contains one of the following values: true or false. If true, all the purchase order distributions have the same delivery location. If false, then the delivery location is different on distributions. The default value is false.
  • Links
  • Sum Total of purchase order amounts across all lines.
  • Account that the purchase from a purchase order is charged to.
  • Value that uniquely identifies the account that the purchase from a purchase order is charged to.
  • Value that uniquely identifies the purchase order.
  • Contains one of the following values: NONE, SINGLE, or MULTIPLE. If none of the distributions have project costing details associated with them, the attribute value is set to NONE. If all the distributions have exactly the same project and task associated with them, it is set to SINGLE. If the project and task associated with the distributions are different, it is set to MULTIPLE.
  • Value that uniquely identifies the project.
  • Maximum Length: 240
    Name of the project, which is displayed on the purchase order header.
  • Maximum Length: 25
    Number of the project, which is displayed on the purchase order header.
  • Contains one of the following values: NONE, SINGLE, or MULTIPLE. If none of the distributions have project costing details associated with them, the attribute value is set to NONE. If all the distributions have the same project associated with them and the costing details are exactly the same, it is set to SINGLE. If the project costing details of the distributions are different, it is set to MULTIPLE.
  • Date when the buying company requested the ordered item or service to be delivered.
  • Display name of the person for whom goods or services are being ordered. The value is set to Null if the requester is different across purchase order distributions.
  • Value that uniquely identifies the person for whom goods or services are being ordered. The value is set to Null if the requester is different across the purchase order distributions.
  • Contains one of the following values: true or false. If true, all the purchase order schedules carry the same requested delivery date value. If false, then the requested delivery date is different on schedules. The default value is false.
  • Contains one of the following values: true or false. If true, all the purchase order lines are ordered for the same person. If false, the purchase order are ordered for different persons. This attribute doesn't have a default value.
  • Value that uniquely identifies the Task.
  • Name of the project task, which is displayed on the purchase order.
  • Maximum Length: 240
    Number of the project task, which is displayed on the purchase order.
  • Sum Total of Ordered and Total Tax amount.
  • Sum total of exclusive tax (nonrecoverable and recoverable) amounts on a purchase order expressed in the functional currency.
Back to Top

Examples

A draft purchase order or an approved purchase order can be updated using PATCH operation. To initiate a change on an approved purchase order, change order description and change order initiating party are required. Purchase order header can be updated to modify requiring an electronic signature and master contract attributes.

This example describes how to update a header.

Example cURL Command

Use the following cURL command to submit a request on the REST resource.

curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload'  "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/draftPurchaseOrdersUniqID"

The following table lists the examples.

Example Number Description
Example 1 Update a draft purchase order header.
Example 2 Update a draft purchase order for goods or services.
Example 3 Update an approved purchase order for goods and services with change order initiating party as buyer.
Example 4 Update an approved purchase order for goods and services with change order initiating party as requester.
Example 5 Update an approved purchase order for goods and services with change order initiating party as supplier.
Example 6 Update the project costing flexfields on an approved purchase order with change order initiating party as buyer.
Example 7 Update descriptive flexfields on an approved purchase order with change order initiating party as buyer.
Example 8 Update the overriding approver on an approved purchase order with the change order initiating party as requester.

Example 1 cURL Command

Use the following cURL command to submit a request on the REST resource.

curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload'  "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185833773"

Example 1 Request Body

The following example includes the contents of the request body in JSON format to update the master contract and require electronic signature attributes on a draft purchase order header. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

{
	"RequiresSignatureFlag": true,
	"MasterContractNumber": "ECM CONTRACT 2",
	"MasterContractType": "Buy : No lines"
}

Example 1 Response Body

The following example includes the contents of the response body in JSON format:

{
	"POHeaderId": 300100185833773,
	"OrderNumber": "1004692",
	"Description": "Master contract using REST",
	"DocumentStyleId": 1,
	"DocumentStyle": "Purchase Order",
	"StatusCode": "INCOMPLETE",
	"Status": "Incomplete",
	"ProcurementBUId": 204,
	"ProcurementBU": "Vision Operations",
	"RequisitioningBUId": 204,
	"RequisitioningBU": "Vision Operations",
	"BuyerId": 100010026863855,
	"Buyer": "Johnson,Ericka",
	"BuyerEmail": "sendmail-test-discard@example.com",
	"CurrencyCode": "USD",
	"Currency": "US Dollar",
	"ConversionRateTypeCode": null,
	"ConversionRateType": null,
	"ConversionRateDate": null,
	"ConversionRate": null,
	"SupplierId": 1178,
	"Supplier": "CDS, Inc",
	"SupplierSiteId": 2854,
	"SupplierSite": "PITTSBURGH",
	"SupplierCommunicationMethod": "NONE",
	"SupplierFax": null,
	"SupplierOrder": null,
	"SupplierEmailAddress": null,
	"SoldToLegalEntityId": 204,
	"SoldToLegalEntity": "Vision Operations",
	"BillToBUId": 204,
	"BillToBU": "Vision Operations",
	"BillToLocationId": 899,
	"BillToLocation": "CA",
	"DefaultShipToLocationId": null,
	"DefaultShipToLocation": null,
	"MasterContractId": 300100185792474,
	"MasterContractNumber": "ECM CONTRACT 2",
	"MasterContractTypeId": 101,
	"MasterContractType": "Buy : No lines",
	"RequiredAcknowledgmentCode": "N",
	"RequiredAcknowledgment": "None",
	"AcknowledgmentDueDate": null,
	"AcknowledgmentWithinDays": null,
	"BuyerManagedTransportFlag": true,
	"RequiresSignatureFlag": true,
	"PendingSignatureFlag": null,
	"PaymentTermsId": 10003,
	"PaymentTerms": "45 Net (terms date + 45)",
	"FOBCode": "Origin",
	"FOB": "Origin",
	"FreightTermsCode": "Due",
	"FreightTerms": "Due",
	"SupplierContactId": null,
	"SupplierContact": null,
	"NoteToSupplier": "This is a note to Supplier",
	"NoteToReceiver": "This is a note to Receiver",
	"CarrierId": 12519,
	"Carrier": "Airborne",
	"ModeOfTransportCode": "PARCEL",
	"ModeOfTransport": "Parcel",
	"ServiceLevelCode": "2DA",
	"ServiceLevel": "2nd day air",
	"ConfirmingOrderFlag": false,
	"PayOnReceiptFlag": true,
	"DocumentCreationMethod": "PO_REST_SERVICE",
	"ShippingMethod": "Airborne-Parcel-2nd day air",
	"DefaultTaxationCountryCode": null,
	"DefaultTaxationCountry": null,
	"FirstPartyRegistrationId": null,
	"FirstPartyRegistrationNumber": null,
	"ThirdPartyRegistrationId": null,
	"ThirdPartyRegistrationNumber": null,
	"DocumentFiscalClassificationId": null,
	"DocumentFiscalClassificationCode": null,
	"DocumentFiscalClassification": null,
	"BudgetaryControlEnabledFlag": false,
	"CancelFlag": null,
	"ChangeOrderNumber": null,
	"ChangeOrderInitiatingParty": null,
	"ChangeOrderDescription": null,
	"ChangeOrderStatusCode": null,
	"ChangeOrderStatus": null,
	"ChangeOrderTypeCode": null,
	"ChangeOrderType": null,
	"ChangeRequestedBy": null,
	"ContractTermsExistFlag": null,
	"DuplicatedFromHeaderId": null,
	"FundsStatus": null,
	"FundsStatusCode": null,
	"ImportSourceCode": null,
	"ReferenceNumber": null,
	"LastUpdateDate": "2020-10-21T10:29:05.018+00:00",
	"LastUpdatedBy": "PRC_INTEGRATION_USER",
	"CreationDate": "2020-10-21T10:00:37.001+00:00",
	"CreatedBy": "PRC_INTEGRATION_USER",
	"links": [
	{
		"rel": "self",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185833773",
		"name": "draftPurchaseOrders",
		"kind": "item",
		"properties": {
			"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000378"
		}
	},
	{
		"rel": "canonical",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185833773",
		"name": "draftPurchaseOrders",
		"kind": "item"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185833773/child/DFF",
		"name": "DFF",
		"kind": "collection"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185833773/child/attachments",
		"name": "attachments",
		"kind": "collection"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185833773/child/lines",
		"name": "lines",
		"kind": "collection"
	},
	{
		"rel": "action",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185833773/action/submit",
		"name": "submit",
		"kind": "other"
	},
	{
		"rel": "action",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185833773/action/cancelChangeOrder",
		"name": "cancelChangeOrder",
		"kind": "other"
	}
	]
}

Example 2 cURL Command

Use the following cURL command to submit a request on the REST resource. In this example, header, line, schedule and distribution details of a draft purchase order is updated using the PATCH operation.

curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload'  "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914"

Example 2 Request Body

The following example includes the contents of the request body in JSON format to update a draft purchase order for goods or services. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

{
	"RequiresSignatureFlag": true,
	"MasterContractNumber": "ECM CONTRACT 2",
	"MasterContractType": "Buy : No lines",
	"lines": [
	{
		"POLineId": 300100186256915,
		"Quantity": 11,
		"Price": 21,
		"schedules": [
		{
			"LineLocationId": 300100186256916,
			"Quantity": 11,
			"distributions": [
			{
				"PODistributionId": 300100186256917,
				"Quantity": 11
			}
			]
		}
		]
	},
	{
		"POLineId": 300100186256918,
		"Amount": 110,
		"schedules": [
		{
			"LineLocationId": 300100186256919,
			"Amount": 110,
			"distributions": [
			{
				"PODistributionId": 300100186256920,
				"Amount": 110
			}
			]
		}
		]
	}
	]
}

Example 2 Response Body

The following example includes the contents of the response body in JSON format:

{
	"POHeaderId": 300100186256914,
	"OrderNumber": "1007361",
	"Description": "PO created using REST",
	"DocumentStyleId": 1,
	"DocumentStyle": "Purchase Order",
	"StatusCode": "INCOMPLETE",
	"Status": "Incomplete",
	"ProcurementBUId": 204,
	"ProcurementBU": "Vision Operations",
	"RequisitioningBUId": 204,
	"RequisitioningBU": "Vision Operations",
	"BuyerId": 100010026863783,
	"Buyer": "Jones,Clare",
	"BuyerEmail": null,
	"CurrencyCode": "USD",
	"Currency": "US Dollar",
	"ConversionRateTypeCode": null,
	"ConversionRateType": null,
	"ConversionRateDate": null,
	"ConversionRate": null,
	"SupplierId": 12,
	"Supplier": "CV_SuppA01",
	"SupplierSiteId": 2444,
	"SupplierSite": "CVSuppA01Site01",
	"SupplierCommunicationMethod": "NONE",
	"SupplierFax": null,
	"SupplierOrder": null,
	"SupplierEmailAddress": null,
	"SoldToLegalEntityId": 204,
	"SoldToLegalEntity": "Vision Operations",
	"BillToBUId": 204,
	"BillToBU": "Vision Operations",
	"BillToLocationId": 204,
	"BillToLocation": "V1- New York City",
	"DefaultShipToLocationId": null,
	"DefaultShipToLocation": null,
	"MasterContractId": 300100185792474,
	"MasterContractNumber": "ECM CONTRACT 2",
	"MasterContractTypeId": 101,
	"MasterContractType": "Buy : No lines",
	"RequiredAcknowledgmentCode": "N",
	"RequiredAcknowledgment": "None",
	"AcknowledgmentDueDate": null,
	"AcknowledgmentWithinDays": null,
	"BuyerManagedTransportFlag": true,
	"RequiresSignatureFlag": true,
	"PendingSignatureFlag": null,
	"PaymentTermsId": 10003,
	"PaymentTerms": "45 Net (terms date + 45)",
	"FOBCode": "Origin",
	"FOB": "Origin",
	"FreightTermsCode": "Due",
	"FreightTerms": "Due",
	"SupplierContactId": null,
	"SupplierContact": null,
	"NoteToSupplier": null,
	"NoteToReceiver": null,
	"CarrierId": 12519,
	"Carrier": "Airborne",
	"ModeOfTransportCode": "PARCEL",
	"ModeOfTransport": "Parcel",
	"ServiceLevelCode": "2DA",
	"ServiceLevel": "2nd day air",
	"ConfirmingOrderFlag": false,
	"PayOnReceiptFlag": false,
	"DocumentCreationMethod": "PO_REST_SERVICE",
	"ShippingMethod": "Airborne-Parcel-2nd day air",
	"DefaultTaxationCountryCode": null,
	"DefaultTaxationCountry": null,
	"FirstPartyRegistrationId": null,
	"FirstPartyRegistrationNumber": null,
	"ThirdPartyRegistrationId": null,
	"ThirdPartyRegistrationNumber": null,
	"DocumentFiscalClassificationId": null,
	"DocumentFiscalClassificationCode": null,
	"DocumentFiscalClassification": null,
	"BudgetaryControlEnabledFlag": false,
	"CancelFlag": null,
	"ChangeOrderInitiatingParty": null,
	"ChangeOrderNumber": null,
	"ChangeOrderDescription": null,
	"ChangeOrderStatusCode": null,
	"ChangeOrderStatus": null,
	"ChangeOrderTypeCode": null,
	"ChangeOrderType": null,
	"ChangeRequestedBy": null,
	"ContractTermsExistFlag": null,
	"DuplicatedFromHeaderId": null,
	"FundsStatus": null,
	"FundsStatusCode": null,
	"ImportSourceCode": null,
	"ReferenceNumber": null,
	"LastUpdateDate": "2020-07-05T14:31:46.310+00:00",
	"LastUpdatedBy": "BUYER01",
	"CreationDate": "2020-07-05T14:16:01.001+00:00",
	"CreatedBy": "BUYER01",
	"lines": [
	{
		"POLineId": 300100186256915,
		"LineNumber": 1,
		"POHeaderId": 300100186256914,
		"OrderNumber": "1007361",
		"LineTypeId": 1,
		"LineType": "Goods",
		"ItemId": null,
		"Item": null,
		"ItemRevision": null,
		"CategoryId": 1,
		"CategoryCode": "MISC.MISC",
		"Category": "Miscellaneous_1",
		"Description": "Laptop Battery",
		"Amount": null,
		"Quantity": 11,
		"Price": 21,
		"UOMCode": "Ea",
		"UOM": "Each",
		"CurrencyCode": "USD",
		"Currency": "US Dollar",
		"BaseModelId": null,
		"BaseModel": null,
		"BaseModelPrice": null,
		"CancelDate": null,
		"CancelFlag": null,
		"CancelReason": null,
		"CancelledBy": null,
		"ChangeAcceptedFlag": null,
		"ConfiguredItemFlag": false,
		"ConsignmentLineFlag": false,
		"SourceAgreementId": null,
		"SourceAgreementNumber": null,
		"SourceAgreementLineId": null,
		"SourceAgreementLine": null,
		"SourceAgreementTypeCode": null,
		"SourceAgreementType": null,
		"ResponseLine": null,
		"Response": null,
		"NegotiationId": null,
		"Negotiation": null,
		"NegotiationLine": null,
		"FundsStatusCode": null,
		"FundsStatus": null,
		"ManualPriceChangeFlag": false,
		"NegotiatedFlag": false,
		"NoteToSupplier": null,
		"ReasonForChange": null,
		"SupplierConfigurationId": null,
		"SupplierItem": null,
		"OptionsPrice": null,
		"UNNumberCode": null,
		"UNNumberId": null,
		"UNNumber": null,
		"UNNumberDescription": null,
		"HazardClassCode": null,
		"HazardClassId": null,
		"HazardClass": null,
		"WorkOrderProduct": null,
		"TaxableFlag": null,
		"ReferenceNumber": null,
		"CreationDate": "2020-07-05T14:16:01.421+00:00",
		"CreatedBy": "BUYER01",
		"LastUpdateDate": "2020-07-05T14:31:46.150+00:00",
		"LastUpdatedBy": "BUYER01",
		"MaximumRetainageAmount": null,
		"schedules": [
		{
			"LineLocationId": 300100186256916,
			"ScheduleNumber": 1,
			"POLineId": 300100186256915,
			"LineNumber": 1,
			"POHeaderId": 300100186256914,
			"OrderNumber": "1007361",
			"Quantity": 11,
			"Amount": null,
			"ShipToOrganizationId": 204,
			"ShipToOrganizationCode": "V1",
			"ShipToOrganization": "Vision Operations",
			"ShipToLocation": "V1- New York City",
			"ShipToLocationId": 204,
			"ShipToLocationCode": "V1- New York City",
			"DestinationTypeCode": "EXPENSE",
			"DestinationType": "Expense",
			"LocationOfFinalDischargeId": null,
			"LocationOfFinalDischargeCode": null,
			"TransactionBusinessCategoryId": null,
			"TransactionBusinessCategoryCode": null,
			"TransactionBusinessCategory": null,
			"UserDefinedFiscalClassificationCode": null,
			"UserDefinedFiscalClassification": null,
			"ProductFiscalClassificationId": null,
			"ProductFiscalClassificationCode": null,
			"ProductFiscalClassification": null,
			"ProductCategoryCode": null,
			"ProductCategory": null,
			"LineIntendedUseId": null,
			"LineIntendedUse": null,
			"ProductTypeCode": null,
			"ProductType": null,
			"AssessableValue": null,
			"TaxClassificationCode": null,
			"TaxClassification": null,
			"InvoiceCloseTolerancePercent": 0,
			"ReceiptCloseTolerancePercent": 0,
			"EarlyReceiptToleranceDays": 0,
			"LateReceiptToleranceDays": 1,
			"AccrueAtReceiptFlag": false,
			"ReceiptRoutingId": 1,
			"ReceiptRouting": "Standard receipt",
			"InvoiceMatchOptionCode": "R",
			"InvoiceMatchOption": "Receipt",
			"InspectionRequiredFlag": true,
			"ReceiptRequiredFlag": false,
			"MatchApprovalLevelCode": "4-Way",
			"MatchApprovalLevel": "4 Way",
			"AllowSubstituteReceiptsFlag": false,
			"FirmFlag": null,
			"OverReceiptTolerancePercent": 5,
			"BackToBackFlag": null,
			"NoteToReceiver": null,
			"RequestedDeliveryDate": "2020-11-29",
			"PromisedDeliveryDate": null,
			"RequestedShipDate": "2020-11-20",
			"PromisedShipDate": "2020-11-21",
			"SalesOrderNumber": null,
			"SalesOrderLineNumber": null,
			"SalesOrderScheduleNumber": null,
			"SecondaryQuantity": null,
			"TaxableFlag": null,
			"Carrier": "Airborne",
			"CarrierId": 12519,
			"CountryOfOrigin": null,
			"CountryOfOriginCode": null,
			"ShipToExceptionAction": "Warning",
			"ShipToExceptionActionCode": "WARNING",
			"FundsStatusCode": null,
			"FundsStatus": null,
			"ModeOfTransport": "Parcel",
			"ModeOfTransportCode": "PARCEL",
			"CancelDate": null,
			"CancelReason": null,
			"CancelledBy": null,
			"RejectedReason": null,
			"ReasonForChange": null,
			"ChangeAcceptedFlag": null,
			"ChangeOrderAmountCancelled": null,
			"ChangeOrderQuantityCancelled": null,
			"CustomerItem": null,
			"CustomerItemDescription": null,
			"CustomerPOLineNumber": null,
			"CustomerPONumber": null,
			"CustomerPOScheduleNumber": null,
			"CurrencyCode": "USD",
			"Currency": "US Dollar",
			"RejectedBy": null,
			"RejectedByRole": null,
			"CancelFlag": null,
			"SecondaryUOMCode": null,
			"SecondaryUOM": null,
			"UOMCode": "Ea",
			"UOM": "Each",
			"ReceiptDateExceptionActionCode": "WARNING",
			"ReceiptDateExceptionAction": "Warning",
			"OverReceiptActionCode": "WARNING",
			"OverReceiptAction": "Warning",
			"WorkOrderId": null,
			"WorkOrderNumber": null,
			"WorkOrderOperationId": null,
			"WorkOrderOperationSequence": null,
			"WorkOrderSubType": null,
			"SupplierOrderLineNumber": null,
			"OrchestrationAgreementLineNumber": null,
			"OrchestrationAgreementNumber": null,
			"PrimaryTradeRelationshipId": null,
			"POTradingOrganizationId": null,
			"FirmStatusLookupCode": null,
			"FirmStatus": null,
			"ParentLineLocationId": null,
			"ParentScheduleNumber": null,
			"ShipToCustomerContactId": null,
			"ShipToCustomerContact": null,
			"ShipToCustomerId": null,
			"ShipToCustomer": null,
			"ShipToCustomerLocationId": null,
			"ServiceLevelCode": "2DA",
			"ServiceLevel": "2nd day air",
			"CreatedBy": "BUYER01",
			"CreationDate": "2020-07-05T14:16:01.481+00:00",
			"LastUpdateDate": "2020-07-05T14:31:46.174+00:00",
			"LastUpdatedBy": "BUYER01",
			"ShippingMethod": "Airborne-Parcel-2nd day air",
			"RetainageRate": null,
			"LastAcceptableDeliveryDate": null,
			"LastAcceptableShipDate": "2020-11-22",
			"OriginalPromisedDeliveryDate": null,
			"OriginalPromisedShipDate": null,
			"distributions": [
			{
				"PODistributionId": 300100186256917,
				"DistributionNumber": 1,
				"POHeaderId": 300100186256914,
				"OrderNumber": "1007361",
				"POLineId": 300100186256915,
				"LineNumber": 1,
				"LineLocationId": 300100186256916,
				"ScheduleNumber": 1,
				"Quantity": 11,
				"Amount": null,
				"DeliverToLocationId": 204,
				"DeliverToLocationCode": "V1- New York City",
				"DeliverToLocation": "V1- New York City",
				"POChargeAccountId": 31064,
				"POChargeAccount": "01-420-7740-2103-000",
				"POAccrualAccountId": null,
				"POAccrualAccount": null,
				"POVarianceAccountId": null,
				"POVarianceAccount": null,
				"DestinationChargeAccountId": null,
				"DestinationChargeAccount": null,
				"DestinationVarianceAccountId": null,
				"DestinationVarianceAccount": null,
				"RecoverableInclusiveTax": null,
				"RecoverableExclusiveTax": null,
				"NonrecoverableInclusiveTax": null,
				"NonrecoverableExclusiveTax": null,
				"ConversionRate": null,
				"ConversionRateDate": null,
				"CurrencyCode": "USD",
				"Currency": "US Dollar",
				"UOMCode": "Ea",
				"UOM": "Each",
				"BudgetDate": null,
				"ChangeAcceptedFlag": null,
				"ChangeOrderAmountCancelled": null,
				"ChangeOrderQuantityCancelled": null,
				"DeliverToCustomerContactId": null,
				"DeliverToCustomerContact": null,
				"DeliverToCustomerId": null,
				"DeliverToCustomer": null,
				"DeliverToCustomerLocationId": null,
				"RequesterId": null,
				"Requester": null,
				"DestinationSubinventory": null,
				"FundsStatusCode": null,
				"FundsStatus": null,
				"ParentDistributionId": null,
				"ParentDistributionNumber": null,
				"ReasonForChange": null,
				"RequisitionHeaderId": null,
				"Requisition": null,
				"RequisitionLineId": null,
				"RequisitionLine": null,
				"RequisitionDistributionId": null,
				"RequisitionDistribution": null,
				"CreationDate": "2020-07-05T14:16:01.554+00:00",
				"CreatedBy": "BUYER01",
				"LastUpdateDate": "2020-07-05T14:31:46.182+00:00",
				"LastUpdatedBy": "BUYER01",
				"links": [
				{
					"rel": "self",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256915/child/schedules/300100186256916/child/distributions/300100186256917",
					"name": "distributions",
					"kind": "item",
					"properties": {
						"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
					}
				},
				{
					"rel": "canonical",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256915/child/schedules/300100186256916/child/distributions/300100186256917",
					"name": "distributions",
					"kind": "item"
				},
				{
					"rel": "parent",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256915/child/schedules/300100186256916",
					"name": "schedules",
					"kind": "item"
				},
				{
					"rel": "child",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256915/child/schedules/300100186256916/child/distributions/300100186256917/child/DFF",
					"name": "DFF",
					"kind": "collection"
				},
				{
					"rel": "child",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256915/child/schedules/300100186256916/child/distributions/300100186256917/child/projectDFF",
					"name": "projectDFF",
					"kind": "collection"
				}
				]
			}
			],
			"links": [
			{
				"rel": "self",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256915/child/schedules/300100186256916",
				"name": "schedules",
				"kind": "item",
				"properties": {
					"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
				}
			},
			{
				"rel": "canonical",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256915/child/schedules/300100186256916",
				"name": "schedules",
				"kind": "item"
			},
			{
				"rel": "parent",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256915",
				"name": "lines",
				"kind": "item"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256915/child/schedules/300100186256916/child/DFF",
				"name": "DFF",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256915/child/schedules/300100186256916/child/distributions",
				"name": "distributions",
				"kind": "collection"
			}
			]
		}
		],
		"links": [
		{
			"rel": "self",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256915",
			"name": "lines",
			"kind": "item",
			"properties": {
				"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
			}
		},
		{
			"rel": "canonical",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256915",
			"name": "lines",
			"kind": "item"
		},
		{
			"rel": "parent",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914",
			"name": "draftPurchaseOrders",
			"kind": "item"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256915/child/DFF",
			"name": "DFF",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256915/child/schedules",
			"name": "schedules",
			"kind": "collection"
		}
		]
	},
	{
		"POLineId": 300100186256918,
		"LineNumber": 2,
		"POHeaderId": 300100186256914,
		"OrderNumber": "1007361",
		"LineTypeId": 6,
		"LineType": "Fixed Price Services",
		"ItemId": null,
		"Item": null,
		"ItemRevision": null,
		"CategoryId": 1,
		"CategoryCode": "MISC.MISC",
		"Category": "Miscellaneous_1",
		"Description": "Contracting",
		"Amount": 110,
		"Quantity": null,
		"Price": null,
		"UOMCode": null,
		"UOM": null,
		"CurrencyCode": "USD",
		"Currency": "US Dollar",
		"BaseModelId": null,
		"BaseModel": null,
		"BaseModelPrice": null,
		"CancelDate": null,
		"CancelFlag": null,
		"CancelReason": null,
		"CancelledBy": null,
		"ChangeAcceptedFlag": null,
		"ConfiguredItemFlag": false,
		"ConsignmentLineFlag": false,
		"SourceAgreementId": null,
		"SourceAgreementNumber": null,
		"SourceAgreementLineId": null,
		"SourceAgreementLine": null,
		"SourceAgreementTypeCode": null,
		"SourceAgreementType": null,
		"ResponseLine": null,
		"Response": null,
		"NegotiationId": null,
		"Negotiation": null,
		"NegotiationLine": null,
		"FundsStatusCode": null,
		"FundsStatus": null,
		"ManualPriceChangeFlag": null,
		"NegotiatedFlag": false,
		"NoteToSupplier": null,
		"ReasonForChange": null,
		"SupplierConfigurationId": null,
		"SupplierItem": null,
		"OptionsPrice": null,
		"UNNumberCode": null,
		"UNNumberId": null,
		"UNNumber": null,
		"UNNumberDescription": null,
		"HazardClassCode": null,
		"HazardClassId": null,
		"HazardClass": null,
		"WorkOrderProduct": null,
		"TaxableFlag": null,
		"ReferenceNumber": null,
		"CreationDate": "2020-07-05T14:16:01.575+00:00",
		"CreatedBy": "BUYER01",
		"LastUpdateDate": "2020-07-05T14:31:46.188+00:00",
		"LastUpdatedBy": "BUYER01",
		"MaximumRetainageAmount": null,
		"schedules": [
		{
			"LineLocationId": 300100186256919,
			"ScheduleNumber": 1,
			"POLineId": 300100186256918,
			"LineNumber": 2,
			"POHeaderId": 300100186256914,
			"OrderNumber": "1007361",
			"Quantity": null,
			"Amount": 110,
			"ShipToOrganizationId": 204,
			"ShipToOrganizationCode": "V1",
			"ShipToOrganization": "Vision Operations",
			"ShipToLocation": "V1- New York City",
			"ShipToLocationId": 204,
			"ShipToLocationCode": "V1- New York City",
			"DestinationTypeCode": "EXPENSE",
			"DestinationType": "Expense",
			"LocationOfFinalDischargeId": null,
			"LocationOfFinalDischargeCode": null,
			"TransactionBusinessCategoryId": null,
			"TransactionBusinessCategoryCode": null,
			"TransactionBusinessCategory": null,
			"UserDefinedFiscalClassificationCode": null,
			"UserDefinedFiscalClassification": null,
			"ProductFiscalClassificationId": null,
			"ProductFiscalClassificationCode": null,
			"ProductFiscalClassification": null,
			"ProductCategoryCode": null,
			"ProductCategory": null,
			"LineIntendedUseId": null,
			"LineIntendedUse": null,
			"ProductTypeCode": null,
			"ProductType": null,
			"AssessableValue": null,
			"TaxClassificationCode": null,
			"TaxClassification": null,
			"InvoiceCloseTolerancePercent": 0,
			"ReceiptCloseTolerancePercent": 0,
			"EarlyReceiptToleranceDays": 0,
			"LateReceiptToleranceDays": 2,
			"AccrueAtReceiptFlag": false,
			"ReceiptRoutingId": 3,
			"ReceiptRouting": "Direct delivery",
			"InvoiceMatchOptionCode": "R",
			"InvoiceMatchOption": "Receipt",
			"InspectionRequiredFlag": false,
			"ReceiptRequiredFlag": false,
			"MatchApprovalLevelCode": "2-Way",
			"MatchApprovalLevel": "2 Way",
			"AllowSubstituteReceiptsFlag": false,
			"FirmFlag": null,
			"OverReceiptTolerancePercent": 5,
			"BackToBackFlag": null,
			"NoteToReceiver": null,
			"RequestedDeliveryDate": "2020-10-29",
			"PromisedDeliveryDate": "2020-10-30",
			"RequestedShipDate": null,
			"PromisedShipDate": null,
			"SalesOrderNumber": null,
			"SalesOrderLineNumber": null,
			"SalesOrderScheduleNumber": null,
			"SecondaryQuantity": null,
			"TaxableFlag": null,
			"Carrier": null,
			"CarrierId": null,
			"CountryOfOrigin": null,
			"CountryOfOriginCode": null,
			"ShipToExceptionAction": "None",
			"ShipToExceptionActionCode": "NONE",
			"FundsStatusCode": null,
			"FundsStatus": null,
			"ModeOfTransport": null,
			"ModeOfTransportCode": null,
			"CancelDate": null,
			"CancelReason": null,
			"CancelledBy": null,
			"RejectedReason": null,
			"ReasonForChange": null,
			"ChangeAcceptedFlag": null,
			"ChangeOrderAmountCancelled": null,
			"ChangeOrderQuantityCancelled": null,
			"CustomerItem": null,
			"CustomerItemDescription": null,
			"CustomerPOLineNumber": null,
			"CustomerPONumber": null,
			"CustomerPOScheduleNumber": null,
			"CurrencyCode": "USD",
			"Currency": "US Dollar",
			"RejectedBy": null,
			"RejectedByRole": null,
			"CancelFlag": null,
			"SecondaryUOMCode": null,
			"SecondaryUOM": null,
			"UOMCode": null,
			"UOM": null,
			"ReceiptDateExceptionActionCode": "WARNING",
			"ReceiptDateExceptionAction": "Warning",
			"OverReceiptActionCode": "WARNING",
			"OverReceiptAction": "Warning",
			"WorkOrderId": null,
			"WorkOrderNumber": null,
			"WorkOrderOperationId": null,
			"WorkOrderOperationSequence": null,
			"WorkOrderSubType": null,
			"SupplierOrderLineNumber": null,
			"OrchestrationAgreementLineNumber": null,
			"OrchestrationAgreementNumber": null,
			"PrimaryTradeRelationshipId": null,
			"POTradingOrganizationId": null,
			"FirmStatusLookupCode": null,
			"FirmStatus": null,
			"ParentLineLocationId": null,
			"ParentScheduleNumber": null,
			"ShipToCustomerContactId": null,
			"ShipToCustomerContact": null,
			"ShipToCustomerId": null,
			"ShipToCustomer": null,
			"ShipToCustomerLocationId": null,
			"ServiceLevelCode": null,
			"ServiceLevel": null,
			"CreatedBy": "BUYER01",
			"CreationDate": "2020-07-05T14:16:01.623+00:00",
			"LastUpdateDate": "2020-07-05T14:31:46.197+00:00",
			"LastUpdatedBy": "BUYER01",
			"ShippingMethod": null,
			"RetainageRate": null,
			"LastAcceptableDeliveryDate": "2020-11-01",
			"LastAcceptableShipDate": null,
			"OriginalPromisedDeliveryDate": null,
			"OriginalPromisedShipDate": null,
			"distributions": [
			{
				"PODistributionId": 300100186256920,
				"DistributionNumber": 1,
				"POHeaderId": 300100186256914,
				"OrderNumber": "1007361",
				"POLineId": 300100186256918,
				"LineNumber": 2,
				"LineLocationId": 300100186256919,
				"ScheduleNumber": 1,
				"Quantity": null,
				"Amount": 110,
				"DeliverToLocationId": 204,
				"DeliverToLocationCode": "V1- New York City",
				"DeliverToLocation": "V1- New York City",
				"POChargeAccountId": 31064,
				"POChargeAccount": "01-420-7740-2103-000",
				"POAccrualAccountId": null,
				"POAccrualAccount": null,
				"POVarianceAccountId": null,
				"POVarianceAccount": null,
				"DestinationChargeAccountId": null,
				"DestinationChargeAccount": null,
				"DestinationVarianceAccountId": null,
				"DestinationVarianceAccount": null,
				"RecoverableInclusiveTax": null,
				"RecoverableExclusiveTax": null,
				"NonrecoverableInclusiveTax": null,
				"NonrecoverableExclusiveTax": null,
				"ConversionRate": null,
				"ConversionRateDate": null,
				"CurrencyCode": "USD",
				"Currency": "US Dollar",
				"UOMCode": null,
				"UOM": null,
				"BudgetDate": null,
				"ChangeAcceptedFlag": null,
				"ChangeOrderAmountCancelled": null,
				"ChangeOrderQuantityCancelled": null,
				"DeliverToCustomerContactId": null,
				"DeliverToCustomerContact": null,
				"DeliverToCustomerId": null,
				"DeliverToCustomer": null,
				"DeliverToCustomerLocationId": null,
				"RequesterId": null,
				"Requester": null,
				"DestinationSubinventory": null,
				"FundsStatusCode": null,
				"FundsStatus": null,
				"ParentDistributionId": null,
				"ParentDistributionNumber": null,
				"ReasonForChange": null,
				"RequisitionHeaderId": null,
				"Requisition": null,
				"RequisitionLineId": null,
				"RequisitionLine": null,
				"RequisitionDistributionId": null,
				"RequisitionDistribution": null,
				"CreationDate": "2020-07-05T14:16:01.663+00:00",
				"CreatedBy": "BUYER01",
				"LastUpdateDate": "2020-07-05T14:31:46.202+00:00",
				"LastUpdatedBy": "BUYER01",
				"links": [
				{
					"rel": "self",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256918/child/schedules/300100186256919/child/distributions/300100186256920",
					"name": "distributions",
					"kind": "item",
					"properties": {
						"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
					}
				},
				{
					"rel": "canonical",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256918/child/schedules/300100186256919/child/distributions/300100186256920",
					"name": "distributions",
					"kind": "item"
				},
				{
					"rel": "parent",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256918/child/schedules/300100186256919",
					"name": "schedules",
					"kind": "item"
				},
				{
					"rel": "child",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256918/child/schedules/300100186256919/child/distributions/300100186256920/child/DFF",
					"name": "DFF",
					"kind": "collection"
				},
				{
					"rel": "child",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256918/child/schedules/300100186256919/child/distributions/300100186256920/child/projectDFF",
					"name": "projectDFF",
					"kind": "collection"
				}
				]
			}
			],
			"links": [
			{
				"rel": "self",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256918/child/schedules/300100186256919",
				"name": "schedules",
				"kind": "item",
				"properties": {
					"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
				}
			},
			{
				"rel": "canonical",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256918/child/schedules/300100186256919",
				"name": "schedules",
				"kind": "item"
			},
			{
				"rel": "parent",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256918",
				"name": "lines",
				"kind": "item"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256918/child/schedules/300100186256919/child/DFF",
				"name": "DFF",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256918/child/schedules/300100186256919/child/distributions",
				"name": "distributions",
				"kind": "collection"
			}
			]
		}
		],
		"links": [
		{
			"rel": "self",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256918",
			"name": "lines",
			"kind": "item",
			"properties": {
				"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
			}
		},
		{
			"rel": "canonical",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256918",
			"name": "lines",
			"kind": "item"
		},
		{
			"rel": "parent",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914",
			"name": "draftPurchaseOrders",
			"kind": "item"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256918/child/DFF",
			"name": "DFF",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines/300100186256918/child/schedules",
			"name": "schedules",
			"kind": "collection"
		}
		]
	}
	],
	"links": [
	{
		"rel": "self",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914",
		"name": "draftPurchaseOrders",
		"kind": "item",
		"properties": {
			"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000378"
		}
	},
	{
		"rel": "canonical",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914",
		"name": "draftPurchaseOrders",
		"kind": "item"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/DFF",
		"name": "DFF",
		"kind": "collection"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/child/lines",
		"name": "lines",
		"kind": "collection"
	},
	{
		"rel": "action",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100186256914/action/submit",
		"name": "submit",
		"kind": "other"
	}
	]
}

Example 3 cURL Command

Use the following cURL command to submit a request on the REST resource. In this example, header, line, schedule and distribution details of an approved purchase order is updated with change order initiating party as buyer.

curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload'  "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058"

Example 3 Request Body

The following example includes the contents of the request body in JSON format to update an approved purchase order for goods and services with change order initiating party as buyer. Both integrator users and buyers can update an approved purchase order with initiating party as buyer. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

{
	"ChangeOrderDescription": "change order",
	"ChangeOrderInitiatingParty": "BUYER",
	"RequiresSignatureFlag": true,
	"MasterContractNumber": "ECM CONTRACT 2",
	"lines": [
	{
		"POLineId": 300100185836060,
		"Quantity": 15,
		"Price": 25,
		"schedules": [
		{
			"LineLocationId": 300100185836061,
			"Quantity": 15,
			"RequestedDeliveryDate": "2022-12-30",
			"distributions": [
			{
				"PODistributionId": 300100185836062,
				"Quantity": 15,
				"POChargeAccount": "02-420-7110-0000-000"
			}
			]
		}
		]
	},
	{
		"POLineId": 300100185836063,
		"Amount": 400,
		"schedules": [
		{
			"LineLocationId": 300100185836064,
			"Amount": 400,
			"distributions": [
			{
				"PODistributionId": 300100185836065,
				"Amount": 400
			}
			]
		}
		]
	}
	]
}

Example 3 Response Body

The following example includes the contents of the response body in JSON format:

{
	"POHeaderId": 300100185836058,
	"OrderNumber": "1004705",
	"Description": "Change Order using REST",
	"DocumentStyleId": 1,
	"DocumentStyle": "Purchase Order",
	"StatusCode": "OPEN",
	"Status": "Open",
	"ProcurementBUId": 204,
	"ProcurementBU": "Vision Operations",
	"RequisitioningBUId": 204,
	"RequisitioningBU": "Vision Operations",
	"BuyerId": 100010026863855,
	"Buyer": "Johnson,Ericka",
	"BuyerEmail": "sendmail-test-discard@example.com",
	"CurrencyCode": "USD",
	"Currency": "US Dollar",
	"ConversionRateTypeCode": null,
	"ConversionRateType": null,
	"ConversionRateDate": null,
	"ConversionRate": null,
	"SupplierId": 1178,
	"Supplier": "CDS, Inc",
	"SupplierSiteId": 2854,
	"SupplierSite": "PITTSBURGH",
	"SupplierCommunicationMethod": "NONE",
	"SupplierFax": null,
	"SupplierOrder": null,
	"SupplierEmailAddress": null,
	"SoldToLegalEntityId": 204,
	"SoldToLegalEntity": "Vision Operations",
	"BillToBUId": 204,
	"BillToBU": "Vision Operations",
	"BillToLocationId": 899,
	"BillToLocation": "CA",
	"DefaultShipToLocationId": null,
	"DefaultShipToLocation": null,
	"MasterContractId": 300100185792474,
	"MasterContractNumber": "ECM CONTRACT 2",
	"MasterContractTypeId": 101,
	"MasterContractType": "Buy : No lines",
	"RequiredAcknowledgmentCode": "N",
	"RequiredAcknowledgment": "None",
	"AcknowledgmentDueDate": null,
	"AcknowledgmentWithinDays": null,
	"BuyerManagedTransportFlag": true,
	"RequiresSignatureFlag": true,
	"PendingSignatureFlag": null,
	"PaymentTermsId": 10003,
	"PaymentTerms": "45 Net (terms date + 45)",
	"FOBCode": "Origin",
	"FOB": "Origin",
	"FreightTermsCode": "Due",
	"FreightTerms": "Due",
	"SupplierContactId": null,
	"SupplierContact": null,
	"NoteToSupplier": "This is a note to Supplier",
	"NoteToReceiver": "This is a note to Receiver",
	"CarrierId": 12519,
	"Carrier": "Airborne",
	"ModeOfTransportCode": "PARCEL",
	"ModeOfTransport": "Parcel",
	"ServiceLevelCode": "2DA",
	"ServiceLevel": "2nd day air",
	"ConfirmingOrderFlag": false,
	"PayOnReceiptFlag": true,
	"DocumentCreationMethod": "PO_REST_SERVICE",
	"ShippingMethod": "Airborne-Parcel-2nd day air",
	"DefaultTaxationCountryCode": null,
	"DefaultTaxationCountry": null,
	"FirstPartyRegistrationId": null,
	"FirstPartyRegistrationNumber": null,
	"ThirdPartyRegistrationId": null,
	"ThirdPartyRegistrationNumber": null,
	"DocumentFiscalClassificationId": null,
	"DocumentFiscalClassificationCode": null,
	"DocumentFiscalClassification": null,
	"BudgetaryControlEnabledFlag": false,
	"CancelFlag": null,
	"ChangeOrderNumber": "1",
	"ChangeOrderInitiatingParty": "BUYER",
	"ChangeOrderDescription": "change order",
	"ChangeOrderStatusCode": "INCOMPLETE",
	"ChangeOrderStatus": "Incomplete",
	"ChangeOrderTypeCode": null,
	"ChangeOrderType": null,
	"ChangeRequestedBy": null,
	"ContractTermsExistFlag": null,
	"DuplicatedFromHeaderId": null,
	"FundsStatus": "Not Applicable",
	"FundsStatusCode": "NOT_APPLICABLE",
	"ImportSourceCode": null,
	"ReferenceNumber": null,
	"LastUpdateDate": "2020-10-21T11:13:07.556+00:00",
	"LastUpdatedBy": "PRC_INTEGRATION_USER",
	"CreationDate": "2020-10-21T11:08:01.001+00:00",
	"CreatedBy": "PRC_INTEGRATION_USER",
	"lines": [
	{
		"POLineId": 300100185836060,
		"LineNumber": 1,
		"POHeaderId": 300100185836058,
		"OrderNumber": "1004705",
		"LineTypeId": 1,
		"LineType": "Goods",
		"ItemId": null,
		"Item": null,
		"ItemRevision": null,
		"CategoryId": 1,
		"CategoryCode": "MISC.MISC",
		"Category": "Miscellaneous_1",
		"Description": "Laptop Battery",
		"Amount": null,
		"Quantity": 15,
		"Price": 25,
		"UOMCode": "Ea",
		"UOM": "Each",
		"CurrencyCode": "USD",
		"Currency": "US Dollar",
		"BaseModelId": null,
		"BaseModel": null,
		"BaseModelPrice": null,
		"CancelDate": null,
		"CancelFlag": false,
		"CancelReason": null,
		"CancelledBy": null,
		"ChangeAcceptedFlag": null,
		"ConfiguredItemFlag": false,
		"ConsignmentLineFlag": false,
		"SourceAgreementId": null,
		"SourceAgreementNumber": null,
		"SourceAgreementLineId": null,
		"SourceAgreementLine": null,
		"SourceAgreementTypeCode": null,
		"SourceAgreementType": null,
		"ResponseLine": null,
		"Response": null,
		"NegotiationId": null,
		"Negotiation": null,
		"NegotiationLine": null,
		"FundsStatusCode": "NOT_APPLICABLE",
		"FundsStatus": "Not Applicable",
		"ManualPriceChangeFlag": true,
		"NegotiatedFlag": false,
		"NoteToSupplier": null,
		"ReasonForChange": null,
		"SupplierConfigurationId": null,
		"SupplierItem": null,
		"OptionsPrice": null,
		"UNNumberCode": null,
		"UNNumberId": null,
		"UNNumber": null,
		"UNNumberDescription": null,
		"HazardClassCode": null,
		"HazardClassId": null,
		"HazardClass": null,
		"WorkOrderProduct": null,
		"TaxableFlag": null,
		"ReferenceNumber": null,
		"CancelUnfulfilledDemandFlag": null,
		"CreationDate": "2020-10-21T11:08:01.331+00:00",
		"CreatedBy": "PRC_INTEGRATION_USER",
		"LastUpdateDate": "2020-10-21T11:13:07.226+00:00",
		"LastUpdatedBy": "PRC_INTEGRATION_USER",
		"MaximumRetainageAmount": null,
		"Manufacturer": null,
		"ManufacturerPartNumber": null,
		"schedules": [
		{
			"LineLocationId": 300100185836061,
			"ScheduleNumber": 1,
			"POLineId": 300100185836060,
			"LineNumber": 1,
			"POHeaderId": 300100185836058,
			"OrderNumber": "1004705",
			"Quantity": 15,
			"Amount": null,
			"ShipToOrganizationId": 204,
			"ShipToOrganizationCode": "V1",
			"ShipToOrganization": "Vision Operations",
			"ShipToLocation": "V1- New York City",
			"ShipToLocationId": 204,
			"ShipToLocationCode": "V1- New York City",
			"DestinationTypeCode": "EXPENSE",
			"DestinationType": "Expense",
			"LocationOfFinalDischargeId": null,
			"LocationOfFinalDischargeCode": null,
			"TransactionBusinessCategoryId": null,
			"TransactionBusinessCategoryCode": null,
			"TransactionBusinessCategory": null,
			"UserDefinedFiscalClassificationCode": null,
			"UserDefinedFiscalClassification": null,
			"ProductFiscalClassificationId": null,
			"ProductFiscalClassificationCode": null,
			"ProductFiscalClassification": null,
			"ProductCategoryCode": null,
			"ProductCategory": null,
			"LineIntendedUseId": null,
			"LineIntendedUse": null,
			"ProductTypeCode": "GOODS",
			"ProductType": "Goods",
			"AssessableValue": null,
			"TaxClassificationCode": null,
			"TaxClassification": null,
			"InvoiceCloseTolerancePercent": 60,
			"ReceiptCloseTolerancePercent": 60,
			"EarlyReceiptToleranceDays": 5,
			"LateReceiptToleranceDays": 6,
			"AccrueAtReceiptFlag": false,
			"ReceiptRoutingId": 3,
			"ReceiptRouting": "Direct delivery",
			"InvoiceMatchOptionCode": "P",
			"InvoiceMatchOption": "Order",
			"InspectionRequiredFlag": false,
			"ReceiptRequiredFlag": true,
			"MatchApprovalLevelCode": "3-Way",
			"MatchApprovalLevel": "3 Way",
			"AllowSubstituteReceiptsFlag": true,
			"FirmFlag": null,
			"OverReceiptTolerancePercent": 5,
			"BackToBackFlag": null,
			"NoteToReceiver": null,
			"RequestedDeliveryDate": "2022-12-30",
			"PromisedDeliveryDate": null,
			"RequestedShipDate": null,
			"PromisedShipDate": null,
			"SalesOrderNumber": null,
			"SalesOrderLineNumber": null,
			"SalesOrderScheduleNumber": null,
			"SecondaryQuantity": null,
			"TaxableFlag": false,
			"Carrier": null,
			"CarrierId": null,
			"CountryOfOrigin": null,
			"CountryOfOriginCode": null,
			"ShipToExceptionAction": "Warning",
			"ShipToExceptionActionCode": "WARNING",
			"FundsStatusCode": "NOT_APPLICABLE",
			"FundsStatus": "Not Applicable",
			"ModeOfTransport": null,
			"ModeOfTransportCode": null,
			"CancelDate": null,
			"CancelReason": null,
			"CancelledBy": null,
			"RejectedReason": null,
			"ReasonForChange": null,
			"ChangeAcceptedFlag": null,
			"ChangeOrderAmountCancelled": null,
			"ChangeOrderQuantityCancelled": null,
			"CustomerItem": null,
			"CustomerItemDescription": null,
			"CustomerPOLineNumber": null,
			"CustomerPONumber": null,
			"CustomerPOScheduleNumber": null,
			"CurrencyCode": "USD",
			"Currency": "US Dollar",
			"RejectedBy": null,
			"RejectedByRole": null,
			"CancelFlag": false,
			"SecondaryUOMCode": null,
			"SecondaryUOM": null,
			"UOMCode": "Ea",
			"UOM": "Each",
			"ReceiptDateExceptionActionCode": "WARNING",
			"ReceiptDateExceptionAction": "Warning",
			"OverReceiptActionCode": "WARNING",
			"OverReceiptAction": "Warning",
			"WorkOrderId": null,
			"WorkOrderNumber": null,
			"WorkOrderOperationId": null,
			"WorkOrderOperationSequence": null,
			"WorkOrderSubType": null,
			"SupplierOrderLineNumber": null,
			"OrchestrationAgreementLineNumber": null,
			"OrchestrationAgreementNumber": null,
			"PrimaryTradeRelationshipId": null,
			"POTradingOrganizationId": null,
			"POTradingOrganizationCode": null,
			"POTradingOrganization": null,
			"FirmStatusLookupCode": null,
			"FirmStatus": null,
			"ParentLineLocationId": null,
			"ParentScheduleNumber": null,
			"ShipToCustomerContactId": null,
			"ShipToCustomerContact": null,
			"ShipToCustomerId": null,
			"ShipToCustomer": null,
			"ShipToCustomerLocationId": null,
			"ServiceLevelCode": null,
			"ServiceLevel": null,
			"CancelUnfulfilledDemandFlag": null,
			"CreatedBy": "PRC_INTEGRATION_USER",
			"CreationDate": "2020-10-21T11:08:01.398+00:00",
			"LastUpdateDate": "2020-10-21T11:13:07.276+00:00",
			"LastUpdatedBy": "PRC_INTEGRATION_USER",
			"ShippingMethod": null,
			"RetainageRate": null,
			"LastAcceptableDeliveryDate": null,
			"LastAcceptableShipDate": null,
			"OriginalPromisedDeliveryDate": null,
			"OriginalPromisedShipDate": null,
			"distributions": [
			{
				"PODistributionId": 300100185836062,
				"DistributionNumber": 1,
				"POHeaderId": 300100185836058,
				"OrderNumber": "1004705",
				"POLineId": 300100185836060,
				"LineNumber": 1,
				"LineLocationId": 300100185836061,
				"ScheduleNumber": 1,
				"Quantity": 15,
				"Amount": null,
				"DeliverToLocationId": 204,
				"DeliverToLocationCode": "V1- New York City",
				"DeliverToLocation": "V1- New York City",
				"POChargeAccountId": 100000011533027,
				"POChargeAccount": "02-420-7110-0000-000",
				"POAccrualAccountId": 12854,
				"POAccrualAccount": "01-000-2210-0000-000",
				"POVarianceAccountId": 13401,
				"POVarianceAccount": "01-000-1410-0000-000",
				"DestinationChargeAccountId": null,
				"DestinationChargeAccount": null,
				"DestinationVarianceAccountId": null,
				"DestinationVarianceAccount": null,
				"RecoverableInclusiveTax": 0,
				"RecoverableExclusiveTax": 0,
				"NonrecoverableInclusiveTax": 0,
				"NonrecoverableExclusiveTax": 0,
				"ConversionRate": null,
				"ConversionRateDate": null,
				"CurrencyCode": "USD",
				"Currency": "US Dollar",
				"UOMCode": "Ea",
				"UOM": "Each",
				"BudgetDate": null,
				"ChangeAcceptedFlag": null,
				"ChangeOrderAmountCancelled": null,
				"ChangeOrderQuantityCancelled": null,
				"DeliverToCustomerContactId": null,
				"DeliverToCustomerContact": null,
				"DeliverToCustomerId": null,
				"DeliverToCustomer": null,
				"DeliverToCustomerLocationId": null,
				"RequesterId": null,
				"Requester": null,
				"DestinationSubinventory": null,
				"FundsStatusCode": "NOT_APPLICABLE",
				"FundsStatus": "Not Applicable",
				"ParentDistributionId": null,
				"ParentDistributionNumber": null,
				"ReasonForChange": null,
				"RequisitionHeaderId": null,
				"Requisition": null,
				"RequisitionLineId": null,
				"RequisitionLine": null,
				"RequisitionDistributionId": null,
				"RequisitionDistribution": null,
				"CreationDate": "2020-10-21T11:08:01.496+00:00",
				"CreatedBy": "PRC_INTEGRATION_USER",
				"LastUpdateDate": "2020-10-21T11:13:07.384+00:00",
				"LastUpdatedBy": "PRC_INTEGRATION_USER",
				"links": [
				{
					"rel": "self",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions/300100185836062",
					"name": "distributions",
					"kind": "item",
					"properties": {
						"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
					}
				},
				{
					"rel": "canonical",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions/300100185836062",
					"name": "distributions",
					"kind": "item"
				},
				{
					"rel": "parent",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061",
					"name": "schedules",
					"kind": "item"
				},
				{
					"rel": "child",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions/300100185836062/child/DFF",
					"name": "DFF",
					"kind": "collection"
				},
				{
					"rel": "child",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions/300100185836062/child/projectDFF",
					"name": "projectDFF",
					"kind": "collection"
				}
				]
			}
			],
			"links": [
			{
				"rel": "self",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061",
				"name": "schedules",
				"kind": "item",
				"properties": {
					"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
				}
			},
			{
				"rel": "canonical",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061",
				"name": "schedules",
				"kind": "item"
			},
			{
				"rel": "parent",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060",
				"name": "lines",
				"kind": "item"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/DFF",
				"name": "DFF",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/attachments",
				"name": "attachments",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions",
				"name": "distributions",
				"kind": "collection"
			}
			]
		}
		],
		"links": [
		{
			"rel": "self",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060",
			"name": "lines",
			"kind": "item",
			"properties": {
				"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
			}
		},
		{
			"rel": "canonical",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060",
			"name": "lines",
			"kind": "item"
		},
		{
			"rel": "parent",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058",
			"name": "draftPurchaseOrders",
			"kind": "item"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/DFF",
			"name": "DFF",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/attachments",
			"name": "attachments",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules",
			"name": "schedules",
			"kind": "collection"
		}
		]
	},
	{
		"POLineId": 300100185836063,
		"LineNumber": 2,
		"POHeaderId": 300100185836058,
		"OrderNumber": "1004705",
		"LineTypeId": 6,
		"LineType": "Fixed Price Services",
		"ItemId": null,
		"Item": null,
		"ItemRevision": null,
		"CategoryId": 1,
		"CategoryCode": "MISC.MISC",
		"Category": "Miscellaneous_1",
		"Description": "Boiler exterior painting",
		"Amount": 400,
		"Quantity": null,
		"Price": null,
		"UOMCode": null,
		"UOM": null,
		"CurrencyCode": "USD",
		"Currency": "US Dollar",
		"BaseModelId": null,
		"BaseModel": null,
		"BaseModelPrice": null,
		"CancelDate": null,
		"CancelFlag": false,
		"CancelReason": null,
		"CancelledBy": null,
		"ChangeAcceptedFlag": null,
		"ConfiguredItemFlag": false,
		"ConsignmentLineFlag": false,
		"SourceAgreementId": null,
		"SourceAgreementNumber": null,
		"SourceAgreementLineId": null,
		"SourceAgreementLine": null,
		"SourceAgreementTypeCode": null,
		"SourceAgreementType": null,
		"ResponseLine": null,
		"Response": null,
		"NegotiationId": null,
		"Negotiation": null,
		"NegotiationLine": null,
		"FundsStatusCode": "NOT_APPLICABLE",
		"FundsStatus": "Not Applicable",
		"ManualPriceChangeFlag": null,
		"NegotiatedFlag": false,
		"NoteToSupplier": null,
		"ReasonForChange": null,
		"SupplierConfigurationId": null,
		"SupplierItem": null,
		"OptionsPrice": null,
		"UNNumberCode": null,
		"UNNumberId": null,
		"UNNumber": null,
		"UNNumberDescription": null,
		"HazardClassCode": null,
		"HazardClassId": null,
		"HazardClass": null,
		"WorkOrderProduct": null,
		"TaxableFlag": null,
		"ReferenceNumber": null,
		"CancelUnfulfilledDemandFlag": null,
		"CreationDate": "2020-10-21T11:08:01.545+00:00",
		"CreatedBy": "PRC_INTEGRATION_USER",
		"LastUpdateDate": "2020-10-21T11:13:07.398+00:00",
		"LastUpdatedBy": "PRC_INTEGRATION_USER",
		"MaximumRetainageAmount": null,
		"Manufacturer": null,
		"ManufacturerPartNumber": null,
		"schedules": [
		{
			"LineLocationId": 300100185836064,
			"ScheduleNumber": 1,
			"POLineId": 300100185836063,
			"LineNumber": 2,
			"POHeaderId": 300100185836058,
			"OrderNumber": "1004705",
			"Quantity": null,
			"Amount": 400,
			"ShipToOrganizationId": 204,
			"ShipToOrganizationCode": "V1",
			"ShipToOrganization": "Vision Operations",
			"ShipToLocation": "V1- New York City",
			"ShipToLocationId": 204,
			"ShipToLocationCode": "V1- New York City",
			"DestinationTypeCode": "EXPENSE",
			"DestinationType": "Expense",
			"LocationOfFinalDischargeId": null,
			"LocationOfFinalDischargeCode": null,
			"TransactionBusinessCategoryId": null,
			"TransactionBusinessCategoryCode": null,
			"TransactionBusinessCategory": null,
			"UserDefinedFiscalClassificationCode": null,
			"UserDefinedFiscalClassification": null,
			"ProductFiscalClassificationId": null,
			"ProductFiscalClassificationCode": null,
			"ProductFiscalClassification": null,
			"ProductCategoryCode": null,
			"ProductCategory": null,
			"LineIntendedUseId": null,
			"LineIntendedUse": null,
			"ProductTypeCode": "SERVICES",
			"ProductType": "Services",
			"AssessableValue": null,
			"TaxClassificationCode": null,
			"TaxClassification": null,
			"InvoiceCloseTolerancePercent": 60,
			"ReceiptCloseTolerancePercent": 60,
			"EarlyReceiptToleranceDays": 5,
			"LateReceiptToleranceDays": 6,
			"AccrueAtReceiptFlag": false,
			"ReceiptRoutingId": 3,
			"ReceiptRouting": "Direct delivery",
			"InvoiceMatchOptionCode": "P",
			"InvoiceMatchOption": "Order",
			"InspectionRequiredFlag": false,
			"ReceiptRequiredFlag": true,
			"MatchApprovalLevelCode": "3-Way",
			"MatchApprovalLevel": "3 Way",
			"AllowSubstituteReceiptsFlag": false,
			"FirmFlag": null,
			"OverReceiptTolerancePercent": 5,
			"BackToBackFlag": null,
			"NoteToReceiver": null,
			"RequestedDeliveryDate": null,
			"PromisedDeliveryDate": null,
			"RequestedShipDate": null,
			"PromisedShipDate": null,
			"SalesOrderNumber": null,
			"SalesOrderLineNumber": null,
			"SalesOrderScheduleNumber": null,
			"SecondaryQuantity": null,
			"TaxableFlag": false,
			"Carrier": null,
			"CarrierId": null,
			"CountryOfOrigin": null,
			"CountryOfOriginCode": null,
			"ShipToExceptionAction": "None",
			"ShipToExceptionActionCode": "NONE",
			"FundsStatusCode": "NOT_APPLICABLE",
			"FundsStatus": "Not Applicable",
			"ModeOfTransport": null,
			"ModeOfTransportCode": null,
			"CancelDate": null,
			"CancelReason": null,
			"CancelledBy": null,
			"RejectedReason": null,
			"ReasonForChange": null,
			"ChangeAcceptedFlag": null,
			"ChangeOrderAmountCancelled": null,
			"ChangeOrderQuantityCancelled": null,
			"CustomerItem": null,
			"CustomerItemDescription": null,
			"CustomerPOLineNumber": null,
			"CustomerPONumber": null,
			"CustomerPOScheduleNumber": null,
			"CurrencyCode": "USD",
			"Currency": "US Dollar",
			"RejectedBy": null,
			"RejectedByRole": null,
			"CancelFlag": false,
			"SecondaryUOMCode": null,
			"SecondaryUOM": null,
			"UOMCode": null,
			"UOM": null,
			"ReceiptDateExceptionActionCode": "WARNING",
			"ReceiptDateExceptionAction": "Warning",
			"OverReceiptActionCode": "WARNING",
			"OverReceiptAction": "Warning",
			"WorkOrderId": null,
			"WorkOrderNumber": null,
			"WorkOrderOperationId": null,
			"WorkOrderOperationSequence": null,
			"WorkOrderSubType": null,
			"SupplierOrderLineNumber": null,
			"OrchestrationAgreementLineNumber": null,
			"OrchestrationAgreementNumber": null,
			"PrimaryTradeRelationshipId": null,
			"POTradingOrganizationId": null,
			"POTradingOrganizationCode": null,
			"POTradingOrganization": null,
			"FirmStatusLookupCode": null,
			"FirmStatus": null,
			"ParentLineLocationId": null,
			"ParentScheduleNumber": null,
			"ShipToCustomerContactId": null,
			"ShipToCustomerContact": null,
			"ShipToCustomerId": null,
			"ShipToCustomer": null,
			"ShipToCustomerLocationId": null,
			"ServiceLevelCode": null,
			"ServiceLevel": null,
			"CancelUnfulfilledDemandFlag": null,
			"CreatedBy": "PRC_INTEGRATION_USER",
			"CreationDate": "2020-10-21T11:08:01.609+00:00",
			"LastUpdateDate": "2020-10-21T11:13:07.408+00:00",
			"LastUpdatedBy": "PRC_INTEGRATION_USER",
			"ShippingMethod": null,
			"RetainageRate": null,
			"LastAcceptableDeliveryDate": null,
			"LastAcceptableShipDate": null,
			"OriginalPromisedDeliveryDate": null,
			"OriginalPromisedShipDate": null,
			"distributions": [
			{
				"PODistributionId": 300100185836065,
				"DistributionNumber": 1,
				"POHeaderId": 300100185836058,
				"OrderNumber": "1004705",
				"POLineId": 300100185836063,
				"LineNumber": 2,
				"LineLocationId": 300100185836064,
				"ScheduleNumber": 1,
				"Quantity": null,
				"Amount": 400,
				"DeliverToLocationId": 204,
				"DeliverToLocationCode": "V1- New York City",
				"DeliverToLocation": "V1- New York City",
				"POChargeAccountId": 13401,
				"POChargeAccount": "01-000-1410-0000-000",
				"POAccrualAccountId": 12854,
				"POAccrualAccount": "01-000-2210-0000-000",
				"POVarianceAccountId": 13401,
				"POVarianceAccount": "01-000-1410-0000-000",
				"DestinationChargeAccountId": null,
				"DestinationChargeAccount": null,
				"DestinationVarianceAccountId": null,
				"DestinationVarianceAccount": null,
				"RecoverableInclusiveTax": 0,
				"RecoverableExclusiveTax": 0,
				"NonrecoverableInclusiveTax": 0,
				"NonrecoverableExclusiveTax": 0,
				"ConversionRate": null,
				"ConversionRateDate": null,
				"CurrencyCode": "USD",
				"Currency": "US Dollar",
				"UOMCode": null,
				"UOM": null,
				"BudgetDate": null,
				"ChangeAcceptedFlag": null,
				"ChangeOrderAmountCancelled": null,
				"ChangeOrderQuantityCancelled": null,
				"DeliverToCustomerContactId": null,
				"DeliverToCustomerContact": null,
				"DeliverToCustomerId": null,
				"DeliverToCustomer": null,
				"DeliverToCustomerLocationId": null,
				"RequesterId": null,
				"Requester": null,
				"DestinationSubinventory": null,
				"FundsStatusCode": "NOT_APPLICABLE",
				"FundsStatus": "Not Applicable",
				"ParentDistributionId": null,
				"ParentDistributionNumber": null,
				"ReasonForChange": null,
				"RequisitionHeaderId": null,
				"Requisition": null,
				"RequisitionLineId": null,
				"RequisitionLine": null,
				"RequisitionDistributionId": null,
				"RequisitionDistribution": null,
				"CreationDate": "2020-10-21T11:08:01.691+00:00",
				"CreatedBy": "PRC_INTEGRATION_USER",
				"LastUpdateDate": "2020-10-21T11:13:07.415+00:00",
				"LastUpdatedBy": "PRC_INTEGRATION_USER",
				"links": [
				{
					"rel": "self",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063/child/schedules/300100185836064/child/distributions/300100185836065",
					"name": "distributions",
					"kind": "item",
					"properties": {
						"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
					}
				},
				{
					"rel": "canonical",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063/child/schedules/300100185836064/child/distributions/300100185836065",
					"name": "distributions",
					"kind": "item"
				},
				{
					"rel": "parent",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063/child/schedules/300100185836064",
					"name": "schedules",
					"kind": "item"
				},
				{
					"rel": "child",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063/child/schedules/300100185836064/child/distributions/300100185836065/child/DFF",
					"name": "DFF",
					"kind": "collection"
				},
				{
					"rel": "child",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063/child/schedules/300100185836064/child/distributions/300100185836065/child/projectDFF",
					"name": "projectDFF",
					"kind": "collection"
				}
				]
			}
			],
			"links": [
			{
				"rel": "self",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063/child/schedules/300100185836064",
				"name": "schedules",
				"kind": "item",
				"properties": {
					"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
				}
			},
			{
				"rel": "canonical",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063/child/schedules/300100185836064",
				"name": "schedules",
				"kind": "item"
			},
			{
				"rel": "parent",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063",
				"name": "lines",
				"kind": "item"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063/child/schedules/300100185836064/child/DFF",
				"name": "DFF",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063/child/schedules/300100185836064/child/attachments",
				"name": "attachments",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063/child/schedules/300100185836064/child/distributions",
				"name": "distributions",
				"kind": "collection"
			}
			]
		}
		],
		"links": [
		{
			"rel": "self",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063",
			"name": "lines",
			"kind": "item",
			"properties": {
				"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
			}
		},
		{
			"rel": "canonical",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063",
			"name": "lines",
			"kind": "item"
		},
		{
			"rel": "parent",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058",
			"name": "draftPurchaseOrders",
			"kind": "item"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063/child/DFF",
			"name": "DFF",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063/child/attachments",
			"name": "attachments",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063/child/schedules",
			"name": "schedules",
			"kind": "collection"
		}
		]
	}
	],
	"links": [
	{
		"rel": "self",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058",
		"name": "draftPurchaseOrders",
		"kind": "item",
		"properties": {
			"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000578"
		}
	},
	{
		"rel": "canonical",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058",
		"name": "draftPurchaseOrders",
		"kind": "item"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/DFF",
		"name": "DFF",
		"kind": "collection"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/attachments",
		"name": "attachments",
		"kind": "collection"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines",
		"name": "lines",
		"kind": "collection"
	},
	{
		"rel": "action",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/action/submit",
		"name": "submit",
		"kind": "other"
	},
	{
		"rel": "action",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/action/cancelChangeOrder",
		"name": "cancelChangeOrder",
		"kind": "other"
	}
	]
}

Example 4 cURL Command

Use the following cURL command to submit a request on the REST resource. In this example, header, line, schedule and distribution details of an approved purchase order are updated with change order initiating party as requester.

curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload'  "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437"

Example 4 Request Body

The following example includes the contents of the request body in JSON format to update an approved purchase order for goods and services with change order initiating party as requester. Only an integrator user can update an approved purchase order with initiating party as requester. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

{
	"ChangeOrderDescription": "change order",
	"ChangeOrderInitiatingParty": "REQUESTER",
	"lines": [
	{
		"POLineId": 300100185839441,
		"Quantity": 15,
		"Price": 25,
		"schedules": [
		{
			"LineLocationId": 300100185839442,
			"Quantity": 15,
			"RequestedDeliveryDate": "2022-12-30",
			"distributions": [
			{
				"PODistributionId": 300100185839443,
				"Quantity": 15,
				"POChargeAccount": "02-420-7110-0000-000"
			}
			]
		}
		]
	},
	{
		"POLineId": 300100185839438,
		"Amount": 100,
		"schedules": [
		{
			"LineLocationId": 300100185839439,
			"Amount": 100,
			"distributions": [
			{
				"PODistributionId": 300100185839440,
				"Amount": 100
			}
			]
		}
		]
	}
	]
}

Example 4 Response Body

The following example includes the contents of the response body in JSON format:

{
	"POHeaderId": 300100185839437,
	"OrderNumber": "1004713",
	"Description": null,
	"DocumentStyleId": 1,
	"DocumentStyle": "Purchase Order",
	"StatusCode": "OPEN",
	"Status": "Open",
	"ProcurementBUId": 204,
	"ProcurementBU": "Vision Operations",
	"RequisitioningBUId": 204,
	"RequisitioningBU": "Vision Operations",
	"BuyerId": 100010026863855,
	"Buyer": "Johnson,Ericka",
	"BuyerEmail": "sendmail-test-discard@example.com",
	"CurrencyCode": "USD",
	"Currency": "US Dollar",
	"ConversionRateTypeCode": null,
	"ConversionRateType": null,
	"ConversionRateDate": null,
	"ConversionRate": null,
	"SupplierId": 12,
	"Supplier": "CV_SuppA01",
	"SupplierSiteId": 2444,
	"SupplierSite": "CVSuppA01Site01",
	"SupplierCommunicationMethod": "NONE",
	"SupplierFax": null,
	"SupplierOrder": null,
	"SupplierEmailAddress": null,
	"SoldToLegalEntityId": 204,
	"SoldToLegalEntity": "Vision Operations",
	"BillToBUId": 204,
	"BillToBU": "Vision Operations",
	"BillToLocationId": 300100025284030,
	"BillToLocation": "V1 - Vision Operations",
	"DefaultShipToLocationId": 204,
	"DefaultShipToLocation": "V1- New York City",
	"MasterContractId": null,
	"MasterContractNumber": null,
	"MasterContractTypeId": null,
	"MasterContractType": null,
	"RequiredAcknowledgmentCode": "N",
	"RequiredAcknowledgment": "None",
	"AcknowledgmentDueDate": null,
	"AcknowledgmentWithinDays": null,
	"BuyerManagedTransportFlag": false,
	"RequiresSignatureFlag": false,
	"PendingSignatureFlag": null,
	"PaymentTermsId": 10003,
	"PaymentTerms": "45 Net (terms date + 45)",
	"FOBCode": "Origin",
	"FOB": "Origin",
	"FreightTermsCode": "Due",
	"FreightTerms": "Due",
	"SupplierContactId": 300100002882605,
	"SupplierContact": "Andrews, Rob",
	"NoteToSupplier": null,
	"NoteToReceiver": null,
	"CarrierId": 12519,
	"Carrier": "Airborne",
	"ModeOfTransportCode": null,
	"ModeOfTransport": null,
	"ServiceLevelCode": null,
	"ServiceLevel": null,
	"ConfirmingOrderFlag": false,
	"PayOnReceiptFlag": true,
	"DocumentCreationMethod": "AUTOCREATE",
	"ShippingMethod": "Airborne",
	"DefaultTaxationCountryCode": "US",
	"DefaultTaxationCountry": "United States",
	"FirstPartyRegistrationId": 35647,
	"FirstPartyRegistrationNumber": "4567890",
	"ThirdPartyRegistrationId": null,
	"ThirdPartyRegistrationNumber": null,
	"DocumentFiscalClassificationId": null,
	"DocumentFiscalClassificationCode": null,
	"DocumentFiscalClassification": null,
	"BudgetaryControlEnabledFlag": false,
	"CancelFlag": null,
	"ChangeOrderNumber": "1",
	"ChangeOrderInitiatingParty": "REQUESTER",
	"ChangeOrderDescription": "change order",
	"ChangeOrderStatusCode": "INCOMPLETE",
	"ChangeOrderStatus": "Incomplete",
	"ChangeOrderTypeCode": null,
	"ChangeOrderType": null,
	"ChangeRequestedBy": null,
	"ContractTermsExistFlag": false,
	"DuplicatedFromHeaderId": null,
	"FundsStatus": "Not Applicable",
	"FundsStatusCode": "NOT_APPLICABLE",
	"ImportSourceCode": "UI",
	"ReferenceNumber": null,
	"LastUpdateDate": "2020-10-21T12:32:52.989+00:00",
	"LastUpdatedBy": "PRC_INTEGRATION_USER",
	"CreationDate": "2020-10-21T12:26:10.001+00:00",
	"CreatedBy": "CVBUYER10",
	"lines": [
	{
		"POLineId": 300100185839441,
		"LineNumber": 2,
		"POHeaderId": 300100185839437,
		"OrderNumber": "1004713",
		"LineTypeId": 1,
		"LineType": "Goods",
		"ItemId": 663946,
		"Item": "RCV-105",
		"ItemRevision": null,
		"CategoryId": 1,
		"CategoryCode": "MISC.MISC",
		"Category": "Miscellaneous_1",
		"Description": "Serial Predefined Item",
		"Amount": null,
		"Quantity": 15,
		"Price": 25,
		"UOMCode": "Ea",
		"UOM": "Each",
		"CurrencyCode": "USD",
		"Currency": "US Dollar",
		"BaseModelId": null,
		"BaseModel": null,
		"BaseModelPrice": null,
		"CancelDate": null,
		"CancelFlag": false,
		"CancelReason": null,
		"CancelledBy": null,
		"ChangeAcceptedFlag": null,
		"ConfiguredItemFlag": false,
		"ConsignmentLineFlag": false,
		"SourceAgreementId": null,
		"SourceAgreementNumber": null,
		"SourceAgreementLineId": null,
		"SourceAgreementLine": null,
		"SourceAgreementTypeCode": null,
		"SourceAgreementType": null,
		"ResponseLine": null,
		"Response": null,
		"NegotiationId": null,
		"Negotiation": null,
		"NegotiationLine": null,
		"FundsStatusCode": "NOT_APPLICABLE",
		"FundsStatus": "Not Applicable",
		"ManualPriceChangeFlag": true,
		"NegotiatedFlag": false,
		"NoteToSupplier": null,
		"ReasonForChange": null,
		"SupplierConfigurationId": null,
		"SupplierItem": null,
		"OptionsPrice": null,
		"UNNumberCode": null,
		"UNNumberId": null,
		"UNNumber": null,
		"UNNumberDescription": null,
		"HazardClassCode": null,
		"HazardClassId": null,
		"HazardClass": null,
		"WorkOrderProduct": null,
		"TaxableFlag": false,
		"ReferenceNumber": null,
		"CancelUnfulfilledDemandFlag": null,
		"CreationDate": "2020-10-21T12:26:10.484+00:00",
		"CreatedBy": "CVBUYER10",
		"LastUpdateDate": "2020-10-21T12:32:52.888+00:00",
		"LastUpdatedBy": "PRC_INTEGRATION_USER",
		"MaximumRetainageAmount": null,
		"Manufacturer": null,
		"ManufacturerPartNumber": null,
		"schedules": [
		{
			"LineLocationId": 300100185839442,
			"ScheduleNumber": 1,
			"POLineId": 300100185839441,
			"LineNumber": 2,
			"POHeaderId": 300100185839437,
			"OrderNumber": "1004713",
			"Quantity": 15,
			"Amount": null,
			"ShipToOrganizationId": 204,
			"ShipToOrganizationCode": "V1",
			"ShipToOrganization": "Vision Operations",
			"ShipToLocation": "V1- New York City",
			"ShipToLocationId": 204,
			"ShipToLocationCode": "V1- New York City",
			"DestinationTypeCode": "EXPENSE",
			"DestinationType": "Expense",
			"LocationOfFinalDischargeId": null,
			"LocationOfFinalDischargeCode": null,
			"TransactionBusinessCategoryId": 20234,
			"TransactionBusinessCategoryCode": "PURCHASE_TRANSACTION",
			"TransactionBusinessCategory": "Purchase Transaction",
			"UserDefinedFiscalClassificationCode": null,
			"UserDefinedFiscalClassification": null,
			"ProductFiscalClassificationId": null,
			"ProductFiscalClassificationCode": null,
			"ProductFiscalClassification": null,
			"ProductCategoryCode": null,
			"ProductCategory": null,
			"LineIntendedUseId": null,
			"LineIntendedUse": null,
			"ProductTypeCode": "GOODS",
			"ProductType": "Goods",
			"AssessableValue": 375.00,
			"TaxClassificationCode": null,
			"TaxClassification": null,
			"InvoiceCloseTolerancePercent": 0,
			"ReceiptCloseTolerancePercent": 0,
			"EarlyReceiptToleranceDays": 6,
			"LateReceiptToleranceDays": 30,
			"AccrueAtReceiptFlag": true,
			"ReceiptRoutingId": 1,
			"ReceiptRouting": "Standard receipt",
			"InvoiceMatchOptionCode": "P",
			"InvoiceMatchOption": "Order",
			"InspectionRequiredFlag": false,
			"ReceiptRequiredFlag": false,
			"MatchApprovalLevelCode": "2-Way",
			"MatchApprovalLevel": "2 Way",
			"AllowSubstituteReceiptsFlag": true,
			"FirmFlag": null,
			"OverReceiptTolerancePercent": 5,
			"BackToBackFlag": null,
			"NoteToReceiver": null,
			"RequestedDeliveryDate": "2022-12-30",
			"PromisedDeliveryDate": "2020-10-31",
			"RequestedShipDate": null,
			"PromisedShipDate": null,
			"SalesOrderNumber": null,
			"SalesOrderLineNumber": null,
			"SalesOrderScheduleNumber": null,
			"SecondaryQuantity": null,
			"TaxableFlag": false,
			"Carrier": "Airborne",
			"CarrierId": 12519,
			"CountryOfOrigin": null,
			"CountryOfOriginCode": null,
			"ShipToExceptionAction": "Warning",
			"ShipToExceptionActionCode": "WARNING",
			"FundsStatusCode": "NOT_APPLICABLE",
			"FundsStatus": "Not Applicable",
			"ModeOfTransport": null,
			"ModeOfTransportCode": null,
			"CancelDate": null,
			"CancelReason": null,
			"CancelledBy": null,
			"RejectedReason": null,
			"ReasonForChange": null,
			"ChangeAcceptedFlag": null,
			"ChangeOrderAmountCancelled": null,
			"ChangeOrderQuantityCancelled": null,
			"CustomerItem": null,
			"CustomerItemDescription": null,
			"CustomerPOLineNumber": null,
			"CustomerPONumber": null,
			"CustomerPOScheduleNumber": null,
			"CurrencyCode": "USD",
			"Currency": "US Dollar",
			"RejectedBy": null,
			"RejectedByRole": null,
			"CancelFlag": false,
			"SecondaryUOMCode": null,
			"SecondaryUOM": null,
			"UOMCode": "Ea",
			"UOM": "Each",
			"ReceiptDateExceptionActionCode": "WARNING",
			"ReceiptDateExceptionAction": "Warning",
			"OverReceiptActionCode": "WARNING",
			"OverReceiptAction": "Warning",
			"WorkOrderId": null,
			"WorkOrderNumber": null,
			"WorkOrderOperationId": null,
			"WorkOrderOperationSequence": null,
			"WorkOrderSubType": null,
			"SupplierOrderLineNumber": null,
			"OrchestrationAgreementLineNumber": null,
			"OrchestrationAgreementNumber": null,
			"PrimaryTradeRelationshipId": null,
			"POTradingOrganizationId": null,
			"POTradingOrganizationCode": null,
			"POTradingOrganization": null,
			"FirmStatusLookupCode": null,
			"FirmStatus": null,
			"ParentLineLocationId": null,
			"ParentScheduleNumber": null,
			"ShipToCustomerContactId": null,
			"ShipToCustomerContact": null,
			"ShipToCustomerId": null,
			"ShipToCustomer": null,
			"ShipToCustomerLocationId": null,
			"ServiceLevelCode": null,
			"ServiceLevel": null,
			"CancelUnfulfilledDemandFlag": null,
			"CreatedBy": "CVBUYER10",
			"CreationDate": "2020-10-21T12:26:10.490+00:00",
			"LastUpdateDate": "2020-10-21T12:32:52.914+00:00",
			"LastUpdatedBy": "PRC_INTEGRATION_USER",
			"ShippingMethod": "Airborne",
			"RetainageRate": null,
			"LastAcceptableDeliveryDate": "2020-11-30",
			"LastAcceptableShipDate": null,
			"OriginalPromisedDeliveryDate": "2020-10-31",
			"OriginalPromisedShipDate": null,
			"distributions": [
			{
				"PODistributionId": 300100185839443,
				"DistributionNumber": 1,
				"POHeaderId": 300100185839437,
				"OrderNumber": "1004713",
				"POLineId": 300100185839441,
				"LineNumber": 2,
				"LineLocationId": 300100185839442,
				"ScheduleNumber": 1,
				"Quantity": 15,
				"Amount": null,
				"DeliverToLocationId": 204,
				"DeliverToLocationCode": "V1- New York City",
				"DeliverToLocation": "V1- New York City",
				"POChargeAccountId": 100000011533027,
				"POChargeAccount": "02-420-7110-0000-000",
				"POAccrualAccountId": 12854,
				"POAccrualAccount": "01-000-2210-0000-000",
				"POVarianceAccountId": 17347,
				"POVarianceAccount": "01-580-7740-0000-000",
				"DestinationChargeAccountId": null,
				"DestinationChargeAccount": null,
				"DestinationVarianceAccountId": null,
				"DestinationVarianceAccount": null,
				"RecoverableInclusiveTax": 0,
				"RecoverableExclusiveTax": 0,
				"NonrecoverableInclusiveTax": 0,
				"NonrecoverableExclusiveTax": 0,
				"ConversionRate": null,
				"ConversionRateDate": null,
				"CurrencyCode": "USD",
				"Currency": "US Dollar",
				"UOMCode": "Ea",
				"UOM": "Each",
				"BudgetDate": null,
				"ChangeAcceptedFlag": null,
				"ChangeOrderAmountCancelled": null,
				"ChangeOrderQuantityCancelled": null,
				"DeliverToCustomerContactId": null,
				"DeliverToCustomerContact": null,
				"DeliverToCustomerId": null,
				"DeliverToCustomer": null,
				"DeliverToCustomerLocationId": null,
				"RequesterId": 100010026864119,
				"Requester": "Fillion,Rosalinda",
				"DestinationSubinventory": null,
				"FundsStatusCode": "NOT_APPLICABLE",
				"FundsStatus": "Not Applicable",
				"ParentDistributionId": null,
				"ParentDistributionNumber": null,
				"ReasonForChange": null,
				"RequisitionHeaderId": 300100185839413,
				"Requisition": "10504019",
				"RequisitionLineId": 300100185839423,
				"RequisitionLine": 2,
				"RequisitionDistributionId": 300100185839424,
				"RequisitionDistribution": 1,
				"CreationDate": "2020-10-21T12:26:10.505+00:00",
				"CreatedBy": "CVBUYER10",
				"LastUpdateDate": "2020-10-21T12:32:52.933+00:00",
				"LastUpdatedBy": "PRC_INTEGRATION_USER",
				"links": [
				{
					"rel": "self",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839441/child/schedules/300100185839442/child/distributions/300100185839443",
					"name": "distributions",
					"kind": "item",
					"properties": {
						"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000378"
					}
				},
				{
					"rel": "canonical",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839441/child/schedules/300100185839442/child/distributions/300100185839443",
					"name": "distributions",
					"kind": "item"
				},
				{
					"rel": "parent",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839441/child/schedules/300100185839442",
					"name": "schedules",
					"kind": "item"
				},
				{
					"rel": "child",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839441/child/schedules/300100185839442/child/distributions/300100185839443/child/DFF",
					"name": "DFF",
					"kind": "collection"
				},
				{
					"rel": "child",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839441/child/schedules/300100185839442/child/distributions/300100185839443/child/projectDFF",
					"name": "projectDFF",
					"kind": "collection"
				}
				]
			}
			],
			"links": [
			{
				"rel": "self",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839441/child/schedules/300100185839442",
				"name": "schedules",
				"kind": "item",
				"properties": {
					"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
				}
			},
			{
				"rel": "canonical",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839441/child/schedules/300100185839442",
				"name": "schedules",
				"kind": "item"
			},
			{
				"rel": "parent",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839441",
				"name": "lines",
				"kind": "item"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839441/child/schedules/300100185839442/child/DFF",
				"name": "DFF",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839441/child/schedules/300100185839442/child/attachments",
				"name": "attachments",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839441/child/schedules/300100185839442/child/distributions",
				"name": "distributions",
				"kind": "collection"
			}
			]
		}
		],
		"links": [
		{
			"rel": "self",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839441",
			"name": "lines",
			"kind": "item",
			"properties": {
				"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
			}
		},
		{
			"rel": "canonical",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839441",
			"name": "lines",
			"kind": "item"
		},
		{
			"rel": "parent",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437",
			"name": "draftPurchaseOrders",
			"kind": "item"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839441/child/DFF",
			"name": "DFF",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839441/child/attachments",
			"name": "attachments",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839441/child/schedules",
			"name": "schedules",
			"kind": "collection"
		}
		]
	},
	{
		"POLineId": 300100185839438,
		"LineNumber": 1,
		"POHeaderId": 300100185839437,
		"OrderNumber": "1004713",
		"LineTypeId": 6,
		"LineType": "Fixed Price Services",
		"ItemId": null,
		"Item": null,
		"ItemRevision": null,
		"CategoryId": 2915,
		"CategoryCode": "LAB.TOURN",
		"Category": "Laptop Accessory",
		"Description": "laptop services",
		"Amount": 100,
		"Quantity": null,
		"Price": null,
		"UOMCode": null,
		"UOM": null,
		"CurrencyCode": "USD",
		"Currency": "US Dollar",
		"BaseModelId": null,
		"BaseModel": null,
		"BaseModelPrice": null,
		"CancelDate": null,
		"CancelFlag": false,
		"CancelReason": null,
		"CancelledBy": null,
		"ChangeAcceptedFlag": null,
		"ConfiguredItemFlag": false,
		"ConsignmentLineFlag": false,
		"SourceAgreementId": 300100073313296,
		"SourceAgreementNumber": "1002252",
		"SourceAgreementLineId": null,
		"SourceAgreementLine": null,
		"SourceAgreementTypeCode": "CONTRACT",
		"SourceAgreementType": "Contract Purchase Agreement",
		"ResponseLine": null,
		"Response": null,
		"NegotiationId": null,
		"Negotiation": null,
		"NegotiationLine": null,
		"FundsStatusCode": "NOT_APPLICABLE",
		"FundsStatus": "Not Applicable",
		"ManualPriceChangeFlag": null,
		"NegotiatedFlag": false,
		"NoteToSupplier": null,
		"ReasonForChange": null,
		"SupplierConfigurationId": null,
		"SupplierItem": null,
		"OptionsPrice": null,
		"UNNumberCode": null,
		"UNNumberId": null,
		"UNNumber": null,
		"UNNumberDescription": null,
		"HazardClassCode": null,
		"HazardClassId": null,
		"HazardClass": null,
		"WorkOrderProduct": null,
		"TaxableFlag": false,
		"ReferenceNumber": null,
		"CancelUnfulfilledDemandFlag": null,
		"CreationDate": "2020-10-21T12:26:10.157+00:00",
		"CreatedBy": "CVBUYER10",
		"LastUpdateDate": "2020-10-21T12:32:52.943+00:00",
		"LastUpdatedBy": "PRC_INTEGRATION_USER",
		"MaximumRetainageAmount": null,
		"Manufacturer": null,
		"ManufacturerPartNumber": null,
		"schedules": [
		{
			"LineLocationId": 300100185839439,
			"ScheduleNumber": 1,
			"POLineId": 300100185839438,
			"LineNumber": 1,
			"POHeaderId": 300100185839437,
			"OrderNumber": "1004713",
			"Quantity": null,
			"Amount": 100,
			"ShipToOrganizationId": 204,
			"ShipToOrganizationCode": "V1",
			"ShipToOrganization": "Vision Operations",
			"ShipToLocation": "V1- New York City",
			"ShipToLocationId": 204,
			"ShipToLocationCode": "V1- New York City",
			"DestinationTypeCode": "EXPENSE",
			"DestinationType": "Expense",
			"LocationOfFinalDischargeId": null,
			"LocationOfFinalDischargeCode": null,
			"TransactionBusinessCategoryId": 20234,
			"TransactionBusinessCategoryCode": "PURCHASE_TRANSACTION",
			"TransactionBusinessCategory": "Purchase Transaction",
			"UserDefinedFiscalClassificationCode": null,
			"UserDefinedFiscalClassification": null,
			"ProductFiscalClassificationId": null,
			"ProductFiscalClassificationCode": null,
			"ProductFiscalClassification": null,
			"ProductCategoryCode": null,
			"ProductCategory": null,
			"LineIntendedUseId": null,
			"LineIntendedUse": null,
			"ProductTypeCode": "SERVICES",
			"ProductType": "Services",
			"AssessableValue": 100.00,
			"TaxClassificationCode": null,
			"TaxClassification": null,
			"InvoiceCloseTolerancePercent": 0,
			"ReceiptCloseTolerancePercent": 0,
			"EarlyReceiptToleranceDays": 6,
			"LateReceiptToleranceDays": 30,
			"AccrueAtReceiptFlag": true,
			"ReceiptRoutingId": 3,
			"ReceiptRouting": "Direct delivery",
			"InvoiceMatchOptionCode": "P",
			"InvoiceMatchOption": "Order",
			"InspectionRequiredFlag": false,
			"ReceiptRequiredFlag": false,
			"MatchApprovalLevelCode": "2-Way",
			"MatchApprovalLevel": "2 Way",
			"AllowSubstituteReceiptsFlag": false,
			"FirmFlag": null,
			"OverReceiptTolerancePercent": 5,
			"BackToBackFlag": null,
			"NoteToReceiver": null,
			"RequestedDeliveryDate": "2020-10-31",
			"PromisedDeliveryDate": "2020-10-31",
			"RequestedShipDate": null,
			"PromisedShipDate": null,
			"SalesOrderNumber": null,
			"SalesOrderLineNumber": null,
			"SalesOrderScheduleNumber": null,
			"SecondaryQuantity": null,
			"TaxableFlag": false,
			"Carrier": "Airborne",
			"CarrierId": 12519,
			"CountryOfOrigin": null,
			"CountryOfOriginCode": null,
			"ShipToExceptionAction": "None",
			"ShipToExceptionActionCode": "NONE",
			"FundsStatusCode": "NOT_APPLICABLE",
			"FundsStatus": "Not Applicable",
			"ModeOfTransport": null,
			"ModeOfTransportCode": null,
			"CancelDate": null,
			"CancelReason": null,
			"CancelledBy": null,
			"RejectedReason": null,
			"ReasonForChange": null,
			"ChangeAcceptedFlag": null,
			"ChangeOrderAmountCancelled": null,
			"ChangeOrderQuantityCancelled": null,
			"CustomerItem": null,
			"CustomerItemDescription": null,
			"CustomerPOLineNumber": null,
			"CustomerPONumber": null,
			"CustomerPOScheduleNumber": null,
			"CurrencyCode": "USD",
			"Currency": "US Dollar",
			"RejectedBy": null,
			"RejectedByRole": null,
			"CancelFlag": false,
			"SecondaryUOMCode": null,
			"SecondaryUOM": null,
			"UOMCode": null,
			"UOM": null,
			"ReceiptDateExceptionActionCode": "WARNING",
			"ReceiptDateExceptionAction": "Warning",
			"OverReceiptActionCode": "WARNING",
			"OverReceiptAction": "Warning",
			"WorkOrderId": null,
			"WorkOrderNumber": null,
			"WorkOrderOperationId": null,
			"WorkOrderOperationSequence": null,
			"WorkOrderSubType": null,
			"SupplierOrderLineNumber": null,
			"OrchestrationAgreementLineNumber": null,
			"OrchestrationAgreementNumber": null,
			"PrimaryTradeRelationshipId": null,
			"POTradingOrganizationId": null,
			"POTradingOrganizationCode": null,
			"POTradingOrganization": null,
			"FirmStatusLookupCode": null,
			"FirmStatus": null,
			"ParentLineLocationId": null,
			"ParentScheduleNumber": null,
			"ShipToCustomerContactId": null,
			"ShipToCustomerContact": null,
			"ShipToCustomerId": null,
			"ShipToCustomer": null,
			"ShipToCustomerLocationId": null,
			"ServiceLevelCode": null,
			"ServiceLevel": null,
			"CancelUnfulfilledDemandFlag": null,
			"CreatedBy": "CVBUYER10",
			"CreationDate": "2020-10-21T12:26:10.260+00:00",
			"LastUpdateDate": "2020-10-21T12:32:52.950+00:00",
			"LastUpdatedBy": "PRC_INTEGRATION_USER",
			"ShippingMethod": "Airborne",
			"RetainageRate": null,
			"LastAcceptableDeliveryDate": "2020-11-30",
			"LastAcceptableShipDate": null,
			"OriginalPromisedDeliveryDate": "2020-10-31",
			"OriginalPromisedShipDate": null,
			"distributions": [
			{
				"PODistributionId": 300100185839440,
				"DistributionNumber": 1,
				"POHeaderId": 300100185839437,
				"OrderNumber": "1004713",
				"POLineId": 300100185839438,
				"LineNumber": 1,
				"LineLocationId": 300100185839439,
				"ScheduleNumber": 1,
				"Quantity": null,
				"Amount": 100,
				"DeliverToLocationId": 204,
				"DeliverToLocationCode": "V1- New York City",
				"DeliverToLocation": "V1- New York City",
				"POChargeAccountId": 17347,
				"POChargeAccount": "01-580-7740-0000-000",
				"POAccrualAccountId": 12854,
				"POAccrualAccount": "01-000-2210-0000-000",
				"POVarianceAccountId": 17347,
				"POVarianceAccount": "01-580-7740-0000-000",
				"DestinationChargeAccountId": null,
				"DestinationChargeAccount": null,
				"DestinationVarianceAccountId": null,
				"DestinationVarianceAccount": null,
				"RecoverableInclusiveTax": 0,
				"RecoverableExclusiveTax": 0,
				"NonrecoverableInclusiveTax": 0,
				"NonrecoverableExclusiveTax": 0,
				"ConversionRate": null,
				"ConversionRateDate": null,
				"CurrencyCode": "USD",
				"Currency": "US Dollar",
				"UOMCode": null,
				"UOM": null,
				"BudgetDate": null,
				"ChangeAcceptedFlag": null,
				"ChangeOrderAmountCancelled": null,
				"ChangeOrderQuantityCancelled": null,
				"DeliverToCustomerContactId": null,
				"DeliverToCustomerContact": null,
				"DeliverToCustomerId": null,
				"DeliverToCustomer": null,
				"DeliverToCustomerLocationId": null,
				"RequesterId": 100010026864119,
				"Requester": "Fillion,Rosalinda",
				"DestinationSubinventory": null,
				"FundsStatusCode": "NOT_APPLICABLE",
				"FundsStatus": "Not Applicable",
				"ParentDistributionId": null,
				"ParentDistributionNumber": null,
				"ReasonForChange": null,
				"RequisitionHeaderId": 300100185839413,
				"Requisition": "10504019",
				"RequisitionLineId": 300100185839416,
				"RequisitionLine": 1,
				"RequisitionDistributionId": 300100185839417,
				"RequisitionDistribution": 1,
				"CreationDate": "2020-10-21T12:26:10.365+00:00",
				"CreatedBy": "CVBUYER10",
				"LastUpdateDate": "2020-10-21T12:32:52.957+00:00",
				"LastUpdatedBy": "PRC_INTEGRATION_USER",
				"links": [
				{
					"rel": "self",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839438/child/schedules/300100185839439/child/distributions/300100185839440",
					"name": "distributions",
					"kind": "item",
					"properties": {
						"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000478"
					}
				},
				{
					"rel": "canonical",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839438/child/schedules/300100185839439/child/distributions/300100185839440",
					"name": "distributions",
					"kind": "item"
				},
				{
					"rel": "parent",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839438/child/schedules/300100185839439",
					"name": "schedules",
					"kind": "item"
				},
				{
					"rel": "child",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839438/child/schedules/300100185839439/child/distributions/300100185839440/child/DFF",
					"name": "DFF",
					"kind": "collection"
				},
				{
					"rel": "child",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839438/child/schedules/300100185839439/child/distributions/300100185839440/child/projectDFF",
					"name": "projectDFF",
					"kind": "collection"
				}
				]
			}
			],
			"links": [
			{
				"rel": "self",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839438/child/schedules/300100185839439",
				"name": "schedules",
				"kind": "item",
				"properties": {
					"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
				}
			},
			{
				"rel": "canonical",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839438/child/schedules/300100185839439",
				"name": "schedules",
				"kind": "item"
			},
			{
				"rel": "parent",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839438",
				"name": "lines",
				"kind": "item"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839438/child/schedules/300100185839439/child/DFF",
				"name": "DFF",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839438/child/schedules/300100185839439/child/attachments",
				"name": "attachments",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839438/child/schedules/300100185839439/child/distributions",
				"name": "distributions",
				"kind": "collection"
			}
			]
		}
		],
		"links": [
		{
			"rel": "self",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839438",
			"name": "lines",
			"kind": "item",
			"properties": {
				"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
			}
		},
		{
			"rel": "canonical",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839438",
			"name": "lines",
			"kind": "item"
		},
		{
			"rel": "parent",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437",
			"name": "draftPurchaseOrders",
			"kind": "item"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839438/child/DFF",
			"name": "DFF",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839438/child/attachments",
			"name": "attachments",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines/300100185839438/child/schedules",
			"name": "schedules",
			"kind": "collection"
		}
		]
	}
	],
	"links": [
	{
		"rel": "self",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437",
		"name": "draftPurchaseOrders",
		"kind": "item",
		"properties": {
			"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000678"
		}
	},
	{
		"rel": "canonical",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437",
		"name": "draftPurchaseOrders",
		"kind": "item"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/DFF",
		"name": "DFF",
		"kind": "collection"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/attachments",
		"name": "attachments",
		"kind": "collection"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/child/lines",
		"name": "lines",
		"kind": "collection"
	},
	{
		"rel": "action",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/action/submit",
		"name": "submit",
		"kind": "other"
	},
	{
		"rel": "action",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185839437/action/cancelChangeOrder",
		"name": "cancelChangeOrder",
		"kind": "other"
	}
	]
}

Example 5 cURL Command

Use the following cURL command to submit a request on the REST resource. In this example, header, line and schedule details of an approved purchase order are updated with change order initiating party as supplier.

curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload'  "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058"

Example 5 Request Body

The following example includes the contents of the request body in JSON format to update an approved purchase order for goods and services with change order initiating party as supplier. Only an integrator user can update an approved purchase order with initiating party as supplier. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

{
	"ChangeOrderDescription": "change order",
	"ChangeOrderInitiatingParty": "supplier",
	"lines": [
	{
		"POLineId": 300100185836060,
		"Quantity": 15,
		"Price": 25,
		"schedules": [
		{
			"LineLocationId": 300100185836061,
			"Quantity": 15,
			"PromisedShipDate": "2022-12-30"                  
		}
		]
	},
	{
		"POLineId": 300100185836063,
		"Amount": 400,
		"schedules": [
		{
			"LineLocationId": 300100185836064,
			"Amount": 400
		}
		]
	}
	]
}

Example 5 Response Body

The following example includes the contents of the response body in JSON format:

{
	"POHeaderId": 300100185836058,
	"OrderNumber": "1004705",
	"Description": "Change Order using REST",
	"DocumentStyleId": 1,
	"DocumentStyle": "Purchase Order",
	"StatusCode": "OPEN",
	"Status": "Open",
	"ProcurementBUId": 204,
	"ProcurementBU": "Vision Operations",
	"RequisitioningBUId": 204,
	"RequisitioningBU": "Vision Operations",
	"BuyerId": 100010026863855,
	"Buyer": "Johnson,Ericka",
	"BuyerEmail": "sendmail-test-discard@example.com",
	"CurrencyCode": "USD",
	"Currency": "US Dollar",
	"ConversionRateTypeCode": null,
	"ConversionRateType": null,
	"ConversionRateDate": null,
	"ConversionRate": null,
	"SupplierId": 1178,
	"Supplier": "CDS, Inc",
	"SupplierSiteId": 2854,
	"SupplierSite": "PITTSBURGH",
	"SupplierCommunicationMethod": "NONE",
	"SupplierFax": null,
	"SupplierOrder": null,
	"SupplierEmailAddress": null,
	"SoldToLegalEntityId": 204,
	"SoldToLegalEntity": "Vision Operations",
	"BillToBUId": 204,
	"BillToBU": "Vision Operations",
	"BillToLocationId": 899,
	"BillToLocation": "CA",
	"DefaultShipToLocationId": null,
	"DefaultShipToLocation": null,
	"MasterContractId": 300100185770130,
	"MasterContractNumber": "ECM CONTRACT 1",
	"MasterContractTypeId": 101,
	"MasterContractType": "Buy : No lines",
	"RequiredAcknowledgmentCode": "N",
	"RequiredAcknowledgment": "None",
	"AcknowledgmentDueDate": null,
	"AcknowledgmentWithinDays": null,
	"BuyerManagedTransportFlag": true,
	"RequiresSignatureFlag": false,
	"PendingSignatureFlag": null,
	"PaymentTermsId": 10003,
	"PaymentTerms": "45 Net (terms date + 45)",
	"FOBCode": "Origin",
	"FOB": "Origin",
	"FreightTermsCode": "Due",
	"FreightTerms": "Due",
	"SupplierContactId": null,
	"SupplierContact": null,
	"NoteToSupplier": "This is a note to Supplier",
	"NoteToReceiver": "This is a note to Receiver",
	"CarrierId": 12519,
	"Carrier": "Airborne",
	"ModeOfTransportCode": "PARCEL",
	"ModeOfTransport": "Parcel",
	"ServiceLevelCode": "2DA",
	"ServiceLevel": "2nd day air",
	"ConfirmingOrderFlag": false,
	"PayOnReceiptFlag": true,
	"DocumentCreationMethod": "PO_REST_SERVICE",
	"ShippingMethod": "Airborne-Parcel-2nd day air",
	"DefaultTaxationCountryCode": null,
	"DefaultTaxationCountry": null,
	"FirstPartyRegistrationId": null,
	"FirstPartyRegistrationNumber": null,
	"ThirdPartyRegistrationId": null,
	"ThirdPartyRegistrationNumber": null,
	"DocumentFiscalClassificationId": null,
	"DocumentFiscalClassificationCode": null,
	"DocumentFiscalClassification": null,
	"BudgetaryControlEnabledFlag": false,
	"CancelFlag": null,
	"ChangeOrderNumber": "1",
	"ChangeOrderInitiatingParty": "supplier",
	"ChangeOrderDescription": "change order",
	"ChangeOrderStatusCode": "INCOMPLETE",
	"ChangeOrderStatus": "Incomplete",
	"ChangeOrderTypeCode": null,
	"ChangeOrderType": null,
	"ChangeRequestedBy": null,
	"ContractTermsExistFlag": null,
	"DuplicatedFromHeaderId": null,
	"FundsStatus": "Not Applicable",
	"FundsStatusCode": "NOT_APPLICABLE",
	"ImportSourceCode": null,
	"ReferenceNumber": null,
	"LastUpdateDate": "2020-10-21T14:07:57.402+00:00",
	"LastUpdatedBy": "PRC_INTEGRATION_USER",
	"CreationDate": "2020-10-21T11:08:01.001+00:00",
	"CreatedBy": "PRC_INTEGRATION_USER",
	"lines": [
	{
		"POLineId": 300100185836060,
		"LineNumber": 1,
		"POHeaderId": 300100185836058,
		"OrderNumber": "1004705",
		"LineTypeId": 1,
		"LineType": "Goods",
		"ItemId": null,
		"Item": null,
		"ItemRevision": null,
		"CategoryId": 1,
		"CategoryCode": "MISC.MISC",
		"Category": "Miscellaneous_1",
		"Description": "Laptop Battery",
		"Amount": null,
		"Quantity": 15,
		"Price": 25,
		"UOMCode": "Ea",
		"UOM": "Each",
		"CurrencyCode": "USD",
		"Currency": "US Dollar",
		"BaseModelId": null,
		"BaseModel": null,
		"BaseModelPrice": null,
		"CancelDate": null,
		"CancelFlag": false,
		"CancelReason": null,
		"CancelledBy": null,
		"ChangeAcceptedFlag": null,
		"ConfiguredItemFlag": false,
		"ConsignmentLineFlag": false,
		"SourceAgreementId": null,
		"SourceAgreementNumber": null,
		"SourceAgreementLineId": null,
		"SourceAgreementLine": null,
		"SourceAgreementTypeCode": null,
		"SourceAgreementType": null,
		"ResponseLine": null,
		"Response": null,
		"NegotiationId": null,
		"Negotiation": null,
		"NegotiationLine": null,
		"FundsStatusCode": "NOT_APPLICABLE",
		"FundsStatus": "Not Applicable",
		"ManualPriceChangeFlag": true,
		"NegotiatedFlag": false,
		"NoteToSupplier": null,
		"ReasonForChange": null,
		"SupplierConfigurationId": null,
		"SupplierItem": null,
		"OptionsPrice": null,
		"UNNumberCode": null,
		"UNNumberId": null,
		"UNNumber": null,
		"UNNumberDescription": null,
		"HazardClassCode": null,
		"HazardClassId": null,
		"HazardClass": null,
		"WorkOrderProduct": null,
		"TaxableFlag": null,
		"ReferenceNumber": null,
		"CancelUnfulfilledDemandFlag": null,
		"CreationDate": "2020-10-21T11:08:01.331+00:00",
		"CreatedBy": "PRC_INTEGRATION_USER",
		"LastUpdateDate": "2020-10-21T14:07:56.503+00:00",
		"LastUpdatedBy": "PRC_INTEGRATION_USER",
		"MaximumRetainageAmount": null,
		"Manufacturer": null,
		"ManufacturerPartNumber": null,
		"schedules": [
		{
			"LineLocationId": 300100185836061,
			"ScheduleNumber": 1,
			"POLineId": 300100185836060,
			"LineNumber": 1,
			"POHeaderId": 300100185836058,
			"OrderNumber": "1004705",
			"Quantity": 15,
			"Amount": null,
			"ShipToOrganizationId": 204,
			"ShipToOrganizationCode": "V1",
			"ShipToOrganization": "Vision Operations",
			"ShipToLocation": "V1- New York City",
			"ShipToLocationId": 204,
			"ShipToLocationCode": "V1- New York City",
			"DestinationTypeCode": "EXPENSE",
			"DestinationType": "Expense",
			"LocationOfFinalDischargeId": null,
			"LocationOfFinalDischargeCode": null,
			"TransactionBusinessCategoryId": null,
			"TransactionBusinessCategoryCode": null,
			"TransactionBusinessCategory": null,
			"UserDefinedFiscalClassificationCode": null,
			"UserDefinedFiscalClassification": null,
			"ProductFiscalClassificationId": null,
			"ProductFiscalClassificationCode": null,
			"ProductFiscalClassification": null,
			"ProductCategoryCode": null,
			"ProductCategory": null,
			"LineIntendedUseId": null,
			"LineIntendedUse": null,
			"ProductTypeCode": "GOODS",
			"ProductType": "Goods",
			"AssessableValue": null,
			"TaxClassificationCode": null,
			"TaxClassification": null,
			"InvoiceCloseTolerancePercent": 60,
			"ReceiptCloseTolerancePercent": 60,
			"EarlyReceiptToleranceDays": 5,
			"LateReceiptToleranceDays": 6,
			"AccrueAtReceiptFlag": false,
			"ReceiptRoutingId": 3,
			"ReceiptRouting": "Direct delivery",
			"InvoiceMatchOptionCode": "P",
			"InvoiceMatchOption": "Order",
			"InspectionRequiredFlag": false,
			"ReceiptRequiredFlag": true,
			"MatchApprovalLevelCode": "3-Way",
			"MatchApprovalLevel": "3 Way",
			"AllowSubstituteReceiptsFlag": true,
			"FirmFlag": null,
			"OverReceiptTolerancePercent": 5,
			"BackToBackFlag": null,
			"NoteToReceiver": null,
			"RequestedDeliveryDate": "2020-08-30",
			"PromisedDeliveryDate": null,
			"RequestedShipDate": null,
			"PromisedShipDate": "2022-12-30",
			"SalesOrderNumber": null,
			"SalesOrderLineNumber": null,
			"SalesOrderScheduleNumber": null,
			"SecondaryQuantity": null,
			"TaxableFlag": false,
			"Carrier": null,
			"CarrierId": null,
			"CountryOfOrigin": null,
			"CountryOfOriginCode": null,
			"ShipToExceptionAction": "Warning",
			"ShipToExceptionActionCode": "WARNING",
			"FundsStatusCode": "NOT_APPLICABLE",
			"FundsStatus": "Not Applicable",
			"ModeOfTransport": null,
			"ModeOfTransportCode": null,
			"CancelDate": null,
			"CancelReason": null,
			"CancelledBy": null,
			"RejectedReason": null,
			"ReasonForChange": null,
			"ChangeAcceptedFlag": null,
			"ChangeOrderAmountCancelled": null,
			"ChangeOrderQuantityCancelled": null,
			"CustomerItem": null,
			"CustomerItemDescription": null,
			"CustomerPOLineNumber": null,
			"CustomerPONumber": null,
			"CustomerPOScheduleNumber": null,
			"CurrencyCode": "USD",
			"Currency": "US Dollar",
			"RejectedBy": null,
			"RejectedByRole": null,
			"CancelFlag": false,
			"SecondaryUOMCode": null,
			"SecondaryUOM": null,
			"UOMCode": "Ea",
			"UOM": "Each",
			"ReceiptDateExceptionActionCode": "WARNING",
			"ReceiptDateExceptionAction": "Warning",
			"OverReceiptActionCode": "WARNING",
			"OverReceiptAction": "Warning",
			"WorkOrderId": null,
			"WorkOrderNumber": null,
			"WorkOrderOperationId": null,
			"WorkOrderOperationSequence": null,
			"WorkOrderSubType": null,
			"SupplierOrderLineNumber": null,
			"OrchestrationAgreementLineNumber": null,
			"OrchestrationAgreementNumber": null,
			"PrimaryTradeRelationshipId": null,
			"POTradingOrganizationId": null,
			"POTradingOrganizationCode": null,
			"POTradingOrganization": null,
			"FirmStatusLookupCode": null,
			"FirmStatus": null,
			"ParentLineLocationId": null,
			"ParentScheduleNumber": null,
			"ShipToCustomerContactId": null,
			"ShipToCustomerContact": null,
			"ShipToCustomerId": null,
			"ShipToCustomer": null,
			"ShipToCustomerLocationId": null,
			"ServiceLevelCode": null,
			"ServiceLevel": null,
			"CancelUnfulfilledDemandFlag": null,
			"CreatedBy": "PRC_INTEGRATION_USER",
			"CreationDate": "2020-10-21T11:08:01.398+00:00",
			"LastUpdateDate": "2020-10-21T14:07:56.590+00:00",
			"LastUpdatedBy": "PRC_INTEGRATION_USER",
			"ShippingMethod": null,
			"RetainageRate": null,
			"LastAcceptableDeliveryDate": null,
			"LastAcceptableShipDate": "2023-01-05",
			"OriginalPromisedDeliveryDate": null,
			"OriginalPromisedShipDate": null,
			"links": [
			{
				"rel": "self",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061",
				"name": "schedules",
				"kind": "item",
				"properties": {
					"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000478"
				}
			},
			{
				"rel": "canonical",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061",
				"name": "schedules",
				"kind": "item"
			},
			{
				"rel": "parent",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060",
				"name": "lines",
				"kind": "item"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/DFF",
				"name": "DFF",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/attachments",
				"name": "attachments",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions",
				"name": "distributions",
				"kind": "collection"
			}
			]
		}
		],
		"links": [
		{
			"rel": "self",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060",
			"name": "lines",
			"kind": "item",
			"properties": {
				"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000478"
			}
		},
		{
			"rel": "canonical",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060",
			"name": "lines",
			"kind": "item"
		},
		{
			"rel": "parent",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058",
			"name": "draftPurchaseOrders",
			"kind": "item"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/DFF",
			"name": "DFF",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/attachments",
			"name": "attachments",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules",
			"name": "schedules",
			"kind": "collection"
		}
		]
	},
	{
		"POLineId": 300100185836063,
		"LineNumber": 2,
		"POHeaderId": 300100185836058,
		"OrderNumber": "1004705",
		"LineTypeId": 6,
		"LineType": "Fixed Price Services",
		"ItemId": null,
		"Item": null,
		"ItemRevision": null,
		"CategoryId": 1,
		"CategoryCode": "MISC.MISC",
		"Category": "Miscellaneous_1",
		"Description": "Boiler exterior painting",
		"Amount": 400,
		"Quantity": null,
		"Price": null,
		"UOMCode": null,
		"UOM": null,
		"CurrencyCode": "USD",
		"Currency": "US Dollar",
		"BaseModelId": null,
		"BaseModel": null,
		"BaseModelPrice": null,
		"CancelDate": null,
		"CancelFlag": false,
		"CancelReason": null,
		"CancelledBy": null,
		"ChangeAcceptedFlag": null,
		"ConfiguredItemFlag": false,
		"ConsignmentLineFlag": false,
		"SourceAgreementId": null,
		"SourceAgreementNumber": null,
		"SourceAgreementLineId": null,
		"SourceAgreementLine": null,
		"SourceAgreementTypeCode": null,
		"SourceAgreementType": null,
		"ResponseLine": null,
		"Response": null,
		"NegotiationId": null,
		"Negotiation": null,
		"NegotiationLine": null,
		"FundsStatusCode": "NOT_APPLICABLE",
		"FundsStatus": "Not Applicable",
		"ManualPriceChangeFlag": null,
		"NegotiatedFlag": false,
		"NoteToSupplier": null,
		"ReasonForChange": null,
		"SupplierConfigurationId": null,
		"SupplierItem": null,
		"OptionsPrice": null,
		"UNNumberCode": null,
		"UNNumberId": null,
		"UNNumber": null,
		"UNNumberDescription": null,
		"HazardClassCode": null,
		"HazardClassId": null,
		"HazardClass": null,
		"WorkOrderProduct": null,
		"TaxableFlag": null,
		"ReferenceNumber": null,
		"CancelUnfulfilledDemandFlag": null,
		"CreationDate": "2020-10-21T11:08:01.545+00:00",
		"CreatedBy": "PRC_INTEGRATION_USER",
		"LastUpdateDate": "2020-10-21T14:07:56.602+00:00",
		"LastUpdatedBy": "PRC_INTEGRATION_USER",
		"MaximumRetainageAmount": null,
		"Manufacturer": null,
		"ManufacturerPartNumber": null,
		"schedules": [
		{
			"LineLocationId": 300100185836064,
			"ScheduleNumber": 1,
			"POLineId": 300100185836063,
			"LineNumber": 2,
			"POHeaderId": 300100185836058,
			"OrderNumber": "1004705",
			"Quantity": null,
			"Amount": 400,
			"ShipToOrganizationId": 204,
			"ShipToOrganizationCode": "V1",
			"ShipToOrganization": "Vision Operations",
			"ShipToLocation": "V1- New York City",
			"ShipToLocationId": 204,
			"ShipToLocationCode": "V1- New York City",
			"DestinationTypeCode": "EXPENSE",
			"DestinationType": "Expense",
			"LocationOfFinalDischargeId": null,
			"LocationOfFinalDischargeCode": null,
			"TransactionBusinessCategoryId": null,
			"TransactionBusinessCategoryCode": null,
			"TransactionBusinessCategory": null,
			"UserDefinedFiscalClassificationCode": null,
			"UserDefinedFiscalClassification": null,
			"ProductFiscalClassificationId": null,
			"ProductFiscalClassificationCode": null,
			"ProductFiscalClassification": null,
			"ProductCategoryCode": null,
			"ProductCategory": null,
			"LineIntendedUseId": null,
			"LineIntendedUse": null,
			"ProductTypeCode": "SERVICES",
			"ProductType": "Services",
			"AssessableValue": null,
			"TaxClassificationCode": null,
			"TaxClassification": null,
			"InvoiceCloseTolerancePercent": 60,
			"ReceiptCloseTolerancePercent": 60,
			"EarlyReceiptToleranceDays": 5,
			"LateReceiptToleranceDays": 6,
			"AccrueAtReceiptFlag": false,
			"ReceiptRoutingId": 3,
			"ReceiptRouting": "Direct delivery",
			"InvoiceMatchOptionCode": "P",
			"InvoiceMatchOption": "Order",
			"InspectionRequiredFlag": false,
			"ReceiptRequiredFlag": true,
			"MatchApprovalLevelCode": "3-Way",
			"MatchApprovalLevel": "3 Way",
			"AllowSubstituteReceiptsFlag": false,
			"FirmFlag": null,
			"OverReceiptTolerancePercent": 5,
			"BackToBackFlag": null,
			"NoteToReceiver": null,
			"RequestedDeliveryDate": null,
			"PromisedDeliveryDate": null,
			"RequestedShipDate": null,
			"PromisedShipDate": null,
			"SalesOrderNumber": null,
			"SalesOrderLineNumber": null,
			"SalesOrderScheduleNumber": null,
			"SecondaryQuantity": null,
			"TaxableFlag": false,
			"Carrier": null,
			"CarrierId": null,
			"CountryOfOrigin": null,
			"CountryOfOriginCode": null,
			"ShipToExceptionAction": "None",
			"ShipToExceptionActionCode": "NONE",
			"FundsStatusCode": "NOT_APPLICABLE",
			"FundsStatus": "Not Applicable",
			"ModeOfTransport": null,
			"ModeOfTransportCode": null,
			"CancelDate": null,
			"CancelReason": null,
			"CancelledBy": null,
			"RejectedReason": null,
			"ReasonForChange": null,
			"ChangeAcceptedFlag": null,
			"ChangeOrderAmountCancelled": null,
			"ChangeOrderQuantityCancelled": null,
			"CustomerItem": null,
			"CustomerItemDescription": null,
			"CustomerPOLineNumber": null,
			"CustomerPONumber": null,
			"CustomerPOScheduleNumber": null,
			"CurrencyCode": "USD",
			"Currency": "US Dollar",
			"RejectedBy": null,
			"RejectedByRole": null,
			"CancelFlag": false,
			"SecondaryUOMCode": null,
			"SecondaryUOM": null,
			"UOMCode": null,
			"UOM": null,
			"ReceiptDateExceptionActionCode": "WARNING",
			"ReceiptDateExceptionAction": "Warning",
			"OverReceiptActionCode": "WARNING",
			"OverReceiptAction": "Warning",
			"WorkOrderId": null,
			"WorkOrderNumber": null,
			"WorkOrderOperationId": null,
			"WorkOrderOperationSequence": null,
			"WorkOrderSubType": null,
			"SupplierOrderLineNumber": null,
			"OrchestrationAgreementLineNumber": null,
			"OrchestrationAgreementNumber": null,
			"PrimaryTradeRelationshipId": null,
			"POTradingOrganizationId": null,
			"POTradingOrganizationCode": null,
			"POTradingOrganization": null,
			"FirmStatusLookupCode": null,
			"FirmStatus": null,
			"ParentLineLocationId": null,
			"ParentScheduleNumber": null,
			"ShipToCustomerContactId": null,
			"ShipToCustomerContact": null,
			"ShipToCustomerId": null,
			"ShipToCustomer": null,
			"ShipToCustomerLocationId": null,
			"ServiceLevelCode": null,
			"ServiceLevel": null,
			"CancelUnfulfilledDemandFlag": null,
			"CreatedBy": "PRC_INTEGRATION_USER",
			"CreationDate": "2020-10-21T11:08:01.609+00:00",
			"LastUpdateDate": "2020-10-21T14:07:56.647+00:00",
			"LastUpdatedBy": "PRC_INTEGRATION_USER",
			"ShippingMethod": null,
			"RetainageRate": null,
			"LastAcceptableDeliveryDate": null,
			"LastAcceptableShipDate": null,
			"OriginalPromisedDeliveryDate": null,
			"OriginalPromisedShipDate": null,
			"links": [
			{
				"rel": "self",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063/child/schedules/300100185836064",
				"name": "schedules",
				"kind": "item",
				"properties": {
					"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000378"
				}
			},
			{
				"rel": "canonical",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063/child/schedules/300100185836064",
				"name": "schedules",
				"kind": "item"
			},
			{
				"rel": "parent",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063",
				"name": "lines",
				"kind": "item"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063/child/schedules/300100185836064/child/DFF",
				"name": "DFF",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063/child/schedules/300100185836064/child/attachments",
				"name": "attachments",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063/child/schedules/300100185836064/child/distributions",
				"name": "distributions",
				"kind": "collection"
			}
			]
		}
		],
		"links": [
		{
			"rel": "self",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063",
			"name": "lines",
			"kind": "item",
			"properties": {
				"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000378"
			}
		},
		{
			"rel": "canonical",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063",
			"name": "lines",
			"kind": "item"
		},
		{
			"rel": "parent",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058",
			"name": "draftPurchaseOrders",
			"kind": "item"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063/child/DFF",
			"name": "DFF",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063/child/attachments",
			"name": "attachments",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836063/child/schedules",
			"name": "schedules",
			"kind": "collection"
		}
		]
	}
	],
	"links": [
	{
		"rel": "self",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058",
		"name": "draftPurchaseOrders",
		"kind": "item",
		"properties": {
			"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000778"
		}
	},
	{
		"rel": "canonical",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058",
		"name": "draftPurchaseOrders",
		"kind": "item"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/DFF",
		"name": "DFF",
		"kind": "collection"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/attachments",
		"name": "attachments",
		"kind": "collection"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines",
		"name": "lines",
		"kind": "collection"
	},
	{
		"rel": "action",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/action/submit",
		"name": "submit",
		"kind": "other"
	},
	{
		"rel": "action",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/action/cancelChangeOrder",
		"name": "cancelChangeOrder",
		"kind": "other"
	}
	]
}

Example 6 cURL Command

Use the following cURL command to submit a request on the REST resource. In this example, an approved purchase order is updated to modify the project costing flexfields on the distributions with change order initiating party as buyer.

curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload'  "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058"

Example 6 Request Body

The following example includes the contents of the request body in JSON format to update the project costing flexfields on an approved purchase order with change order initiating party as buyer. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

{
	"ChangeOrderDescription": "change order",
	"ChangeOrderInitiatingParty": "BUYER",
	"lines": [
	{
		"POLineId": 300100185836060,
		"Quantity": 15,
		"Price": 25,
		"schedules": [
		{
			"LineLocationId": 300100185836061,
			"Quantity": 15,
			"RequestedDeliveryDate": "2022-12-30",
			"distributions": [
			{
				"PODistributionId": 300100185836062,
				"Quantity": 15,
				"POChargeAccount": "02-420-7110-0000-000",
				"projectDFF": [
				{
					"__FLEX_Context": "PO_Purchase_Order",
					"_PROJECT_ID_Display": "TEST PRJ PJC PO INTG",
					"_TASK_ID_Display": "3.1",
					"_EXPENDITURE_ITEM_DATE": "2016-01-01",
					"_EXPENDITURE_TYPE_ID_Display": "Airfare",
					"_ORGANIZATION_ID_Display": "Vision Operations"
				}
				]
			}
			]
		}
		]
	}
	]
}

Example 6 Response Body

The following example includes the contents of the response body in JSON format:

{
	"POHeaderId": 300100185836058,
	"OrderNumber": "1004705",
	"Description": "Change Order using REST",
	"DocumentStyleId": 1,
	"DocumentStyle": "Purchase Order",
	"StatusCode": "OPEN",
	"Status": "Open",
	"ProcurementBUId": 204,
	"ProcurementBU": "Vision Operations",
	"RequisitioningBUId": 204,
	"RequisitioningBU": "Vision Operations",
	"BuyerId": 100010026863855,
	"Buyer": "Johnson,Ericka",
	"BuyerEmail": "sendmail-test-discard@example.com",
	"CurrencyCode": "USD",
	"Currency": "US Dollar",
	"ConversionRateTypeCode": null,
	"ConversionRateType": null,
	"ConversionRateDate": null,
	"ConversionRate": null,
	"SupplierId": 1178,
	"Supplier": "CDS, Inc",
	"SupplierSiteId": 2854,
	"SupplierSite": "PITTSBURGH",
	"SupplierCommunicationMethod": "NONE",
	"SupplierFax": null,
	"SupplierOrder": null,
	"SupplierEmailAddress": null,
	"SoldToLegalEntityId": 204,
	"SoldToLegalEntity": "Vision Operations",
	"BillToBUId": 204,
	"BillToBU": "Vision Operations",
	"BillToLocationId": 899,
	"BillToLocation": "CA",
	"DefaultShipToLocationId": null,
	"DefaultShipToLocation": null,
	"MasterContractId": 300100185770130,
	"MasterContractNumber": "ECM CONTRACT 1",
	"MasterContractTypeId": 101,
	"MasterContractType": "Buy : No lines",
	"RequiredAcknowledgmentCode": "N",
	"RequiredAcknowledgment": "None",
	"AcknowledgmentDueDate": null,
	"AcknowledgmentWithinDays": null,
	"BuyerManagedTransportFlag": true,
	"RequiresSignatureFlag": false,
	"PendingSignatureFlag": null,
	"PaymentTermsId": 10003,
	"PaymentTerms": "45 Net (terms date + 45)",
	"FOBCode": "Origin",
	"FOB": "Origin",
	"FreightTermsCode": "Due",
	"FreightTerms": "Due",
	"SupplierContactId": null,
	"SupplierContact": null,
	"NoteToSupplier": "This is a note to Supplier",
	"NoteToReceiver": "This is a note to Receiver",
	"CarrierId": 12519,
	"Carrier": "Airborne",
	"ModeOfTransportCode": "PARCEL",
	"ModeOfTransport": "Parcel",
	"ServiceLevelCode": "2DA",
	"ServiceLevel": "2nd day air",
	"ConfirmingOrderFlag": false,
	"PayOnReceiptFlag": true,
	"DocumentCreationMethod": "PO_REST_SERVICE",
	"ShippingMethod": "Airborne-Parcel-2nd day air",
	"DefaultTaxationCountryCode": null,
	"DefaultTaxationCountry": null,
	"FirstPartyRegistrationId": null,
	"FirstPartyRegistrationNumber": null,
	"ThirdPartyRegistrationId": null,
	"ThirdPartyRegistrationNumber": null,
	"DocumentFiscalClassificationId": null,
	"DocumentFiscalClassificationCode": null,
	"DocumentFiscalClassification": null,
	"BudgetaryControlEnabledFlag": false,
	"CancelFlag": null,
	"ChangeOrderNumber": "1",
	"ChangeOrderInitiatingParty": "BUYER",
	"ChangeOrderDescription": "change order",
	"ChangeOrderStatusCode": "INCOMPLETE",
	"ChangeOrderStatus": "Incomplete",
	"ChangeOrderTypeCode": null,
	"ChangeOrderType": null,
	"ChangeRequestedBy": null,
	"ContractTermsExistFlag": null,
	"DuplicatedFromHeaderId": null,
	"FundsStatus": "Not Applicable",
	"FundsStatusCode": "NOT_APPLICABLE",
	"ImportSourceCode": null,
	"ReferenceNumber": null,
	"LastUpdateDate": "2020-10-21T11:57:09.186+00:00",
	"LastUpdatedBy": "PRC_INTEGRATION_USER",
	"CreationDate": "2020-10-21T11:08:01.001+00:00",
	"CreatedBy": "PRC_INTEGRATION_USER",
	"lines": [
	{
		"POLineId": 300100185836060,
		"LineNumber": 1,
		"POHeaderId": 300100185836058,
		"OrderNumber": "1004705",
		"LineTypeId": 1,
		"LineType": "Goods",
		"ItemId": null,
		"Item": null,
		"ItemRevision": null,
		"CategoryId": 1,
		"CategoryCode": "MISC.MISC",
		"Category": "Miscellaneous_1",
		"Description": "Laptop Battery",
		"Amount": null,
		"Quantity": 15,
		"Price": 25,
		"UOMCode": "Ea",
		"UOM": "Each",
		"CurrencyCode": "USD",
		"Currency": "US Dollar",
		"BaseModelId": null,
		"BaseModel": null,
		"BaseModelPrice": null,
		"CancelDate": null,
		"CancelFlag": false,
		"CancelReason": null,
		"CancelledBy": null,
		"ChangeAcceptedFlag": null,
		"ConfiguredItemFlag": false,
		"ConsignmentLineFlag": false,
		"SourceAgreementId": null,
		"SourceAgreementNumber": null,
		"SourceAgreementLineId": null,
		"SourceAgreementLine": null,
		"SourceAgreementTypeCode": null,
		"SourceAgreementType": null,
		"ResponseLine": null,
		"Response": null,
		"NegotiationId": null,
		"Negotiation": null,
		"NegotiationLine": null,
		"FundsStatusCode": "NOT_APPLICABLE",
		"FundsStatus": "Not Applicable",
		"ManualPriceChangeFlag": true,
		"NegotiatedFlag": false,
		"NoteToSupplier": null,
		"ReasonForChange": null,
		"SupplierConfigurationId": null,
		"SupplierItem": null,
		"OptionsPrice": null,
		"UNNumberCode": null,
		"UNNumberId": null,
		"UNNumber": null,
		"UNNumberDescription": null,
		"HazardClassCode": null,
		"HazardClassId": null,
		"HazardClass": null,
		"WorkOrderProduct": null,
		"TaxableFlag": null,
		"ReferenceNumber": null,
		"CancelUnfulfilledDemandFlag": null,
		"CreationDate": "2020-10-21T11:08:01.331+00:00",
		"CreatedBy": "PRC_INTEGRATION_USER",
		"LastUpdateDate": "2020-10-21T11:57:08.982+00:00",
		"LastUpdatedBy": "PRC_INTEGRATION_USER",
		"MaximumRetainageAmount": null,
		"Manufacturer": null,
		"ManufacturerPartNumber": null,
		"schedules": [
		{
			"LineLocationId": 300100185836061,
			"ScheduleNumber": 1,
			"POLineId": 300100185836060,
			"LineNumber": 1,
			"POHeaderId": 300100185836058,
			"OrderNumber": "1004705",
			"Quantity": 15,
			"Amount": null,
			"ShipToOrganizationId": 204,
			"ShipToOrganizationCode": "V1",
			"ShipToOrganization": "Vision Operations",
			"ShipToLocation": "V1- New York City",
			"ShipToLocationId": 204,
			"ShipToLocationCode": "V1- New York City",
			"DestinationTypeCode": "EXPENSE",
			"DestinationType": "Expense",
			"LocationOfFinalDischargeId": null,
			"LocationOfFinalDischargeCode": null,
			"TransactionBusinessCategoryId": null,
			"TransactionBusinessCategoryCode": null,
			"TransactionBusinessCategory": null,
			"UserDefinedFiscalClassificationCode": null,
			"UserDefinedFiscalClassification": null,
			"ProductFiscalClassificationId": null,
			"ProductFiscalClassificationCode": null,
			"ProductFiscalClassification": null,
			"ProductCategoryCode": null,
			"ProductCategory": null,
			"LineIntendedUseId": null,
			"LineIntendedUse": null,
			"ProductTypeCode": "GOODS",
			"ProductType": "Goods",
			"AssessableValue": null,
			"TaxClassificationCode": null,
			"TaxClassification": null,
			"InvoiceCloseTolerancePercent": 60,
			"ReceiptCloseTolerancePercent": 60,
			"EarlyReceiptToleranceDays": 5,
			"LateReceiptToleranceDays": 6,
			"AccrueAtReceiptFlag": false,
			"ReceiptRoutingId": 3,
			"ReceiptRouting": "Direct delivery",
			"InvoiceMatchOptionCode": "P",
			"InvoiceMatchOption": "Order",
			"InspectionRequiredFlag": false,
			"ReceiptRequiredFlag": true,
			"MatchApprovalLevelCode": "3-Way",
			"MatchApprovalLevel": "3 Way",
			"AllowSubstituteReceiptsFlag": true,
			"FirmFlag": null,
			"OverReceiptTolerancePercent": 5,
			"BackToBackFlag": null,
			"NoteToReceiver": null,
			"RequestedDeliveryDate": "2022-12-30",
			"PromisedDeliveryDate": null,
			"RequestedShipDate": null,
			"PromisedShipDate": null,
			"SalesOrderNumber": null,
			"SalesOrderLineNumber": null,
			"SalesOrderScheduleNumber": null,
			"SecondaryQuantity": null,
			"TaxableFlag": false,
			"Carrier": null,
			"CarrierId": null,
			"CountryOfOrigin": null,
			"CountryOfOriginCode": null,
			"ShipToExceptionAction": "Warning",
			"ShipToExceptionActionCode": "WARNING",
			"FundsStatusCode": "NOT_APPLICABLE",
			"FundsStatus": "Not Applicable",
			"ModeOfTransport": null,
			"ModeOfTransportCode": null,
			"CancelDate": null,
			"CancelReason": null,
			"CancelledBy": null,
			"RejectedReason": null,
			"ReasonForChange": null,
			"ChangeAcceptedFlag": null,
			"ChangeOrderAmountCancelled": null,
			"ChangeOrderQuantityCancelled": null,
			"CustomerItem": null,
			"CustomerItemDescription": null,
			"CustomerPOLineNumber": null,
			"CustomerPONumber": null,
			"CustomerPOScheduleNumber": null,
			"CurrencyCode": "USD",
			"Currency": "US Dollar",
			"RejectedBy": null,
			"RejectedByRole": null,
			"CancelFlag": false,
			"SecondaryUOMCode": null,
			"SecondaryUOM": null,
			"UOMCode": "Ea",
			"UOM": "Each",
			"ReceiptDateExceptionActionCode": "WARNING",
			"ReceiptDateExceptionAction": "Warning",
			"OverReceiptActionCode": "WARNING",
			"OverReceiptAction": "Warning",
			"WorkOrderId": null,
			"WorkOrderNumber": null,
			"WorkOrderOperationId": null,
			"WorkOrderOperationSequence": null,
			"WorkOrderSubType": null,
			"SupplierOrderLineNumber": null,
			"OrchestrationAgreementLineNumber": null,
			"OrchestrationAgreementNumber": null,
			"PrimaryTradeRelationshipId": null,
			"POTradingOrganizationId": null,
			"POTradingOrganizationCode": null,
			"POTradingOrganization": null,
			"FirmStatusLookupCode": null,
			"FirmStatus": null,
			"ParentLineLocationId": null,
			"ParentScheduleNumber": null,
			"ShipToCustomerContactId": null,
			"ShipToCustomerContact": null,
			"ShipToCustomerId": null,
			"ShipToCustomer": null,
			"ShipToCustomerLocationId": null,
			"ServiceLevelCode": null,
			"ServiceLevel": null,
			"CancelUnfulfilledDemandFlag": null,
			"CreatedBy": "PRC_INTEGRATION_USER",
			"CreationDate": "2020-10-21T11:08:01.398+00:00",
			"LastUpdateDate": "2020-10-21T11:57:08.997+00:00",
			"LastUpdatedBy": "PRC_INTEGRATION_USER",
			"ShippingMethod": null,
			"RetainageRate": null,
			"LastAcceptableDeliveryDate": null,
			"LastAcceptableShipDate": null,
			"OriginalPromisedDeliveryDate": null,
			"OriginalPromisedShipDate": null,
			"distributions": [
			{
				"PODistributionId": 300100185836062,
				"DistributionNumber": 1,
				"POHeaderId": 300100185836058,
				"OrderNumber": "1004705",
				"POLineId": 300100185836060,
				"LineNumber": 1,
				"LineLocationId": 300100185836061,
				"ScheduleNumber": 1,
				"Quantity": 15,
				"Amount": null,
				"DeliverToLocationId": 204,
				"DeliverToLocationCode": "V1- New York City",
				"DeliverToLocation": "V1- New York City",
				"POChargeAccountId": 100000011533027,
				"POChargeAccount": "02-420-7110-0000-000",
				"POAccrualAccountId": 12854,
				"POAccrualAccount": "01-000-2210-0000-000",
				"POVarianceAccountId": 13401,
				"POVarianceAccount": "01-000-1410-0000-000",
				"DestinationChargeAccountId": null,
				"DestinationChargeAccount": null,
				"DestinationVarianceAccountId": null,
				"DestinationVarianceAccount": null,
				"RecoverableInclusiveTax": 0,
				"RecoverableExclusiveTax": 0,
				"NonrecoverableInclusiveTax": 0,
				"NonrecoverableExclusiveTax": 0,
				"ConversionRate": null,
				"ConversionRateDate": null,
				"CurrencyCode": "USD",
				"Currency": "US Dollar",
				"UOMCode": "Ea",
				"UOM": "Each",
				"BudgetDate": null,
				"ChangeAcceptedFlag": null,
				"ChangeOrderAmountCancelled": null,
				"ChangeOrderQuantityCancelled": null,
				"DeliverToCustomerContactId": null,
				"DeliverToCustomerContact": null,
				"DeliverToCustomerId": null,
				"DeliverToCustomer": null,
				"DeliverToCustomerLocationId": null,
				"RequesterId": null,
				"Requester": null,
				"DestinationSubinventory": null,
				"FundsStatusCode": "NOT_APPLICABLE",
				"FundsStatus": "Not Applicable",
				"ParentDistributionId": null,
				"ParentDistributionNumber": null,
				"ReasonForChange": null,
				"RequisitionHeaderId": null,
				"Requisition": null,
				"RequisitionLineId": null,
				"RequisitionLine": null,
				"RequisitionDistributionId": null,
				"RequisitionDistribution": null,
				"CreationDate": "2020-10-21T11:08:01.496+00:00",
				"CreatedBy": "PRC_INTEGRATION_USER",
				"LastUpdateDate": "2020-10-21T11:57:09.122+00:00",
				"LastUpdatedBy": "PRC_INTEGRATION_USER",
				"projectDFF": [
				{
					"PoDistributionId": 300100185836062,
					"__FLEX_Context": "PO_Purchase_Order",
					"__FLEX_Context_DisplayValue": "PO: Order Header",
					"_PROJECT_ID": 300100122463036,
					"_PROJECT_ID_Display": "TEST PRJ PJC PO INTG",
					"_TASK_ID": 100100056769497,
					"_TASK_ID_Display": "3.1",
					"_EXPENDITURE_ITEM_DATE": "2016-01-01",
					"_EXPENDITURE_TYPE_ID": 10001,
					"_EXPENDITURE_TYPE_ID_Display": "Airfare",
					"_ORGANIZATION_ID": 204,
					"_ORGANIZATION_ID_Display": "Vision Operations",
					"_CONTRACT_ID": null,
					"_CONTRACT_ID_Display": null,
					"_RESERVED_ATTRIBUTE1": null,
					"_RESERVED_ATTRIBUTE1_Display": null,
					"_BILLABLE_FLAG": null,
					"_BILLABLE_FLAG_Display": null,
					"_CAPITALIZABLE_FLAG": null,
					"_CAPITALIZABLE_FLAG_Display": null,
					"_WORK_TYPE_ID": null,
					"_WORK_TYPE_ID_Display": null,
					"links": [
					{
						"rel": "self",
						"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions/300100185836062/child/projectDFF/300100185836062",
						"name": "projectDFF",
						"kind": "item",
						"properties": {
							"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000378"
						}
					},
					{
						"rel": "canonical",
						"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions/300100185836062/child/projectDFF/300100185836062",
						"name": "projectDFF",
						"kind": "item"
					},
					{
						"rel": "parent",
						"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions/300100185836062",
						"name": "distributions",
						"kind": "item"
					}
					]
				}
				],
				"links": [
				{
					"rel": "self",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions/300100185836062",
					"name": "distributions",
					"kind": "item",
					"properties": {
						"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000378"
					}
				},
				{
					"rel": "canonical",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions/300100185836062",
					"name": "distributions",
					"kind": "item"
				},
				{
					"rel": "parent",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061",
					"name": "schedules",
					"kind": "item"
				},
				{
					"rel": "child",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions/300100185836062/child/DFF",
					"name": "DFF",
					"kind": "collection"
				},
				{
					"rel": "child",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions/300100185836062/child/projectDFF",
					"name": "projectDFF",
					"kind": "collection"
				}
				]
			}
			],
			"links": [
			{
				"rel": "self",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061",
				"name": "schedules",
				"kind": "item",
				"properties": {
					"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000378"
				}
			},
			{
				"rel": "canonical",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061",
				"name": "schedules",
				"kind": "item"
			},
			{
				"rel": "parent",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060",
				"name": "lines",
				"kind": "item"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/DFF",
				"name": "DFF",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/attachments",
				"name": "attachments",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions",
				"name": "distributions",
				"kind": "collection"
			}
			]
		}
		],
		"links": [
		{
			"rel": "self",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060",
			"name": "lines",
			"kind": "item",
			"properties": {
				"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000378"
			}
		},
		{
			"rel": "canonical",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060",
			"name": "lines",
			"kind": "item"
		},
		{
			"rel": "parent",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058",
			"name": "draftPurchaseOrders",
			"kind": "item"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/DFF",
			"name": "DFF",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/attachments",
			"name": "attachments",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules",
			"name": "schedules",
			"kind": "collection"
		}
		]
	}
	],
	"links": [
	{
		"rel": "self",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058",
		"name": "draftPurchaseOrders",
		"kind": "item",
		"properties": {
			"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000678"
		}
	},
	{
		"rel": "canonical",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058",
		"name": "draftPurchaseOrders",
		"kind": "item"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/DFF",
		"name": "DFF",
		"kind": "collection"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/attachments",
		"name": "attachments",
		"kind": "collection"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines",
		"name": "lines",
		"kind": "collection"
	},
	{
		"rel": "action",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/action/submit",
		"name": "submit",
		"kind": "other"
	},
	{
		"rel": "action",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/action/cancelChangeOrder",
		"name": "cancelChangeOrder",
		"kind": "other"
	}
	]
}

Example 7 cURL Command

Use the following cURL command to submit a request on the REST resource. In this example, header, line, schedule, and distribution level descriptive flexfields of an approved purchase order are updated with change order initiating party as buyer.

curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload'  "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058"

Example 7 Request Body

The following example includes the contents of the request body in JSON format to update descriptive flexfields on an approved purchase order with change order initiating party as buyer. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

{
	"ChangeOrderDescription": "change order",
	"ChangeOrderInitiatingParty": "BUYER",
	"DFF": [
	{
		"packagename": "W1223",
		"__FLEX_Context": "Contact",
		"companyname": "ADL",
		"phonenumber": 6506338100
	}
	],
	"lines": [
	{
		"POLineId": 300100185836060,
		"DFF": [
		{
			"startingNumber": 452367,
			"__FLEX_Context": "Contact",
			"SecurityCounter": 12
		}
		],
		"schedules": [
		{
			"LineLocationId": 300100185836061,
			"DFF": [
			{
				"fragile": "NO",
				"__FLEX_Context": "DeliveryInstructions",
				"deliverynote": "To  security 6"
			}
			],
			"distributions": [
			{
				"PODistributionId": 300100185836062,
				"DFF": [
				{
					"Department": "PDSC",
					"__FLEX_Context": "DepartmentLocation",
					"headquarters": "YES"
				}
				]
			}
			]
		}
		]
	}
	]
}

Example 7 Response Body

The following example includes the contents of the response body in JSON format:

{
	"POHeaderId": 300100185836058,
	"OrderNumber": "1004705",
	"Description": "Change Order using REST",
	"DocumentStyleId": 1,
	"DocumentStyle": "Purchase Order",
	"StatusCode": "OPEN",
	"Status": "Open",
	"ProcurementBUId": 204,
	"ProcurementBU": "Vision Operations",
	"RequisitioningBUId": 204,
	"RequisitioningBU": "Vision Operations",
	"BuyerId": 100010026863855,
	"Buyer": "Johnson,Ericka",
	"BuyerEmail": "sendmail-test-discard@example.com",
	"CurrencyCode": "USD",
	"Currency": "US Dollar",
	"ConversionRateTypeCode": null,
	"ConversionRateType": null,
	"ConversionRateDate": null,
	"ConversionRate": null,
	"SupplierId": 1178,
	"Supplier": "CDS, Inc",
	"SupplierSiteId": 2854,
	"SupplierSite": "PITTSBURGH",
	"SupplierCommunicationMethod": "NONE",
	"SupplierFax": null,
	"SupplierOrder": null,
	"SupplierEmailAddress": null,
	"SoldToLegalEntityId": 204,
	"SoldToLegalEntity": "Vision Operations",
	"BillToBUId": 204,
	"BillToBU": "Vision Operations",
	"BillToLocationId": 899,
	"BillToLocation": "CA",
	"DefaultShipToLocationId": null,
	"DefaultShipToLocation": null,
	"MasterContractId": 300100185770130,
	"MasterContractNumber": "ECM CONTRACT 1",
	"MasterContractTypeId": 101,
	"MasterContractType": "Buy : No lines",
	"RequiredAcknowledgmentCode": "N",
	"RequiredAcknowledgment": "None",
	"AcknowledgmentDueDate": null,
	"AcknowledgmentWithinDays": null,
	"BuyerManagedTransportFlag": true,
	"RequiresSignatureFlag": false,
	"PendingSignatureFlag": null,
	"PaymentTermsId": 10003,
	"PaymentTerms": "45 Net (terms date + 45)",
	"FOBCode": "Origin",
	"FOB": "Origin",
	"FreightTermsCode": "Due",
	"FreightTerms": "Due",
	"SupplierContactId": null,
	"SupplierContact": null,
	"NoteToSupplier": "This is a note to Supplier",
	"NoteToReceiver": "This is a note to Receiver",
	"CarrierId": 12519,
	"Carrier": "Airborne",
	"ModeOfTransportCode": "PARCEL",
	"ModeOfTransport": "Parcel",
	"ServiceLevelCode": "2DA",
	"ServiceLevel": "2nd day air",
	"ConfirmingOrderFlag": false,
	"PayOnReceiptFlag": true,
	"DocumentCreationMethod": "PO_REST_SERVICE",
	"ShippingMethod": "Airborne-Parcel-2nd day air",
	"DefaultTaxationCountryCode": null,
	"DefaultTaxationCountry": null,
	"FirstPartyRegistrationId": null,
	"FirstPartyRegistrationNumber": null,
	"ThirdPartyRegistrationId": null,
	"ThirdPartyRegistrationNumber": null,
	"DocumentFiscalClassificationId": null,
	"DocumentFiscalClassificationCode": null,
	"DocumentFiscalClassification": null,
	"BudgetaryControlEnabledFlag": false,
	"CancelFlag": null,
	"ChangeOrderNumber": "2",
	"ChangeOrderInitiatingParty": "BUYER",
	"ChangeOrderDescription": "change order",
	"ChangeOrderStatusCode": "INCOMPLETE",
	"ChangeOrderStatus": "Incomplete",
	"ChangeOrderTypeCode": null,
	"ChangeOrderType": null,
	"ChangeRequestedBy": null,
	"ContractTermsExistFlag": null,
	"DuplicatedFromHeaderId": null,
	"FundsStatus": "Not Applicable",
	"FundsStatusCode": "NOT_APPLICABLE",
	"ImportSourceCode": null,
	"ReferenceNumber": null,
	"LastUpdateDate": "2020-10-22T08:42:04.676+00:00",
	"LastUpdatedBy": "PRC_INTEGRATION_USER",
	"CreationDate": "2020-10-21T11:08:01.001+00:00",
	"CreatedBy": "PRC_INTEGRATION_USER",
	"DFF": [
	{
		"PoHeaderId": 300100185836058,
		"packagename": "W1223",
		"__FLEX_Context": "Contact",
		"__FLEX_Context_DisplayValue": "Contact",
		"companyname": "ADL",
		"phonenumber": 6506338100,
		"links": [
		{
			"rel": "self",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/DFF/300100185836058",
			"name": "DFF",
			"kind": "item",
			"properties": {
				"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000A78"
			}
		},
		{
			"rel": "canonical",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/DFF/300100185836058",
			"name": "DFF",
			"kind": "item"
		},
		{
			"rel": "parent",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058",
			"name": "draftPurchaseOrders",
			"kind": "item"
		}
		]
	}
	],
	"lines": [
	{
		"POLineId": 300100185836060,
		"LineNumber": 1,
		"POHeaderId": 300100185836058,
		"OrderNumber": "1004705",
		"LineTypeId": 1,
		"LineType": "Goods",
		"ItemId": null,
		"Item": null,
		"ItemRevision": null,
		"CategoryId": 1,
		"CategoryCode": "MISC.MISC",
		"Category": "Miscellaneous_1",
		"Description": "Laptop Battery",
		"Amount": null,
		"Quantity": 15,
		"Price": 25,
		"UOMCode": "Ea",
		"UOM": "Each",
		"CurrencyCode": "USD",
		"Currency": "US Dollar",
		"BaseModelId": null,
		"BaseModel": null,
		"BaseModelPrice": null,
		"CancelDate": null,
		"CancelFlag": false,
		"CancelReason": null,
		"CancelledBy": null,
		"ChangeAcceptedFlag": null,
		"ConfiguredItemFlag": false,
		"ConsignmentLineFlag": false,
		"SourceAgreementId": null,
		"SourceAgreementNumber": null,
		"SourceAgreementLineId": null,
		"SourceAgreementLine": null,
		"SourceAgreementTypeCode": null,
		"SourceAgreementType": null,
		"ResponseLine": null,
		"Response": null,
		"NegotiationId": null,
		"Negotiation": null,
		"NegotiationLine": null,
		"FundsStatusCode": "NOT_APPLICABLE",
		"FundsStatus": "Not Applicable",
		"ManualPriceChangeFlag": true,
		"NegotiatedFlag": false,
		"NoteToSupplier": null,
		"ReasonForChange": null,
		"SupplierConfigurationId": null,
		"SupplierItem": null,
		"OptionsPrice": null,
		"UNNumberCode": null,
		"UNNumberId": null,
		"UNNumber": null,
		"UNNumberDescription": null,
		"HazardClassCode": null,
		"HazardClassId": null,
		"HazardClass": null,
		"WorkOrderProduct": null,
		"TaxableFlag": null,
		"ReferenceNumber": null,
		"CancelUnfulfilledDemandFlag": null,
		"CreationDate": "2020-10-21T11:08:01.331+00:00",
		"CreatedBy": "PRC_INTEGRATION_USER",
		"LastUpdateDate": "2020-10-22T08:42:04.565+00:00",
		"LastUpdatedBy": "PRC_INTEGRATION_USER",
		"MaximumRetainageAmount": null,
		"Manufacturer": null,
		"ManufacturerPartNumber": null,
		"schedules": [
		{
			"LineLocationId": 300100185836061,
			"ScheduleNumber": 1,
			"POLineId": 300100185836060,
			"LineNumber": 1,
			"POHeaderId": 300100185836058,
			"OrderNumber": "1004705",
			"Quantity": 15,
			"Amount": null,
			"ShipToOrganizationId": 204,
			"ShipToOrganizationCode": "V1",
			"ShipToOrganization": "Vision Operations",
			"ShipToLocation": "V1- New York City",
			"ShipToLocationId": 204,
			"ShipToLocationCode": "V1- New York City",
			"DestinationTypeCode": "EXPENSE",
			"DestinationType": "Expense",
			"LocationOfFinalDischargeId": null,
			"LocationOfFinalDischargeCode": null,
			"TransactionBusinessCategoryId": null,
			"TransactionBusinessCategoryCode": null,
			"TransactionBusinessCategory": null,
			"UserDefinedFiscalClassificationCode": null,
			"UserDefinedFiscalClassification": null,
			"ProductFiscalClassificationId": null,
			"ProductFiscalClassificationCode": null,
			"ProductFiscalClassification": null,
			"ProductCategoryCode": null,
			"ProductCategory": null,
			"LineIntendedUseId": null,
			"LineIntendedUse": null,
			"ProductTypeCode": "GOODS",
			"ProductType": "Goods",
			"AssessableValue": null,
			"TaxClassificationCode": null,
			"TaxClassification": null,
			"InvoiceCloseTolerancePercent": 60,
			"ReceiptCloseTolerancePercent": 60,
			"EarlyReceiptToleranceDays": 5,
			"LateReceiptToleranceDays": 6,
			"AccrueAtReceiptFlag": false,
			"ReceiptRoutingId": 3,
			"ReceiptRouting": "Direct delivery",
			"InvoiceMatchOptionCode": "P",
			"InvoiceMatchOption": "Order",
			"InspectionRequiredFlag": false,
			"ReceiptRequiredFlag": true,
			"MatchApprovalLevelCode": "3-Way",
			"MatchApprovalLevel": "3 Way",
			"AllowSubstituteReceiptsFlag": true,
			"FirmFlag": null,
			"OverReceiptTolerancePercent": 5,
			"BackToBackFlag": null,
			"NoteToReceiver": null,
			"RequestedDeliveryDate": "2020-08-30",
			"PromisedDeliveryDate": null,
			"RequestedShipDate": null,
			"PromisedShipDate": "2022-12-30",
			"SalesOrderNumber": null,
			"SalesOrderLineNumber": null,
			"SalesOrderScheduleNumber": null,
			"SecondaryQuantity": null,
			"TaxableFlag": false,
			"Carrier": null,
			"CarrierId": null,
			"CountryOfOrigin": null,
			"CountryOfOriginCode": null,
			"ShipToExceptionAction": "Warning",
			"ShipToExceptionActionCode": "WARNING",
			"FundsStatusCode": "NOT_APPLICABLE",
			"FundsStatus": "Not Applicable",
			"ModeOfTransport": null,
			"ModeOfTransportCode": null,
			"CancelDate": null,
			"CancelReason": null,
			"CancelledBy": null,
			"RejectedReason": null,
			"ReasonForChange": null,
			"ChangeAcceptedFlag": null,
			"ChangeOrderAmountCancelled": null,
			"ChangeOrderQuantityCancelled": null,
			"CustomerItem": null,
			"CustomerItemDescription": null,
			"CustomerPOLineNumber": null,
			"CustomerPONumber": null,
			"CustomerPOScheduleNumber": null,
			"CurrencyCode": "USD",
			"Currency": "US Dollar",
			"RejectedBy": null,
			"RejectedByRole": null,
			"CancelFlag": false,
			"SecondaryUOMCode": null,
			"SecondaryUOM": null,
			"UOMCode": "Ea",
			"UOM": "Each",
			"ReceiptDateExceptionActionCode": "WARNING",
			"ReceiptDateExceptionAction": "Warning",
			"OverReceiptActionCode": "WARNING",
			"OverReceiptAction": "Warning",
			"WorkOrderId": null,
			"WorkOrderNumber": null,
			"WorkOrderOperationId": null,
			"WorkOrderOperationSequence": null,
			"WorkOrderSubType": null,
			"SupplierOrderLineNumber": null,
			"OrchestrationAgreementLineNumber": null,
			"OrchestrationAgreementNumber": null,
			"PrimaryTradeRelationshipId": null,
			"POTradingOrganizationId": null,
			"POTradingOrganizationCode": null,
			"POTradingOrganization": null,
			"FirmStatusLookupCode": null,
			"FirmStatus": null,
			"ParentLineLocationId": null,
			"ParentScheduleNumber": null,
			"ShipToCustomerContactId": null,
			"ShipToCustomerContact": null,
			"ShipToCustomerId": null,
			"ShipToCustomer": null,
			"ShipToCustomerLocationId": null,
			"ServiceLevelCode": null,
			"ServiceLevel": null,
			"CancelUnfulfilledDemandFlag": null,
			"CreatedBy": "PRC_INTEGRATION_USER",
			"CreationDate": "2020-10-21T11:08:01.398+00:00",
			"LastUpdateDate": "2020-10-22T08:42:04.611+00:00",
			"LastUpdatedBy": "PRC_INTEGRATION_USER",
			"ShippingMethod": null,
			"RetainageRate": null,
			"LastAcceptableDeliveryDate": null,
			"LastAcceptableShipDate": "2023-01-05",
			"OriginalPromisedDeliveryDate": null,
			"OriginalPromisedShipDate": null,
			"DFF": [
			{
				"LineLocationId": 300100185836061,
				"fragile": "NO",
				"__FLEX_Context": "DeliveryInstructions",
				"__FLEX_Context_DisplayValue": "DeliveryInstructions",
				"deliverynote": "To  security 6",
				"links": [
				{
					"rel": "self",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/DFF/300100185836061",
					"name": "DFF",
					"kind": "item",
					"properties": {
						"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000578"
					}
				},
				{
					"rel": "canonical",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/DFF/300100185836061",
					"name": "DFF",
					"kind": "item"
				},
				{
					"rel": "parent",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061",
					"name": "schedules",
					"kind": "item"
				}
				]
			}
			],
			"distributions": [
			{
				"PODistributionId": 300100185836062,
				"DistributionNumber": 1,
				"POHeaderId": 300100185836058,
				"OrderNumber": "1004705",
				"POLineId": 300100185836060,
				"LineNumber": 1,
				"LineLocationId": 300100185836061,
				"ScheduleNumber": 1,
				"Quantity": 15,
				"Amount": null,
				"DeliverToLocationId": 204,
				"DeliverToLocationCode": "V1- New York City",
				"DeliverToLocation": "V1- New York City",
				"POChargeAccountId": 13401,
				"POChargeAccount": "01-000-1410-0000-000",
				"POAccrualAccountId": 12854,
				"POAccrualAccount": "01-000-2210-0000-000",
				"POVarianceAccountId": 13401,
				"POVarianceAccount": "01-000-1410-0000-000",
				"DestinationChargeAccountId": null,
				"DestinationChargeAccount": null,
				"DestinationVarianceAccountId": null,
				"DestinationVarianceAccount": null,
				"RecoverableInclusiveTax": 0,
				"RecoverableExclusiveTax": 0,
				"NonrecoverableInclusiveTax": 0,
				"NonrecoverableExclusiveTax": 0,
				"ConversionRate": null,
				"ConversionRateDate": null,
				"CurrencyCode": "USD",
				"Currency": "US Dollar",
				"UOMCode": "Ea",
				"UOM": "Each",
				"BudgetDate": null,
				"ChangeAcceptedFlag": null,
				"ChangeOrderAmountCancelled": null,
				"ChangeOrderQuantityCancelled": null,
				"DeliverToCustomerContactId": null,
				"DeliverToCustomerContact": null,
				"DeliverToCustomerId": null,
				"DeliverToCustomer": null,
				"DeliverToCustomerLocationId": null,
				"RequesterId": null,
				"Requester": null,
				"DestinationSubinventory": null,
				"FundsStatusCode": "NOT_APPLICABLE",
				"FundsStatus": "Not Applicable",
				"ParentDistributionId": null,
				"ParentDistributionNumber": null,
				"ReasonForChange": null,
				"RequisitionHeaderId": null,
				"Requisition": null,
				"RequisitionLineId": null,
				"RequisitionLine": null,
				"RequisitionDistributionId": null,
				"RequisitionDistribution": null,
				"CreationDate": "2020-10-21T11:08:01.496+00:00",
				"CreatedBy": "PRC_INTEGRATION_USER",
				"LastUpdateDate": "2020-10-22T08:42:04.629+00:00",
				"LastUpdatedBy": "PRC_INTEGRATION_USER",
				"DFF": [
				{
					"PoDistributionId": 300100185836062,
					"_Purchase__Order__Distributions__D": null,
					"_Purchase__Order__Distributions__B": null,
					"_DIST_DFF_Req_Date": null,
					"Department": "PDSC",
					"__FLEX_Context": "DepartmentLocation",
					"__FLEX_Context_DisplayValue": "DepartmentLocation",
					"headquarters": "YES",
					"links": [
					{
						"rel": "self",
						"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions/300100185836062/child/DFF/300100185836062",
						"name": "DFF",
						"kind": "item",
						"properties": {
							"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000578"
						}
					},
					{
						"rel": "canonical",
						"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions/300100185836062/child/DFF/300100185836062",
						"name": "DFF",
						"kind": "item"
					},
					{
						"rel": "parent",
						"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions/300100185836062",
						"name": "distributions",
						"kind": "item"
					}
					]
				}
				],
				"links": [
				{
					"rel": "self",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions/300100185836062",
					"name": "distributions",
					"kind": "item",
					"properties": {
						"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000578"
					}
				},
				{
					"rel": "canonical",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions/300100185836062",
					"name": "distributions",
					"kind": "item"
				},
				{
					"rel": "parent",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061",
					"name": "schedules",
					"kind": "item"
				},
				{
					"rel": "child",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions/300100185836062/child/DFF",
					"name": "DFF",
					"kind": "collection"
				},
				{
					"rel": "child",
					"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions/300100185836062/child/projectDFF",
					"name": "projectDFF",
					"kind": "collection"
				}
				]
			}
			],
			"links": [
			{
				"rel": "self",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061",
				"name": "schedules",
				"kind": "item",
				"properties": {
					"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000578"
				}
			},
			{
				"rel": "canonical",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061",
				"name": "schedules",
				"kind": "item"
			},
			{
				"rel": "parent",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060",
				"name": "lines",
				"kind": "item"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/DFF",
				"name": "DFF",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/attachments",
				"name": "attachments",
				"kind": "collection"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules/300100185836061/child/distributions",
				"name": "distributions",
				"kind": "collection"
			}
			]
		}
		],
		"DFF": [
		{
			"PoLineId": 300100185836060,
			"startingNumber": 452367,
			"__FLEX_Context": "Contact",
			"__FLEX_Context_DisplayValue": "Contact",
			"SecurityCounter": 12,
			"links": [
			{
				"rel": "self",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/DFF/300100185836060",
				"name": "DFF",
				"kind": "item",
				"properties": {
					"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000578"
				}
			},
			{
				"rel": "canonical",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/DFF/300100185836060",
				"name": "DFF",
				"kind": "item"
			},
			{
				"rel": "parent",
				"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060",
				"name": "lines",
				"kind": "item"
			}
			]
		}
		],
		"links": [
		{
			"rel": "self",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060",
			"name": "lines",
			"kind": "item",
			"properties": {
				"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000578"
			}
		},
		{
			"rel": "canonical",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060",
			"name": "lines",
			"kind": "item"
		},
		{
			"rel": "parent",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058",
			"name": "draftPurchaseOrders",
			"kind": "item"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/DFF",
			"name": "DFF",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/attachments",
			"name": "attachments",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines/300100185836060/child/schedules",
			"name": "schedules",
			"kind": "collection"
		}
		]
	}
	],
	"links": [
	{
		"rel": "self",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058",
		"name": "draftPurchaseOrders",
		"kind": "item",
		"properties": {
			"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000A78"
		}
	},
	{
		"rel": "canonical",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058",
		"name": "draftPurchaseOrders",
		"kind": "item"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/DFF",
		"name": "DFF",
		"kind": "collection"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/attachments",
		"name": "attachments",
		"kind": "collection"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/child/lines",
		"name": "lines",
		"kind": "collection"
	},
	{
		"rel": "action",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/action/submit",
		"name": "submit",
		"kind": "other"
	},
	{
		"rel": "action",
		"href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100185836058/action/cancelChangeOrder",
		"name": "cancelChangeOrder",
		"kind": "other"
	}
	]
}

Example 8 cURL Command

Use the following cURL command to submit a request on the REST resource. In this example, the overriding approver on an approved purchase order is updated with the change order initiating party as requester. The overriding approver on a purchase order can be updated using the change order initiating party as a buyer or a requester.

curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload'  "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100560951625"

Example 8 Request Body

The following example includes the contents of the request body in JSON format to update an overriding approver on an approved purchase order with the change order initiating party as requester. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.
{   
    "ChangeOrderDescription": "Update Overriding Approver",
    "ChangeOrderInitiatingParty": "Requester",
	"OverridingApprover": "Grayson,Daniel"
}

Example 8 Response Body

The following example includes the contents of the response body in JSON format:
{
    "POHeaderId": 300100560951625,
    "OrderNumber": "1005622",
    "Description": "Add Overriding Approver",
    "DocumentStyleId": 1,
    "DocumentStyle": "Purchase Order",
    "StatusCode": "OPEN",
    "Status": "Open",
    "ProcurementBUId": 204,
    "ProcurementBU": "Vision Operations",
    "RequisitioningBUId": 204,
    "RequisitioningBU": "Vision Operations",
    "BuyerId": 100010026863855,
    "Buyer": "Morris,Colby",
    "BuyerEmail": "sendmail-test1-discard@oracle.com",
    "CurrencyCode": "USD",
    "Currency": "US Dollar",
    "ConversionRateTypeCode": null,
    "ConversionRateType": null,
    "ConversionRateDate": null,
    "ConversionRate": null,
    "SupplierId": 12,
    "Supplier": "CV_SuppA01",
    "SupplierSiteId": 2444,
    "SupplierSite": "CVSuppA01Site01",
    "SupplierCommunicationMethod": "NONE",
    "SupplierFax": null,
    "SupplierOrder": null,
    "SupplierEmailAddress": null,
    "SoldToLegalEntityId": 204,
    "SoldToLegalEntity": "Vision Operations",
    "BillToBUId": 204,
    "BillToBU": "Vision Operations",
    "BillToLocationId": 899,
    "BillToLocation": "V1- New York City",
    "BillToLocationInternalCode": "COSTA_MESA,_CA_0_2451610152830",
    "DefaultShipToLocationId": null,
    "DefaultShipToLocation": null,
    "DefaultShipToLocationInternalCode": null,
    "MasterContractId": null,
    "MasterContractNumber": null,
    "MasterContractTypeId": null,
    "MasterContractType": null,
    "RequiredAcknowledgmentCode": "N",
    "RequiredAcknowledgment": "None",
    "AcknowledgmentDueDate": null,
    "AcknowledgmentWithinDays": null,
    "BuyerManagedTransportFlag": false,
    "RequiresSignatureFlag": false,
    "PendingSignatureFlag": null,
    "PaymentTermsId": 10003,
    "PaymentTerms": "45 Net (terms date + 45)",
    "FOBCode": "Origin",
    "FOB": "Origin",
    "FreightTermsCode": "Due",
    "FreightTerms": "Due",
    "SupplierContactId": null,
    "SupplierContact": null,
    "CarrierId": 12519,
    "Carrier": "Airborne",
    "ModeOfTransportCode": "PARCEL",
    "ModeOfTransport": "Parcel",
    "ServiceLevelCode": "2DA",
    "ServiceLevel": "2nd day air",
    "ConfirmingOrderFlag": false,
    "PayOnReceiptFlag": false,
    "DocumentCreationMethod": "PO_REST_SERVICE",
    "ShippingMethod": "Airborne-Parcel-2nd day air",
    "DefaultTaxationCountryCode": "US",
    "DefaultTaxationCountry": "United States",
    "FirstPartyRegistrationId": null,
    "FirstPartyRegistrationNumber": null,
    "ThirdPartyRegistrationId": null,
    "ThirdPartyRegistrationNumber": null,
    "DocumentFiscalClassificationId": null,
    "DocumentFiscalClassificationCode": null,
    "DocumentFiscalClassification": null,
    "BudgetaryControlEnabledFlag": false,
    "CancelFlag": null,
    "ChangeOrderNumber": "1",
    "ChangeOrderInitiatingParty": "Requester",
    "ChangeOrderDescription": "Update Overriding Approver",
    "ChangeOrderStatusCode": "INCOMPLETE",
    "ChangeOrderStatus": "Incomplete",
    "ChangeOrderTypeCode": null,
    "ChangeOrderType": null,
    "ChangeRequestedBy": null,
    "ContractTermsExistFlag": false,
    "DuplicatedFromHeaderId": null,
    "FundsStatus": "Not Applicable",
    "FundsStatusCode": "NOT_APPLICABLE",
    "ImportSourceCode": null,
    "ReferenceNumber": null,
    "LastUpdateDate": "2022-07-29T09:13:13.219+00:00",
    "LastUpdatedBy": "CVBUYER01",
    "CreationDate": "2022-07-29T08:49:36+00:00",
    "LastUpdatedBy": "CVBUYER01",
    "SupplierCCEmailAddress": null,
    "SupplierBCCEmailAddress": null,
    "OverridingApproverId": 100010026864151,
    "OverridingApprover": "Grayson,Daniel",
    "links": [
        {
            "rel": "self",
            "href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100560951625",
            "name": "draftPurchaseOrders",
            "kind": "item",
            "properties": {
                "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000878"
            }
        },
        {
            "rel": "canonical",
            "href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100560951625",
            "name": "draftPurchaseOrders",
            "kind": "item"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100560951625/child/DFF",
            "name": "DFF",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100560951625/child/attachments",
            "name": "attachments",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100560951625/child/globalDFFs",
            "name": "globalDFFs",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100560951625/child/lines",
            "name": "lines",
            "kind": "collection"
        },
        {
            "rel": "action",
            "href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100560951625/action/distributeProjectCosts",
            "name": "distributeProjectCosts",
            "kind": "other"
        },
        {
            "rel": "action",
            "href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100560951625/action/submit",
            "name": "submit",
            "kind": "other"
        },
        {
            "rel": "action",
            "href": "https://servername/fscmRestApi/resources/version/draftPurchaseOrders/300100560951625/action/cancelChangeOrder",
            "name": "cancelChangeOrder",
            "kind": "other"
        }
    ]
}
Back to Top