Does API calls means invoking business logic service?

I’ve seen that in the cloud 99 plan, API calls are limited…
Does an API call is when invoking an API service?
ex:
async UpdateBook(person) {
var personFound = await Backendless.Data.of("person ").findById(person.id);

   var whereClause = "person='" + personFound.objectId + "'";
    return Backendless.Data.of("ride").bulkUpdate(whereClause, {
        "name": "example"
    });

}
So when I call UpdateBook this will count as 1 API call?
Or two API calls (1 for retrieve person and 1 for updating book)?

There are 3 calls here:

  1. UpdateBook
  2. fundById
  3. bulkUpdate

Regards,
Mark

:open_mouth:
Does this count as 4 Api calls ?
async UpdateBook(person) {
var queryBuilder = Backendless.DataQueryBuilder.create();
queryBuilder.setRelated(“details”);
var personFound = await Backendless.Data.of("person ").findById(person.id,queryBuilder);
var whereClause = “person=’” + personFound.objectId + “’”;
return Backendless.Data.of(“ride”).bulkUpdate(whereClause, {
“name”: “example”
});
}

Hello @adel_kasno.
Yes, it will be 4 api calls.
API service is also an API call.