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": "927bf5fc-60f9-41b3-819f-ae8b845b5ed9",
  "FileTemplateString": "sample string 2",
  "Lastchanged": "2025-12-27T03:41:03.7518972+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-12-27T03:41:03.7518972+00:00</Lastchanged>
  <TemplateId>927bf5fc-60f9-41b3-819f-ae8b845b5ed9</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": "183227d6-3206-4c99-bf49-6ecb0e44decb",
  "AppTemplateFile": "QEA=",
  "LastChanged": "2025-12-27T03:41:03.7518972+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>183227d6-3206-4c99-bf49-6ecb0e44decb</AppTemplateId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-12-27T03:41:03.7518972+00:00</LastChanged>
</AppTemplates>