RHP_API

<back to all web services

DateFinderUpdate

Requires Authentication
The following routes are available for this service:
PATCH/User/DateFinder/{ID}
DateFinderUpdate Parameters:
NameParameterData TypeRequiredDescription
IDpathintNo
DatesqueryDateTime[]No
MeetingTypesqueryintNo
SeekingTypesqueryintNo
AgeMinqueryintNo
AgeMaxqueryintNo
CommentquerystringNo
GoogleMapPlaceIDquerystringNoThe Google Placed ID.
CanHostqueryboolNo

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

HTTP + 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
	}
]