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
Finder Variables- POLineLocationId; integer;
- findPurchaseOrderSchedules
Finder Variables- bindActualAmount; number;
- bindAssociatedCharges; string;
- bindBuyer; string;
- bindCaseSensitivePONumber; string;
- bindChargeLineStatus; string;
- bindChargeName; string;
- bindDeliverToInvOrg; string;
- bindDestinationType; string;
- bindEstimatedAmount; number;
- bindNeedByDate; string;
- bindOrderedQuantity; number;
- bindPOApprovalDate; string;
- bindPODescription; string;
- bindPOFunctionalCurrencyAmount; string;
- bindPOItemNumber; string;
- bindPOLineNumber; string;
- bindPONumber; string;
- bindPOSchedule; string;
- bindProcurementBU; string;
- bindProfitCenterBU; string;
- bindPromisedDate; string;
- bindQuantityReceived; number;
- bindQuantityShipped; number;
- bindRequisitioningBU; string;
- bindShipToLocation; string;
- bindShipmentLineNumber; integer;
- bindShipmentNumber; string;
- bindSupplier; string;
- bindSupplierSite; string;
- bindTaxExclusivePrice; number;
- bindTradeOperationName; string;
- bindTradeOperationNumber; string;
- PrimaryKey
-
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
- Buyer; string
- BuyerId; integer
- DeliveredToInventoryOrg; string
- DeliveredToInventoryOrgId; integer
- DestinationType; string
- ExtendedPrecision; integer
- IsChargeAssociated; string
- LandedCostPOScheduleId; integer
- NeedByDate; string
- OrderedQuantityInPrimaryUOM; number
- POApprovalDate; string
- POLineLocationId; integer
- Precision; integer
- ProcurementBU; string
- ProcurementBUId; integer
- ProfitCenterBU; string
- ProfitCenterBUId; integer
- PromisedDate; string
- PurchaseOrderCurrency; string
- PurchaseOrderCurrencyCode; string
- PurchaseOrderDescription; string
- PurchaseOrderFunctionalCurrencyAmount; number
- PurchaseOrderHeaderId; integer
- PurchaseOrderItemNumber; string
- PurchaseOrderLineId; integer
- PurchaseOrderLineNumber; string
- PurchaseOrderNumber; string
- PurchaseOrderScheduleNumber; string
- RequisitioningBU; string
- RequisitioningBUId; integer
- ShipToLocation; string
- ShipToLocationId; integer
- Supplier; string
- SupplierId; integer
- SupplierSite; string
- SupplierSiteId; integer
- TaxExclusivePOPrice; number
- UnitOfMeasure; string
- UnitOfMeasureCode; string
-
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: string
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: string
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:
ItemsThe items in the collection. -
limit(required): integer
The actual paging size used by the server.
-
links(required): array
Links
Title:
LinksThe 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.
arrayLinksobject-
AssociatedCharges: string
Title:
Associated ChargesRead Only:trueMaximum Length:15 -
Buyer: string
Title:
BuyerRead Only:trueMaximum Length:240 -
BuyerId: integer
(int64)
Title:
Buyer IDRead Only:true -
DeliveredToInventoryOrg: string
Title:
Delivered-to Inventory Organization NameRead Only:trueMaximum Length:18 -
DeliveredToInventoryOrgId: integer
(int64)
Title:
Delivered-To Inventory Organization IDRead Only:true -
DestinationType: string
Title:
Destination TypeRead Only:trueMaximum Length:80 -
ExtendedPrecision: integer
(int32)
Read Only:
true -
IsChargeAssociated: string
Title:
Associated ChargesRead Only:trueMaximum Length:80 -
LandedCostPOScheduleId: integer
(int64)
Title:
Landed Cost PO Schedule IDRead Only:true -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
NeedByDate: string
(date)
Title:
Need-by DateRead Only:true -
OrderedQuantityInPrimaryUOM: number
Title:
Ordered QuantityRead Only:true -
POApprovalDate: string
(date)
Title:
PO Approval DateRead Only:true -
POLineLocationId: integer
(int64)
Title:
Purchase Order Line Location IDRead Only:true -
Precision: integer
(int32)
Read Only:
true -
ProcurementBU: string
Title:
Procurement BURead Only:trueMaximum Length:240 -
ProcurementBUId: integer
(int64)
Title:
Procurement Business Unit IDRead Only:true -
ProfitCenterBU: string
Title:
Profit Center BURead Only:trueMaximum Length:240 -
ProfitCenterBUId: integer
(int64)
Title:
Profit Center BU IDRead Only:true -
PromisedDate: string
(date)
Title:
Promised DateRead Only:true -
PurchaseOrderCurrency: string
Read Only:
trueMaximum Length:80 -
PurchaseOrderCurrencyCode: string
Read Only:
trueMaximum Length:15 -
PurchaseOrderDescription: string
Title:
Purchase Order DescriptionRead Only:trueMaximum Length:240 -
PurchaseOrderFunctionalCurrencyAmount: number
Title:
PO Schedule Functional Currency AmountRead Only:true -
PurchaseOrderHeaderId: integer
(int64)
Title:
Purchase Order Header IDRead Only:true -
PurchaseOrderItemNumber: string
Title:
Purchase Order Item NumberRead Only:trueMaximum Length:300 -
PurchaseOrderLineId: integer
(int64)
Title:
Purchase Order Line IDRead Only:true -
PurchaseOrderLineNumber: string
Title:
Purchase Order LineRead Only:trueMaximum Length:40 -
PurchaseOrderNumber: string
Title:
Purchase OrderRead Only:trueMaximum Length:255 -
PurchaseOrderScheduleNumber: string
Title:
Purchase Order Schedule NumberRead Only:trueMaximum Length:40 -
RequisitioningBU: string
Title:
Requisitioning BURead Only:trueMaximum Length:240 -
RequisitioningBUId: integer
(int64)
Title:
Requisitioning BU IDRead Only:true -
shipmentDetails: array
shipmentDetails
-
ShipToLocation: string
Title:
Ship-to LocationRead Only:trueMaximum Length:30 -
ShipToLocationId: integer
(int64)
Title:
Ship-To Location IDRead Only:true -
Supplier: string
Title:
SupplierRead Only:trueMaximum Length:360 -
SupplierId: integer
(int64)
Title:
Supplier IDRead Only:true -
SupplierSite: string
Title:
Supplier SiteRead Only:trueMaximum Length:15 -
SupplierSiteId: integer
(int64)
Title:
Supplier Site IDRead Only:true -
TaxExclusivePOPrice: number
Title:
Tax Exclusive PO PriceRead Only:true -
tradeOperationDetails: array
tradeOperationDetails
-
UnitOfMeasure: string
Title:
Unit of MeasureRead Only:trueMaximum Length:25 -
UnitOfMeasureCode: string
Read Only:
trueMaximum Length:3
arrayLinksobject-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed 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 DescriptionRead Only:trueMaximum Length:240 -
ItemId: integer
(int64)
Title:
Item IDRead Only:true -
LineNumber: integer
(int64)
Title:
Line NumberRead Only:true -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
POHeaderId: integer
(int64)
Title:
Purchase Order Header IDRead Only:true -
POLineId: integer
(int64)
Title:
Purchase Order Line IDRead Only:true -
POLineLocationId: integer
(int64)
Title:
Purchase Order Line Location IDRead Only:true -
QuantityReceived: number
Title:
Receipt QuantityRead Only:true -
QuantityShipped: number
Title:
Shipped QuantityRead Only:true -
ReceiptNumber: string
Title:
Receipt NumberRead Only:trueMaximum Length:30 -
ShipmentHeaderId: integer
(int64)
Title:
Shipment Header IDRead Only:true -
ShipmentLineId: integer
(int64)
Title:
Shipment Line IDRead Only:true -
ShipmentNumber: string
Title:
Shipment NumberRead Only:trueMaximum Length:30 -
ShippedDate: string
(date-time)
Title:
Shipped DateRead Only:true
arrayLinksobject-
ChargeLineNumber: number
Title:
Charge Line NumberRead Only:true -
ChargeLineStatus: string
Title:
Charge Line Status MeaningRead Only:trueMaximum Length:80 -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
Name: string
Title:
Charge NameRead Only:trueMaximum Length:80 -
RequiredBUCurrencyCode: string
Title:
Charge BU Functional CurrencyRead Only:trueMaximum Length:15 -
TotalActualAmount: number
Title:
Actual AmountRead Only:true -
TotalEstimatedAmount: number
Title:
Estimated AmountRead Only:true -
TradeOperationId: integer
Title:
Trade Operation IDRead Only:true -
TradeOperationName: string
Title:
NameRead Only:trueMaximum Length:80 -
TradeOperationNumber: string
Title:
NumberRead Only:trueMaximum Length:40
arrayLinksExamples
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"" : [ ... ]
}"