Get a project asset line associated with this project
get
/fscmRestApi/resources/11.13.18.05/projectAssetLines/{ProjectAssetLineId}
Request
Path Parameters
-
ProjectAssetLineId(required): integer(int64)
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
Query Parameters
-
dependency: string
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> -
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 -
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 -
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
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 : projectAssetLines-item-response
Type:
Show Source
object-
AmortizeFlag: boolean
Title:
Amortize AdjustmentsRead Only:trueMaximum Length:1Indicates whether cost adjustments should be amortized in Oracle Assets. The two options are Y and N. The default value is N. -
ApDistributionLineNumber: integer
(int64)
Title:
Supplier Invoice Distribution Line NumberRead Only:trueThe unique number of a supplier invoice distribution line. -
AssetCategoryCombination: string
Title:
Asset CategoryRead Only:trueMaximum Length:255Segment values for asset categories, concatenated using a delimiter. -
AssetCategoryId: integer
(int64)
Title:
Asset Category IDRead Only:trueIdentifier of the asset category to which the asset is assigned. -
AssetLineType: string
Title:
Asset Line TypeRead Only:trueMaximum Length:80Classifies project asset lines as Capital or Retirement. -
AssetLineTypeCode: string
Title:
Asset Line Type CodeRead Only:trueMaximum Length:30Asset line classification code, where C stands for Capital and R for Retirement. -
BusinessUnitName: string
Title:
Business UnitRead Only:trueMaximum Length:240Name of the business unit associated with the project to which the project asset line has been assigned. -
CapitalEventId: integer
(int64)
Title:
Event IDRead Only:trueIdentifier of the capital event associated with the asset of the project. -
CIPAccountCombination: string
Title:
CIP Cost AccountRead Only:trueMaximum Length:255The general ledger account to which a construction-in-progress cost is charged. -
CIPIdentifier: integer
(int64)
Title:
CIP Code Combination IDRead Only:trueThe identifier of the general ledger account to which a construction-in-progress cost is charged. -
CurrentAssetCost: number
Title:
Unrounded Grouped CostRead Only:trueThe project asset line's current cost. Split lines have a current cost that's greater or less than the original cost, but never equal to it. -
DepreciationExpenseAccountCombination: string
Title:
Depreciation Expense AccountRead Only:trueMaximum Length:255The depreciation expense account of the asset associated with the asset line. You may enter either this attribute, the depreciation expense account, or both. -
DepreciationExpenseIdentifier: integer
(int64)
Title:
Depreciation Expense IDRead Only:trueIdentifier of the depreciation expense account of the asset associated with the asset line. You may enter either this attribute, the depreciation expense account, or both. -
Description: string
Title:
Asset Line DescriptionRead Only:trueMaximum Length:255Description of the project asset line, derived from the CIP grouping method. -
FaPeriodName: string
Title:
Asset PeriodRead Only:trueMaximum Length:15Asset book depreciation calendar period name to which the asset cost was posted. -
InvoiceDate: string
(date)
Title:
Supplier Invoice DateRead Only:trueThe date on the supplier invoice. This value can either be provided while creating an invoice, or populated by default to the system date. -
InvoiceDistributionId: integer
(int64)
Title:
Supplier Invoice Line Distribution IDRead Only:trueThe unique number of a supplier invoice distribution line. -
InvoiceId: integer
(int64)
Title:
Supplier Invoice IDRead Only:trueThe identifier of the supplier invoice. -
InvoiceLineNumber: integer
(int64)
Title:
Supplier Invoice Line NumberRead Only:trueA line number on a supplier invoice. -
InvoiceNumber: string
Title:
Invoice NumberRead Only:trueMaximum Length:50Identifies the number of the Payables invoice that was imported as an expenditure item. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
NewMasterFlag: boolean
Title:
Override Category and DescriptionRead Only:trueMaximum Length:1The flag used to override a project asset line's asset category and description. -
OrgId: integer
(int64)
Title:
Business Unit IDRead Only:trueThe identifier of the business unit associated with a project asset line. -
OriginalAssetCost: number
Title:
Original AmountRead Only:trueThe original asset cost on the project asset line before it was split. -
OriginalAssetId: integer
(int64)
Title:
Original Asset IDRead Only:trueThe original asset identifier on the project asset line before it was split. -
PayablesBatchName: string
Title:
Supplier Invoice GroupRead Only:trueMaximum Length:50The unique name of the invoice group to which you can assign reporting and payment invoices. -
PONumber: string
Title:
Purchase OrderRead Only:trueMaximum Length:50The purchase order number entered by the user from Purchasing through Accounts Payable. -
POVendorId: integer
(int64)
Title:
Supplier IDRead Only:trueSupplier identifier received from Purchasing through Accounts Payable. -
ProjectAssetId: integer
(int64)
Title:
Project Asset IDRead Only:trueThe identifier of the asset assigned to the project asset line. Its value is 0 on unassigned lines. -
ProjectAssetLineDetailId: integer
(int64)
Title:
Project Asset Line Detail IDRead Only:trueThe identifier of the asset line detail linking this project asset line to cost distribution lines. -
ProjectAssetLineDetails: array
Project Asset Line Detail Identifier
Title:
Project Asset Line Detail IdentifierThe Project Asset Line Details resource is a child of the Project Asset Line resource. -
ProjectAssetLineId: integer
(int64)
Title:
Line NumberThe identifier of the project asset line. -
ProjectId: integer
(int64)
Title:
Project IDRead Only:trueThe identifier of the project to which the CIP cost was charged. -
ProjectName: string
Title:
Project NameRead Only:trueMaximum Length:240The name of the project to which the CIP cost was charged. -
ProjectNumber: string
Title:
Project NumberRead Only:trueMaximum Length:25The number of the project to which the CIP cost was charged. -
RetAdjustmentTransactionId: integer
(int64)
Title:
Asset Line Retirement Adjustment TransactionRead Only:trueThe transaction identifier of the group retirement adjustment transaction. -
RetirementCostType: string
Title:
Asset Line Retirement Cost TypeRead Only:trueMaximum Length:80Retirement cost classification of the project asset line. The two values available are Cost of Removal and Proceeds of Sale. -
RetirementCostTypeCode: string
Title:
Asset Line Retirement Cost Type CodeRead Only:trueMaximum Length:30Retirement cost classification code of the project asset line. The two values available are COR and POS. -
ReversedFromProjAssetLineId: integer
(int64)
Title:
Reversed from Project Asset Line IDRead Only:trueThe identifier of the project asset line that was reversed. -
ReversedProjAssetLineId: integer
(int64)
Title:
Reversed Asset LineRead Only:trueThe identifier of the asset line that's reversed by this project asset line. -
TaskId: integer
(int64)
Title:
Task IDRead Only:trueThe identifier of the task against which the CIP cost is charged. -
TaskName: string
Title:
Task NameRead Only:trueMaximum Length:255The name of the task against which the CIP cost is charged. -
TaskNumber: string
Title:
Task NumberRead Only:trueMaximum Length:100The number of the task against which the CIP cost is charged. -
TransferRejectionReason: string
Title:
Asset Line Rejection ReasonRead Only:trueMaximum Length:240The reason the line was rejected by the Interface Assets program. -
TransferRejectionReasonCode: string
Title:
Asset Line Rejection Reason CodeRead Only:trueMaximum Length:30The error code of the reason why the project asset line was rejected. -
TransferStatus: string
Title:
StatusRead Only:trueMaximum Length:80The asset line status that appears when cost information is transferred to Oracle Fixed Assets. The available values are Pending, Rejected, and Transferred. -
TransferStatusCode: string
Title:
Transfer Status CodeMaximum Length:1Transfer status code of the project asset line. This code indicates whether an asset line was successfully moved to Fixed Assets. Possible values are P for pending, R for rejected, and T for transferred. -
TransferStatusCodeSource: string
Read Only:
trueMaximum Length:30The name of the source that performed the update to the asset line transfer status from Transferred to Pending. The available values are REST and FBDI. -
UpdationSource: string
Read Only:
trueMaximum Length:30The name of the source that performed the update to the asset line. The available values are REST and FBDI. -
VendorNumber: string
Title:
Supplier NumberRead Only:trueMaximum Length:30The supplier number entered by the user from Purchasing through Payables.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Project Asset Line Detail Identifier
Type:
arrayTitle:
Project Asset Line Detail IdentifierThe Project Asset Line Details resource is a child of the Project Asset Line resource.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : projectAssetLines-ProjectAssetLineDetails-item-response
Type:
Show Source
object-
CIPCost: number
Title:
CIP CostRead Only:trueThe CIP cost amount from the associated cost distribution line. -
ExpenditureItemId: integer
(int64)
Title:
Transaction NumberRead Only:trueThe identifier of the expenditure item summarized into the project asset line. -
LineNumber: integer
(int64)
Title:
Line NumberRead Only:trueThe identifier of the cost distribution line summarized into the asset line. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ProjAssetLineDtlUniqId: integer
(int64)
Title:
Project Asset Line Unique Detail IDThe unique identifier of the project asset line details table. -
ProjectAssetLineDetailId: integer
(int64)
Title:
Project Asset Line Detail IDThe identifier of the asset line detail linking this project asset line to cost distribution lines. -
ReversedFlag: boolean
Title:
Reversed Asset Line FlagRead Only:trueMaximum Length:1Indicates if the asset line has been reversed.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- ProjectAssetLineDetails
-
Parameters:
- ProjectAssetLineId:
$request.path.ProjectAssetLineId
The Project Asset Line Details resource is a child of the Project Asset Line resource. - ProjectAssetLineId:
Examples
The following example shows how to get a project asset line associated with a project by submitting a GET request on the REST resource using cURL.
curl --user ppm_cloud_user https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectAssetLines/<PROJECTASSETLINEID>
Example of Response Body
The following shows an example of the response body in JSON format.
{
"ProjectAssetLineId": 1,
"AmortizeFlag": false,
"ApDistributionLineNumber": null,
"AssetCategoryId": null,
"AssetCategoryCombination": null,
"DepreciationExpenseIdentifier": 16534,
"DepreciationExpenseAccountCombination": "01-110-7320-000",
"CapitalEventId": -1,
"CIPIdentifier": 15681,
"CIPAccountCombination": "01-000-1580-000",
"CurrentAssetCost": 2497.5,
"Description": "ADMINISTRATIVE",
"FaPeriodName": "Jan-97",
"InvoiceDate": null,
"InvoiceDistributionId": null,
"InvoiceId": null,
"InvoiceLineNumber": null,
"InvoiceNumber": null,
"NewMasterFlag": null,
"OriginalAssetCost": 2497.5,
"OriginalAssetId": null,
"PayablesBatchName": null,
"PONumber": null,
"POVendorId": null,
"ProjectAssetId": 1,
"ProjectAssetLineDetailId": 1,
"RetAdjustmentTransactionId": null,
"RetirementCostTypeCode": null,
"RetirementCostType": null,
"ReversedFromProjAssetLineId": null,
"ReversedProjAssetLineId": null,
"VendorNumber": null,
"ProjectId": 1008,
"ProjectNumber": "Construction",
"ProjectName": "Construction",
"OrgId": 458,
"BusinessUnitName": "Vision Services",
"TaskId": 1045,
"TaskName": null,
"TaskNumber": null,
"AssetLineTypeCode": "C",
"AssetLineType": "Capital cost",
"TransferStatusCode": "T",
"TransferStatus": "Transferred",
"TransferRejectionReasonCode": null,
"TransferRejectionReason": null,
"UpdationSource": null,
"TransferStatusCodeSource": null,
"links": [
{
"rel": "self",
"href":
"https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectAssetLines/1",
"name": "projectAssetLines",
"kind": "item",
"properties": {
"changeIndicator":
"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D0300014
9000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657
212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657
286AC951D0B94E08B02000078700000000278"
}
},
{
"rel": "canonical",
"href":
"https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectAssetLines/1",
"name": "projectAssetLines",
"kind": "item"
},
{
"rel": "child",
"href":
"https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectAssetLines/1/child/ProjectAssetLineDetails",
"name": "ProjectAssetLineDetails",
"kind": "collection"
}
]
}