Appearance
Get entity records
Get entity records from an Entity.
Endpoint
GET /api/v1/external/projects/{projectUuid}/entities/{entityId}/recordsHeaders
| Header | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Bearer token for authentication |
| Accept | string | No | Must be application/json |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectUuid | string | Yes | The UUID of the project to upload the document to. Can be found in the Recognito application. |
| entityId | string | Yes | The ID of the entity to create the record in. Can be found in the Recognito application. |
Response
Success Response (200 OK)
json
[
{
"id": 238751,
"entity_id": 1,
"data": {
"max": "20000",
"min": "6000",
"comment": "Comment",
"uploader_email": "example@recognito.io"
}
},
]Error Response (400 Bad Request)
json
{
"error": "string",
"message": "string"
}Example
Request
bash
curl -X GET https://apiv2.recognito.io/api/v1/external/projects/{projectUuid}/entities/{entityId}/records \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"Response
json
[
{
"id": 238751,
"entity_id": 1,
"data": {
"max": "20000",
"min": "6000",
"comment": "Comment",
"uploader_email": "example@recognito.io"
}
}
]