PRODUCTION

This webservice is used to submit a hit to the property.

Resource information
AuthenticationRequired
HTTP MethodPUT
ResponseJSON
Version1

Resource URL

https://mapaprop.app/api/action/portal-v2/properties/{propertyHash}/hits

Parameters

KeyTypeRequiredDescription
propertyHashstringyesThe property hash ID. Get the IDs in GET /api/action/express-v1/properties or GET /api/action/express-v1/properties/{propertyHash} services

Sample code

PUT /api/action/portal-v2/properties/lsdfj82fs/hits HTTP/1.1
Host: mapaprop.app
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
Authorization: Bearer ya29.1.AADtN_UxybTdjLw9jX6lg_SXIgc3wTtek4q2WvfETzSrz7Q6loEYoJEWd1x4qvlpGw

Response

The JSON response will tell you if the question was submitted, if not, will tell you what happened showing that is in the queue for moderation because looks like spam or has invalid fields.

ObjectFieldTypeRequiredDescription
ResponsesuccessbooleanyesA boolean showing if the submission was or not successful
errorstringnoA text indicating the type of error if success == false

Sample code

{
    "success": false,
    "error": "INVALID_EMAIL"
}