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

cost_centers resource

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

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

Relationships

cost_assignation_strategy
costs
has one of type: costs
cost_center_parent
has one of type: cost_center_parent
cost_center_children
has one of type: cost_center_children

Filter example

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

JSON Resource Example

  {
    data: {
      type: cost_centers,
      id: 159,
      attributes: {
        percent: someValue,
        name: someValue,
        description: someValue,
        deleted: someValue,
        parent_id: someValue
        },
      relationships: { 
         cost_assignation_strategy:{
          id: 488,
          type: cost_assignation_strategy
        },
      
         costs:{
          id: 721,
          type: costs
        },
      
         cost_center_parent:{
          id: 339,
          type: cost_center_parent
        },
      
         cost_center_children:{
          id: 827,
          type: cost_center_children
        }
      }
    }
  }

JSON-API Entry points

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

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