Batch Operations

Simbla enables to create, update, or delete up to 50 objects in one call using a batch call.
For each action you need to provide the path, method and body.
Here is an example creating two car records in one batch action:

We will use a POST request to this URL: https://apps.simbla.com/parse/batch
Here is the body of the request:

{
        "requests": [
          {
            "method": "POST",
            "path": "/parse/classes/Cars",
            "body": {
              "car_year": 2019,
              "car_model": "Fiat"
            }
          },
          {
            "method": "POST",
            "path": "/parse/classes/Cars",
            "body": {
              "car_year":"2019",
              "car_model": "BMW"
            }
          }
        ]
      }






The response is an array of results in the same order provided in the request:

[
    {
        "success": {
            "objectId": "cGDWQfPpAN",
            "createdAt": "2021-03-14T13:24:22.785Z"
        }
    },
    {
        "success": {
            "objectId": "siNhcUbHV1",
            "createdAt": "2021-03-14T13:24:22.785Z"
        }
    }
]