Get all shipment lines

get

/fscmRestApi/resources/11.13.18.05/shipmentLineTransactionRequests/{TransactionId}/child/shipmentLines

Request

Path Parameters
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
  • 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 shipment lines according to the primary key criteria.
      Finder Variables:
      • DeliveryDetailInterfaceId; integer; Value that uniquely identifies the shipment line.
  • 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.
  • 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
  • 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.
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
  • 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
  • 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:
    • BaseItem; string; Name of the base item.
    • BaseItemId; integer; Value that uniquely identifies the base Assemble to Order (ATO) model information used for internal processing.
    • Carrier; string; Name of the carrier that transports the shipment.
    • CarrierId; integer; Value that uniquely identifies the carrier.
    • CarrierNumber; string; Number that identifies the carrier that transports the shipment.
    • EndAssemblyItem; string; Number that identifies the finished assembled item to build by using the item shipped on this shipment line.
    • InitialDestinationId; integer; Value that uniquely identifies the initial leg of the transportation planned to deliver the shipment to the final destination.
    • Item; string; Value that uniquely identifies the item.
    • ItemId; integer; Value that uniquely identifies the inventory item.
    • ModeOfTransportCode; string; Abbreviation that identifies the mode of transport for the shipping method. A list of accepted values is defined in the lookup WSH_MODE_OF_TRANSPORT.
    • OrderTypeCode; string; Abbreviation the identifies the type of source document. The default value is SALES_ORDER. A list of accepted values is defined in the lookup ORA_WSH_ORDER_LINE_TYPE.
    • OrganizationCode; string; Abbreviation that identifies the ship-from organization.
    • OrganizationId; integer; Value that uniquely identifies the inventory organization.
    • OrganizationName; string; Name of the inventory organization.
    • ProjectCostingProjectName; string; Name of the project for standardized project cost collection. This attribute is associated with a feature that requires opt in.
    • ProjectCostingTaskName; string; Name of the task for standardized project cost collection. This attribute is associated with a feature that requires opt in.
    • RequestedDate; string; Date when the customer requested the order line.
    • ScheduledShipDate; string; Date when the order line is scheduled to be shipped.
    • ServiceLevelCode; string; Abbreviation that identifies the service level for the shipping method. A list of accepted values is defined in the lookup WSH_SERVICE_LEVELS.
    • TransportationShipment; string; Value that identifies the planned shipment from the transportation management application.
  • The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
Header Parameters
  • 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 : shipmentLineTransactionRequests-shipmentLines
Type: object
Show Source
Nested Schema : Items
Type: array
Title: Items
The items in the collection.
Show Source
Nested Schema : shipmentLineTransactionRequests-shipmentLines-item-response
Type: object
Show Source
Nested Schema : Attachments
Type: array
Title: Attachments
The Attachments resource manages details about shipment line attachments.
Show Source
Nested Schema : Flexfields for Shipment Lines
Type: array
Title: Flexfields for Shipment Lines
The Flexfields for Shipment Lines resource manages details about shipment lines.
Show Source
Nested Schema : Errors
Type: array
Title: Errors
The Errors resource manages errors encountered while processing an order from the interface to the base tables.
Show Source
Nested Schema : Holds
Type: array
Title: Holds
The Holds resource manages details about shipment line holds.
Show Source
Nested Schema : Notes
Type: array
Title: Notes
The Notes resource manages details about shipment line notes, such as packing instructions and shipping instructions.
Show Source
Nested Schema : shipmentLineTransactionRequests-shipmentLines-attachments-item-response
Type: object
Show Source
Nested Schema : shipmentLineTransactionRequests-shipmentLines-DFF-item-response
Type: object
Show Source
Nested Schema : shipmentLineTransactionRequests-shipmentLines-errors-item-response
Type: object
Show Source
Nested Schema : shipmentLineTransactionRequests-shipmentLines-holds-item-response
Type: object
Show Source
Nested Schema : shipmentLineTransactionRequests-shipmentLines-notes-item-response
Type: object
Show Source
Back to Top

Examples

This example describes how to get all shipment lines.

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/shipmentLineTransactionRequests/TransactionId/child/shipmentLines"

Example Response Body

The following shows an example of the response body in JSON format.

