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

cost_centers resource

GET https://api.multinexo.comcompanies/{company_id}/cost_centers

Attributes

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

https://api.multinexo.comcompanies/{company_id}/cost_centers?filter[name]=someValue

JSON Resource Example

  {
    data: {
      type: cost_centers,
      id: 675,
      attributes: {
        name: someValue,
        description: someValue,
        deleted: someValue,
        parent_id: someValue
        },
      relationships: { 
         cost_assignation_strategy:{
          id: 113,
          type: cost_assignation_strategy
        },
      
         costs:{
          id: 823,
          type: costs
        },
      
         cost_center_parent:{
          id: 773,
          type: cost_center_parent
        },
      
         cost_center_children:{
          id: 131,
          type: cost_center_children
        }
      }
    }
  }

JSON-API Entry points

DELETE PATCH GET https://api.multinexo.comcompanies/{company_id}/cost_centers/{resource_id}

POST https://api.multinexo.comcompanies/{company_id}/cost_centers/