View packages - Intergraph Smart Engineering Manager - Help - Intergraph

Intergraph Smart Engineering Manager Smart API Help (Version 2)

PPMProduct
Intergraph Smart Engineering Manager
PPMCategory_custom
Help
Version_WebSEM
2.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/v2

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

Resource path strings are case-sensitive.

Sample URI

GET

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

Sample JSON response

A typical response to the request is:

{

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

"value": [

{

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

"Id": : "WebAPISite01_RefData",

"ConcurrencyToken": null,

"DisplayName": "WebAPISite01_RefData",

"PackageType": "RDSM",

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

"SiteName": "WebAPISite01",

"PlantName": "WebAPIPlant01",

"Applications": [

"Spel"

],

"WebApiVersion": "2.0.62"

}

]

}