Autenticación Autorización Filtros Hardware Cashier Companies Documents Entities ExternalApps Fiscal Funds Notifications Products Shared Users

costs resource

GET http://api.multinexo.com/v1/companies/{company_id}/costs

Attributes

percent
create, read, update
name
create, read, update LikeFilter Sortable
description
create, read, update
deleted
create, read, update DeletedFilter Sortable
parent_id
read StringFilter Sortable
from
create, read, update DateFilter Sortable
to
create, read, update DateFilter Sortable
total
read numeric
pdf_url
read
amount
create, read, update numeric

Relationships

cost_center
has one of type: cost_center
document
has one of type: document

Filter example

http://api.multinexo.com/v1/companies/{company_id}/costs?filter[name]=someValue

JSON Resource Example

  {
    data: {
      type: costs,
      id: 984,
      attributes: {
        percent: someValue,
        name: someValue,
        description: someValue,
        deleted: someValue,
        parent_id: someValue,
        from: someValue,
        to: someValue,
        total: someValue,
        pdf_url: someValue,
        amount: someValue
        },
      relationships: { 
         cost_center:{
          id: 416,
          type: cost_center
        },
      
         document:{
          id: 674,
          type: document
        }
      }
    }
  }

JSON-API Entry points

DELETE PATCH GET http://api.multinexo.com/v1/companies/{company_id}/costs/{resource_id}

POST http://api.multinexo.com/v1/companies/{company_id}/costs/