View MIR Results - Intergraph Smart Materials - Version 2017 (2.0) - Help - Hexagon PPM

Intergraph Smart Materials Web API Help 2017 (2.0)

PPMProduct
Intergraph Smart Materials
PPMCategory_custom
Help

Name and Description

View MIR Results – This API shows the result of the posted MIR.

URL Format

/Projects (':project')/Disciplines(':discipline')/Nls(':language')/ IssuingHeaders({key})/Com.Ingr.Smat.V1.IssuingResults/

Specify values for project, discipline, language and key parameters in the URL. The first three values together define a project environment in which the forecast header is created. The key parameter defines the MIR header id, for which the result is shown.

Use the following read-only APIs to get the available values for each parameter.

/Projects,

/projects(':project')/Disciplines,

/projects(':project')/Disciplines(':discipline')/nls

URL Parameter

:project, :discipline, :language, :key

Method

GET

Required Privilege

API_GET_MIR_RESULTS

Data Parameter

There is no payload required for this operation.

Success Response

<Function Name="IssuingResults" IsBound="true">

<Parameter Name="bindingParameter" Type="Com.Ingr.Smat.Core.V1.IssuingHeader"/>

<ReturnType Type="Com.Ingr.Smat.Core.V1.MirRslt"/>

</Function>

Following is the Return type:

<ComplexType Name="MirRslt">

<Property Name="RevisionId" Type="Edm.Decimal"/>

<Property Name="IdentDeviation" Type="Edm.String"/>

<Property Name="Ident" Type="Edm.Decimal"/>

<Property Name="IisIssueQty" Type="Edm.Decimal"/>

<Property Name="LpQty" Type="Edm.Decimal"/>

<Property Name="ProjId" Type="Edm.String"/>

<Property Name="UnitId" Type="Edm.Decimal"/>

<Property Name="LpPos" Type="Edm.String"/>

<Property Name="LpId" Type="Edm.Decimal"/>

<Property Name="LpTagNumber" Type="Edm.String"/>

<Property Name="LocId" Type="Edm.Decimal"/>

<Property Name="SmstId" Type="Edm.Decimal"/>

<Property Name="IviTagNumber" Type="Edm.String"/>

<Property Name="LnId" Type="Edm.Decimal"/>

<Property Name="IssId" Type="Edm.Decimal"/>

<Property Name="WhId" Type="Edm.Decimal"/>

<Property Name="IdentCode" Type="Edm.String"/>

<Property Name="HeatId" Type="Edm.Decimal"/>

<Property Name="LpResvQty" Type="Edm.Decimal"/>

<Property Name="IviId" Type="Edm.Decimal"/>

<Property Name="OverissueQty" Type="Edm.Decimal"/>

<Property Name="SasId" Type="Edm.Decimal"/>

<Property Name="MirNumber" Type="Edm.String"/>

<Property Name="LnCode" Type="Edm.String"/>

<Property Name="LpIssueQty" Type="Edm.Decimal"/>

<Property Name="MirId" Type="Edm.Decimal"/>

<Property Name="PlateId" Type="Edm.Decimal"/>

<Property Name="BomPath" Type="Edm.String"/>

</ComplexType>

HTTP status code sent back to client on the API execution success: 
Code: 200 OK

Content:

{

"@odata.context": "http://{host}/SMAT/V1/$metadata#Collection(Com.Ingr.Smat.Core.V1.MirRslt)",

"value": [

{

"RevisionId": 1,

"IdentDeviation": null,

"Ident": 52429440,

"IisIssueQty": 10,

"LpQty": 10,

"ProjId": "AB",

"UnitId": 500127,

"LpPos": "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"

},

{

"RevisionId": 1,

"IdentDeviation": null,

"Ident": 52429438,

"IisIssueQty": 5,

"LpQty": 10,

"ProjId": "AB",

"UnitId": 500127,

"LpPos": "10",

"LpId": 5981542,

"LpTagNumber": null,

"LocId": 5381,

"SmstId": 5281,

"IviTagNumber": "---",

"LnId": 285230,

"IssId": 20077,

"WhId": 5921,

"IdentCode": "I52429438",

"HeatId": null,

"LpResvQty": 0,

"IviId": 26207,

"OverissueQty": 0,

"SasId": null,

"MirNumber": "ASW-0002",

"LnCode": "TR-MA6778",

"LpIssueQty": 5,

"MirId": 16870,

"PlateId": null,

"BomPath": "ASTRID/TR-MA6778"

}

]

}

Error Response

This API may fail with the following error messages:

Error Code: 401 Unauthorized

Content:

{

"error": {

"code": "",

"message": "Authorization has been denied for this request." }

}

Notes