Retrieve object

To retrieve an object we will send a GET request to the URL containing the class and the object ID - https://apps.simbla.com/parse/classes/Class Name(Table)/object ID


For this example we will use the object we've created in the previous example.

The URL is:  https://apps.simbla.com/parse/classes/Cars/kEG7VgTLul

In the Header we will add 3 parameters:

1. X-Parse-Application-Id: your application Id

2. X-Parse-Session-Token: your session token 

3. Content-Type: application/json 




The response will contain a JSON object:

{

    "objectId": "kEG7VgTLul",

    "car_model": "BMW",

    "car_year": 2023,

    "updatedBy": {

        "__type": "Pointer",

        "className": "_User",

        "objectId": "be5Y4wEhuK"

    },

    "createdBy": {

        "__type": "Pointer",

        "className": "_User",

        "objectId": "be5Y4wEhuK"

    },

    "createdAt": "2021-03-11T13:18:35.548Z",

    "updatedAt": "2021-03-11T13:18:35.548Z"

}

 

Pointers

When retrieving objects, if we want to fetch pointers (child objects) we will use include = FieldName in the url.

For instance, to fetch the object pointed to by the “car_color” field the URL would be:


https://apps.simbla.com/parse/classes/Cars/pPKblrO1JR?include=car_color




About Simbla

Trying to create a website for their own business, Simbla's founders recognized, over the years, a lack of excellent, simple tools available on the market. Therefore, in 2013 Simbla was founded, for the purpose of providing a smart and easy website building solution for all types of businesses. Simbla's founders have more than 15 years of experience with web-based platforms and website building. We are helping SMB's to create a web presence and to evolve easily into a highly competitive market.

In our vision Simbla creates a new environment where websites are meant for everybody!

Social

all rights reserved to simbla inc

2016