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

companies resource

GET http://api.multinexo.com/v1/users/{user_id}/companies

Attributes

name
create, read, update string required
legal_name
create, read, update string
email
create, read, update string
abbreviation
create, read, update string
description
create, read, update text
cuit
create, read, update string
gross_income
create, read, update string
logo_url
read string
street_name
create, read, update string
street_number
create, read, update int
phone
create, read, update string
fiscal_ws
create, update (empty string) | wsfe | wsmtxca
fiscal_ws_status
read (empty string) | waiting | ok
remaining_documents
read int
status
read activated | suspended | redeem required
activities_start_date
create, read, update string
seat_tim
create, read, update string
establishment_number
create, read, update string
department
create, read, update string
province
create, read, update string
started_at
read datetimew3c
expire_at
read datetimew3c
deleted_at
read datetimew3c

Relationships

responsibility
has one of type: responsibilities
user
has one of type: users
fiscalpos
has many of type: fiscalpos
plan
has one of type: plans
company_payments
has many of type: company_payments

Filters

deleted
boolean se acepta varios valores, separados por coma

JSON Resource Example

  {
    data: {
      type: companies,
      id: 678,
      attributes: {
        name: string,
        legal_name: string,
        email: string,
        abbreviation: string,
        description: someValue,
        cuit: string,
        gross_income: string,
        logo_url: string,
        street_name: string,
        street_number: someValue,
        phone: string,
        fiscal_ws: someValue,
        fiscal_ws_status: someValue,
        remaining_documents: someValue,
        status: someValue,
        activities_start_date: string,
        seat_tim: string,
        establishment_number: string,
        department: string,
        province: string,
        started_at: 2019-09-16T14:06:24+00:00,
        expire_at: 2019-09-16T14:06:24+00:00,
        deleted_at: 2019-09-16T14:06:24+00:00
        },
      relationships: { 
         responsibility:{
          id: 975,
          type: responsibilities
        },
      
         user:{
          id: 353,
          type: users
        },
      
        fiscalpos:{
          id: 930,
          type: fiscalpos
        },
      
         plan:{
          id: 472,
          type: plans
        },
      
        company_payments:{
          id: 708,
          type: company_payments
        }
      }
    }
  }

JSON-API Entry points

DELETE PATCH GET http://api.multinexo.com/v1/users/{user_id}/companies/{company_id}

POST http://api.multinexo.com/v1/users/{user_id}/companies/

Special entry points

POST […]v1/users/{user_id}/companies/{company_id}/logo
POST […]v1/users/{user_id}/companies/{company_id}/upload/crt
DELETE […]v1/users/{user_id}/companies/{company_id}/logo/{nameImage}
PATCH […]v1/users/{user_id}/companies/{company_id}/restore
GET […]v1/users/{user_id}/companies/{company_id}/download/csr