GeminiHost

<back to all web services

MyEventsRequest

The following routes are available for this service:
All Verbs/Event/Contribution/MyEvents
MyEventsRequest Parameters:
NameParameterData TypeRequiredDescription
TokenquerystringNo
UserIdqueryintNo
MyEventsReturn Parameters:
NameParameterData TypeRequiredDescription
DataformMyEventsGpDto[]No
ErrorformboolNo
ErrorMessageformstringNo
MyEventsGpDto Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
DescriptionformstringNo
UrlformstringNo
EventFromformDateTimeNo
EventTillformDateTimeNo
BaseXpoDto Parameters:
NameParameterData TypeRequiredDescription
UIDformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/MyEventsRequest HTTP/1.1 
Host: data.oriem.cz 
Content-Type: text/csv
Content-Length: length

{"Token":"String","UserId":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Data":[{"Name":"String","Description":"String","Url":"String","EventFrom":"\/Date(-62135596800000-0000)\/","EventTill":"\/Date(-62135596800000-0000)\/","UID":0}],"Error":false,"ErrorMessage":"String"}