Get one schedule

get

/fscmRestApi/resources/11.13.18.05/purchaseOrderSchedules/{purchaseOrderSchedulesUniqID}

Request

Path Parameters
  • This is the hash key of the attributes which make up the composite key for the Purchase Order Schedules resource and used to uniquely identify an instance of Purchase Order Schedules. The client should not generate the hash key value. Instead, the client should query on the Purchase Order Schedules collection resource in order to navigate to a specific instance of Purchase Order Schedules to get the hash key.
Query Parameters
  • This parameter specifies dependencies which are fields that are set before and rolled back after generating the response. Generally they are used to preview the effects of an attribute change. The fields specified in this parameter are always set in the resource instance in question. When a child resource collection is requested and the parameter is set, the fields will be set in the parent resource instance before generating the resource collection payload. The value of this query parameter is a set of dependency fields. Example: dependency=ProductId=2

    Format: <attr1>=<val1>,<attr2>=<value2>
  • 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).
  • 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
  • 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
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
Header Parameters
  • This header accepts a string value. The string is a semi-colon separated list of =. It is used to perform effective date range operations. The accepted parameters are RangeMode, RangeSpan, RangeStartDate, RangeEndDate, RangeStartSequence and RangeEndSequence. The parameter values are always strings. The possible values for RangeMode are SET_LOGICAL_START, SET_LOGICAL_END, END_DATE, SET_EFFECTIVE_START, SET_EFFECTIVE_END, REPLACE_CORRECTION, REPLACE_UPDATE, RECONCILE_CORRECTION, CORRECTION, RECONCILE_UPDATE, UPDATE, ZAP and DELETE_CHANGES. The possible values for RangeSpan are PHYSICAL_ROW_END_DATE and LOGICAL_ROW_END_DATE. The values for RangeStartDate and RangeEndDate have to be a string representation of a date in yyyy-MM-dd format. The value for RangeStartSequence and RangeEndSequence must be strings such that when parsed they yield positive integers.
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : purchaseOrderSchedules-item-response
Type: object
Show Source
  • Title: Accepted Amount
    Read Only: true
    Amount accepted for service lines.
  • Title: Accepted Quantity
    Read Only: true
    Quantity accepted after inspection.
  • Title: Accrue at Receipt
    Read Only: true
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then accrue the purchase order schedule upon receipt. If false, then do not accrue upon receipt.
  • Title: Ordered
    Read Only: true
    Amount for the service on the purchase order schedule.
  • Title: Anticipated Arrival Date
    Read Only: true
    Date when the ordered goods are expected to be delivered based on the current projected date of shipping.
  • Title: Invoiced Amount
    Read Only: true
    Amount equivalent of the matched invoice lines based on the purchase price.
  • Title: Invoiced Quantity
    Read Only: true
    Quantity invoiced against the purchase order schedule.
  • Title: Buyer
    Read Only: true
    Maximum Length: 240
    Person who is responsible for managing the purchase order.
  • Read Only: true
    Value that uniquely identifies the buyer.
  • Title: Category Name
    Read Only: true
    Maximum Length: 2400
    Name of the purchasing category that the purchase order uses to classify the purchase for the order line.
  • Read Only: true
    Maximum Length: 820
    Abbreviation that identifies the purchasing category.
  • Read Only: true
    Value that uniquely identifies the purchasing category.
  • Title: Closed Reason
    Read Only: true
    Maximum Length: 240
    Text that describes the reason why the schedule was closed.
  • Title: Creation Date
    Read Only: true
    Date and time when the buyer or application created the purchase order schedule.
  • Title: Order Status
    Read Only: true
    Maximum Length: 80
    Status of the purchase order relative to the purchase order life cycle.
  • Title: Document Status Code
    Read Only: true
    Maximum Length: 25
    Abbreviation that identifies the purchase order status in the order life cycle.
  • Title: Document Style
    Read Only: true
    Maximum Length: 240
    Name of the purchasing document style. This attribute allows organizations to control the parameters and values displayed on the application to match the usage of the purchasing document.
  • Read Only: true
    Value that uniquely identifies the purchasing style of the document.
  • Title: Freight Terms
    Read Only: true
    Maximum Length: 80
    Terms that describe who pays the charges to transport the item.
  • Title: Freight Terms Code
    Read Only: true
    Maximum Length: 30
    Abbreviation that identifies the type of freight terms for the purchase order.
  • Title: Funds Status
    Read Only: true
    Maximum Length: 80
    Status of the funds check or funds reservation validation result for the schedule.
  • Title: Funds Status
    Read Only: true
    Maximum Length: 25
    Abbreviation that identifies the funds status.
  • Title: Invoice Match Option
    Read Only: true
    Maximum Length: 80
    Value that determines whether to match the invoice to the purchase order or the receipt. If the purchase order line is under consignment, then match each invoice to the consumption advice.
  • Title: Invoice Match Option Code
    Read Only: true
    Maximum Length: 25
    Determines whether the invoice for the purchase order schedule must match the purchase order or the receipt. Values include C for consumption advice, P for order, or R for receipt.
  • Title: Description
    Read Only: true
    Maximum Length: 240
    Description of the item that the purchase order references.
  • Read Only: true
    Value that uniquely identifies the item on the purchase order.
  • Title: Item
    Read Only: true
    Abbreviation that uniquely identifies the item on the purchase order.
  • Read Only: true
    Value that uniquely identifies the purchase order schedule.
  • Title: Line
    Read Only: true
    Number that uniquely identifies the purchase order line.
  • Links
  • Title: Order
    Read Only: true
    Maximum Length: 30
    Number that uniquely identifies the purchase order in the sold-to legal entity.
  • Title: Payment Terms
    Read Only: true
    Maximum Length: 50
    Terms that the application uses to schedule payments and calculate due dates, discount dates, and discount amounts for each invoice against the purchase order.
  • Read Only: true
    Value that uniquely identifies the payment terms.
  • Read Only: true
    Value that uniquely identifies the purchase order.
  • Read Only: true
    Value that uniquely identifies the parent line of the schedule. This attribute is used when the schedule is split.
  • Title: Price
    Read Only: true
    Price of the purchase order line.
  • Title: Procurement BU
    Read Only: true
    Maximum Length: 240
    Business unit that manages and owns the purchase order.
  • Read Only: true
    Value that uniquely identifies the business unit that manages and owns the purchase order.
  • Title: Purchase Basis
    Read Only: true
    Maximum Length: 80
    Value that indicates whether the schedule is for goods or services.
  • Title: Purchase Basis Code
    Read Only: true
    Maximum Length: 30
    Abbreviation that indicates if the schedule is for quantity based purchases or fixed price services.
  • Title: Quantity
    Read Only: true
    Quantity of the item scheduled to be shipped or delivered.
  • Title: Received Amount
    Read Only: true
    Amount received for service lines.
  • Title: Received Quantity
    Read Only: true
    Quantity received against the purchase order schedule.
  • Title: Requested Delivery Date
    Read Only: true
    Date when the buyer requested that the supplier deliver the item.
  • Title: Requested Ship Date
    Read Only: true
    Date when the buyer requested that the supplier ship the item.
  • Title: Requisitioning BU
    Read Only: true
    Maximum Length: 240
    Business unit that creates the requisition.
  • Read Only: true
    Value that uniquely identifies the business unit that creates the requisition.
  • Title: Retainage
    Read Only: true
    Total amount withheld as retainage against the schedule.
  • Title: Retainage Rate
    Read Only: true
    Percentage of the invoice value that can be withheld as retainage.
  • Title: Retainage Released
    Read Only: true
    Amount of retainage released for the schedule.
  • Title: Schedule Description
    Read Only: true
    Maximum Length: 240
    Description of the work associated with a progress payment schedule.
  • Title: Schedule
    Read Only: true
    Number that uniquely identifies the purchase order schedule for the purchase order line.
  • Title: Status
    Read Only: true
    Maximum Length: 80
    Status of the purchase order schedule.
  • Title: Status Code
    Read Only: true
    Maximum Length: 25
    Abbreviation that identifies the status of the purchase order schedule.
  • Title: Schedule Type
    Read Only: true
    Maximum Length: 80
    Value that identifies whether the payment is released based on units of work or lump sum.
  • Read Only: true
    Maximum Length: 30
    Abbreviation that identifies the schedule type.
  • Title: Shipped Amount
    Read Only: true
    Amount shipped for service lines.
  • Title: Shipped Quantity
    Read Only: true
    Quantity shipped against the purchase order schedule.
  • Title: Ship-to Party
    Read Only: true
    Maximum Length: 360
    Name of the party who receives the item that the supplier ships.
  • Read Only: true
    Value that uniquely identifies the third party that receives the item.
  • Title: Ship-to Location
    Read Only: true
    Maximum Length: 240
    Name of the location where the supplier ships the item.
  • Title: Ship-to Location Code
    Read Only: true
    Maximum Length: 60
    Abbreviation that identifies the location where the supplier ships the item.
  • Read Only: true
    Value that uniquely identifies the location where the supplier ships the item.
  • Title: Sold-to Legal Entity
    Read Only: true
    Maximum Length: 240
    Legal entity that is financially responsible for purchases on the purchase order.
  • Read Only: true
    Value that uniquely identifies the legal entity that is financially responsible for purchases on the purchase order.
  • Title: Supplier
    Read Only: true
    Maximum Length: 360
    Name of the supplier who fulfills the item.
  • Read Only: true
    Value that uniquely identifies the supplier.
  • Title: Supplier Item
    Read Only: true
    Maximum Length: 300
    Number that the supplier uses to identify the item on the purchase order line.
  • Title: Supplier Site
    Read Only: true
    Maximum Length: 240
    Location that the supplier uses to purchase the item.
  • Read Only: true
    Value that uniquely identifies the supplier site.
  • Title: Total
    Read Only: true
    Total of the ordered amount and the exclusive tax amounts on the purchase order line.
  • Title: Total Tax
    Read Only: true
    Total of the exclusive tax amounts that the purchaser can recover and not recover for the purchase order line.
  • Title: UOM
    Read Only: true
    Maximum Length: 25
    Unit of measure in the item quantity.
  • Read Only: true
    Maximum Length: 3
    Abbreviation that identifies the unit of measure.
