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/v3
-
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/v3/Sites('WebAPISite01')/Packages('UElEUGFja2FnZV8wMQ==')Com.Ingr.Sem.V2.Package/$value
-
In the Body tab, select the binary option.
-
Select Select file > New file from local machine.
-
In the dialog box, navigate to the folder and select the .zip package file that you want to upload.
-
Select Send.