This webservice is used to submit a hit to the property.
| Resource information | |
|---|
| Authentication | Required |
| HTTP Method | PUT |
| Response | JSON |
| Version | 1 |
https://mapaprop.app/api/action/portal-v2/properties/{propertyHash}/hits
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 {access_token}
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 |
{
"success": false,
"error": "INVALID_EMAIL"
}