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

MaterialTransferRpts - All material transfer reports are returned

URL Format

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

URL Parameter

:project, :discipline, :language

Data Parameter

None

Method

GET

Required Privilege

API_READONLY

Success Response

Response Metadata:

<EntityType Name="MatlTransferRpt">

<Key>

<PropertyRef Name="MtrId"/>

</Key>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

</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}')/MaterialTransferRpts",

"value": [

{

MtrId: 5021,

ProjId: "RS",

DpId: 5020,

MtrNumber: "RW000001",

MtrCreateDate: "2006-05-16T00:00:00+05:30",

TransferDate: "2006-05-16T00:00:00+05:30",

EtaDate: null,

FahId: null,

LocId: null,

WhId: 5082,

PostedDate: null,

TransferedBy: null,

ShipperRef: null,

MtrType: "R",

MtrStatus: null,

MarLogfileName: null,

BnlId: null

},

{

MtrId: 5041,

ProjId: "RS",

DpId: 5020,

MtrNumber: "RW000002",

MtrCreateDate: "2006-06-29T00:00:00+05:30",

TransferDate: "2006-06-29T00:00:00+05:30",

EtaDate: null,

FahId: null,

LocId: null,

WhId: 5082,

PostedDate: "2006-06-29T15:19:31+05:30",

TransferedBy: "dst",

ShipperRef: null,

MtrType: "N",

MtrStatus: null,

MarLogfileName: null,

BnlId: 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