POST api/Template/SaveCategory
Request Information
URI Parameters
None.
Body Parameters
TemplateCategoryApiModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| EncId | string |
None. |
|
| UserId | integer |
Required |
|
| UserEncId | string |
Required |
|
| CategoryName | string |
Required String length: inclusive between 0 and 100 |
|
| ParentCategoryId | integer |
None. |
|
| ParentCategoryEncId | string |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatorName | string |
Required String length: inclusive between 0 and 100 |
|
| CreatedDate | date |
None. |
|
| CategoryType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"EncId": "sample string 2",
"UserId": 3,
"UserEncId": "sample string 4",
"CategoryName": "sample string 5",
"ParentCategoryId": 6,
"ParentCategoryEncId": "sample string 7",
"CreatedBy": 8,
"CreatorName": "sample string 9",
"CreatedDate": "2025-10-29T12:30:38.2357549+00:00",
"CategoryType": 11
}
application/xml, text/xml
Sample:
<TemplateCategoryApiModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>1</Id> <EncId>sample string 2</EncId> <UserId>3</UserId> <UserEncId>sample string 4</UserEncId> <CategoryName>sample string 5</CategoryName> <ParentCategoryId>6</ParentCategoryId> <ParentCategoryEncId>sample string 7</ParentCategoryEncId> <CreatedBy>8</CreatedBy> <CreatorName>sample string 9</CreatorName> <CreatedDate>2025-10-29T12:30:38.2357549+00:00</CreatedDate> <CategoryType>11</CategoryType> </TemplateCategoryApiModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.