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": "d8b27a91-eeda-4e91-ab96-2826327d2dcc",
  "UserTemplateFile": "QEA=",
  "LastChanged": "2025-08-14T03:13:13.0376262+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:13:13.0376262+00:00</LastChanged>
  <UserTemplateFile>QEA=</UserTemplateFile>
  <UserTemplateId>d8b27a91-eeda-4e91-ab96-2826327d2dcc</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": "d7a34f12-2767-42f8-9f0b-ac71f9407fbb",
  "UserTemplateFile": "QEA=",
  "LastChanged": "2025-08-14T03:13:13.0376262+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:13:13.0376262+00:00</LastChanged>
  <UserTemplateFile>QEA=</UserTemplateFile>
  <UserTemplateId>d7a34f12-2767-42f8-9f0b-ac71f9407fbb</UserTemplateId>
</UserTemplate>