POST api/templates/import
Imports a template.
Request Information
URI Parameters
None.
Body Parameters
The model to import the template with.
TemplateImportDto| Name | Description | Type | Additional information |
|---|---|---|---|
| GemTemplateBytes | Collection of byte |
None. |
|
| DeleteSecurityGroupId | globally unique identifier |
None. |
|
| EditSecurityGroupId | globally unique identifier |
None. |
|
| ViewSecurityGroupId | globally unique identifier |
None. |
|
| BusinessAreaId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"GemTemplateBytes": "QEA=",
"DeleteSecurityGroupId": "17469137-9391-4977-b4af-198f1d4b3630",
"EditSecurityGroupId": "2dff89c0-6d71-449e-b140-439022f79b0c",
"ViewSecurityGroupId": "79f2404d-3f14-458c-98b9-0ec67bbf4b58",
"BusinessAreaId": "0a3daf52-5bfb-4d3e-ade5-24e1d9a3c48a"
}
application/xml, text/xml
Sample:
<TemplateImportDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Template.Models"> <BusinessAreaId>0a3daf52-5bfb-4d3e-ade5-24e1d9a3c48a</BusinessAreaId> <DeleteSecurityGroupId>17469137-9391-4977-b4af-198f1d4b3630</DeleteSecurityGroupId> <EditSecurityGroupId>2dff89c0-6d71-449e-b140-439022f79b0c</EditSecurityGroupId> <GemTemplateBytes>QEA=</GemTemplateBytes> <ViewSecurityGroupId>79f2404d-3f14-458c-98b9-0ec67bbf4b58</ViewSecurityGroupId> </TemplateImportDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.