POST EventManagement/SaveEventTicket
Request Information
URI Parameters
None.
Body Parameters
EventTicketModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TicketID | string |
None. |
|
| EventID | string |
None. |
|
| ValidFrom | date |
None. |
|
| ValidTo | date |
None. |
|
| Capacity | integer |
None. |
|
| Status | boolean |
None. |
|
| Description | string |
None. |
|
| CreatedAt | date |
None. |
|
| UpdatedAt | date |
None. |
|
| CreateUserID | string |
None. |
|
| TicketDtls | Collection of TicketPriceModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"TicketID": "sample string 1",
"EventID": "sample string 2",
"ValidFrom": "2025-12-23T17:19:56.5353667+05:30",
"ValidTo": "2025-12-23T17:19:56.5353667+05:30",
"Capacity": 1,
"Status": true,
"Description": "sample string 4",
"CreatedAt": "2025-12-23T17:19:56.5353667+05:30",
"UpdatedAt": "2025-12-23T17:19:56.5353667+05:30",
"CreateUserID": "sample string 6",
"TicketDtls": [
{
"ID": 1,
"count": 2,
"TicketID": "sample string 3",
"EventID": "sample string 4",
"TicketTypeID": "sample string 5",
"Price": "sample string 6",
"CreatedDate": "2025-12-23T17:19:56.5363659+05:30",
"CreateUserID": "sample string 8"
},
{
"ID": 1,
"count": 2,
"TicketID": "sample string 3",
"EventID": "sample string 4",
"TicketTypeID": "sample string 5",
"Price": "sample string 6",
"CreatedDate": "2025-12-23T17:19:56.5363659+05:30",
"CreateUserID": "sample string 8"
}
]
}
application/xml, text/xml
Sample:
<EventTicketModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EventManagementAPI.Models">
<Capacity>1</Capacity>
<CreateUserID>sample string 6</CreateUserID>
<CreatedAt>2025-12-23T17:19:56.5353667+05:30</CreatedAt>
<Description>sample string 4</Description>
<EventID>sample string 2</EventID>
<Status>true</Status>
<TicketDtls>
<TicketPriceModel>
<CreateUserID>sample string 8</CreateUserID>
<CreatedDate>2025-12-23T17:19:56.5363659+05:30</CreatedDate>
<EventID>sample string 4</EventID>
<ID>1</ID>
<Price>sample string 6</Price>
<TicketID>sample string 3</TicketID>
<TicketTypeID>sample string 5</TicketTypeID>
<count>2</count>
</TicketPriceModel>
<TicketPriceModel>
<CreateUserID>sample string 8</CreateUserID>
<CreatedDate>2025-12-23T17:19:56.5363659+05:30</CreatedDate>
<EventID>sample string 4</EventID>
<ID>1</ID>
<Price>sample string 6</Price>
<TicketID>sample string 3</TicketID>
<TicketTypeID>sample string 5</TicketTypeID>
<count>2</count>
</TicketPriceModel>
</TicketDtls>
<TicketID>sample string 1</TicketID>
<UpdatedAt>2025-12-23T17:19:56.5353667+05:30</UpdatedAt>
<ValidFrom>2025-12-23T17:19:56.5353667+05:30</ValidFrom>
<ValidTo>2025-12-23T17:19:56.5353667+05:30</ValidTo>
</EventTicketModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.