PRODUCTION

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

Resource information
Authentication Required
HTTP Method PUT
Response JSON
Version 1

Resource URL

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

Parameters

Key Type Required Description
propertyHash string yes The property hash ID. Get the IDs in ‣ or ‣ 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.

Object Field Type Required Description
Response success boolean yes A boolean showing if the submission was or not successful
error string no A text indicating the type of error if success == false

Sample code

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