POST usertemplate/SaveUserTemplate
Request Information
URI Parameters
None.
Body Parameters
UserTemplate| Name | Description | Type | Additional information |
|---|---|---|---|
| UserTemplateId | integer |
None. |
|
| TenantId | integer |
None. |
|
| TemplateName | string |
None. |
|
| UserType | integer |
None. |
|
| OperationalRoles | Collection of integer |
None. |
|
| ReportRoles | Collection of integer |
None. |
|
| AuthenticationMethod | integer |
None. |
|
| AppointmentBooking | integer |
None. |
|
| TimeoutPeriod | integer |
None. |
|
| Active | boolean |
None. |
|
| EnrollmentEmail | boolean |
None. |
|
| IsLsnMob | boolean |
None. |
|
| TrustedUser | boolean |
None. |
|
| BlockEmailSending | boolean |
None. |
|
| IsTemplateActive | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| CreateDate | date |
None. |
|
| ParentId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserTemplateId": 1,
"TenantId": 2,
"TemplateName": "sample string 3",
"UserType": 4,
"OperationalRoles": [
1,
2
],
"ReportRoles": [
1,
2
],
"AuthenticationMethod": 5,
"AppointmentBooking": 6,
"TimeoutPeriod": 7,
"Active": true,
"EnrollmentEmail": true,
"IsLsnMob": true,
"TrustedUser": true,
"BlockEmailSending": true,
"IsTemplateActive": true,
"CreatedBy": 14,
"CreateDate": "2026-04-17T11:36:28.7013094+00:00",
"ParentId": 1
}
text/html
Sample:
{"UserTemplateId":1,"TenantId":2,"TemplateName":"sample string 3","UserType":4,"OperationalRoles":[1,2],"ReportRoles":[1,2],"AuthenticationMethod":5,"AppointmentBooking":6,"TimeoutPeriod":7,"Active":true,"EnrollmentEmail":true,"IsLsnMob":true,"TrustedUser":true,"BlockEmailSending":true,"IsTemplateActive":true,"CreatedBy":14,"CreateDate":"2026-04-17T11:36:28.7013094+00:00","ParentId":1}
application/xml, text/xml
Sample:
<UserTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Users">
<Active>true</Active>
<AppointmentBooking>6</AppointmentBooking>
<AuthenticationMethod>5</AuthenticationMethod>
<BlockEmailSending>true</BlockEmailSending>
<CreateDate>2026-04-17T11:36:28.7013094+00:00</CreateDate>
<CreatedBy>14</CreatedBy>
<EnrollmentEmail>true</EnrollmentEmail>
<IsLsnMob>true</IsLsnMob>
<IsTemplateActive>true</IsTemplateActive>
<OperationalRoles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</OperationalRoles>
<ParentId>1</ParentId>
<ReportRoles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</ReportRoles>
<TemplateName>sample string 3</TemplateName>
<TenantId>2</TenantId>
<TimeoutPeriod>7</TimeoutPeriod>
<TrustedUser>true</TrustedUser>
<UserTemplateId>1</UserTemplateId>
<UserType>4</UserType>
</UserTemplate>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.