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

InvTransfers - All inventory transfers are returned

URL Format

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

URL Parameter

:project, :discipline, :language

Data Parameter

None

Method

GET

Required Privilege

API_READONLY

Success Response

Response Metadata:

<EntityType Name="InvTransfer">

<Key>

<PropertyRef Name="ItrId"/>

</Key>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

<Property Name="ApoliId" 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}')/InvTransfers",

"value": [

{

ItrId: 5061,

ProjId: "RS",

MtrId: 5021,

IviId: 5161,

WhId: null,

LocId: null,

SmstId: null,

DpId: 5020,

ItrQty: 12.234,

ItrComment: null,

IvprId: null,

TargetIviId: 5161,

BnlId: null,

IisId: null,

ApoliId: null

},

{

ItrId: 5082,

ProjId: "RS",

MtrId: 5041,

IviId: 5341,

WhId: 5141,

LocId: 5082,

SmstId: 5040,

DpId: 5020,

ItrQty: 1,

ItrComment: null,

IvprId: null,

TargetIviId: 5361,

BnlId: null,

IisId: null,

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