This API retrieves all the inquiry details of an ident, from a project in Smart Materials.
Required Privilege: API_ITEM_DETAILS
Headers
Header Name |
Description |
Required |
Values |
---|---|---|---|
Authorization |
Access token |
Required |
Bearer <access_token> |
Content-Type |
Request type format |
Required |
application/JSON |
Body
HTTP Method: GET
URL Format:
https://{host}/Smat/V1/Projects(':project')/Disciplines(':discipline')/Nls(':language')/Idents({ident})/InquiryTotalDetails()
Specify values for the project, discipline, language, and key parameter in the URL. The project, discipline, and language, together define the project environment. The key parameter defines the ident.
Sample Code
Get https://in-smatapi.ingrnet.com/Current/smat/v1/Projects('DEMO')/Disciplines('PIPING')/Nls('English')/Idents(10000372535)/InquiryTotalDetails()
Success Response
Status: 200OK
{
"@odata.context": http://localhost:53427/SMAT/V1/$metadata#Collection(Com.Ingr.Smat.V1.RequisitionLineItem),
"value": [
{
"RliId": 10000816179,
"ProjId": "RS",
"DpId": 5020,
"RId": 10000136798,
"Position": 1,
"SubPosition": 1,
"ProcSequence": null,
"MarkingForDeleteInd": "N",
"KeepManInd": "N",
"NotesInd": "N",
"Ident": 10000372535,
"TagNumber": "---",
"CommodityId": 10000135850,
"ItyId": 500018,
"ItemRule": "SOT",
"NewListQty": 0,
"ReleasedQty": 100,
"QuantityUnitId": 502322,
"ReleaseQtyUnitId": 502322,
"WeightUnitId": 505467,
"IncreasedQty": 100,
"RecommendQty": 0,
"AssemblyQty": 0,
"LastListQty": 0,
"LastReleasedQty": 0,
"CorporateWarehouseQty": 0,
"FIMQty": 0,
"POQuantity": 0,
"TotalPOQty": 0,
"NotApprovedPOQty": 0,
"ReceivedQtyPosted": 0,
"DirectReceivedQty": 0,
"ROSDate": "2022-05-24T00:00:00+05:30",
"ActivityId": null,
"ProcureChannel": null,
"InqId": 10000053094,
"InquiryCode": "RS-PIPING-005643-SUP0",
"InquirySequence": 1,
"InquiryQty": 0,
"TechEvalRequiredInd": "N",
"AllowRTPInd": "Y",
"ForceRTPInd": "N",
"MSLinkInd": "N",
"UnitWeight": 0,
"TotalWeight": 0,
"Budget": 0,
"CurrencyId": 500391,
"DdId": 10000001312,
"AccountCodeId": null,
"Comment": null,
"GroupedBy": null,
"NonIdentCollapseCrit": null,
"CumulatedWeight": 0,
"CumulatedWeightUnit": null,
"ApproverName": null,
"RentalStartDate": null,
"RentalEndDate": null,
"ValidPeriod": null,
"Interval": "Days"
}
]
}
Element |
Description |
Type |
---|---|---|
RliId |
Unique ID of the requisition line item |
Integer |
ProjId |
Unique ID of the project to which the retrieved requisition line item belongs |
String |
RId |
Unique ID of the requisition to which these items belong |
Integer |
Position |
Position or line item number of the requisition line item |
Integer |
SubPosition |
Sub-Position or sub line item number of the requisition line item |
Integer |
CommodityId |
Commodity code of the material of this line item |
String |
NewListQty |
Refers to the real quantity calculated by the MTO, |
Decimal |
ReceivedQtyPosted |
Refers to the sum of all received quantities for the given requisition line item. |
Decimal |
DirectReceivedQty |
Refers to the sum of the posted direct received quantities for the ident. |
Decimal |
FIMQty |
Quantity currently available for the material on this line item |
Decimal |
NotesInd |
Indicates whether the notes are assigned to the engineering requisition or not. |
String |
CorporateWarehouseQty |
Quantity currently available for the material on this line item |
Decimal |
IncreasedQty |
Increased quantity for the material on this line item. Total Release Quantity - Last Release Quantity. |
Decimal |
ApproverName |
Name of the user who has approved this engineering requisition line item |
String |
InquirySequence |
Order sequence of the requisition line item on the related inquiry |
Integer |
MSLinkInd |
Indicates whether a link to a planned tagged item exists or not. |
String |
CumulatedWeight |
The cumulated weight for all the idents that made up this line item (non ident MTO). |
Decimal |
CumulatedWeightUnit |
Weight unit of the cumulated weight |
String |
TotalWeight |
The weight of this requisition position. (Ident Unit Weight) * (Total Release Quantity). |
Decimal |
NonIdentCollapseCrit |
The group value on which the collapsing was based for |
String |
DpId |
Unique ID of the discipline to which the retrieved requisition line item belongs |
Integer |
CurrencyId |
Unique ID of the currency |
Integer |
Budget |
Budget value of this line item |
Decimal |
ReleasedQty |
Total quantity that a user wants to order by procurement |
Decimal |
LastReleasedQty |
Refers to the total quantity that the technical engineer sent to procurement |
Decimal |
LastListQty |
Refers to the real quantity, calculated by the MTO for the previous supplement. |
Decimal |
RecommendQty |
Quantity recommended based on the disposition rules |
Decimal |
AssemblyQty |
Quantity derived from the assemblies. |
Decimal |
InquiryQty |
Quantity that is inquired by the user. |
Decimal |
POQuantity |
Refers to the quantity of the item that the procurement |
Decimal |
TotalPOQty |
Sum of the agreement quantities for the ident in the requisition cycle |
Decimal |
NotApprovedPOQty |
Sum of not approved agreement quantities for the ident in the requisition cycle |
Decimal |
UnitWeight |
The weight of this requisition line item and is calculated by the MTO (together with
the weight unit) |
Decimal |
TechEvalRequiredInd |
Indicates whether the position must be evaluated technically by an engineer or not.
|
String |
AllowRTPInd |
Indicates whether this position can be released to procurement or not. |
String |
ForceRTPInd |
Available values are Y and N.
|
String |
TagNumber |
Tag number of a specific ident |
String |
GroupedBy |
The group criterion on which the collapsing was based for |
String |
MarkingForDeleteInd |
Indicates whether the line item is marked for deletion or not. |
String |
Ident |
Ident code for the ident placed on this line item |
Integer |
ItyId |
Unique ID of the item type |
Integer |
InqId |
Unique ID of the inquiry on which the requisition line item is placed |
Integer |
DdId |
Unique ID of th delivery designation |
Integer |
ROSDate |
Estimated date when the item is required on site |
Date Time Offset |
ProcureChannel |
Used only if the material on this position is not |
String |
ProcSequence |
Order sequence number used for tracking of |
Integer |
RentalStartDate |
Holds the start date of the rental order line item |
Date Time Offset |
RentalEndDate |
Holds the end date of the rental order line item |
Date Time Offset |
Interval |
Used for calculating the valid period for the unit price |
String |
ValidPeriod |
Valid period for the price per quantity |
Integer |
InquiryCode |
Unique name of the inquiry |
String |
KeepManInd |
Indicates whether the line item has been marked for keep as manual requisition line
item or not. |
String |
Comment |
Any user defined comment related to the line item |
String |