Skip to content

Custom Search - Bulk Delete Records API

Introduction

This API allows one to delete added records to the Custom search database. These records are used to perform Nearby Searches on the different types of user records that are stored within custom search database. This API allows one to delete upto 100 records in a one request.

URL

https://search.mappls.com/search/byod/bulk

HTTPS Method

POST

Getting Access

Before using the API in the your solution, please ensure that the related access is enabled in the Mappls Console, within your app - be it for Mobile OR Web or Cloud integration.

  1. Copy and paste the key from your credentials section from your API keys into the access_token query parameter.
    • Your static key can be secured by whitelisting its usage for particular IPs (in case of cloud app usage) OR a set of domains (in case of a web app)
    • Your static key obtained from your Console is to be passed as a query parameter: access_token.

Authentication Object - access_token mandatory query parameter.

  • access_token: "hklmgbwzrxncdyavtsuojqpiefrbhqplnm".

Request Content Type

Content-Type: application/json

Response Type

application/json

Response Codes

Success

  1. 201: To denote a successful data created.

Client-Side Issues

  1. 400: Bad Request, User made an error while creating a valid request.
  2. 401: Unauthorized, Developer’s key is not allowed to send a request.
  3. 403: Forbidden, Developer’s key has hit its daily/hourly limit.
  4. 409: Conflict.

Server-Side Issues

  1. 500: Internal Server Error, the request caused an error in our systems.
  2. 503: Service Unavailable, during our maintenance break or server downtimes.

Response Messages

  1. 200: Deleted.
  2. 204: No matches we’re found for the provided query.
  3. 400: Something’s just not right with the request.
  4. 401: Access Denied.
  5. 403: Forbidden, Services for this key has been suspended due to daily/hourly transactions limit.
  6. 409: Conflict.
  7. 500: Something went wrong.
  8. 503: Maintenance Break.

Request Parameters

Mandatory Parameters

  1. recordIds (array) : Array of record IDs(string) > Unique identifier of each record from the client.

Sample cURL Request

Sample 1

Record added with geographical coordinate values.

curl --location 'https://search.mappls.com/search/byod/bulk?access_token=hklmgbwzrxncdyavtsuojqpiefrbhqplnm' \
--header 'Content-Type: application/json' \
--data-raw '{
    "recordIds": [
        "IN3410000564",
        "IN2810009299",
        "IN2810001387",
        "IN2810006585",
        "IN3810000003"
    ]
}'

Sample Response

{
    "responseCode": 200,
    "message": "Deleted Successfully."
}

For any queries and support, please contact:

Email us at apisupport@mappls.com

Support Need support? contact us!



@ Copyright 2025 CE Info Systems Ltd. All Rights Reserved.