Browserside Schemas v1.1
If you were looking for the legacy 1.0 documentation, you will find it here.
Updates
Submits information to the Gravity System.URL
https://recommender.sannsyn.com/ajaxrecapi/1.1/update
Method
POST
Request Mimetype
application/Json
Request Json
Key
JSON Value Type
Mandatory
Value
service
String
Yes
consumer
String
Yes
The user that the updates are from. If the user is unknown, use the string
anonymous
.Response Mimetype
application/Json
Responses
HTTP Status Code
Response Body
200 (if OK)
A
General
Status Response object.
40x (on error)
A
General
Status Response object where the
text
field will describe the errorTry it out
For testing purposes, there is a Gravity service named example to which you may
send updates. Fill in this form with usable data and turn to the Recommendation Requests Schema afterwards to
see if your newly submitted updates are reflected in the recommendations you order.