Get all schedules
/fscmRestApi/resources/11.13.18.05/purchaseOrderSchedulesForLandedCosts
Request
-
expand: string
When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
-
fields: string
This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.
Format: ?fields=Attribute1,Attribute2
Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2 -
finder: string
Used as a predefined finder to search the collection.
Format: ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>
The following are the available finder names and corresponding finder variables:- PrimaryKey: Find purchase order schedules according to the purchase order line location identifier as the primary key.
Finder Variables:- POLineLocationId; integer; Value that uniquely identifies the purchase order line location.
- findPurchaseOrderSchedules: Find purchase order schedules according to the specified attributes.
Finder Variables:- bindActualAmount; number; Total actual amount incurred on the trade operation.
- bindAssociatedCharges; string; Contains one of the following values. With Charges: charges estimated for the purchase order. Without Charges: charges are not estimated for the purchase order.
- bindBuyer; string; Buyer for the purchase order.
- bindChargeLineStatus; string; Status of the trade operation charge line. Valid values include Allocated, Allocated with Warning, Allocation in Error, Cancelled, Draft Allocation, Incomplete, New, Pending Association, Ready for Allocation, and Requires Reallocation.
- bindChargeName; string; Charge name for which the estimates and actual amounts are entered.
- bindDeliverToInvOrg; string; Name of the inventory organization to which the item is delivered.
- bindDestinationType; string; Destination type on the purchase order.
- bindEstimatedAmount; number; Charge name for which the estimates and actual amounts are entered.
- bindNeedByDate; string; Date on the purchase order by when the item needs to be delivered.
- bindOrderedQuantity; number; Quantity ordered in the purchase order.
- bindPOApprovalDate; string; Date when the purchase order was approved.
- bindPODescription; string; Description of the purchase order.
- bindPOFunctionalCurrencyAmount; string; Amount in the purchase order currency.
- bindPOItemNumber; string; Number that identifies the purchase order item.
- bindPOLineNumber; string; Number that identifies the line in the purchase order.
- bindPONumber; string; Number that identifies the purchase order.
- bindPOSchedule; string; Number that identifies the purchase order schedule.
- bindProcurementBU; string; Name of the procurement business unit.
- bindProfitCenterBU; string; Name of the profit center business unit.
- bindPromisedDate; string; Date when the order was promised to be delivered.
- bindQuantityReceived; number; Received quantity corresponding to the purchase order schedule.
- bindQuantityShipped; number; Shipped quantity corresponding to the purchase order schedule.
- bindRequisitioningBU; string; Name of the requisitioning business unit on the purchase order.
- bindShipToLocation; string; Location to which the item is delivered.
- bindShipmentLineNumber; integer; Line number of the shipment associated with the purchase order schedule.
- bindShipmentNumber; string; Shipment number associated to a purchase order schedule.
- bindSupplier; string; Name of the supplier on the purchase order.
- bindSupplierSite; string; Name of the supplier site unit on the purchase order.
- bindTaxExclusivePrice; number; Tax exclusive price on the purchase order.
- bindTradeOperationName; string; Name of the trade operation to which the charge line belongs.
- bindTradeOperationNumber; string; Number that identifies the trade operation to which the charge line belongs.
- PrimaryKey: Find purchase order schedules according to the purchase order line location identifier as the primary key.
-
limit: integer
This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
-
links: string
This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>
Example:
self,canonical -
offset: integer
Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
-
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
-
orderBy: string
This parameter orders a resource collection based on the specified fields. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. The default value is "asc". For example, ?orderBy=field1:asc,field2:desc
-
q: string
This query parameter defines the where clause. The resource collection will be queried using the provided expressions. The value of this query parameter is one or more expressions. Example: ?q=Deptno>=10 and <= 30;Loc!=NY
Format: ?q=expression1;expression2
You can use these queryable attributes to filter this collection resource using the q query parameter:- AssociatedCharges; string; Contains one of the following values. With Charges: charges estimated for the purchase order. Without Charges: charges are not estimated for the purchase order. The default value is Without Charges.
- Buyer; string; Buyer for the purchase order.
- BuyerId; integer; Value that uniquely identifies the buyer for the purchase order.
- DeliveredToInventoryOrg; string; Name of the inventory organization to which the item is delivered.
- DeliveredToInventoryOrgId; integer; Value that uniquely identifies the inventory organization to which the item is delivered.
- DestinationType; string; Destination type on the purchase order.
- LandedCostPOScheduleId; integer; Value that uniquely identifies the purchase order schedule for landed cost.
- NeedByDate; string; Date on the purchase order by when the item needs to be delivered.
- OrderedQuantityInPrimaryUOM; number; Quantity on the purchase order schedule.
- POApprovalDate; string; Date when the purchase order was approved.
- POLineLocationId; integer; Value that uniquely identifies the purchase order schedule.
- ProcurementBU; string; Procurement business unit on the purchase order schedule.
- ProcurementBUId; integer; Value that uniquely identifies the procurement business unit for the material purchase order schedule.
- ProfitCenterBU; string; Profit center business unit on the purchase order schedule.
- ProfitCenterBUId; integer; Value that uniquely identifies profit center business unit for the material purchase order schedule.
- PromisedDate; string; Date when the order was promised to be delivered.
- PurchaseOrderCurrency; string; Name of the currency for the purchase order amount.
- PurchaseOrderCurrencyCode; string; Code that identifies the currency for the purchase order amount.
- PurchaseOrderDescription; string; Description on the purchase order.
- PurchaseOrderFunctionalCurrencyAmount; number; Amount in the functional currency on the purchase order schedule line.
- PurchaseOrderHeaderId; integer; Value that uniquely identifies purchase order header.
- PurchaseOrderItemNumber; string; Item on the purchase order schedule.
- PurchaseOrderLineId; integer; Value that uniquely identifies purchase order line.
- PurchaseOrderLineNumber; string; Number that identifies the line in the purchase order.
- PurchaseOrderNumber; string; Number that identifies the material purchase order for the landed cost estimate.
- PurchaseOrderScheduleNumber; string; Schedule of the material purchase order line used for the landed cost estimate.
- RequisitioningBU; string; Requisitioning business unit on the purchase order schedule.
- RequisitioningBUId; integer; Value that uniquely identifies the requisitioning business unit for the material purchase order schedule.
- ShipToLocation; string; Location to which the item is delivered.
- ShipToLocationId; integer; Value that uniquely identifies the location to which the item is delivered.
- Supplier; string; Supplier on the purchase order.
- SupplierId; integer; Value that uniquely identifies the supplier on the purchase order.
- SupplierSite; string; Supplier site on the purchase order.
- SupplierSiteId; integer; Value that uniquely identifies the supplier site on the purchase order.
- TaxExclusivePOPrice; number; Tax exclusive item price on the purchase order.
- UnitOfMeasure; string; Unit of measure for the purchase order schedule quantity.
- UnitOfMeasureCode; string; Code that identifies the unit of measure for the purchase order schedule quantity.
-
totalResults: boolean
The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
-
Metadata-Context:
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".
-
REST-Framework-Version:
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.
There's no request body for this operation.
Back to TopResponse
- application/json
Default Response
-
Metadata-Context:
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".
-
REST-Framework-Version:
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.
object
-
count(required): integer
The number of resource instances returned in the current range.
-
hasMore(required): boolean
Indicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false.
-
items: array
Items
Title:
Items
The items in the collection. -
limit(required): integer
The actual paging size used by the server.
-
links(required): array
Links
Title:
Links
The link relations associated with the resource instance. -
offset(required): integer
The offset value used in the current page.
-
totalResults: integer
The estimated row count when "?totalResults=true", otherwise the count is not included.
array
Links
object
-
AssociatedCharges: string
Title:
Associated Charges
Read Only:true
Maximum Length:15
Contains one of the following values. With Charges: charges estimated for the purchase order. Without Charges: charges are not estimated for the purchase order. The default value is Without Charges. -
Buyer: string
Title:
Buyer
Read Only:true
Maximum Length:240
Buyer for the purchase order. -
BuyerId: integer
(int64)
Title:
Buyer ID
Read Only:true
Value that uniquely identifies the buyer for the purchase order. -
DeliveredToInventoryOrg: string
Title:
Delivered-to Inventory Organization Name
Read Only:true
Maximum Length:18
Name of the inventory organization to which the item is delivered. -
DeliveredToInventoryOrgId: integer
(int64)
Title:
Delivered-To Inventory Organization ID
Read Only:true
Value that uniquely identifies the inventory organization to which the item is delivered. -
DestinationType: string
Title:
Destination Type
Read Only:true
Maximum Length:80
Destination type on the purchase order. -
LandedCostPOScheduleId: integer
(int64)
Title:
Landed Cost PO Schedule ID
Read Only:true
Value that uniquely identifies the purchase order schedule for landed cost. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
NeedByDate: string
(date)
Title:
Need-by Date
Read Only:true
Date on the purchase order by when the item needs to be delivered. -
OrderedQuantityInPrimaryUOM: number
Title:
Ordered Quantity
Read Only:true
Quantity on the purchase order schedule. -
POApprovalDate: string
(date)
Title:
PO Approval Date
Read Only:true
Date when the purchase order was approved. -
POLineLocationId: integer
(int64)
Title:
Purchase Order Line Location ID
Read Only:true
Value that uniquely identifies the purchase order schedule. -
ProcurementBU: string
Title:
Procurement BU
Read Only:true
Maximum Length:240
Procurement business unit on the purchase order schedule. -
ProcurementBUId: integer
(int64)
Title:
Procurement Business Unit ID
Read Only:true
Value that uniquely identifies the procurement business unit for the material purchase order schedule. -
ProfitCenterBU: string
Title:
Profit Center BU
Read Only:true
Maximum Length:240
Profit center business unit on the purchase order schedule. -
ProfitCenterBUId: integer
(int64)
Title:
Profit Center BU ID
Read Only:true
Value that uniquely identifies profit center business unit for the material purchase order schedule. -
PromisedDate: string
(date)
Title:
Promised Date
Read Only:true
Date when the order was promised to be delivered. -
PurchaseOrderCurrency: string
Read Only:
true
Maximum Length:80
Name of the currency for the purchase order amount. -
PurchaseOrderCurrencyCode: string
Read Only:
true
Maximum Length:15
Code that identifies the currency for the purchase order amount. -
PurchaseOrderDescription: string
Title:
Purchase Order Description
Read Only:true
Maximum Length:240
Description on the purchase order. -
PurchaseOrderFunctionalCurrencyAmount: number
Title:
PO Schedule Functional Currency Amount
Read Only:true
Amount in the functional currency on the purchase order schedule line. -
PurchaseOrderHeaderId: integer
(int64)
Title:
Purchase Order Header ID
Read Only:true
Value that uniquely identifies purchase order header. -
PurchaseOrderItemNumber: string
Title:
Purchase Order Item Number
Read Only:true
Maximum Length:300
Item on the purchase order schedule. -
PurchaseOrderLineId: integer
(int64)
Title:
Purchase Order Line ID
Read Only:true
Value that uniquely identifies purchase order line. -
PurchaseOrderLineNumber: string
Title:
Purchase Order Line
Read Only:true
Maximum Length:40
Number that identifies the line in the purchase order. -
PurchaseOrderNumber: string
Title:
Purchase Order
Read Only:true
Maximum Length:255
Number that identifies the material purchase order for the landed cost estimate. -
PurchaseOrderScheduleNumber: string
Title:
Purchase Order Schedule Number
Read Only:true
Maximum Length:40
Schedule of the material purchase order line used for the landed cost estimate. -
RequisitioningBU: string
Title:
Requisitioning BU
Read Only:true
Maximum Length:240
Requisitioning business unit on the purchase order schedule. -
RequisitioningBUId: integer
(int64)
Title:
Requisitioning BU ID
Read Only:true
Value that uniquely identifies the requisitioning business unit for the material purchase order schedule. -
shipmentDetails: array
Shipment Details
Title:
Shipment Details
The Shipment Details resource gets the information of shipments associated with the purchase order schedule. -
ShipToLocation: string
Title:
Ship-to Location
Read Only:true
Maximum Length:30
Location to which the item is delivered. -
ShipToLocationId: integer
(int64)
Title:
Ship-To Location ID
Read Only:true
Value that uniquely identifies the location to which the item is delivered. -
Supplier: string
Title:
Supplier
Read Only:true
Maximum Length:360
Supplier on the purchase order. -
SupplierId: integer
(int64)
Title:
Supplier ID
Read Only:true
Value that uniquely identifies the supplier on the purchase order. -
SupplierSite: string
Title:
Supplier Site
Read Only:true
Maximum Length:15
Supplier site on the purchase order. -
SupplierSiteId: integer
(int64)
Title:
Supplier Site ID
Read Only:true
Value that uniquely identifies the supplier site on the purchase order. -
TaxExclusivePOPrice: number
Title:
Tax Exclusive PO Price
Read Only:true
Tax exclusive item price on the purchase order. -
tradeOperationDetails: array
Trade Operation Details
Title:
Trade Operation Details
The Trade Operation Details resource gets the information of the trade operation charges created for the purchase order schedule. -
UnitOfMeasure: string
Title:
Unit of Measure
Read Only:true
Maximum Length:25
Unit of measure for the purchase order schedule quantity. -
UnitOfMeasureCode: string
Read Only:
true
Maximum Length:3
Code that identifies the unit of measure for the purchase order schedule quantity.
array
Links
array
Shipment Details
array
Trade Operation Details
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]
The name of the relation to the resource instance. Example: self.
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
object
-
ItemDescription: string
Title:
Item Description
Read Only:true
Maximum Length:240
Description of the item in a purchase order. -
ItemId: integer
(int64)
Title:
Item ID
Read Only:true
Value that uniquely identifies the item. -
LineNumber: integer
(int64)
Title:
Line Number
Read Only:true
Number that identifies the shipment line. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
POHeaderId: integer
(int64)
Title:
Purchase Order Header ID
Read Only:true
Value that uniquely identifies purchase order header. -
POLineId: integer
(int64)
Title:
Purchase Order Line ID
Read Only:true
Value that uniquely identifies purchase order line. -
POLineLocationId: integer
(int64)
Title:
Purchase Order Line Location ID
Read Only:true
Value that uniquely identifies purchase order shipment schedule. -
QuantityReceived: number
Title:
Receipt Quantity
Read Only:true
Received quantity corresponding to the purchase order schedule. -
QuantityShipped: number
Title:
Shipped Quantity
Read Only:true
Shipped quantity corresponding to the purchase order schedule. -
ReceiptNumber: string
Title:
Receipt Number
Read Only:true
Maximum Length:30
Receipt number for the shipment. -
ShipmentHeaderId: integer
(int64)
Title:
Shipment Header ID
Read Only:true
Value that uniquely identifies the shipment header. -
ShipmentLineId: integer
(int64)
Title:
Shipment Line ID
Read Only:true
Value that uniquely identifies the shipment line. -
ShipmentNumber: string
Title:
Shipment Number
Read Only:true
Maximum Length:30
Number that identifies the shipment. -
ShippedDate: string
(date-time)
Title:
Shipped Date
Read Only:true
Date when the purchase order was shipped.
array
Links
object
-
ChargeLineNumber: number
Title:
Charge Line Number
Read Only:true
Number that identifies the trade operation charge line. -
ChargeLineStatus: string
Title:
Charge Line Status Meaning
Read Only:true
Maximum Length:80
Abbreviation that uniquely identifies the status of the charge line. Valid values include Allocated, Allocated with Warning, Allocation in Error, Cancelled, Draft Allocation, Incomplete, New, Pending Association, Ready for Allocation, and Requires Reallocation. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Name: string
Title:
Charge Name
Read Only:true
Maximum Length:80
Charge name for which the estimates and actual amounts are entered. -
RequiredBUCurrencyCode: string
Title:
Charge BU Functional Currency
Read Only:true
Maximum Length:15
Functional currency of the charge business unit. -
TotalActualAmount: number
Title:
Actual Amount
Read Only:true
Total actual amount incurred on the trade operation. -
TotalEstimatedAmount: number
Title:
Estimated Amount
Read Only:true
Total estimated amount incurred on the trade operation. -
TradeOperationId: integer
Title:
Trade Operation ID
Read Only:true
Value that uniquely identifies the trade operation. -
TradeOperationName: string
Title:
Name
Read Only:true
Maximum Length:80
Name of the trade operation to which the charge line belongs. -
TradeOperationNumber: string
Title:
Number
Read Only:true
Maximum Length:40
Number that identifies the trade operation to which the charge line belongs.
array
Links
Examples
This example describes how to get all schedules.
Example 1 cURL Command
Use the following cURL command to submit a request on the REST resource:
curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedulesForLandedCosts"
Example 1 Response Body
The following shows an example of the response body in JSON format.
{ "items":[ { AssociatedCharges": "With Charges", "Buyer": "Furey,Clare", "BuyerId": 100010026863783, "LandedCostPOScheduleId": 84021, "DeliveredToInventoryOrg": "V1", "DeliveredToInventoryOrgId": 204, "DestinationType": "Inventory", "NeedByDate": "2020-12-31", "OrderedQuantityInPrimaryUOM": 6, "POApprovalDate": "2015-12-14", "POLineLocationId": 300100088814877, "ProcurementBU": "Vision Corporation", "ProcurementBUId": 204, "ProfitCenterBU": "Vision Corporation", "ProfitCenterBUId": 204, "PromisedDate": null, "PurchaseOrderDescription": "Crank Shaft", "PurchaseOrderFunctionalCurrencyAmount": 3000, "PurchaseOrderCurrency": "US Dollar", "PurchaseOrderCurrencyCode": "USD", "PurchaseOrderHeaderId": 300100088814874, "PurchaseOrderItemNumber": "CM-CRS-SD7", "PurchaseOrderLineNumber": "1", "PurchaseOrderLineId": 300100088814876, "PurchaseOrderNumber": "VOP1003796", "PurchaseOrderScheduleNumber": "1", "RequisitioningBU": "Vision Corporation", "RequisitioningBUId": 204, "ShipToLocation": "V1 Ship Site A", "ShipToLocationId": 20795, "Supplier": "ZOKC_PODEL_PARTYMERGE_SUPPLIER1", "SupplierId": 300100087618588, "SupplierSite": "ZOKCPODS3SITE3", "SupplierSiteId": 300100087618605, "TaxExclusivePOPrice": 3000, "UnitOfMeasure": "Each", "UnitOfMeasureCode": "Ea", ... }, ... ] ... }
Example 2 cURL Command
Use the following cURL command to submit a request on the REST resource to get all purchase orders for landed cost by procurement business unit, supplier and to show only purchase orders with charges collection:
curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedulesForLandedCost?finder=findPurchaseOrderSchedules;bindProcurementBU=Vision Corporation,bindSupplier=PennyPack Systems,bindAssociatedCharges=With charges"
Example 2 Response Body
The following shows an example of the response body in JSON format.
{ ""items"":[ { "AssociatedCharges": "With Charges", "Buyer": "Furey,Clare", "BuyerId": 100010026863783, "LandedCostPOScheduleId": 83092, "DeliveredToInventoryOrg": "M1", "DeliveredToInventoryOrgId": 207, "DestinationType": "Expense", "NeedByDate": null, "OrderedQuantityInPrimaryUOM": 100, "POApprovalDate": "2015-12-14", "POLineLocationId": 369143, "ProcurementBU": "Vision Corporation", "ProcurementBUId": 204, "ProfitCenterBU": "Vision Corporation", "ProfitCenterBUId": 204, "PromisedDate": null, "PurchaseOrderDescription": null, "PurchaseOrderFunctionalCurrencyAmount": 130.5846142595787, "PurchaseOrderCurrency": "Euro", "PurchaseOrderCurrencyCode": "EUR", "PurchaseOrderHeaderId": 427195, "PurchaseOrderItemNumber": null, "PurchaseOrderLineNumber": "1", "PurchaseOrderLineId": 386770, "PurchaseOrderNumber": "VOP1003785", "PurchaseOrderScheduleNumber": "1", "RequisitioningBU": "Vision Corporation", "RequisitioningBUId": 204, "ShipToLocation": "M1- Seattle Mfg", "ShipToLocationId": 207, "Supplier": "PennyPack Systems", "SupplierId": 44378, "SupplierSite": "FRESNO", "SupplierSiteId": 1969, "TaxExclusivePOPrice": 100, "UnitOfMeasure": "Each", "UnitOfMeasureCode": "Ea", ... }, ... ], ... }
Example 3 cURL Command
Use the following cURL command to submit a request on the REST resource to get all purchase orders for landed cost using a specific advanced shipment number (ASN):
curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedulesForLandedCosts?finder=findPurchaseOrderSchedules;bindShipmentNumber=12345672"
Example 3 Response Body
The following shows an example of the response body in JSON format.
"{ ""items"":[ { "AssociatedCharges": "Without Charges", "Buyer": "Robinson,Andrew", "BuyerId": 100010026863783, "LandedCostPOScheduleId": 114100, "DeliveredToInventoryOrg": "M1", "DeliveredToInventoryOrgId": 207, "DestinationType": "Inventory", "NeedByDate": "2019-01-04", "OrderedQuantityInPrimaryUOM": 26, "POApprovalDate": "2017-07-26", "POLineLocationId": 300100118790583, "ProcurementBU": "Vision Corporation", "ProcurementBUId": 204, "ProfitCenterBU": "Vision Corporation", "ProfitCenterBUId": 204, "PromisedDate": null, "PurchaseOrderDescription": "AI-F-Nut1\n", "PurchaseOrderFunctionalCurrencyAmount": 15, "PurchaseOrderCurrency": "US Dollar", "PurchaseOrderCurrencyCode": "USD", "PurchaseOrderHeaderId": 300100118790550, "PurchaseOrderItemNumber": "AI-F-Nut1", "PurchaseOrderLineNumber": "1", "PurchaseOrderLineId": 300100118790582, "PurchaseOrderNumber": "1004064", "PurchaseOrderScheduleNumber": "1", "RequisitioningBU": "Vision Corporation", "RequisitioningBUId": 204, "ShipToLocation": "M1- Seattle Mfg", "ShipToLocationId": 207, "Supplier": "CV_SuppA05", "SupplierId": 37816, "SupplierSite": "CVSuppA05Site01", "SupplierSiteId": 4060, "TaxExclusivePOPrice": 15, "UnitOfMeasure": "Each", "UnitOfMeasureCode": "Ea", ... }, ... ], ""count"" : 1, ""hasMore"" : false, ""limit"" : 25, ""offset"" : 0, ""links"" : [ ... ] }"
Example 4 cURL Command
Use the following cURL command to submit a request on the REST resource to get all purchase orders for landed costs by supplier and ship-to location collection:
curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedulesForLandedCosts?finder=findPurchaseOrderSchedules;bindSupplier=PennyPack Systems,bindShipToLocation=M1- Seattle Mfg"
Example 4 Response Body
The following shows an example of the response body in JSON format.
"{ ""items"":[ { "AssociatedCharges": "With Charges", "Buyer": "Jones,Clare", "BuyerId": 100010026863783, "LandedCostPOScheduleId": 83092, "DeliveredToInventoryOrg": "M1", "DeliveredToInventoryOrgId": 207, "DestinationType": "Expense", "NeedByDate": null, "OrderedQuantityInPrimaryUOM": 100, "POApprovalDate": "2015-12-14", "POLineLocationId": 369143, "ProcurementBU": "Vision Corporation", "ProcurementBUId": 204, "ProfitCenterBU": "Vision Corporation", "ProfitCenterBUId": 204, "PromisedDate": null, "PurchaseOrderDescription": null, "PurchaseOrderFunctionalCurrencyAmount": 130.5846142595787, "PurchaseOrderCurrency": "Euro", "PurchaseOrderCurrencyCode": "EUR", "PurchaseOrderHeaderId": 427195, "PurchaseOrderItemNumber": null, "PurchaseOrderLineNumber": "1", "PurchaseOrderLineId": 386770, "PurchaseOrderNumber": "VOP1003785", "PurchaseOrderScheduleNumber": "1", "RequisitioningBU": "Vision Corporation", "RequisitioningBUId": 204, "ShipToLocation": "M1- Seattle Mfg", "ShipToLocationId": 207, "Supplier": "PennyPack Systems", "SupplierId": 44378, "SupplierSite": "FRESNO", "SupplierSiteId": 1969, "TaxExclusivePOPrice": 100, "UnitOfMeasure": "Each", "UnitOfMeasureCode": "Ea", ... }, ... ], ""count"" : 25, ""hasMore"" : true, ""limit"" : 25, ""offset"" : 0, ""links"" : [ ... ] }"
Example 5 cURL Command
Use the following cURL command to submit a request on the REST resource to get all purchase orders for landed cost based on a specific deliver to inventory organization collection:
curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedulesForLandedCosts?finder=findPurchaseOrderSchedules;bindDeliverToInvOrg=FOSVISSGDINVORG2"
Example 5 Response Body
The following shows an example of the response body in JSON format.
"{ ""items"":[ { "AssociatedCharges": "Without Charges", "Buyer": "Jones,Clare", "BuyerId": 100010026863783, "LandedCostPOScheduleId": 20662, "DeliveredToInventoryOrg": "FOSVISSGDINVORG2", "DeliveredToInventoryOrgId": 300100007803193, "DestinationType": "Inventory", "NeedByDate": "2013-08-25", "OrderedQuantityInPrimaryUOM": 100, "POApprovalDate": "2013-08-16", "POLineLocationId": 300100024522065, "ProcurementBU": "FOS_VisOp_Proc_BU", "ProcurementBUId": 300100002693513, "ProfitCenterBU": "FOS_VisSGD_Req_BU", "ProfitCenterBUId": 300100007642104, "PromisedDate": null, "PurchaseOrderDescription": "FOS-Item101", "PurchaseOrderFunctionalCurrencyAmount": 100, "PurchaseOrderCurrency": "Singapore Dollar", "PurchaseOrderCurrencyCode": "SGD", "PurchaseOrderHeaderId": 300100024522062, "PurchaseOrderItemNumber": "FOS-Item101", "PurchaseOrderLineNumber": "1", "PurchaseOrderLineId": 300100024522064, "PurchaseOrderNumber": "5003", "PurchaseOrderScheduleNumber": "1", "RequisitioningBU": "FOS_VisSGD_Req_BU", "RequisitioningBUId": 300100007642104, "ShipToLocation": "FOS Singapore Location", "ShipToLocationId": 300100005721563, "Supplier": "ARN Sales", "SupplierId": 300100001927922, "SupplierSite": "ARN Sales Site", "SupplierSiteId": 300100005901016, "TaxExclusivePOPrice": 100, "UnitOfMeasure": "Each", "UnitOfMeasureCode": "Ea", ... }, ... ], ""count"" : 5, ""hasMore"" : false, ""limit"" : 25, ""offset"" : 0, ""links"" : [ ... ] }"
Example 6 cURL Command
Use the following cURL command to submit a request on the REST resource to get all purchase orders for landed cost based on expense destination type purchase orders collection:
curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedulesForLandedCosts?finder=findPurchaseOrderSchedules;bindDestinationType=Expense"
Example 6 Response Body
The following shows an example of the response body in JSON format.
"{ ""items"":[ { ""AssociatedCharges": "With Charges", "Buyer": "Jones,Clare", "BuyerId": 100010026863783, "LandedCostPOScheduleId": 83057, "DeliveredToInventoryOrg": "M1", "DeliveredToInventoryOrgId": 207, "DestinationType": "Expense", "NeedByDate": null, "OrderedQuantityInPrimaryUOM": 100, "POApprovalDate": "2015-12-14", "POLineLocationId": 369163, "ProcurementBU": "Vision Corporation", "ProcurementBUId": 204, "ProfitCenterBU": "Vision Corporation", "ProfitCenterBUId": 204, "PromisedDate": null, "PurchaseOrderDescription": null, "PurchaseOrderFunctionalCurrencyAmount": 130.5846142595787, "PurchaseOrderCurrency": "Euro", "PurchaseOrderCurrencyCode": "EUR", "PurchaseOrderHeaderId": 427197, "PurchaseOrderItemNumber": null, "PurchaseOrderLineNumber": "1", "PurchaseOrderLineId": 386790, "PurchaseOrderNumber": "VOP1003787", "PurchaseOrderScheduleNumber": "1", "RequisitioningBU": "Vision Corporation", "RequisitioningBUId": 204, "ShipToLocation": "M1- Seattle Mfg", "ShipToLocationId": 207, "Supplier": "IBY Testing Supplier1", "SupplierId": 300100032575665, "SupplierSite": "SITE A", "SupplierSiteId": 300100032575682, "TaxExclusivePOPrice": 100, "UnitOfMeasure": "Each", "UnitOfMeasureCode": "Ea", ... }, ... ], ""count"" : 25, ""hasMore"" : true, ""limit"" : 25, ""offset"" : 0, ""links"" : [ ... ] }"
Example 7 cURL Command
Use the following cURL command to submit a request on the REST resource to get all purchase orders for landed cost based on a specific purchase order item number collection:
curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedulesForLandedCosts?finder=findPurchaseOrderSchedules;bindPOItemNumber=AI-F-Washer1"
Example 7 Response Body
The following shows an example of the response body in JSON format.
"{ ""items"":[ { "AssociatedCharges": "With Charges", "Buyer": "Jones,Clare", "BuyerId": 100010026863783, "LandedCostPOScheduleId": 84022, "DeliveredToInventoryOrg": "M1", "DeliveredToInventoryOrgId": 207, "DestinationType": "Inventory", "NeedByDate": "2019-01-24", "OrderedQuantityInPrimaryUOM": 50, "POApprovalDate": "2015-12-14", "POLineLocationId": 300100087618382, "ProcurementBU": "Vision Corporation", "ProcurementBUId": 204, "ProfitCenterBU": "Vision Corporation", "ProfitCenterBUId": 204, "PromisedDate": null, "PurchaseOrderDescription": "AI-F-Washer1\n", "PurchaseOrderFunctionalCurrencyAmount": 10, "PurchaseOrderCurrency": "US Dollar", "PurchaseOrderCurrencyCode": "USD", "PurchaseOrderHeaderId": 300100087618362, "PurchaseOrderItemNumber": "AI-F-Washer1", "PurchaseOrderLineNumber": "1", "PurchaseOrderLineId": 300100087618381, "PurchaseOrderNumber": "VOP1003794", "PurchaseOrderScheduleNumber": "1", "RequisitioningBU": "Vision Corporation", "RequisitioningBUId": 204, "ShipToLocation": "M1- Seattle Mfg", "ShipToLocationId": 207, "Supplier": "CV_SuppA05", "SupplierId": 37816, "SupplierSite": "CVSuppA05Site01", "SupplierSiteId": 4060, "TaxExclusivePOPrice": 10, "UnitOfMeasure": "Each", "UnitOfMeasureCode": "Ea", ... }, ... ], ""count"" : 4, ""hasMore"" : false, ""limit"" : 25, ""offset"" : 0, ""links"" : [ ... ] }"
Example 8 cURL Command
Use the following cURL command to submit a request on the REST resource to get all purchase orders for landed cost based on a specific supplier name:
curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedulesForLandedCosts?finder=findPurchaseOrderSchedules;bindSupplier=CV_SuppA05"
Example 8 Response Body
The following shows an example of the response body in JSON format.
"{ ""items"":[ { ""AssociatedCharges": "With Charges", "Buyer": "Jones,Clare", "BuyerId": 100010026863783, "LandedCostPOScheduleId": 84022, "DeliveredToInventoryOrg": "M1", "DeliveredToInventoryOrgId": 207, "DestinationType": "Inventory", "NeedByDate": "2019-01-24", "OrderedQuantityInPrimaryUOM": 50, "POApprovalDate": "2015-12-14", "POLineLocationId": 300100087618382, "ProcurementBU": "Vision Corporation", "ProcurementBUId": 204, "ProfitCenterBU": "Vision Corporation", "ProfitCenterBUId": 204, "PromisedDate": null, "PurchaseOrderDescription": "AI-F-Washer1\n", "PurchaseOrderFunctionalCurrencyAmount": 10, "PurchaseOrderCurrency": "US Dollar", "PurchaseOrderCurrencyCode": "USD", "PurchaseOrderHeaderId": 300100087618362, "PurchaseOrderItemNumber": "AI-F-Washer1", "PurchaseOrderLineNumber": "1", "PurchaseOrderLineId": 300100087618381, "PurchaseOrderNumber": "VOP1003794", "PurchaseOrderScheduleNumber": "1", "RequisitioningBU": "Vision Corporation", "RequisitioningBUId": 204, "ShipToLocation": "M1- Seattle Mfg", "ShipToLocationId": 207, "Supplier": "CV_SuppA05", "SupplierId": 37816, "SupplierSite": "CVSuppA05Site01", "SupplierSiteId": 4060, "TaxExclusivePOPrice": 10, "UnitOfMeasure": "Each", "UnitOfMeasureCode": "Ea", ... }, ... ], ... }"
Example 9 cURL Command
Use the following cURL command to submit a request on the REST resource to get all purchase orders for landed cost based on a specific supplier and supplier site name collection:
curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedulesForLandedCosts?finder=findPurchaseOrderSchedules;bindSupplier=PennyPack Systems,bindSupplierSite=FRESNO"
Example 9 Response Body
The following shows an example of the response body in JSON format.
"{ ""items"":[ { "AssociatedCharges": "With Charges", "Buyer": "Furey,Clare", "BuyerId": 100010026863783, "LandedCostPOScheduleId": 83092, "DeliveredToInventoryOrg": "M1", "DeliveredToInventoryOrgId": 207, "DestinationType": "Expense", "NeedByDate": null, "OrderedQuantityInPrimaryUOM": 100, "POApprovalDate": "2015-12-14", "POLineLocationId": 369143, "ProcurementBU": "Vision Corporation", "ProcurementBUId": 204, "ProfitCenterBU": "Vision Corporation", "ProfitCenterBUId": 204, "PromisedDate": null, "PurchaseOrderDescription": null, "PurchaseOrderFunctionalCurrencyAmount": 130.5846142595787, "PurchaseOrderCurrency": "Euro", "PurchaseOrderCurrencyCode": "EUR", "PurchaseOrderHeaderId": 427195, "PurchaseOrderItemNumber": null, "PurchaseOrderLineNumber": "1", "PurchaseOrderLineId": 386770, "PurchaseOrderNumber": "VOP1003785", "PurchaseOrderScheduleNumber": "1", "RequisitioningBU": "Vision Corporation", "RequisitioningBUId": 204, "ShipToLocation": "M1- Seattle Mfg", "ShipToLocationId": 207, "Supplier": "PennyPack Systems", "SupplierId": 44378, "SupplierSite": "FRESNO", "SupplierSiteId": 1969, "TaxExclusivePOPrice": 100, "UnitOfMeasure": "Each", "UnitOfMeasureCode": "Ea", ... }, ... ], """"count"""" : 25, """"hasMore"""" : true, """"limit"""" : 25, """"offset"""" : 0, """"links"""" : [ ... ] }"
Example 10 cURL Command
Use the following cURL command to submit a request on the REST resource to get all purchase orders for landed cost based on a specific promised date:
curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedulesForLandedCosts?finder=findPurchaseOrderSchedules;bindPromisedDate=2022-03-01"
Example 10 Response Body
The following shows an example of the response body in JSON format.
"{ ""items"":[ { "AssociatedCharges": "With Charges", "Buyer": "Smith, Jonathan", "BuyerId": 57, "LandedCostPOScheduleId": 76146, "DeliveredToInventoryOrg": "V1", "DeliveredToInventoryOrgId": 204, "DestinationType": "Inventory", "NeedByDate": "2022-03-01", "OrderedQuantityInPrimaryUOM": 10, "POApprovalDate": "2015-12-10", "POLineLocationId": 300100081230480, "ProcurementBU": "Vision Corporation", "ProcurementBUId": 204, "ProfitCenterBU": "Vision Corporation", "ProfitCenterBUId": 204, "PromisedDate": "2022-03-01", "PurchaseOrderDescription": "Battery - Extended Life", "PurchaseOrderFunctionalCurrencyAmount": 100, "PurchaseOrderCurrency": "US Dollar", "PurchaseOrderCurrencyCode": "USD", "PurchaseOrderHeaderId": 300100081230478, "PurchaseOrderItemNumber": "CM11222", "PurchaseOrderLineNumber": "1", "PurchaseOrderLineId": 300100081230479, "PurchaseOrderNumber": "VFC1003703", "PurchaseOrderScheduleNumber": "1", "RequisitioningBU": "Vision Corporation", "RequisitioningBUId": 204, "ShipToLocation": "V1- New York City", "ShipToLocationId": 204, "Supplier": "CV_SuppA01", "SupplierId": 12496, "SupplierSite": "CVSuppA01Site01", "SupplierSiteId": 2444, "TaxExclusivePOPrice": 100, "UnitOfMeasure": "Each", "UnitOfMeasureCode": "Ea", ... }, ... ], ""count"" : 2, ""hasMore"" : false, ""limit"" : 25, ""offset"" : 0, ""links"" : [ ... ] }"
Example 11 cURL Command
Use the following cURL command to submit a request on the REST resource to get purchase order details when there are 500 plus schedules. accessing purchase order schedules from 500 to 999:
curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedulesForLandedCosts?finder=findPurchaseOrderSchedules;bindPONumber=VOP1003789&limit=500&offset=500"
Example 11 Response Body
The following shows an example of the response body in JSON format.
"{ ""items"":[ { ""AssociatedCharges": "With Charges", "Buyer": "Jones,Clare", "BuyerId": 100010026863783, "LandedCostPOScheduleId": 84018, "DeliveredToInventoryOrg": "M1", "DeliveredToInventoryOrgId": 207, "DestinationType": "Inventory", "NeedByDate": "2019-01-22", "OrderedQuantityInPrimaryUOM": 25, "POApprovalDate": "2015-12-14", "POLineLocationId": 300100087618225, "ProcurementBU": "Vision Corporation", "ProcurementBUId": 204, "ProfitCenterBU": "Vision Corporation", "ProfitCenterBUId": 204, "PromisedDate": null, "PurchaseOrderDescription": "AI-Laptop", "PurchaseOrderFunctionalCurrencyAmount": 10000, "PurchaseOrderCurrency": "US Dollar", "PurchaseOrderCurrencyCode": "USD", "PurchaseOrderHeaderId": 300100087618208, "PurchaseOrderItemNumber": "AI-Laptop*141*", "PurchaseOrderLineNumber": "1", "PurchaseOrderLineId": 300100087618224, "PurchaseOrderNumber": "VOP1003789", "PurchaseOrderScheduleNumber": "1", "RequisitioningBU": "Vision Corporation", "RequisitioningBUId": 204, "ShipToLocation": "M1- Seattle Mfg", "ShipToLocationId": 207, "Supplier": "Allied Manufacturing", "SupplierId": 12470, "SupplierSite": "LOS ANGELES", "SupplierSiteId": 1970, "TaxExclusivePOPrice": 10000, "UnitOfMeasure": "Each", "UnitOfMeasureCode": "Ea", ... }, ... ], ""count"" : 500, ""hasMore"" : false, ""limit"" : 500, ""links"" : [ ... ] }"
Example 12 cURL Command
Use the following cURL command to submit a request on the REST resource to get all purchase order schedules which have not been received:
curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedulesForLandedCosts?finder=findPurchaseOrderSchedules;bindQuantityReceived=0"
Example 12 Response Body
The following shows an example of the response body in JSON format.
"{ ""items"":[ { "AssociatedCharges": "Without Charges", "Buyer": "Jones,Clare", "BuyerId": 100010026863783, "LandedCostPOScheduleId": 158207, "DeliveredToInventoryOrg": "ZTEKINVORG", "DeliveredToInventoryOrgId": 300100097231724, "DestinationType": "Inventory", "NeedByDate": "2018-05-16", "OrderedQuantityInPrimaryUOM": 30, "POApprovalDate": "2018-05-16", "POLineLocationId": 430688, "ProcurementBU": "ZTeknik Operations Mgmt", "ProcurementBUId": 300100090453656, "ProfitCenterBU": "ZTeknik Operations Pc", "ProfitCenterBUId": 300100090453439, "PromisedDate": "2018-05-16", "PurchaseOrderDescription": "ZBCEA01", "PurchaseOrderFunctionalCurrencyAmount": 10, "PurchaseOrderCurrency": "US Dollar", "PurchaseOrderCurrencyCode": "USD", "PurchaseOrderHeaderId": 485249, "PurchaseOrderItemNumber": "ZBCEA01", "PurchaseOrderLineNumber": "1", "PurchaseOrderLineId": 455914, "PurchaseOrderNumber": "24", "PurchaseOrderScheduleNumber": "1", "RequisitioningBU": "ZTeknik Operations Mgmt", "RequisitioningBUId": 300100090453656, "ShipToLocation": "ZTek Location", "ShipToLocationId": 300100090570402, "Supplier": "ZT_Supp01", "SupplierId": 300100095828099, "SupplierSite": "ZT_Site01", "SupplierSiteId": 300100095828117, "TaxExclusivePOPrice": 10, "UnitOfMeasure": "Each", "UnitOfMeasureCode": "Ea", ... }, ... ], """"count"""" : 25, """"hasMore"""" : true, """"limit"""" : 25, """"offset"""" : 0, """"links"""" : [ ... ] }"
Example 13 cURL Command
Use the following cURL command to submit a request on the REST resource to get all purchase orders for landed cost for purchases orders associated to a specific trade operation number collection:
curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedulesForLandedCosts?finder=findPurchaseOrderSchedules;bindTradeOperationNumber=19"
Example 13 Response Body
The following shows an example of the response body in JSON format.
"{ ""items"":[ { ""AssociatedCharges": "With Charges", "Buyer": "Robinson,Andrew", "BuyerId": 100010024202242, "LandedCostPOScheduleId": 20668, "DeliveredToInventoryOrg": "M1", "DeliveredToInventoryOrgId": 207, "DestinationType": "Inventory", "NeedByDate": null, "OrderedQuantityInPrimaryUOM": 1000, "POApprovalDate": "2009-08-19", "POLineLocationId": 363423, "ProcurementBU": "Vision Corporation", "ProcurementBUId": 204, "ProfitCenterBU": "Vision Corporation", "ProfitCenterBUId": 204, "PromisedDate": null, "PurchaseOrderDescription": "Plain, No Controls, Asset Item", "PurchaseOrderFunctionalCurrencyAmount": 12.34, "PurchaseOrderCurrency": "US Dollar", "PurchaseOrderCurrencyCode": "USD", "PurchaseOrderHeaderId": 420759, "PurchaseOrderItemNumber": "ZCST-Plain-Asset1", "PurchaseOrderLineNumber": "1", "PurchaseOrderLineId": 377602, "PurchaseOrderNumber": "1000180", "PurchaseOrderScheduleNumber": "1", "RequisitioningBU": "Vision Corporation", "RequisitioningBUId": 204, "ShipToLocation": "M1- Seattle Mfg", "ShipToLocationId": 207, "Supplier": "PennyPack Systems", "SupplierId": 44378, "SupplierSite": "FRESNO", "SupplierSiteId": 1969, "TaxExclusivePOPrice": 12.34, "UnitOfMeasure": "EA", "UnitOfMeasureCode": "EA", ... }, ... ], ... }"
Example 14 cURL Command
Use the following cURL command to submit a request on the REST resource to get all purchase order schedules associated to trade operation charges having actual amount as 0:
curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedulesForLandedCosts?finder=findPurchaseOrderSchedules;bindActualAmount=0"
Example 14 Response Body
The following shows an example of the response body in JSON format.
"{ ""items"":[ { "AssociatedCharges": "With Charges", "Buyer": "Jones,Clare", "BuyerId": 100010026863783, "LandedCostPOScheduleId": 87996, "DeliveredToInventoryOrg": "V1", "DeliveredToInventoryOrgId": 204, "DestinationType": "Expense", "NeedByDate": "2025-02-01", "OrderedQuantityInPrimaryUOM": 500, "POApprovalDate": "2017-02-24", "POLineLocationId": 300100093494543, "ProcurementBU": "Vision Corporation", "ProcurementBUId": 204, "ProfitCenterBU": "Vision Corporation", "ProfitCenterBUId": 204, "PromisedDate": null, "PurchaseOrderDescription": "CML Primary UOM Item2", "PurchaseOrderFunctionalCurrencyAmount": 10, "PurchaseOrderCurrency": "US Dollar", "PurchaseOrderCurrencyCode": "USD", "PurchaseOrderHeaderId": 300100093494540, "PurchaseOrderItemNumber": "SS-CML-Asset-Item2", "PurchaseOrderLineNumber": "1", "PurchaseOrderLineId": 300100093494542, "PurchaseOrderNumber": "1003835", "PurchaseOrderScheduleNumber": "1", "RequisitioningBU": "Vision Corporation", "RequisitioningBUId": 204, "ShipToLocation": "V1- New York City", "ShipToLocationId": 204, "Supplier": "PennyPack Systems", "SupplierId": 44378, "SupplierSite": "03", "SupplierSiteId": 1712, "TaxExclusivePOPrice": 10, "UnitOfMeasure": "Each", "UnitOfMeasureCode": "Ea", ... }, ... ], ""count"" : 7, ""hasMore"" : false, ""limit"" : 25, ""offset"" : 0, ""links"" : [ ... ] }"
Example 15 cURL Command
Use the following cURL command to submit a request on the REST resource to get all purchase order schedules associated to trade operation charges which are successfully allocated:
curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedulesForLandedCosts?finder=findPurchaseOrderSchedules;bindChargeLineStatus=Successfully allocated"
Example 15 Response Body
The following shows an example of the response body in JSON format.
"{ ""items"":[ { "AssociatedCharges": "With Charges", "Buyer": "Jones,Clare", "BuyerId": 100010026863783, "LandedCostPOScheduleId": 84021, "DeliveredToInventoryOrg": "V1", "DeliveredToInventoryOrgId": 204, "DestinationType": "Inventory", "NeedByDate": "2020-12-31", "OrderedQuantityInPrimaryUOM": 6, "POApprovalDate": "2015-12-14", "POLineLocationId": 300100088814877, "ProcurementBU": "Vision Corporation", "ProcurementBUId": 204, "ProfitCenterBU": "Vision Corporation", "ProfitCenterBUId": 204, "PromisedDate": null, "PurchaseOrderDescription": "Crank Shaft", "PurchaseOrderFunctionalCurrencyAmount": 3000, "PurchaseOrderCurrency": "US Dollar", "PurchaseOrderCurrencyCode": "USD", "PurchaseOrderHeaderId": 300100088814874, "PurchaseOrderItemNumber": "CM-CRS-SD7", "PurchaseOrderLineNumber": "1", "PurchaseOrderLineId": 300100088814876, "PurchaseOrderNumber": "VOP1003796", "PurchaseOrderScheduleNumber": "1", "RequisitioningBU": "Vision Corporation", "RequisitioningBUId": 204, "ShipToLocation": "V1 Ship Site A", "ShipToLocationId": 20795, "Supplier": "ZOKC_PODEL_PARTYMERGE_SUPPLIER1", "SupplierId": 300100087618588, "SupplierSite": "ZOKCPODS3SITE3", "SupplierSiteId": 300100087618605, "TaxExclusivePOPrice": 3000, "UnitOfMeasure": "Each", "UnitOfMeasureCode": "Ea", ... }, ... ], ""count"" : 25, ""hasMore"" : true, ""limit"" : 25, ""offset"" : 0, ""links"" : [ ... ] }"
Example 16 cURL Command
Use the following cURL command to submit a request on the REST resource to get all purchase orders for landed cost for purchases orders associated to a specific trade operation name collection:
curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedulesForLandedCosts?finder=findPurchaseOrderSchedules;bindTradeOperationName=QAName_07261712404"
Example 16 Response Body
The following shows an example of the response body in JSON format.
"{ ""items"":[ { "AssociatedCharges": "With Charges", "Buyer": "Robinson,Andrew", "BuyerId": 100010024202242, "LandedCostPOScheduleId": 20668, "DeliveredToInventoryOrg": "M1", "DeliveredToInventoryOrgId": 207, "DestinationType": "Inventory", "NeedByDate": null, "OrderedQuantityInPrimaryUOM": 1000, "POApprovalDate": "2009-08-19", "POLineLocationId": 363423, "ProcurementBU": "Vision Corporation", "ProcurementBUId": 204, "ProfitCenterBU": "Vision Corporation", "ProfitCenterBUId": 204, "PromisedDate": null, "PurchaseOrderDescription": "Plain, No Controls, Asset Item", "PurchaseOrderFunctionalCurrencyAmount": 12.34, "PurchaseOrderCurrency": "US Dollar", "PurchaseOrderCurrencyCode": "USD", "PurchaseOrderHeaderId": 420759, "PurchaseOrderItemNumber": "ZCST-Plain-Asset1", "PurchaseOrderLineNumber": "1", "PurchaseOrderLineId": 377602, "PurchaseOrderNumber": "1000180", "PurchaseOrderScheduleNumber": "1", "RequisitioningBU": "Vision Corporation", "RequisitioningBUId": 204, "ShipToLocation": "M1- Seattle Mfg", "ShipToLocationId": 207, "Supplier": "PennyPack Systems", "SupplierId": 44378, "SupplierSite": "FRESNO", "SupplierSiteId": 1969, "TaxExclusivePOPrice": 12.34, "UnitOfMeasure": "EA", "UnitOfMeasureCode": "EA", ... }, ... ], ""count"" : 1, ""hasMore"" : false, ""limit"" : 25, ""offset"" : 0, ""links"" : [ ... ] }"
Example 17 cURL Command
Use the following cURL command to submit a request on the REST resource to get all purchase orders for landed cost for purchases orders associated to a specific trade operation charge name collection:
curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedulesForLandedCosts?finder=findPurchaseOrderSchedules;bindChargeName=FREIGHT"
Example 17 Response Body
The following shows an example of the response body in JSON format.
"{ ""items"":[ { ""AssociatedCharges": "With Charges", "Buyer": "Furey,Clare", "BuyerId": 100010026863783, "LandedCostPOScheduleId": 84021, "DeliveredToInventoryOrg": "V1", "DeliveredToInventoryOrgId": 204, "DestinationType": "Inventory", "NeedByDate": "2020-12-31", "OrderedQuantityInPrimaryUOM": 6, "POApprovalDate": "2015-12-14", "POLineLocationId": 300100088814877, "ProcurementBU": "Vision Corporation", "ProcurementBUId": 204, "ProfitCenterBU": "Vision Corporation", "ProfitCenterBUId": 204, "PromisedDate": null, "PurchaseOrderDescription": "Crank Shaft", "PurchaseOrderFunctionalCurrencyAmount": 3000, "PurchaseOrderCurrency": "US Dollar", "PurchaseOrderCurrencyCode": "USD", "PurchaseOrderHeaderId": 300100088814874, "PurchaseOrderItemNumber": "CM-CRS-SD7", "PurchaseOrderLineNumber": "1", "PurchaseOrderLineId": 300100088814876, "PurchaseOrderNumber": "VOP1003796", "PurchaseOrderScheduleNumber": "1", "RequisitioningBU": "Vision Corporation", "RequisitioningBUId": 204, "ShipToLocation": "V1 Ship Site A", "ShipToLocationId": 20795, "Supplier": "ZOKC_PODEL_PARTYMERGE_SUPPLIER1", "SupplierId": 300100087618588, "SupplierSite": "ZOKCPODS3SITE3", "SupplierSiteId": 300100087618605, "TaxExclusivePOPrice": 3000, "UnitOfMeasure": "Each", "UnitOfMeasureCode": "Ea", ... }, ... ], ""count"" : 25, ""hasMore"" : true, ""limit"" : 25, ""offset"" : 0, ""links"" : [ ... ] }"
Example 18 cURL Command
Use the following cURL command to submit a request on the REST resource to get all purchase orders for landed cost by profit center business unit collection:
curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedulesForLandedCosts?finder=findPurchaseOrderSchedules;bindProfitCenterBU=Vision City Operations"
Example 18 Response Body
The following shows an example of the response body in JSON format.
"{ ""items"":[ { "AssociatedCharges": "With Charges", "Buyer": "Jones,Maricela", "BuyerId": 100010026863863, "LandedCostPOScheduleId": 76158, "DeliveredToInventoryOrg": "VCO1", "DeliveredToInventoryOrgId": 300100014554360, "DestinationType": "Expense", "NeedByDate": "2015-12-09", "OrderedQuantityInPrimaryUOM": 10, "POApprovalDate": "2015-12-10", "POLineLocationId": 300100083534352, "ProcurementBU": "Vision City Operations", "ProcurementBUId": 300100014554154, "ProfitCenterBU": "Vision City Operations", "ProfitCenterBUId": 300100014554154, "PromisedDate": null, "PurchaseOrderDescription": "BCEA Item01 Description", "PurchaseOrderFunctionalCurrencyAmount": 1000, "PurchaseOrderCurrency": "US Dollar", "PurchaseOrderCurrencyCode": "USD", "PurchaseOrderHeaderId": 300100083534335, "PurchaseOrderItemNumber": "BCEA Item01", "PurchaseOrderLineNumber": "1", "PurchaseOrderLineId": 300100083534351, "PurchaseOrderNumber": "80", "PurchaseOrderScheduleNumber": "1", "RequisitioningBU": "Vision City Operations", "RequisitioningBUId": 300100014554154, "ShipToLocation": "VC - Vision City", "ShipToLocationId": 300100014484337, "Supplier": "Office Depot", "SupplierId": 300100016486098, "SupplierSite": "San Jose", "SupplierSiteId": 300100016486125, "TaxExclusivePOPrice": 1000, "UnitOfMeasure": "Each", "UnitOfMeasureCode": "Ea", ... }, ... ], ... }"
Example 19 cURL Command
Use the following cURL command to submit a request on the REST resource to get all purchase order details for landed cost by purchase order number collection:
curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedulesForLandedCosts?finder=findPurchaseOrderSchedules;bindPONumber=1000182"
Example 19 Response Body
The following shows an example of the response body in JSON format.
"{ ""items"":[ { "AssociatedCharges": "With Charges", "Buyer": "Robinson,Andrew", "BuyerId": 100010024202242, "LandedCostPOScheduleId": 20649, "DeliveredToInventoryOrg": "M1", "DeliveredToInventoryOrgId": 207, "DestinationType": "Inventory", "NeedByDate": "2010-08-19", "OrderedQuantityInPrimaryUOM": 10000, "POApprovalDate": "2009-08-19", "POLineLocationId": 100000012040804, "ProcurementBU": "Vision Corporation", "ProcurementBUId": 204, "ProfitCenterBU": "Vision Corporation", "ProfitCenterBUId": 204, "PromisedDate": "2010-08-19", "PurchaseOrderDescription": "Plain, No Controls, Asset Item", "PurchaseOrderFunctionalCurrencyAmount": 1, "PurchaseOrderCurrency": "US Dollar", "PurchaseOrderCurrencyCode": "USD", "PurchaseOrderHeaderId": 420760, "PurchaseOrderItemNumber": "ZCST-Plain-Asset1", "PurchaseOrderLineNumber": "1", "PurchaseOrderLineId": 100000012040803, "PurchaseOrderNumber": "1000182", "PurchaseOrderScheduleNumber": "1", "RequisitioningBU": "Vision Corporation", "RequisitioningBUId": 204, "ShipToLocation": "M1- Seattle Mfg", "ShipToLocationId": 207, "Supplier": "PennyPack Systems", "SupplierId": 44378, "SupplierSite": "FRESNO", "SupplierSiteId": 1969, "TaxExclusivePOPrice": 1, "UnitOfMeasure": "EA", "UnitOfMeasureCode": "EA", ... }, ... ], ""count"" : 1, ""hasMore"" : false, ""limit"" : 25, ""offset"" : 0, ""links"" : [ ... ] }"