PATCH | /User/DateFinder/{ID} |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ID | path | int | No | |
Dates | query | DateTime[] | No | |
MeetingTypes | query | int | No | |
SeekingTypes | query | int | No | |
AgeMin | query | int | No | |
AgeMax | query | int | No | |
Comment | query | string | No | |
GoogleMapPlaceID | query | string | No | The Google Placed ID. |
CanHost | query | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PATCH /User/DateFinder/{ID} HTTP/1.1
Host: tstsrvs.redhotpie.com.au
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ID: 0,
Dates:
[
0001-01-01
],
MeetingTypes: 0,
SeekingTypes: 0,
AgeMin: 0,
AgeMax: 0,
Comment: String,
GoogleMapPlaceID: String,
CanHost: False
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length [ { InterestCount: 0, IsCommentVisible: False, IsCommentRejected: False, ID: 0, DateHeld: 0001-01-01, 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 } ]