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

companies resource

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

Attributes

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

Relationships

responsibilities
has one
users
has one
fiscalpos
has many
plans
has one
company_payments
has many

JSON Resource Example

  {
    data: {
      type: companies,
      id: 350,
      attributes: {
        name: someValue,
        legal_name: someValue,
        abbreviation: someValue,
        description: someValue,
        cuit: someValue,
        gross_income: someValue,
        logo_url: someValue,
        street_name: someValue,
        street_number: someValue,
        phone: someValue,
        fiscal_ws: someValue,
        fiscal_ws_status: someValue,
        remaining_documents: someValue,
        status: someValue,
        activities_start_date: someValue,
        seat_tim: someValue,
        establishment_number: someValue,
        department: someValue,
        province: someValue,
        started_at: 2018-08-28T16:31:47+00:00,
        expire_at: 2018-08-28T16:31:47+00:00,
        check_at: 2018-08-28T16:31:47+00:00,
        created_at: 2018-08-28T16:31:47+00:00
        },
      relationships: { 
        responsibilities:{
          id: 646,
          type: responsibilities
        },
      
        users:{
          id: 988,
          type: users
        },
      
        fiscalpos:{
          id: 640,
          type: fiscalpos
        },
      
        plans:{
          id: 703,
          type: plans
        },
      
        company_payments:{
          id: 366,
          type: company_payments
        }
      }
    }
  }

JSON-API Entry points

DELETE PATCH GET http://api.multinexo.com/v1/users/{user_id}/companies/{companies_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 POST […]v1/users/{user_id}/companies/{company_id}/logo/{nameImage}
GET […]v1/users/{user_id}/companies/{company_id}/restore
GET […]v1/users/{user_id}/companies/{company_id}/download/csr
GET […]v1/users/{user_id}/companies/{company_id}/checkWsAfipStatus
GET […]v1/users/{user_id}/companies/{company_id}/establishDefaultAfipWs