Skip to main content

Get Applications by Company ID

Retorna un listado con todas las aplicaciones que están asociadas a una compañía.

Endpoint#

Headers

KeyValueDescription
Content-Typeapplication/json
AuthorizationBearer {{access_token}}access_token obtained in Atenea

Url

Method: GET
URL: https://api.trust.lat/company/api/v1/company/:company_id/app
caution

Recuerda que para utilizar este endpoint es necesario un access token obtenido en el servicio Atenea

Como obtener un access token

Code Examples#

curl --location --request GET 'https://api.trust.lat/company/api/v1/company/1/app' \
--header 'Authorization: Bearer {{accessToken}}'

Responses#

HTTP Code: 200 Found#

{
"status": true,
"app": [
{
"id": 1,
"bundle_id": "com.trust.application2",
"company_id": 1,
"name": "application_2",
"description": "Aplicación de muestra 2",
"created_at": "2021-07-09T16:50:53.148Z",
"updated_at": "2021-07-09T17:12:20.305Z",
"status": true,
"img": "https://google.cl",
"capabilities": [],
"flavor_id": "com.trust.application2",
"os": "android",
"client_uid": "",
"img_circle": "",
"generic_app": false,
"colour": ""
},
{
"id": 1,
"bundle_id": "com.trust.application",
"company_id": 1,
"name": "applicacion_1",
"description": "application from test 1",
"created_at": "2021-07-09T16:48:12.828Z",
"updated_at": "2021-07-09T16:48:12.828Z",
"status": true,
"img": "https://google.cl",
"capabilities": [],
"flavor_id": "com.trust.application",
"os": "android",
"client_uid": "",
"img_circle": "",
"generic_app": false,
"colour": ""
},
{
"id": 1,
"bundle_id": "com.trust.application3",
"company_id": 1,
"name": "application_3",
"description": "application from test 3",
"created_at": "2021-07-09T16:51:08.829Z",
"updated_at": "2021-07-09T16:51:08.829Z",
"status": true,
"img": "https://google.cl",
"capabilities": [],
"flavor_id": "com.trust.application3",
"os": "android",
"client_uid": "",
"img_circle": "",
"generic_app": false,
"colour": ""
}
]
}

HTTP Code: 200 OK - Company Not Found#

{
"status": false,
"message": "Company not found."
}
Last updated on by Claudio-Franco