POST api/Ticket_Types
Request Information
URI Parameters
None.
Body Parameters
Ticket_Types| Name | Description | Type | Additional information |
|---|---|---|---|
| TT_Id | integer |
None. |
|
| TT_Name | string |
None. |
|
| TT_Description | string |
None. |
|
| TT_Price | decimal number |
None. |
|
| TT_Ticket | string |
None. |
|
| E_Id | integer |
None. |
|
| TT_Complimentary | string |
None. |
|
| TT_No_Tickets | integer |
None. |
|
| TT_Show | string |
None. |
|
| TT_Max | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TT_Id": 1,
"TT_Name": "sample string 2",
"TT_Description": "sample string 3",
"TT_Price": 4.1,
"TT_Ticket": "sample string 5",
"E_Id": 6,
"TT_Complimentary": "sample string 7",
"TT_No_Tickets": 8,
"TT_Show": "sample string 9",
"TT_Max": "sample string 10"
}
application/xml, text/xml
Sample:
<Ticket_Types xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSWorld_Api.Models"> <E_Id>6</E_Id> <TT_Complimentary>sample string 7</TT_Complimentary> <TT_Description>sample string 3</TT_Description> <TT_Id>1</TT_Id> <TT_Max>sample string 10</TT_Max> <TT_Name>sample string 2</TT_Name> <TT_No_Tickets>8</TT_No_Tickets> <TT_Price>4.1</TT_Price> <TT_Show>sample string 9</TT_Show> <TT_Ticket>sample string 5</TT_Ticket> </Ticket_Types>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Ticket_Types| Name | Description | Type | Additional information |
|---|---|---|---|
| TT_Id | integer |
None. |
|
| TT_Name | string |
None. |
|
| TT_Description | string |
None. |
|
| TT_Price | decimal number |
None. |
|
| TT_Ticket | string |
None. |
|
| E_Id | integer |
None. |
|
| TT_Complimentary | string |
None. |
|
| TT_No_Tickets | integer |
None. |
|
| TT_Show | string |
None. |
|
| TT_Max | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"TT_Id": 1,
"TT_Name": "sample string 2",
"TT_Description": "sample string 3",
"TT_Price": 4.1,
"TT_Ticket": "sample string 5",
"E_Id": 6,
"TT_Complimentary": "sample string 7",
"TT_No_Tickets": 8,
"TT_Show": "sample string 9",
"TT_Max": "sample string 10"
}
application/xml, text/xml
Sample:
<Ticket_Types xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSWorld_Api.Models"> <E_Id>6</E_Id> <TT_Complimentary>sample string 7</TT_Complimentary> <TT_Description>sample string 3</TT_Description> <TT_Id>1</TT_Id> <TT_Max>sample string 10</TT_Max> <TT_Name>sample string 2</TT_Name> <TT_No_Tickets>8</TT_No_Tickets> <TT_Price>4.1</TT_Price> <TT_Show>sample string 9</TT_Show> <TT_Ticket>sample string 5</TT_Ticket> </Ticket_Types>