Query third-party services

Through this API you can query the services of all third parties or of a specific one.

The parameter in the URL "code" is the code of the third party It can be obtained here. (Field code)

Input Parameters

The information can be filtered using the following query_params:

Parameter

Type

Required

Description

code

Text

Optional

Third party code. It can be obtained here. (Field code)

start

Integer

Optional

Record number where the query will start. Default 0. All queries are limited to 100 records, when there are more than that amount this parameter must be used for pagination.

limit

Integer

Optional

Number of records that the request will show. The default value is 100.

Output Parameters

ParameterTypeDescription
idIntegerThird party service ID
id_third_partyIntegerThird party ID
third_parties_codeTextThird party code
third_parties_nameTextThird party name
service_types_descriptionTextService description
detailsTextService details
costIntegerService cost
units_descriptionTextService unit
service_units_descriptionTextService unit associated with third party
descriptionTextService description
third_parties_codeTextThird party code associated with service
visible_to_allBooleanIndicates if the service is active or not
parent_descriptionTextLocated in or is part of

Example:

Request: (GET)https://app.fracttal.com/api/third_parties_services/

{
    "success": true,
    "message": "200",
    "data": [
        {
            "id": 13801,
            "id_company": 1190,
            "id_third_party": 21,
            "third_parties_name": "COMERCIAL AGROTERRA",
            "id_service_type": 4653,
            "service_types_description": "RECOLECCIÓN DE RESIDUOS",
            "cost": 80000,
            "id_unity": 63,
            "details": "",
            "date_frequency": null,
            "id_period_date": null,
            "period_dates_description": null,
            "unit_frequency": null,
            "id_unit_service": 63,
            "units_description": "TON",
            "service_units_description": "TON",
            "description": "COMERCIAL AGROTERRA",
            "third_parties_code": "76029279",
            "visible_to_all": false,
            "parent_description": "// "
        },
        {
            "id": 2,
            "id_company": 1190,
            "id_third_party": 21,
            "third_parties_name": "COMERCIAL AGROTERRA",
            "id_service_type": 12044,
            "service_types_description": "MANTENIMIENTO DE ELEVADORES",
            "cost": 23000,
            "id_unity": 36,
            "details": "SERVICIO INSERTADO POR API",
            "date_frequency": 1,
            "id_period_date": 4,
            "period_dates_description": "YEARS",
            "unit_frequency": 30,
            "id_unit_service": 36,
            "units_description": "Hora",
            "service_units_description": "Hora",
            "description": "COMERCIAL AGROTERRA",
            "third_parties_code": "76029279",
            "visible_to_all": false,
            "parent_description": "// "
        }
    ],
    "total": 2
}
Language