POST api/darshanTicket
Request Information
URI Parameters
None.
Body Parameters
TK_DarshanTicket| Name | Description | Type | Additional information |
|---|---|---|---|
| darshanId | integer |
None. |
|
| darshanName | string |
Required Max length: 200 |
|
| darshanNameMa | string |
Max length: 200 |
|
| darshanNameTa | string |
Max length: 200 |
|
| darshanNameTe | string |
Max length: 200 |
|
| darshanNameKa | string |
Max length: 200 |
|
| darshanNameHi | string |
Max length: 200 |
|
| darshanCategoryId | integer |
Required |
|
| darshanCompanyId | integer |
Required |
|
| darshanAmount | decimal number |
None. |
|
| darshanCreatedDate | date |
None. |
|
| darshanCreatedBy | integer |
None. |
|
| darshanModifiedDate | date |
None. |
|
| darshanModifiedBy | integer |
None. |
|
| darshanActive | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{
"darshanId": 1,
"darshanName": "sample string 2",
"darshanNameMa": "sample string 3",
"darshanNameTa": "sample string 4",
"darshanNameTe": "sample string 5",
"darshanNameKa": "sample string 6",
"darshanNameHi": "sample string 7",
"darshanCategoryId": 8,
"darshanCompanyId": 9,
"darshanAmount": 10.0,
"darshanCreatedDate": "2025-11-08T18:26:40.6961971+05:30",
"darshanCreatedBy": 12,
"darshanModifiedDate": "2025-11-08T18:26:40.6961971+05:30",
"darshanModifiedBy": 13,
"darshanActive": true
}
application/xml, text/xml
Sample:
<TK_DarshanTicket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaTempleKioskApi.Models"> <darshanActive>true</darshanActive> <darshanAmount>10</darshanAmount> <darshanCategoryId>8</darshanCategoryId> <darshanCompanyId>9</darshanCompanyId> <darshanCreatedBy>12</darshanCreatedBy> <darshanCreatedDate>2025-11-08T18:26:40.6961971+05:30</darshanCreatedDate> <darshanId>1</darshanId> <darshanModifiedBy>13</darshanModifiedBy> <darshanModifiedDate>2025-11-08T18:26:40.6961971+05:30</darshanModifiedDate> <darshanName>sample string 2</darshanName> <darshanNameHi>sample string 7</darshanNameHi> <darshanNameKa>sample string 6</darshanNameKa> <darshanNameMa>sample string 3</darshanNameMa> <darshanNameTa>sample string 4</darshanNameTa> <darshanNameTe>sample string 5</darshanNameTe> </TK_DarshanTicket>
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>