MaterialIssueRpts - 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

MaterialIssueRpts - All material issue reports are returned

URL Format

https://{host}/Smat/V1/Projects(‘:project’)/Disciplines(‘:discipline’)/Nls(‘:language’)/MaterialIssueRpts

URL Parameter

:project, :discipline, :language

Data Parameter

None

Method

GET

Required Privilege

API_READONLY

Success Response

Response Metadata:

<EntityType Name="MatlIssueRpt">

<Key>

<PropertyRef Name="MirId"/>

</Key>

<Property Name="MirId" Type="Edm.Int64" Nullable="false"/>

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

<Property Name="DpId" Type="Edm.Int64"/>

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

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

<Property Name="MirCreateDate" Type="Edm.DateTimeOffset"/>

<Property Name="FahId" Type="Edm.Int64"/>

<Property Name="PostedDate" Type="Edm.DateTimeOffset"/>

<Property Name="IssueDate" Type="Edm.DateTimeOffset"/>

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

<Property Name="CompanyId" Type="Edm.Int64"/>

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

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

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

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

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

<Property Name="CommodityId" Type="Edm.Int64"/>

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

<Property Name="BnlId" Type="Edm.Int64"/>

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

</EntityType>

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

Content:

{

"@odata.context": "https://{host}/Smat/V1/$metadata#Projects('{project}')/Disciplines('{discipline}')/Nls('{nls}')/MaterialIssueRpts",

"value": [

{

MirId: 5046,

ProjId: "RS",

DpId: 5020,

MirNumber: "RW000002",

RevisionId: 0,

MirCreateDate: "2006-05-17T00:00:00+05:30",

FahId: null,

PostedDate: "2006-05-17T00:00:00+05:30",

IssueDate: "2006-05-17T00:00:00+05:30",

IssueBy: null,

CompanyId: 5265,

WhId: 5081,

LocId: 5081,

MirType: "B",

IssueType: "R",

DirectIssueType: null,

CommodityId: null,

Ident: null,

BnlId: null,

TagNumber: null

},

{

MirId: 5066,

ProjId: "RS",

DpId: 5020,

MirNumber: "RW000003",

RevisionId: 0,

MirCreateDate: "2006-05-17T00:00:00+05:30",

FahId: null,

PostedDate: "2007-01-02T00:00:00+05:30",

IssueDate: "2006-05-17T00:00:00+05:30",

IssueBy: "dst",

CompanyId: 5265,

WhId: 5081,

LocId: 5081,

MirType: "I",

IssueType: "R",

DirectIssueType: null,

CommodityId: 2531424,

Ident: 4760535,

BnlId: null,

TagNumber: null

}]

}

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