POST | /User/DateFinder |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Dates | body | DateTime[] | No | |
MeetingTypes | body | int | No | |
SeekingTypes | body | int | No | |
AgeMin | body | int | No | |
AgeMax | body | int | No | |
Comment | body | string | No | |
GoogleMapPlaceID | body | string | No | The Google Placed ID. |
CanHost | body | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /User/DateFinder HTTP/1.1
Host: tstsrvs.redhotpie.com.au
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Dates":["\/Date(-62135596800000-0000)\/"],"MeetingTypes":0,"SeekingTypes":0,"AgeMin":0,"AgeMax":0,"Comment":"String","GoogleMapPlaceID":"String","CanHost":false}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length [{"InterestCount":0,"IsCommentVisible":false,"IsCommentRejected":false,"ID":0,"DateHeld":"\/Date(-62135596800000-0000)\/","DateHeldUtcIso":"String","Comment":"String","ShortComment":"String","Location":"String","City":"String","StateName":"String","StateNameAbbr":"String","CountryName":"String","AgeMin":0,"AgeMax":0,"SeekingTypes":0,"OpenForList":["String"],"OpenForTypes":0,"SeekingTypeList":[{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0}],"CanHost":false,"DisplayDate":"String"}]