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

roles resource

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

Attributes

name
create, read, update string StringFilter Sortable
is_admin
create, read, update
description
create, read, update string
deleted
read DeletedFilter Sortable

Relationships

users
has one of type: users
permissions
has one of type: permissions

Filter example

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

JSON Resource Example

  {
    data: {
      type: roles,
      id: 411,
      attributes: {
        name: string,
        is_admin: someValue,
        description: string,
        deleted: someValue
        },
      relationships: { 
         users:{
          id: 303,
          type: users
        },
      
         permissions:{
          id: 713,
          type: permissions
        }
      }
    }
  }

JSON-API Entry points

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

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