POST Event/GetPastEventsByCategory
Request Information
URI Parameters
None.
Body Parameters
EventRequestName | Description | Type | Additional information |
---|---|---|---|
Categories | Collection of string |
None. |
|
Skip | integer |
None. |
|
nbItems | integer |
None. |
|
Years | Collection of integer |
None. |
|
Months | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Categories": [ "sample string 1", "sample string 2" ], "Skip": 1, "nbItems": 2, "Years": [ 1, 2 ], "Months": [ 1, 2 ] }
application/xml, text/xml
Sample:
<EventRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Caresenz.Model.Event"> <Categories xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Categories> <Months xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </Months> <Skip>1</Skip> <Years xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </Years> <nbItems>2</nbItems> </EventRequest>
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.