This API retrieves the results of a Material Issue Report (MIR) from Smart Materials.
Required Privilege: API_GET_MIR_RESULTS
Headers
Header Name |
Description |
Required |
Values |
---|---|---|---|
Authorization |
Access token |
Required |
Bearer <access_token> |
Content-Type |
Request type format |
Required |
application/JSON |
Body
URL Format: GET https://localhost:53965/SMAT/V1/Projects(':project')/Disciplines(':discipline')/Nls(':language')/ IssueReports({key})/Com.Ingr.Smat.V1.IssuingResults/
Specify the 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 MIR ID (MirId).
Sample Code
GET https://localhost:53965/SMAT/V1//Projects('AB')/Disciplines('PIPING')/Nls('English')/IssueReports(4567)/Com.Ingr.Smat.V1.IssuingResults/
Success Response
Status: 200 OK
{
"@odata.context": "https://{host}/SMAT/V1/$metadata#Collection(Com.Ingr.Smat.Core.V1.MirResult)",
"value": [
{
"RevisionId":1,
"IdentDeviation":null,
"Ident":52429440,
"IisIssueQty":10,
"LpQty":10,
"ProjId":"AB",
"UnitId":500127,
"ListPosition":"20",
"LpId":5981543,
"LpTagNumber":null,
"LocId":5381,
"SmstId":5281,
"IviTagNumber":"---",
"LnId":285230,
"IssId":20076,
"WhId":5921,
"IdentCode":"I52429440",
"HeatId":null,
"LpResvQty":0,
"IviId":26032,
"OverissueQty":0,
"SasId":null,
"MirNumber":"ASW-0002",
"LnCode":"TR-MA6778",
"LpIssueQty":10,
"MirId":16870,
"PlateId":null,
"BomPath":"ASTRID/TR-MA6778"
}]
}
Element |
Description |
Type |
---|---|---|
RevisonId |
Unique ID of the revision number of the current MIR. Default value is 0. |
Decimal |
IdentDeviation |
Ident deviation for the selected item |
String |
Ident |
Ident number |
Decimal |
LisIssueQty |
List issue quantity |
Decimal |
LpQty |
List position quantity |
Decimal |
ProjId |
Unique ID of the Project. Retrieved MIR belongs to this Project. |
String |
UnitId |
Unique ID of the unit |
Decimal |
ListPosition |
List position for which the inventory material is reserved |
String |
LpId |
Unique ID of the list position |
Decimal |
LpTagNumber |
Tag number of the list position |
String |
LocId |
Unique ID of the location |
Decimal |
SmstId |
Unique ID of the site material status |
Decimal |
IviTagNumber |
Tag number of the inventory item |
String |
LnId |
Unique ID of the list node |
Decimal |
IssId |
Unique ID of the inventory issue |
Decimal |
WhId |
Unique ID of the warehouse |
Decimal |
IdentCode |
Name of the ident |
String |
HeatId |
Unique ID of the heat |
Decimal |
LpResvQty |
Reserved quantity for the list position |
Decimal |
Ivild |
Unique ID of the inventory item |
Decimal |
OverissueQty |
Over issued quantity of the items |
Decimal |
SasId |
Unique ID of the site attribute set |
Decimal |
MirNumber |
Name of the MIR |
String |
LnCode |
Name of the list node |
String |
LpIssueQty |
Issued quantity for the list position |
Decimal |
MirId |
Unique ID of the MIR |
Decimal |
PlateId |
Unique ID of the plate |
Decimal |
BomPath |
BOM path of the list node |
String |