This request allows you to create a reference data package for the current plant for use when the source plant is not available online. The package is saved in the site backup folder.
Use the POST method to create a reference data package with the following input:
-
Service Root URI: https://<Server Name>/<IIS Application Name>/sem/v4
-
Resource path: /Sites('<Site Name>')/Plants('<Plant Name>')/Applications('<Application>')/Com.Ingr.Sem.v2.CreatePackage/
-
Resource path strings are case-sensitive.
-
The backslash at the end of the resource path is mandatory.
-
A reference data package file name must include only the following characters: Unicode characters (any language), numbers (0-9), spaces, underscores (_) and hyphens (-).
Sample URI
POST
https://WebApiServer1.APIServerDomain.com/sem-webapi/sem/v4/Sites('WebAPISite01')/Plants('WebAPIPlant01')/Applications('Sppid')/Com.Ingr.Sem.V2.CreatePackage/
The API returns the package file name and folder path when the request is successful.
Sample JSON request
{
"packageFileName": "PIDPackageof_WebAPIPlant01"
}
JSON request parameter
|
Parameter |
Value |
Description and Comments |
|---|---|---|
|
packageFileName |
<Package name> |
Name of the package to be created. |