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": "bd67033c-1844-4709-980c-487f97ad40f3",
"EditSecurityGroupId": "22acd326-0a6a-4726-a498-19ddaa234dbf",
"ViewSecurityGroupId": "46a17626-72bc-4afc-9d98-78a4189927fe",
"BusinessAreaId": "6ff4bd8e-9b8c-4eab-8ed9-800ec3464b9e"
}
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>6ff4bd8e-9b8c-4eab-8ed9-800ec3464b9e</BusinessAreaId> <DeleteSecurityGroupId>bd67033c-1844-4709-980c-487f97ad40f3</DeleteSecurityGroupId> <EditSecurityGroupId>22acd326-0a6a-4726-a498-19ddaa234dbf</EditSecurityGroupId> <GemTemplateBytes>QEA=</GemTemplateBytes> <ViewSecurityGroupId>46a17626-72bc-4afc-9d98-78a4189927fe</ViewSecurityGroupId> </TemplateImportDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.