Back to Top

Examples

This example describes how to get one schedule.

Example cURL Command

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

curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedules/purchaseOrderSchedulesUniqID"

For example, the following command gets purchase order schedule where the line location identifier is 300100185985737:

curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedules/300100185985737"

Example 1 Response Body

The following shows an example of the response body in JSON format.
{
	"POHeaderId": 300100185985423,
	"OrderNumber": "1011589",
	"ItemDescription": "test fps",
	"Price": null,
	"LineNumber": 2,
	"SupplierItem": null,
	"LineLocationId": 300100185985737,
	"ScheduleNumber": 1,
	"RequestedDeliveryDate": null,
	"ScheduleStatusCode": "CANCELED",
	"ClosedReason": null,
	"InvoiceMatchOptionCode": "P",
	"BilledQuantity": null,
	"ShippedQuantity": null,
	"ReceivedQuantity": null,
	"AcceptedQuantity": null,
	"BilledAmount": 0,
	"ShippedAmount": 0,
	"ReceivedAmount": 0,
	"AcceptedAmount": 0,
	"SoldToLegalEntity": "Vision Operations",
	"UOM": null,
	"ScheduleStatus": "Canceled",
	"Category": "Miscellaneous_1",
	"Buyer": "Furey,Clare",
	"InvoiceMatchOption": "Order",
	"PaymentTerms": "45 Net (terms date + 45)",
	"FreightTerms": "Due",
	"ShipToCustomer": null,
	"PurchaseBasisCode": "SERVICES",
	"ItemNumber": null,
	"Total": 0,
	"TotalTax": 0,
	"PurchaseBasis": "Services",
	"Quantity": null,
	"Amount": 0,
	"ShipToLocation": "V1- New York City",
	"DocumentStatus": "Canceled",
	"AnticipatedArrivalDate": null,
	"CreationDate": "2020-04-15T17:12:01+00:00",
	"RequestedShipDate": null,
	"Supplier": "CV_SuppA01",
	"SupplierSite": "CVSuppA01Site01",
	"RetainageRate": null,
        "RetainageAmount": null,
        "RetainageReleasedAmount": null,
        "ProcurementBU": "Vision Operations",
        "RequisitioningBU": "Vision Operations",
        "DocumentStyle": "Purchase Order",
	"links": [
	{
		"rel": "self",
		"href": "https://servername/fscmRestApi/resources/version/purchaseOrderSchedules/300100185985737",
		"name": "purchaseOrderSchedules",
		"kind": "item"
	},
	{
		"rel": "canonical",
		"href": "https://servername/fscmRestApi/resources/version/purchaseOrderSchedules/300100185985737",
		"name": "purchaseOrderSchedules",
		"kind": "item"
	},
	{
		"rel": "action",
		"href": "https://servername/fscmRestApi/resources/version/purchaseOrderSchedules/300100185985737/action/close",
		"name": "close",
		"kind": "other"
	}
	]
}