{
	"items": [
	{
		"DeliveryDetailInterfaceId": 300100171231594,
		"LineActionType": "CREATE",
		"OrderTypeCode": "SALES_ORDER",
		"Order": "WSH-1541616290",
		"OrderLine": "1",
		"OrderSchedule": null,
		"SourceOrder": "WSH-1541616290",
		"SourceOrderLine": "1",
		"SourceOrderFulfillmentLine": "1",
		"SourceOrderFulfillmentLineId": 1001,
		"OrganizationId": 208,
		"OrganizationCode": null,
		"OrganizationName": null,
		"ItemId": 149,
		"Item": null,
		"ItemDescription": null,
		"RequestedDate": "2012-08-26T00:00:00+00:00",
		"ScheduledShipDate": "2012-08-26T00:00:00+00:00",
		"RequestedDateTypeCode": null,
		"FreightTermsCode": null,
		"ShipmentPriorityCode": null,
		"FOBCode": null,
		"GradeCode": null,
		"CustomerPONumber": null,
		"CustomerItem": null,
		"ShippedQuantity": null,
		"ConvertedQuantity": null,
		"StagedQuantity": null,
		"BackorderedQuantity": null,
		"QuantityUOMCode": null,
		"SecondaryConvertedQuantity": null,
		"SecondaryStagedQuantity": null,
		"SecondaryBackorderedQuantity": null,
		"SecondaryQuantityUOMCode": null,
		"SecondaryQuantityUOM": null,
		"SourceRequestedQuantity": 3,
		"SourceRequestedQuantityUOMCode": "Ea",
		"SourceRequestedQuantityUOM": null,
		"SecondarySourceRequestedQuantity": null,
		"SecondarySourceRequestedQuantityUOMCode": null,
		"SecondarySourceRequestedQuantityUOM": null,
		"BusinessUnitId": 204,
		"BusinessUnit": null,
		"CarrierId": 12521,
		"Carrier": null,
		"CarrierNumber": null,
		"ModeOfTransportCode": "AIR",
		"ServiceLevelCode": "2DA",
		"EarliestPickupDate": null,
		"LatestPickupDate": null,
		"EarliestDropoffDate": null,
		"LatestDropoffDate": null,
		"ShipToPartyId": 1006,
		"ShipToCustomer": null,
		"ShipToCustomerNumber": null,
		"ShipToPartySiteId": 1089,
		"ShipToPartySiteNumber": null,
		"ShipToContactId": 1560,
		"ShipToContact": null,
		"ShipToContactNumber": null,
		"SoldToPartyId": 1006,
		"SoldToCustomer": null,
		"SoldToCustomerNumber": null,
		"SoldToContactId": null,
		"SoldToContact": null,
		"SoldToContactNumber": null,
		"BillToPartyId": 1006,
		"BillToCustomer": null,
		"BillToCustomerNumber": null,
		"BillToPartySiteId": 1090,
		"BillToPartySiteNumber": null,
		"BillToContactId": 1560,
		"BillToContact": null,
		"BillToContactNumber": null,
		"ShipmentSet": null,
		"ArrivalSet": null,
		"SourceLineUpdateDate": "2018-11-07T18:44:51+00:00",
		"SourceSystemId": 100000011825006,
		"SourceSystem": "OPS";
		"UnitPrice": 100,
		"Currency": "USD",
		"SellingPrice": null,
		"SellingPriceCurrency": "USD",
		"ReleaseLockFlag": null,
		"ParentItemId": null,
		"ParentItem": null,
		"ParentSourceOrderFulfillmentLineId": null,
		"BaseItemId": null,
		"BaseItem": null,
		"EndAssemblyItem": null,
		"SourceSubinventory": null,
		"DoNotShipBeforeDate": null,
		"DoNotShipAfterDate": null,
		"MaximumOvershipmentPercentage": null,
		"MaximumUndershipmentPercentage": null,
		"TaxationCountryCode": null,
		"FirstPartyTaxRegistrationId": null,
		"FirstPartyTaxRegistrationNumber": null,
		"ThirdPartyTaxRegistrationId": null,
		"ThirdPartyTaxRegistrationNumber": null,
		"LocationOfFinalDischargeId": null,
		"LocationOfFinalDischargeCode": null,
		"DocumentFiscalClassificationCode": null,
		"TransactionBusinessCategoryCode": null,
		"UserDefinedFiscalClassificationCode": null,
		"TaxInvoiceNumber": null,
		"TaxInvoiceDate": null,
		"ProductCategoryCode": null,
		"IntendedUseClassificationId": null,
		"IntendedUse": null,
		"ProductTypeCode": null,
		"AssessableValue": null,
		"TaxClassificationCode": null,
		"TaxExemptionCertificateNumber": null,
		"TaxExemptionReasonCode": null,
		"ProductFiscalClassificationId": null,
		"ProductFiscalClassification": null,
		"TransportationPlanningStatusCode": null,
		"TransportationPlanningDate": null,
		"TransportationShipment": null,
		"TransportationShipmentLine": null,
		"InitialDestinationId": null,
		"TradeComplianceStatusCode": null,
		"TradeComplianceDate": null,
		"TradeComplianceReason": null,
		"ProjectSalesOrderFlag": null,
		"SrcAttributeCategory": null,
		"SrcAttribute1": null,
		"SrcAttribute2": null,
		"SrcAttribute3": null,
		"SrcAttribute4": null,
		"SrcAttribute5": null,
		"SrcAttribute6": null,
		"SrcAttribute7": null,
		"SrcAttribute8": null,
		"SrcAttribute9": null,
		"SrcAttribute10": null,
		"SrcAttribute11": null,
		"SrcAttribute12": null,
		"SrcAttribute13": null,
		"SrcAttribute14": null,
		"SrcAttribute15": null,
		"SrcAttribute16": null,
		"SrcAttribute17": null,
		"SrcAttribute18": null,
		"SrcAttribute19": null,
		"SrcAttribute20": null,
		"SrcAttributeNumber1": null,
		"SrcAttributeNumber2": null,
		"SrcAttributeNumber3": null,
		"SrcAttributeNumber4": null,
		"SrcAttributeNumber5": null,
		"SrcAttributeNumber6": null,
		"SrcAttributeNumber7": null,
		"SrcAttributeNumber8": null,
		"SrcAttributeNumber9": null,
		"SrcAttributeNumber10": null,
		"SrcAttributeDate1": null,
		"SrcAttributeDate2": null,
		"SrcAttributeDate3": null,
		"SrcAttributeDate4": null,
		"SrcAttributeDate5": null,
		"SrcAttributeTimestamp1": null,
		"SrcAttributeTimestamp2": null,
		"SrcAttributeTimestamp3": null,
		"SrcAttributeTimestamp4": null,
		"SrcAttributeTimestamp5": null,
		"CreatedBy": "WHSE_MGR_ALL_INV_ORGS",
		"CreationDate": "2018-11-07T18:44:51.042+00:00",
		"LastUpdateDate": "2018-11-07T18:44:51+00:00",
		"LastUpdatedBy": "WHSE_MGR_ALL_INV_ORGS",
		"links": [
		{
			"rel": "self",
			"href": "https://servername/fscmRestApi/resources/version/shipmentLineTransactionRequests/300100171231593/child/shipmentLines/300100171231594",
			"name": "shipmentLines",
			"kind": "item",
			"properties": {
				"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
			}
		},
		{
			"rel": "canonical",
			"href": "https://servername/fscmRestApi/resources/version/shipmentLineTransactionRequests/300100171231593/child/shipmentLines/300100171231594",
			"name": "shipmentLines",
			"kind": "item"
		},
		{
			"rel": "parent",
			"href": "https://servername/fscmRestApi/resources/version/shipmentLineTransactionRequests/300100171231593",
			"name": "shipmentLineTransactionRequests",
			"kind": "item"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/shipmentLineTransactionRequests/300100171231593/child/shipmentLines/300100171231594/child/errors",
			"name": "errors",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/shipmentLineTransactionRequests/300100171231593/child/shipmentLines/300100171231594/child/DFF",
			"name": "DFF",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/shipmentLineTransactionRequests/300100171231593/child/shipmentLines/300100171231594/child/attachments",
			"name": "attachments",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/shipmentLineTransactionRequests/300100171231593/child/shipmentLines/300100171231594/child/holds",
			"name": "holds",
			"kind": "collection"
		},
		{
			"rel": "child",
			"href": "https://servername/fscmRestApi/resources/version/shipmentLineTransactionRequests/300100171231593/child/shipmentLines/300100171231594/child/notes",
			"name": "notes",
			"kind": "collection"
		}
		]
	}
	],
	"count": 1,
	"hasMore": false,
	"limit": 25,
	"offset": 0,
	"links": [
	{
		"rel": "self",
		"href": "https://servername/fscmRestApi/resources/version/shipmentLineTransactionRequests/300100171231593/child/shipmentLines",
		"name": "shipmentLines",
		"kind": "collection"
	}
	]
}
Back to Top