messages resource

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

Attributes

subject
create, read, update
content
create, read, update
to
create, read, update LikeFilter Sortable
status
create, read, update enum (sent, queued, draft, failed) EnumFilter Sortable
resources
read ResourceFilter Sortable

Relationships

documents
has one of type: documents
fiscalbooks
has one of type: fiscalbooks
pricelist_reports
has one of type: pricelist_reports
cost_reports
has one of type: cost_reports

Filter example

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

JSON Resource Example

  {
    data: {
      type: messages,
      id: 204,
      attributes: {
        subject: someValue,
        content: someValue,
        to: someValue,
        status: someValue,
        resources: someValue
        },
      relationships: { 
         documents:{
          id: 663,
          type: documents
        },
      
         fiscalbooks:{
          id: 341,
          type: fiscalbooks
        },
      
         pricelist_reports:{
          id: 378,
          type: pricelist_reports
        },
      
         cost_reports:{
          id: 923,
          type: cost_reports
        }
      }
    }
  }

JSON-API Entry points

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

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