Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 675 Bytes

companies-endpoint.md

File metadata and controls

49 lines (30 loc) · 675 Bytes

Company Endpoint

This notification will be sent when a company has been modified or created.

  • Company has been updated.
  • Company has been created.
  • Company has been deleted.

Company has been created.

Subject

CompanyAdded

Body

{
    "data": {... JSON Response from getCompany API }
}

Company has been updated.

Subject:

CompanyUpdated

Body

{
    "data": {... JSON Response from getCompany API },
    "previousData": {... Previous Data in JSON which has been just updated }
}

Company has been deleted.

Subject

CompanyDeleted

Body

{
    "companyId": 123
}