Upload site package - Intergraph Smart Engineering Manager - 4.0 - Customization & Programming - Hexagon

Intergraph Smart Engineering Manager Web API Help

Language
English
Product
Intergraph Smart Engineering Manager
Subproduct
Web API
Search by Category
Customization & Programming
Smart Engineering Manager Web Version
4.0

This request allows you to upload a package to the site backup location. Packages are created when you execute the following requests:

Use the PUT method to upload packages with the following inputs:

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

  • Resource path: /Sites('<Site Name>')/Packages('<Base 64 Package Name>')/Com.Ingr.Sem.V2.Package/$value

    • Resource path strings are case-sensitive.

    • You can choose to encode the package name using Base64. The encoded name becomes the package ID that will be used in future requests. For details on how to encode the package name, see Perform Base 64 encoding for packages.

  • Set the Content-Type header to application/octet-stream

Sample URI

PUT

https://WebApiServer1.APIServerDomain.com/sem-webapi/sem/v4/Sites('WebAPISite01')/Packages('UElEUGFja2FnZV8wMQ==')Com.Ingr.Sem.V2.Package/$value

  1. In the Body tab, select the binary option.

  2. Select Select file > New file from local machine.

  3. In the dialog box, navigate to the folder and select the .zip package file that you want to upload.

  4. Select Send.