View site packages - Intergraph Smart Engineering Manager - 3.0 - Help - Hexagon PPM

Intergraph Smart Engineering Manager Web API Help

Language
English (United States)
Product
Intergraph Smart Engineering Manager
Search by Category
Help
Smart Engineering Manager Web Version
3.0

This request allows you to view all the packages in a given site backup location. Packages are created when you run the following requests:

Use the GET method to view packages with the following input:

  • Service Root URI: https://<Server Name>/<IIS Application Name>/sem/v3

  • Resource path: /Sites('<Site Name>')/Packages

Resource path strings are case-sensitive.

Sample URI

GET

https://WebApiServer1.APIServerDomain.com/sem-webapi/sem/v3/Sites('WebAPISite01')/Packages

Sample JSON response

A typical response to the request is:

{

"@odata.context": "https://WebApiServer1.APIServerDomain.com/sem-webapi/sem/v3/$metadata#Sites('WebAPISite01')/Packages",

"value": [

{

"@odata.mediaContentType": "application/octet-stream",

"Id": : "PIDPackageof_WebAPIPlant_01",

"ConcurrencyToken": null,

"DisplayName": "PIDPackageof_WebAPIPlant_01",

"PackageType": "RDSM",

"DateCreated": "2018-11-18T08:58:11Z",

"SiteName": "WebAPISite01",

"PlantName": "WebAPIPlant01",

"Applications": [

"Spel"

],

"WebApiVersion": "2.0.62"

}

]

}