Salexis API

Contacts Information

  1. contacts/get.{ format }

    allowed methods: GET

    Obtiene un contacto con sus datos asociados. Los datos asociados, campos "addresses" y "data", contienen todas las direcciones, teléfonos, correos electrónicos y demás información del contacto.

    Required parameters:

    id (Integer): The id of the Contact

    api_key (String): Authentication Key

  2. contacts/list.{ format }

    allowed methods: GET

    Lista los contactos del sistema.

    Required parameters:

    api_key (String): Authentication Key

Billing Accounts Information

  1. billing_accounts/balance.{ format }

    allowed methods: GET

    Obtiene el saldo de una cuenta. Si no se especifica el parámetro "at_date", se obtiene el saldo actual, si se especifica este parámetro se puede solicitar el saldo a una fecha determinada. Si "at_date" es mayor a la fecha y hora actual, se obtiene el saldo actual.

    Required parameters:

    billing_account_id (Integer): The id of the billing account

    api_key (String): Authentication Key


    Optional parameters:

    at_date (String): Calculate the balance at some date (format YYYY-MM-DD HH:MM:SS)

  2. billing_accounts/list.{ format }

    allowed methods: GET

    Lista las cuentas corrientes. Opcionalmente se le puede solicitar sólo las cuentas de un contacto.

    Required parameters:

    api_key (String): Authentication Key


    Optional parameters:

    contact_id (Integer): The id of the Contact

Transactions Information

  1. transactions/delete.{ format }

    allowed methods: POST

    Borra una determinada transacción

    Required parameters:

    id (Integer): The id of the Transaction

    api_key (String): Authentication Key

  2. transactions/edit.{ format }

    allowed methods: POST

    Edita una determinada transacción

    Required parameters:

    id (Integer): The id of the Transaction

    api_key (String): Authentication Key


    Optional parameters:

    due_date (String): due_date (format YYYY-MM-DD HH:MM:SS) default now

    globals (String): JSON encoded array of globals values (name, value)

    details (String): JSON encoded array of details values (name, value)

    po_number (String): po_number

    reference (String): reference

    external_notes (String): external_notes

    method (String): method

    datetime (String): datetime (format YYYY-MM-DD HH:MM:SS) default now

    transaction_type (String): The transaction type is required

    billing_account_id (Integer): The id of the billing_account

  3. transactions/get.{ format }

    allowed methods: GET

    Obtiene una determinada transacción

    Required parameters:

    id (Integer): The id of the Transaction

    api_key (String): Authentication Key

  4. transactions/list.{ format }

    allowed methods: GET

    Lista transacciones de una cuenta corriente. Opcionalmente se pueden especificar filtros para limitar las transacciones: 1) "from_date": Para obtener las transacciones posteriores a esta fecha y hora. 2) "to_date": Para obtener las transacciones anteriores a esta fecha y hora. 3) "transaction_type": Recupera sólo transacciones de tipo "invoice" o "payment"

    Required parameters:

    api_key (String): Authentication Key


    Optional parameters:

    to_date (String): Retrieve transactions before this date (format YYYY-MM-DD HH:MM:SS)

    from_date (String): Retrieve transactions after this date (format YYYY-MM-DD HH:MM:SS)

    transaction_type (String): The type of transactions (invoice or payment)

    billing_account_id (Integer): The id of the billing account

  5. transactions/new.{ format }

    allowed methods: POST

    Crea una determinada transacción

    Required parameters:

    name (String): Name is required

    amount (Floating point number): Amount is required

    details (String): JSON encoded array of details values (name, value)

    transaction_type (String): The transaction type is required

    billing_account_id (Integer): The id of the billing_account

    api_key (String): Authentication Key


    Optional parameters:

    due_date (String): due_date (format YYYY-MM-DD HH:MM:SS) default now

    globals (String): JSON encoded array of globals values (name, value)

    po_number (String): po_number

    reference (String): reference

    external_notes (String): external_notes

    method (String): method

    datetime (String): datetime (format YYYY-MM-DD HH:MM:SS) default now

Currency Information

  1. currencies/list.{ format }

    allowed methods: GET

    Lista las monedas que se pueden utilizar en el sistema, su nombre, símbolo y la conversión actual a dólares de Estados Unidos (USD).

    Required parameters:

    api_key (String): Authentication Key

Products Information

  1. products/list.{ format }

    allowed methods: GET

    Lista los Productos de esta cuenta.

    Required parameters:

    api_key (String): Authentication Key

Prices Information

  1. pricelists/list.{ format }

    allowed methods: GET

    Lista las listas de precios de la cuenta.

    Required parameters:

    api_key (String): Authentication Key

People Information

  1. people/list.{ format }

    allowed methods: GET

    Lista las personas asociadas a los contactos de la cuenta.

    Required parameters:

    api_key (String): Authentication Key

Orders Information

  1. orders/list.{ format }

    allowed methods: GET

    Lista las ordenes asociadas a los contactos de la cuenta.

    Required parameters:

    api_key (String): Authentication Key

Expenses Information

  1. expenses/list.{ format }

    allowed methods: GET

    Lista los gastos asociados a la cuenta.

    Required parameters:

    api_key (String): Authentication Key