POST api/UserTemplates/PostUserTemplate

Request Information

URI Parameters

None.

Body Parameters

UserTemplate
NameDescriptionTypeAdditional information
UserTemplateId

globally unique identifier

None.

UserTemplateFile

Collection of byte

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserTemplateId": "ba94cb16-fc4b-433f-83c2-5085807f90f9",
  "UserTemplateFile": "QEA=",
  "LastChanged": "2026-02-22T13:48:34.3313789+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-22T13:48:34.3313789+00:00</LastChanged>
  <UserTemplateFile>QEA=</UserTemplateFile>
  <UserTemplateId>ba94cb16-fc4b-433f-83c2-5085807f90f9</UserTemplateId>
</UserTemplate>

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 'UserTemplate'.

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": "e1b08af1-6f6b-4d16-a44e-fedcdadde0b7",
  "UserTemplateFile": "QEA=",
  "LastChanged": "2026-02-22T13:48:34.3313789+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-22T13:48:34.3313789+00:00</LastChanged>
  <UserTemplateFile>QEA=</UserTemplateFile>
  <UserTemplateId>e1b08af1-6f6b-4d16-a44e-fedcdadde0b7</UserTemplateId>
</UserTemplate>