POST api/CompanyStatTemplates/TemplateFromString

Post CompanyStatTemplateFromString (used in WEB verion of Jello )

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": "df117a16-9aa9-43a8-a528-d5a55e0c8a3f",
  "FileTemplateString": "sample string 2",
  "Lastchanged": "2026-02-22T11:43:46.4860553+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>2026-02-22T11:43:46.4860553+00:00</Lastchanged>
  <TemplateId>df117a16-9aa9-43a8-a528-d5a55e0c8a3f</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

UserTemplate
NameDescriptionTypeAdditional information
UserTemplateId

globally unique identifier

None.

UserTemplateFile

Collection of byte

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "UserTemplateId": "db346537-1db7-4241-a9c0-50f8d6080724",
  "UserTemplateFile": "QEA=",
  "LastChanged": "2026-02-22T11:43:46.4860553+00:00",
  "LastChange_AuthorId": 1
}

application/xml, text/xml

Sample:
<UserTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2026-02-22T11:43:46.4860553+00:00</LastChanged>
  <UserTemplateFile>QEA=</UserTemplateFile>
  <UserTemplateId>db346537-1db7-4241-a9c0-50f8d6080724</UserTemplateId>
</UserTemplate>