POST api/Apptemplates/TemplateFromString

Post AppTemplate from a x64 encoded string

Request Information

URI Parameters

None.

Body Parameters

FromStringTemplateModel
NameDescriptionTypeAdditional information
TemplateId

globally unique identifier

None.

FileTemplateString

string

None.

Lastchanged

date

None.

Request Formats

application/json, text/json

Sample:
{
  "TemplateId": "a029470c-92c9-438a-9ff5-5e9f8995187b",
  "FileTemplateString": "sample string 2",
  "Lastchanged": "2025-08-14T03:12:10.4077014+00:00"
}

application/xml, text/xml

Sample:
<FromStringTemplateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <FileTemplateString>sample string 2</FileTemplateString>
  <Lastchanged>2025-08-14T03:12:10.4077014+00:00</Lastchanged>
  <TemplateId>a029470c-92c9-438a-9ff5-5e9f8995187b</TemplateId>
</FromStringTemplateModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FromStringTemplateModel'.

Response Information

Resource Description

AppTemplates
NameDescriptionTypeAdditional information
AppTemplateId

globally unique identifier

None.

AppTemplateFile

Collection of byte

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "AppTemplateId": "bc2d1394-b9a0-4882-82fc-1fcd2e2266a7",
  "AppTemplateFile": "QEA=",
  "LastChanged": "2025-08-14T03:12:10.4077014+00:00",
  "LastChange_AuthorId": 1
}

application/xml, text/xml

Sample:
<AppTemplates xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <AppTemplateFile>QEA=</AppTemplateFile>
  <AppTemplateId>bc2d1394-b9a0-4882-82fc-1fcd2e2266a7</AppTemplateId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:12:10.4077014+00:00</LastChanged>
</AppTemplates>