API Endpoints
Fracttal →

Query outbound movements

Through this EndPoint it is possible to consult the outputs of a warehouse made during a period of time. To use this API it is necessary to know the code of the warehouse

Input parameters

ParameterTypeRequiredDescription
warehouse_codeTextWarehouse Code
sinceTextOptionalInitial date of the query. Format: 'YYYYY-MM-DDTHH:MM:SS-UTC' Example: '2016-07-12T20:00:00-03'. (Default 30 days before)
untilTextOptionalEnd date of the query. Format: 'YYYYY-MM-DDTHH:MM:SS-UTC' Example:'2016-07-12T20:00:00-03'. (Defaults to the current date.
pageIntegerOptionalPage number to consult.
startIntegerOptionalInitial record number to be displayed by the query.
limitIntegerOptionalFinal record number to be returned by the query.

Output parameters

ParameterTypeDescription
id_movementIntegerId of the movement
folio_sourceTextSource warehouse movement ID
folio_targetTextDestination warehouse movement ID
dateDateDelivery date
descriptionTextDescription of the entry.
documentTextReference
movements_types_descriptionTextType of Movement
movements_states_descriptionTextDescription of the movement status
warehouses_source_descriptionTextWarehouse source
third_parties_nameTextName of third party
costs_center_descriptionTextCost Center
responsible_descriptionTextResponsible
responsible_codeTextcode of the person in charge
priorities_descriptionTextPriority
date_createTextDate of creation of the movement
third_parties_codeTextThird party code
third_parties_addressTextAddress of the third party
third_parties_telephone_1TextPhone 1 of the third party
third_parties_telephone_2TextPhone 2 of the third
third_parties_emailTextThird party email
number_detailsNumberNumber of movement items

Example:

Petition: (GET) https://app.fracttal.com/api/warehouse_outputs_movements/?warehouse_code=CAMTOL001

{
    "success": true,
    "message": "200",
    "data": [
        {
            "id_movement": 2115,
            "folio_source": "8",
            "folio_target": null,
            "date": "2018-05-02",
            "description": "Salida por Orden de Trabajo",
            "document": "OT-2859",
            "movements_types_description": "WORK_ORDER",
            "movements_states_description": "OUT",
            "warehouses_source_description": "ALMACEN CAMIONES TOLVA",
            "warehouses_target_description": null,
            "third_parties_name": null,
            "costs_center_description": null,
            "responsible_description": "Laura Marcela Peña Jaramillo",
            "responsible_code": "45872135-8",
            "conditions_description": null,
            "priorities_description": null,
            "date_create": "2018-05-02T16:22:22.022897+00:00",
            "third_parties_code": null,
            "third_parties_address": null,
            "third_parties_telephone_1": null,
            "third_parties_telephone_2": null,
            "third_parties_email": null,
            "number_details": 1,
            "currency_description": "PESO CHILENO",
            "currency_symbol": "$",
            "id_company": 133
        }
    ],
    "total": 1
}

Test it

Language