Example 2

This example shows how to query additional attributes using the the fields parameter.

Example 2 cURL Command

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

curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseOrderSchedules/100000017965453?fields=OrderNumber,ShipToLocationId,ShipToLocationCode,ShipToLocation,ItemId,CategoryId,SoldToLegalEntityId"

Example 2 Response Body

The following shows an example of the response body in JSON format.
{
    "OrderNumber": "1000033",
    "ShipToLocationId": 211,
    "ShipToLocationCode": "VC - Vision City",
    "ShipToLocation": "VC - Vision City",
    "ItemId": null,
    "CategoryId": 2920,
    "SoldToLegalEntityId": 458,
    "links": [
        {
            "rel": "self",
            "href": "https://servername/fscmRestApi/resources/version/purchaseOrderSchedules/100000017965453",
            "name": "purchaseOrderSchedules",
            "kind": "item"
        },
        {
            "rel": "canonical",
            "href": "https://servername/fscmRestApi/resources/version/purchaseOrderSchedules/100000017965453",
            "name": "purchaseOrderSchedules",
            "kind": "item"
        },
        {
            "rel": "action",
            "href": "https://servername/fscmRestApi/resources/version/purchaseOrderSchedules/100000017965453/action/close",
            "name": "close",
            "kind": "other"
        },
        {
            "rel": "action",
            "href": "https://servername/fscmRestApi/resources/version/purchaseOrderSchedules/100000017965453/action/confirmWork",
            "name": "confirmWork",
            "kind": "other"
        }
    ]
}
Back to Top