Create lines
post
/fscmRestApi/resources/11.13.18.05/partRequirementLines
Request
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.
-
Upsert-Mode:
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
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.
-
BusinessProcessCode: string
Maximum Length:
30
Value that identifies the business process associated with the service activity. -
DestinationOrganizationCode: string
Maximum Length:
18
Abbreviation that identifies the destination organization. -
DestinationOrganizationId: integer
(int64)
Title:
Destination Organization
Value that uniquely identifies the destination organization. -
DestinationSubinventory: string
Title:
Destination Subinventory
Maximum Length:10
Name of the destination subinventory. -
InventoryItemId(required): 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. -
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. -
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.
-
ParentEntityCode(required): 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(required): 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(required): 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.
-
ReturnFromPartyId: integer
(int64)
Value that uniquely identifies the return from the customer party.
-
ReturnFromPartySiteId: integer
(int64)
Value that uniquely identifies the return-from party site address.
-
ReturnReasonCode: string
Title:
Return Reason
Maximum Length:30
Abbreviation that identifies the return reason for the line. -
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. -
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. -
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.
-
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. -
UnitOfMeasure(required): string
Maximum Length:
25
Meaning of the unit of measure. -
UOMCode(required): string
Title:
UOM
Maximum Length:3
Abbreviation that identifies the unit of measure for the item.
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 : 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-post-request
Type:
Show Source
object
-
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.
-
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. -
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. -
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 : partRequirementLines-partRequirementLinesDFF-item-post-request
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
-
RequirementLineId: integer
(int64)
Value that uniquely identifies the requirement line.
Response
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-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
- calculateSourceAndPrice
-
Parameters:
- RequirementLineId:
$request.path.RequirementLineId
Finds the source for the requirement line and prices it. In the case of depot repair logistics and parts exchange flow, it creates the shipment line as well. - RequirementLineId:
- getAvailableParts
-
Operation: /fscmRestApi/resources/11.13.18.05/partRequirementLines/{RequirementLineId}/action/getAvailablePartsParameters:
- RequirementLineId:
$request.path.RequirementLineId
Finds all the sources where the part can be sourced based on the preferences for the requirement line. - RequirementLineId:
- getPreferredSource
-
Parameters:
- RequirementLineId:
$request.path.RequirementLineId
Provides the suitable sourcing details for the requirement line. - RequirementLineId:
- lineDetails
-
Operation: /fscmRestApi/resources/11.13.18.05/partRequirementLines/{RequirementLineId}/child/lineDetailsParameters:
- RequirementLineId:
$request.path.RequirementLineId
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. - RequirementLineId:
- partRequirementLinesDFF
-
Parameters:
- RequirementLineId:
$request.path.RequirementLineId
Data used to manage the flexfields for a part requirement line. - RequirementLineId:
- pricingHeaders
-
Operation: /fscmRestApi/resources/11.13.18.05/partRequirementLines/{RequirementLineId}/child/pricingHeadersParameters:
- RequirementLineId:
$request.path.RequirementLineId
Pricing-related information regarding a pricing segment, strategy, and currency applied to a part requirement line. - RequirementLineId:
- serviceCharges
-
Operation: /fscmRestApi/resources/11.13.18.05/partRequirementLines/{RequirementLineId}/child/serviceChargesParameters:
- RequirementLineId:
$request.path.RequirementLineId
Charges levied for the components of a part requirement line, for example, for a party site or a customer. - RequirementLineId:
Examples
This example describes how to create one transit time.
Example cURL Command
Use the following cURL command to submit a request on the REST resource.
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/partRequirementLines"
Example Request Body
The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it creates.
{ "DestinationOrganizationCode": "FST", "DestinationSubinventory": "FS_Truck1", "InventoryItemId": 8980, "NeedByDate": "2019-03-01T02:17:00+00:00", "ParentEntityCode": "WO", "ParentEntityId": 300100186608532, "Quantity": 1, "ItemRevision": null, "ServiceActivityId": null, "ShipToAddressType": "CUSTOMER", "ShipToLocationId": 300100126721683, "UOMCode": "Ea" }
Example Response Body
The following example includes the contents of the response body in JSON format:
{ "DestinationOrganizationId": 5702, "DestinationSubinventory": "FS_Truck1", "InventoryItemId": 8980, "NeedByDate": "2019-03-01T02:17:00+00:00", "ParentEntityCode": "WO", "ParentEntityId": 300100186608532, "Quantity": 1, "RequirementHeaderId": null, "RequirementLineId": 300100187398476, "ReturnReasonCode": null, "ItemRevision": null, "ServiceActivityId": null, "ShipToAddressType": "CUSTOMER", "ShipToContactId": null, "ShipToLocationId": 300100126721683, "UOMCode": "Ea", "DestinationOrganizationCode": "FST", "UnitOfMeasure": null }