Autenticación Hardware Companies Documents Entities Fiscal Founds Products Shared Users

entities resource

GET http://api.multinexo.com/v1/company/{company_id}/entities

Attributes

name
create, read, update
identification_number
create, read, update
contact_name
create, read, update
street_name
create, read, update
street_number
create, read, update
location
create, read, update
province
create, read, update
additional_info
create, read, update
email
create, read, update
phone
create, read, update
observation
create, read, update
has_account
create, read, update
entity_type
create, read, update client | supplier | employee | creditor | subdist | prevent
balance
read
pdf_url
read
pricelist_id 'only for orders-edit'
read
latitude
create, read, update
longitude
create, read, update
balance_at
read datetimew3c
updated_at
read datetimew3c
deleted_at
read datetimew3c

Relationships

transactions
has many
user
has one
author
has one
seller
has one
responsibility
has one
pricelist
has one

Filters

name
like no acepta varios valores
identification_number
like no acepta varios valores
entity_type
equals se acepta varios valores, separados por coma
trashed
equals no acepta varios valores

JSON Resource Example

  {
    data: {
      type: entities,
      id: 648,
      attributes: {
        name: someValue,
        identification_number: someValue,
        contact_name: someValue,
        street_name: someValue,
        street_number: someValue,
        location: someValue,
        province: someValue,
        additional_info: someValue,
        email: someValue,
        phone: someValue,
        observation: someValue,
        has_account: someValue,
        entity_type: someValue,
        balance: someValue,
        pdf_url: someValue,
        pricelist_id 'only for orders-edit': someValue,
        latitude: someValue,
        longitude: someValue,
        balance_at: 2018-08-28T16:31:47+00:00,
        updated_at: 2018-08-28T16:31:47+00:00,
        deleted_at: 2018-08-28T16:31:47+00:00
        },
      relationships: { 
        transactions:{
          id: 164,
          type: transactions
        },
      
         user:{
          id: 400,
          type: users
        },
      
        author:{
          id: 576,
          type: author
        },
      
         seller:{
          id: 495,
          type: entities
        },
      
         responsibility:{
          id: 747,
          type: responsibilities
        },
      
         pricelist:{
          id: 881,
          type: pricelists
        }
      }
    }
  }

JSON-API Entry points

DELETE PATCH GET http://api.multinexo.com/v1/company/{company_id}/entities/{entities_id}

POST http://api.multinexo.com/v1/company/{company_id}/entities/