POST api/AdminTemplate/AddAdminTemplate

Request Information

URI Parameters

None.

Body Parameters

AdminTemplateDto
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Code

string

None.

ValueType

integer

None.

CreatedDate

date

None.

CreatedBy

integer

None.

Active

boolean

None.

TenantId

integer

None.

IsJointMarking

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Code": "sample string 3",
  "ValueType": 1,
  "CreatedDate": "2026-04-22T15:56:00.1300758+05:30",
  "CreatedBy": 1,
  "Active": true,
  "TenantId": 1,
  "IsJointMarking": true
}

application/xml, text/xml

Sample:
<AdminTemplateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Parihaar.Models">
  <Active>true</Active>
  <Code>sample string 3</Code>
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2026-04-22T15:56:00.1300758+05:30</CreatedDate>
  <Id>1</Id>
  <IsJointMarking>true</IsJointMarking>
  <Name>sample string 2</Name>
  <TenantId>1</TenantId>
  <ValueType>1</ValueType>
</AdminTemplateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.