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": "c08ba4ed-6aab-4022-9f51-08283f31bd9d",
  "FileTemplateString": "sample string 2",
  "Lastchanged": "2025-08-14T03:14:33.2930511+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:14:33.2930511+00:00</Lastchanged>
  <TemplateId>c08ba4ed-6aab-4022-9f51-08283f31bd9d</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": "3184b74f-239f-490b-86e2-3743bfcf3ce3",
  "UserTemplateFile": "QEA=",
  "LastChanged": "2025-08-14T03:14:33.2930511+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>2025-08-14T03:14:33.2930511+00:00</LastChanged>
  <UserTemplateFile>QEA=</UserTemplateFile>
  <UserTemplateId>3184b74f-239f-490b-86e2-3743bfcf3ce3</UserTemplateId>
</UserTemplate>