HeadOfficeController

HeadOfficeController

Controller for head offices.

Constructor

new HeadOfficeController()

Source:

Methods

create(identifier) → {Promise.<any>}

Create a new HeadOffice

Source:
Parameters:
Name Type Description
identifier string

The identifier for the Head Office Object

Returns:
Type:
Promise.<any>
  • The id of the Head Office object

delete(id) → {Promise.<any>}

Delete a HeadOffice instance

Source:
Parameters:
Name Type Description
id string

The id of the Head Office Object

Returns:
Type:
Promise.<any>

update(id, identifier) → {Promise.<any>}

Update a HeadOffice

Source:
Parameters:
Name Type Description
id string

The id of the Head Office Object

identifier string

The identifier for the Head Office Object

Returns:
Type:
Promise.<any>
  • The id of the Head Office object