Read Record

This endpoint can be used to extract one document from a Xenioo Database Collection.

Requirements

To successfully invoke this endpoint :

  1. A Bot Level Authorization Token must be created and sent in the header.

  2. An active Database package must be active on the target account.

  3. The desired collection must exist and must be flagged as accessible through API.

Request

The following request shows how to extract a single document from a Xenioo Database Collection:

curl --location --request GET 'https://<API ROUTE>/data/<COLLECTIONNAME>/item/<DOCUMENTID>' \
--header 'Authorization: Bearer <BOT AUTH TOKEN>' 

Response

If successful, this call will return the raw JSON of all the extracted record.

Response Codes

This endpoint will reply with the following standard HTTP codes.

Code

Meaning

200

Ok. The request has been successfully fulfilled.

400

Bad Request. The call does not contain the data required to be fulfilled.

404

Not Found. The specified collection has not been found.

403

Unauthorized. The specified collection cannot be access through API

Last updated