Return a cost object hash.
public static getCostObjectByID ( string $id, string | boolean $employee = false ) : array | ||
$id | string | The cost object id. |
$employee | string | boolean | Employee hint - if known. False otherwise. |
return | array | The cost object hash. Keys differ depending on the API queried, but should always contain: - id: - name: |