Get all lines
get
/fscmRestApi/resources/11.13.18.05/partRequirementLines
Request
Query Parameters
-
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: Finds part requirement lines according to the specified primary key criteria.
Finder Variables:- RequirementLineId; integer; Value that uniquely identifies the requirement line.
- PrimaryKey: Finds part requirement lines according to the specified primary key criteria.
-
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:- AssetId; integer; Value that uniquely identifies the part requirement line asset that is returned for repair or exchange.
- AssetNumber; string; Number that identifies the part requirement line asset that is returned for repair or exchange.
- BillToAccountId; integer; Value that uniquely identifies the bill-to customer account.
- BillToAccountNumber; string; Number that identifies the bill-to customer account.
- BillToAddress; string; Billing address of the customer.
- BillToPartyId; integer; Value that uniquely identifies the bill-to customer party.
- BillToPartyName; string; Name of the bill-to customer party.
- BillToPartySiteId; integer; Value that uniquely identifies the bill-to party site address.
- BusinessProcess; string; Abbreviation that identifies the business process associated with the service activity.
- BusinessProcessCode; string; Value that identifies the business process associated with the service activity.
- CreatedBy; string; Who column: indicates the user who created the row.
- CreationDate; string; Who column: indicates the date and time row created.
- DestinationOrganizationCode; string; Abbreviation that identifies the destination organization.
- DestinationOrganizationId; integer; Value that uniquely identifies the destination organization.
- DestinationOrganizationName; string; Name of the Destination organization.
- DestinationSubinventory; string; Name of the destination subinventory.
- InventoryItemDescription; string; Value that describes the inventory item description.
- InventoryItemId; integer; Value that uniquely identifies the inventory item.
- InventoryItemNumber; string; Number that identifies the inventory item.
- ItemRevision; string; Value that indicates the revision of the item if the item is revision controlled.
- LastUpdateDate; string; Who column: indicates the date and time of the last update of the row.
- LastUpdateLogin; string; Who column: indicates the session login associated to the user who last updated the row.
- LastUpdatedBy; string; Who column: indicates the user who last updated the row.
- LineCategoryCode; string; Abbreviation that identifies the line category of the service activity.
- LineCategoryMeaning; string; Value that defines name of the line category of the service activity.
- MaterialBillable; string; Value that defines name of the billing type.
- MaterialBillableCode; string; Abbreviation that identifies the billing type. Values include M, L, or E, where M indicates material, L indicates labor, and E indicates expense. A list of accepted values is defined in the lookup type EGP_MATERIAL_BILLABLE_TYPE.
- NeedByDate; string; Date when the part is required.
- OrderFlag; boolean; Indicates whether an order can be created or not for a part requirement.
- OrderLineType; string; Value that describes the order line type.
- ParentEntityCode; string; Abbreviation that identifies the parent entity of the parts requirement line. Valid values are SR: service request, WO: work order, and RH: requirement header.
- ParentEntityId; integer; Value that uniquely identifies the parent entity of the parts requirement line.
- Quantity; number; Quantity of the item required.
- RequirementHeaderId; integer; Value that uniquely identifies the parts requirement header.
- RequirementLineId; integer; Value that uniquely identifies the requirement line.
- RequirementLineLinkId; integer; Value that uniquely identifies the associated depot repair logistics and part exchange part requirements. For example, this attribute can link a depot repair return to its shipment.
- ReturnFromAddress; string; Value that identifies the return-from address.
- ReturnFromPartyId; integer; Value that uniquely identifies the return from the customer party.
- ReturnFromPartyName; string; Name of the return-from customer party.
- ReturnFromPartySiteId; integer; Value that uniquely identifies the return-from party site address.
- ReturnReason; string; Value that describes the reason for the return.
- ReturnReasonCode; string; Abbreviation that identifies the return reason for the line.
- RevisionControl; number; Abbreviation that identifies the item revision level.
- ServiceActivity; string; Value that describes the service activity.
- ServiceActivityCode; string; Abbreviation that identifies the service activity of the part requirement.
- ServiceActivityId; integer; Value that uniquely identifies the service activity associated with the parts line.
- ShipToAddress; string; Value that identifies the ship-to address.
- ShipToAddressType; string; Type of address that the requirement will be shipped to. Values are Customer and Technician.
- ShipToAddressTypeMeaning; string; Abbreviation that identifies the address type that the requirement will be shipped to.
- ShipToContactId; integer; Value that uniquely identifies the ship-to account.
- ShipToLocationId; integer; Value that uniquely identifies the ship-to party site address.
- ShipToPartyId; integer; Value that uniquely identifies the ship-to customer party.
- ShipToPartyName; string; Name of the ship-to party.
- SourcingPolicy; string; Abbrevation of the sourcing policy.
- SourcingPolicyCode; string; Value that indicates the sourcing policy of the inventory item.
- UOMCode; string; Abbreviation that identifies the unit of measure for the item.
- UnitOfMeasure; string; Meaning of the unit of measure.
- ZeroChargeFlag; boolean; Mark that indicates if a charge line should be created with a zero value for the selected service activity.
-
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".
Header Parameters
-
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
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
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.
Root Schema : partRequirementLines
Type:
Show Source
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.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : partRequirementLines-item-response
Type:
Show Source
object
-
AssetId: integer
(int64)
Value that uniquely identifies the part requirement line asset that is returned for repair or exchange.
-
AssetNumber: string
Maximum Length:
80
Number that identifies the part requirement line asset that is returned for repair or exchange. -
BillToAccountId: integer
(int64)
Value that uniquely identifies the bill-to customer account.
-
BillToAccountNumber: string
Maximum Length:
30
Number that identifies the bill-to customer account. -
BillToAddress: string
Maximum Length:
4000
Billing address of the customer. -
BillToPartyId: integer
(int64)
Value that uniquely identifies the bill-to customer party.
-
BillToPartyName: string
Maximum Length:
360
Name of the bill-to customer party. -
BillToPartySiteId: integer
(int64)
Value that uniquely identifies the bill-to party site address.
-
BusinessProcess: string
Read Only:
true
Maximum Length:80
Abbreviation that identifies the business process associated with the service activity. -
BusinessProcessCode: string
Maximum Length:
30
Value that identifies the business process associated with the service activity. -
CreatedBy: string
Read Only:
true
Maximum Length:64
Who column: indicates the user who created the row. -
CreationDate: string
(date-time)
Read Only:
true
Who column: indicates the date and time row created. -
DestinationOrganizationCode: string
Maximum Length:
18
Abbreviation that identifies the destination organization. -
DestinationOrganizationId: integer
(int64)
Title:
Destination Organization
Value that uniquely identifies the destination organization. -
DestinationOrganizationName: string
Read Only:
true
Maximum Length:240
Name of the Destination organization. -
DestinationSubinventory: string
Title:
Destination Subinventory
Maximum Length:10
Name of the destination subinventory. -
InventoryItemDescription: string
Read Only:
true
Maximum Length:240
Value that describes the inventory item description. -
InventoryItemId: integer
(int64)
Title:
Item
Value that uniquely identifies the inventory item. -
InventoryItemNumber: string
Maximum Length:
300
Number that identifies the inventory item. -
ItemRevision: string
Title:
Revision
Maximum Length:18
Value that indicates the revision of the item if the item is revision controlled. -
LastUpdateDate: string
(date-time)
Read Only:
true
Who column: indicates the date and time of the last update of the row. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
Who column: indicates the user who last updated the row. -
LastUpdateLogin: string
Read Only:
true
Maximum Length:32
Who column: indicates the session login associated to the user who last updated the row. -
LineCategoryCode: string
Read Only:
true
Maximum Length:30
Abbreviation that identifies the line category of the service activity. -
LineCategoryMeaning: string
Read Only:
true
Maximum Length:80
Value that defines name of the line category of the service activity. -
lineDetails: array
Part Requirement Line Details
Title:
Part Requirement Line Details
Records that contain additional details of a particular part or component. They help you view, create, or update sourcing information for a part requirement line. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
MaterialBillable: string
Read Only:
true
Maximum Length:80
Value that defines name of the billing type. -
MaterialBillableCode: string
Read Only:
true
Maximum Length:30
Abbreviation that identifies the billing type. Values include M, L, or E, where M indicates material, L indicates labor, and E indicates expense. A list of accepted values is defined in the lookup type EGP_MATERIAL_BILLABLE_TYPE. -
NeedByDate: string
(date-time)
Title:
Need By
Date when the part is required. -
OrderFlag: boolean
Indicates whether an order can be created or not for a part requirement.
-
OrderLineType: string
Read Only:
true
Maximum Length:30
Value that describes the order line type. -
ParentEntityCode: string
Title:
Part Requirement Parent Code
Maximum Length:30
Abbreviation that identifies the parent entity of the parts requirement line. Valid values are SR: service request, WO: work order, and RH: requirement header. -
ParentEntityId: integer
(int64)
Title:
Part Requirement Parent ID
Value that uniquely identifies the parent entity of the parts requirement line. -
partRequirementLinesDFF: array
Flexfields for Part Requirement Lines
Title:
Flexfields for Part Requirement Lines
Data used to manage the flexfields for a part requirement line. -
pricingHeaders: array
Pricing Headers
Title:
Pricing Headers
Pricing-related information regarding a pricing segment, strategy, and currency applied to a part requirement line. -
Quantity: number
Title:
Quantity
Quantity of the item required. -
RepriceFlag: boolean
Maximum Length:
80
Value that identifies the repricing of the part requirement line. Contains one of the following values: true or false. If true, then it initiates repricing for the part requirement line. If false, then it doesn't initiate repricing for the part requirement line. -
RequirementHeaderId: integer
(int64)
Title:
Part Requirement Header ID
Value that uniquely identifies the parts requirement header. -
RequirementLineId: integer
(int64)
Title:
Part Requirement Line ID
Value that uniquely identifies the requirement line. -
RequirementLineLinkId: integer
(int64)
Value that uniquely identifies the associated depot repair logistics and part exchange part requirements. For example, this attribute can link a depot repair return to its shipment.
-
ReturnFromAddress: string
Read Only:
true
Maximum Length:4000
Value that identifies the return-from address. -
ReturnFromPartyId: integer
(int64)
Value that uniquely identifies the return from the customer party.
-
ReturnFromPartyName: string
Read Only:
true
Maximum Length:360
Name of the return-from customer party. -
ReturnFromPartySiteId: integer
(int64)
Value that uniquely identifies the return-from party site address.
-
ReturnReason: string
Read Only:
true
Maximum Length:80
Value that describes the reason for the return. -
ReturnReasonCode: string
Title:
Return Reason
Maximum Length:30
Abbreviation that identifies the return reason for the line. -
RevisionControl: number
Read Only:
true
Abbreviation that identifies the item revision level. -
ServiceActivity: string
Read Only:
true
Maximum Length:120
Value that describes the service activity. -
ServiceActivityCode: string
Maximum Length:
30
Abbreviation that identifies the service activity of the part requirement. -
ServiceActivityId: integer
(int64)
Title:
Service Activity ID
Value that uniquely identifies the service activity associated with the parts line. -
serviceCharges: array
Service Charges
Title:
Service Charges
Charges levied for the components of a part requirement line, for example, for a party site or a customer. -
ShipToAddress: string
Read Only:
true
Maximum Length:4000
Value that identifies the ship-to address. -
ShipToAddressType: string
Title:
Ship-to Address Type
Maximum Length:30
Type of address that the requirement will be shipped to. Values are Customer and Technician. -
ShipToAddressTypeMeaning: string
Read Only:
true
Maximum Length:80
Abbreviation that identifies the address type that the requirement will be shipped to. -
ShipToContactId: integer
(int64)
Title:
Ship to Contact ID
Value that uniquely identifies the ship-to account. -
ShipToLocationId: integer
(int64)
Title:
Ship-to Address
Value that uniquely identifies the ship-to party site address. -
ShipToPartyId: integer
(int64)
Value that uniquely identifies the ship-to customer party.
-
ShipToPartyName: string
Read Only:
true
Maximum Length:360
Name of the ship-to party. -
SourceFlag: boolean
Maximum Length:
80
Value that identifies whether sourcing is required for the part requirement line. Contains one of the following values: true or false. If true, then it initiates sourcing of the part requirement line by searching for available parts. If false, then it doesn't initiate sourcing for the part requirement line. -
SourcingPolicy: string
Read Only:
true
Maximum Length:80
Abbrevation of the sourcing policy. -
SourcingPolicyCode: string
Read Only:
true
Maximum Length:30
Value that indicates the sourcing policy of the inventory item. -
UnitOfMeasure: string
Maximum Length:
25
Meaning of the unit of measure. -
UOMCode: string
Title:
UOM
Maximum Length:3
Abbreviation that identifies the unit of measure for the item. -
ZeroChargeFlag: boolean
Read Only:
true
Maximum Length:1
Mark that indicates if a charge line should be created with a zero value for the selected service activity.
Nested Schema : Part Requirement Line Details
Type:
array
Title:
Part Requirement Line Details
Records that contain additional details of a particular part or component. They help you view, create, or update sourcing information for a part requirement line.
Show Source
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Flexfields for Part Requirement Lines
Type:
array
Title:
Flexfields for Part Requirement Lines
Data used to manage the flexfields for a part requirement line.
Show Source
Nested Schema : Pricing Headers
Type:
array
Title:
Pricing Headers
Pricing-related information regarding a pricing segment, strategy, and currency applied to a part requirement line.
Show Source
Nested Schema : Service Charges
Type:
array
Title:
Service Charges
Charges levied for the components of a part requirement line, for example, for a party site or a customer.
Show Source
Nested Schema : partRequirementLines-lineDetails-item-response
Type:
Show Source
object
-
ArrivalDate: string
(date-time)
Read Only:
true
Date when the item will arrive. -
CreatedBy: string
Read Only:
true
Maximum Length:64
Indicates the user who created the row. -
CreationDate: string
(date-time)
Read Only:
true
Indicates the date and time of the creation of the row. -
ErrorText: string
Maximum Length:
2000
Value that describes the error. -
ExpectedArrivalDate: string
(date-time)
Title:
Expected Arrival
Date when the item is expected to arrive. -
ExpectedShipDate: string
(date-time)
Date when the item is expected to ship.
-
LastUpdateDate: string
(date-time)
Read Only:
true
Indicates the date and time of the last update of the row. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
Indicates the user who last updated the row. -
LastUpdateLogin: string
Read Only:
true
Maximum Length:32
Indicates the session login associated to the user who last updated the row. -
LineStatus: string
Read Only:
true
Value that describes the status of the Order. -
LineStatusCode: string
Read Only:
true
Abbreviation that identifies the status of the order. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
OrderId: string
Read Only:
true
Maximum Length:120
Value that uniquely identifies the order ID. -
OrderNumber: string
Read Only:
true
Maximum Length:120
Value that identifies the Order. -
RequirementLineDetailId: integer
(int64)
Title:
Part Requirement Details ID
Value that uniquely identifies the request line details. -
RequirementLineId: integer
(int64)
Title:
Part Requirement Line ID
Value that uniquely identifies the requirement line of the parts requirement line. -
ShipMethodCode: string
Read Only:
true
Maximum Length:522
Value that describes the shipping method being used to ship the order which is a combination of carrier, mode of transport, and service level. -
SourceCarrierId: integer
(int64)
Title:
Carrier
Value that uniquely identifies the carrier for the possible source. -
SourceId: integer
(int64)
Title:
Parts Source Order ID
Value that uniquely identifies the source object. -
SourceModeOfTransport: string
Title:
Transportation Mode
Maximum Length:30
Mode of transport for the possible source. -
SourceOrganizationCode: string
Maximum Length:
18
Abbreviation that identifies the source organization. -
SourceOrganizationId: integer
(int64)
Title:
Source Organization ID
Value that uniquely identifies the source organization. -
SourceOrganizationName: string
Read Only:
true
Maximum Length:240
Name of the Source organization. -
SourceRequestDate: string
(date-time)
Title:
Part Sourcing Request Date
Date when the source search request was made. -
SourceServiceLevels: string
Title:
Delivery Service Level
Maximum Length:30
Value that indicates the service level for the possible source. -
SourceSubinventory: string
Title:
Source Subinventory
Maximum Length:10
Value that indicates the source subinventory. -
SourceType: string
Title:
Parts Source Order Type
Maximum Length:30
Abbreviation that identifies the source type. Valid values are SO for Sales Order and TO for Transfer Order.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
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.
Nested Schema : properties
Type:
Show Source
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : partRequirementLines-partRequirementLinesDFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Segment
Maximum Length:30
Descriptive flexfield context name for requirement lines. -
__FLEX_Context_DisplayValue: string
Title:
Context Segment
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
RequirementLineId: integer
(int64)
Value that uniquely identifies the requirement line.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : partRequirementLines-pricingHeaders-item-response
Type:
Show Source
object
-
AppliedCurrencyCode: string
Read Only:
true
Maximum Length:15
Abbreviation of the applied currency. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
PricingSegment: string
Read Only:
true
Maximum Length:80
Name of the pricing segment. -
PricingSegmentCode: string
Read Only:
true
Maximum Length:30
Abbreviation that identifies the pricing segment. -
PricingStrategy: string
Read Only:
true
Maximum Length:80
Name of the pricing strategy. -
PricingStrategyId: integer
(int64)
Read Only:
true
Value that uniquely identifies the pricing strategy. -
RclPricingHeaderId: integer
(int64)
Read Only:
true
Value that uniquely identifies the pricing header.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : partRequirementLines-serviceCharges-item-response
Type:
Show Source
object
-
Amount: number
Read Only:
true
Value of the extended amount in the charge currency. -
CanAdjustFlag: boolean
Read Only:
true
Maximum Length:1
Indicates whether manual adjustments can be performed or not. -
ChargeAppliesTo: string
Read Only:
true
Maximum Length:80
Name of the charge applies. -
ChargeAppliesToCode: string
Read Only:
true
Maximum Length:30
Value that indicates whether a charge is applied to shipment or return. -
ChargeCurrency: string
Read Only:
true
Maximum Length:25
Name of the charge currency. -
ChargeCurrencyCode: string
Read Only:
true
Maximum Length:15
Abbreviation that identifies the charge currency. -
ChargeDefinition: string
Read Only:
true
Maximum Length:80
Name of the charge definition. -
ChargeDefinitionCode: string
Read Only:
true
Maximum Length:30
Value that describes the charge code. -
ChargeSubtype: string
Read Only:
true
Maximum Length:80
Name of the charge subtype. -
ChargeSubtypeCode: string
Read Only:
true
Maximum Length:30
Value that identifies charge subtype. -
ChargeType: string
Read Only:
true
Maximum Length:80
Name of the charge type. -
ChargeTypeCode: string
Read Only:
true
Maximum Length:30
Value that identifies charge type. -
HeaderCurrency: string
Read Only:
true
Maximum Length:25
Name of the debrief header currency. -
HeaderCurrencyCode: string
Read Only:
true
Maximum Length:15
Abbreviation that identifies the debrief header currency. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ParentEntityId: integer
(int64)
Read Only:
true
Value that uniquely identifies the line to which the charge is associated. -
PriceElement: string
Read Only:
true
Maximum Length:1000
Name of the pricing element. -
PriceElementCode: string
Read Only:
true
Maximum Length:30
Value that identifies the pricing element. -
PriceElementUsage: string
Read Only:
true
Maximum Length:80
Abbreviation that identifies the price element usage. -
PriceElementUsageCode: string
Read Only:
true
Maximum Length:30
Unique code that identifies the price element usage. -
PriceType: string
Read Only:
true
Maximum Length:80
Name of the price type. -
PriceTypeCode: string
Read Only:
true
Maximum Length:30
Value that identifies the price type. -
Quantity: number
Read Only:
true
Pricing quantity. -
QuantityUnitOfMeasure: string
Read Only:
true
Maximum Length:25
Meaning of the unit of measure of the pricing quantity. -
QuantityUOM: string
Read Only:
true
Maximum Length:3
Abbreviation that identifies the unit of measure for the pricing quantity. -
SequenceNumber: integer
(int64)
Read Only:
true
Indicates the sequence for the charge. -
ServiceChargeComponentId: integer
(int64)
Read Only:
true
Unique identifier of the service charge component. -
ServiceChargeId: integer
Read Only:
true
Value that uniquely identifies Service charge. -
YourPrice: number
Read Only:
true
Unit price in charge line currency.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Links
- orderPartRequirements
-
Creates sales orders or transfer orders for part requirement lines based on the parent entity type.
- refreshLines
-
Updates the part requirement lines with the transfer order details.
Examples
This example describes how to get all 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/partRequirementLines"
For example, the following command gets 20 existing part requirements created for the parent entity WO:
curl -u username:password "https://servername/fscmRestApi/resources/version/partRequirementLines?limit=20&q=ParentEntityCode=WO&onlyData=true" -H 'authorization: Basic c2Ntb3BlcmF0aW9uczpXZWxjb21lMQ==' -H 'cache-control: no-cache'
Example Response Body
The following shows an example of the response body in JSON format.
{ "items": [ { "DestinationOrganizationId": 5702, "DestinationSubinventory": null, "InventoryItemId": 300100173354994, "NeedByDate": "2019-02-28T10:41:00+00:00", "ParentEntityCode": "WO", "ParentEntityId": 300100174295482, "Quantity": 1, "RequirementHeaderId": 300100186696976, "RequirementLineId": 300100186696981, "ReturnReasonCode": null, "ItemRevision": null, "ServiceActivityId": null, "ShipToAddressType": "CUSTOMER", "ShipToContactId": null, "ShipToLocationId": 300100126721683, "UOMCode": "Ea", "DestinationOrganizationCode": "FST", "UnitOfMeasure": "Each", "InventoryItemNumber": "RCL_FS54888" } ], "count": 1, "hasMore": true, "limit": 1, "offset": 0, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/partRequirementLines", "name": "partRequirementLines", "kind": "collection" } ] }