This endpoint has been removed.
Removes an area or location record from a static DataFilter.
URL: /data/v2/removeFilter
Method: POST
Method Parameters
Name |
Type |
Required |
Description |
apiKey |
string |
Yes |
The API key for your organisation. |
model |
object |
Yes |
The object detailing the specified values. See Model Object Properties. |
Model Object Properties
Name |
Type |
Required |
Description |
uniqueKey |
string |
Yes |
The unique key of a record. |
layerKey |
string |
Yes |
The API key matching the Layer in which the record is stored. |
dataFilterKey |
string |
Yes |
The API key matching the DataFilter you wish to remove the record from. The specified DataFilter should be of static type. |
Response
The following responses may be returned in addition to the standard ones specified under Common Information.
Code |
Error Message |
Description |
400 |
This Filter cannot be removed. Only Static Filters can be removed through the API. |
The DataFilter specified by dataFilterKey is not of static type. |
Example call
URL: https://api.vision-mapping.com/data/v2/removeFilter?apiKey=INSERT_YOUR_KEY_HERE
Body:
{"uniqueKey":"abc","layerKey":"abc","dataFilterKey":"abc"}
Comments
0 comments
Article is closed for comments.