<back to all web services

ReviewCreateRequest

The following routes are available for this service:
POST/RestApi/reviews-api
ReviewCreateRequest Parameters:
NameParameterData TypeRequiredDescription
MessagebodystringNo
NamebodystringNo
EmailbodystringNo
CustomDatabodystringNo
ThreadKeybodystringNo
ThreadbodyThreadCreateRequestNo
CaptchabodyCaptchaInfoNo
Ratingbodydecimal?No
ThreadCreateRequest Parameters:
NameParameterData TypeRequiredDescription
KeyformstringNo
TypeformstringNo
BehaviorformstringNo
TitleformstringNo
LanguageformstringNo
DataSourceformstringNo
GroupKeyformstringNo
GroupformGroupCreateRequestNo
GroupCreateRequest Parameters:
NameParameterData TypeRequiredDescription
KeyformstringNo
NameformstringNo
DescriptionformstringNo
CaptchaInfo Parameters:
NameParameterData TypeRequiredDescription
AnswerformstringNo
CorrectAnswerformstringNo
InitializationVectorformstringNo
KeyformstringNo
ReviewViewModel Parameters:
NameParameterData TypeRequiredDescription
KeyformstringNo
NameformstringNo
MessageformstringNo
DateCreatedformDateTimeNo
ProfilePictureUrlformstringNo
ProfilePictureThumbnailUrlformstringNo
StatusformstringNo
EmailformstringNo
ThreadKeyformstringNo
AuthorIpAddressformstringNo
CustomDataformstringNo
Ratingformdecimal?No

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.

POST /RestApi/reviews-api HTTP/1.1 
Host: www.asg.com.au 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Message: String,
	Name: String,
	Email: String,
	CustomData: String,
	ThreadKey: String,
	Thread: 
	{
		Key: String,
		Type: String,
		Behavior: String,
		Title: String,
		Language: String,
		DataSource: String,
		GroupKey: String,
		Group: 
		{
			Key: String,
			Name: String,
			Description: String
		}
	},
	Captcha: 
	{
		Answer: String,
		CorrectAnswer: String,
		InitializationVector: String,
		Key: String
	},
	Rating: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Key: String,
	Name: String,
	Message: String,
	DateCreated: 0001-01-01,
	ProfilePictureUrl: String,
	ProfilePictureThumbnailUrl: String,
	Status: String,
	Email: String,
	ThreadKey: String,
	AuthorIpAddress: String,
	CustomData: String,
	Rating: 0
}