POST api/category
Request Information
URI Parameters
None.
Body Parameters
TK_OfferingsCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| categoryId | integer |
None. |
|
| categoryName | string |
None. |
|
| categoryNameMa | string |
None. |
|
| categoryNameTa | string |
None. |
|
| categoryNameTe | string |
None. |
|
| categoryNameKa | string |
None. |
|
| categoryNameHi | string |
None. |
|
| categoryCompanyId | integer |
None. |
|
| categoryCreatedDate | date |
None. |
|
| CategoryCreatedBy | integer |
None. |
|
| CategoryModifiedDate | date |
None. |
|
| CategoryModifiedBy | integer |
None. |
|
| CatgeoryActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"categoryId": 1,
"categoryName": "sample string 2",
"categoryNameMa": "sample string 3",
"categoryNameTa": "sample string 4",
"categoryNameTe": "sample string 5",
"categoryNameKa": "sample string 6",
"categoryNameHi": "sample string 7",
"categoryCompanyId": 8,
"categoryCreatedDate": "2025-11-08T18:26:41.6981602+05:30",
"CategoryCreatedBy": 10,
"CategoryModifiedDate": "2025-11-08T18:26:41.6981602+05:30",
"CategoryModifiedBy": 12,
"CatgeoryActive": true
}
application/xml, text/xml
Sample:
<TK_OfferingsCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaTempleKioskApi.Models"> <CategoryCreatedBy>10</CategoryCreatedBy> <CategoryModifiedBy>12</CategoryModifiedBy> <CategoryModifiedDate>2025-11-08T18:26:41.6981602+05:30</CategoryModifiedDate> <CatgeoryActive>true</CatgeoryActive> <categoryCompanyId>8</categoryCompanyId> <categoryCreatedDate>2025-11-08T18:26:41.6981602+05:30</categoryCreatedDate> <categoryId>1</categoryId> <categoryName>sample string 2</categoryName> <categoryNameHi>sample string 7</categoryNameHi> <categoryNameKa>sample string 6</categoryNameKa> <categoryNameMa>sample string 3</categoryNameMa> <categoryNameTa>sample string 4</categoryNameTa> <categoryNameTe>sample string 5</categoryNameTe> </TK_OfferingsCategory>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | string |
None. |
|
| Data | Object |
None. |
|
| Message | string |
None. |
|
| Type | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": "sample string 1",
"Data": {},
"Message": "sample string 3",
"Type": 4
}
application/xml, text/xml
Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaTempleKioskApi.Models"> <Data /> <Message>sample string 3</Message> <Status>sample string 1</Status> <Type>4</Type> </APIResponse>