Skip to main content

Get Systemic Tag Value By Company

Este endpoint permite recuperar desde el servicio Index todos los tags sistémicos de una compañia, utilizando el identificador company_id provisto por Trust.

Endpoint#

Headers

KeyValueDescription
AuthorizationBearer {{access_token}}access_token obtained in Atenea
Method: GET
URL: https://api.trust.lat/index/v1/company/:company_id/systemic_tag_value

Path Variables:

KeyValue ExampleDescription
company_id99Identificador de compañia provisto por empresa Trust. Obligatorio.
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/index/v1/company/99/systemic_tag_value' \
--header 'Authorization: Bearer ************' \
--data-raw ''

Responses#

HTTP Code: 200 OK#

Systemic Tag Values present in company#

{
"code": 200,
"resource": "SystemicTagsValue",
"data": [
{
"color": "#0000FF",
"company_id": "99",
"created_at": "2021-07-08T21:38:42.800Z",
"description": "Empresa de fideos",
"name": "Lucchezzi",
"systemic_tag_name": "systemic_sub_company",
"updated_at": "2021-07-08T22:06:34.845Z",
"uuid": "ffffffff-ffff-ffff-ffff-ffffffffffff"
},
{
"color": "#00FF00",
"company_id": "99",
"created_at": "2021-07-18T21:38:42.800Z",
"description": "Empresa de fideos",
"name": "Carotti",
"systemic_tag_name": "systemic_sub_company",
"updated_at": "2021-07-18T22:06:34.845Z",
"uuid": "cccccccc-cccc-cccc-cccc-cccccccccccc"
}
],
"message": "Found"
}

Company does not have Systemic Tag Values#

{
"code": 200,
"resource": "SystemicTags",
"data": [],
"message": "Found"
}
Last updated on by Jesus Marquez Barrera