POST api/Portal/AddEventTicketRegisteration?ContactId={ContactId}&EventId={EventId}&Direction={Direction}&TNId={TNId}
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| ContactId | No documentation available. |
Define this parameter in the request URI. |
| Entity | No documentation available. |
Define this parameter in the request body. |
| EventId | No documentation available. |
Define this parameter in the request URI. |
| Direction | No documentation available. |
Define this parameter in the request URI. |
| TNId | No documentation available. |
Define this parameter in the request URI. |
Request body formats
application/json, text/json
Sample:
{
"Id": 1,
"EventId": 2,
"Type": 3,
"TypeName": "sample string 4",
"Name": "sample string 5",
"Phone": "sample string 6",
"Age": 7,
"Email": "sample string 8",
"GenderName": "sample string 9",
"Company": "sample string 10",
"Title": "sample string 11",
"GenderId": 12,
"SelectedPriceListIds": [
1,
2,
3
]
}
application/xml, text/xml
Sample:
<CustomerPortal_VM_EventsTickets xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPPlus_MOdel">
<Age>7</Age>
<Company>sample string 10</Company>
<Email>sample string 8</Email>
<EventId>2</EventId>
<GenderId>12</GenderId>
<GenderName>sample string 9</GenderName>
<Id>1</Id>
<Name>sample string 5</Name>
<Phone>sample string 6</Phone>
<SelectedPriceListIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
<d2p1:int>3</d2p1:int>
</SelectedPriceListIds>
<Title>sample string 11</Title>
<Type>3</Type>
<TypeName>sample string 4</TypeName>
</CustomerPortal_VM_EventsTickets>
application/x-www-form-urlencoded
Sample:
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"Result": true,
"ErrorMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<GeneralErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP_Plus"> <ErrorMessage>sample string 2</ErrorMessage> <Result>true</Result> </GeneralErrors>