GET v1/bunits/{bunitId}/products?methodId={methodId}
Get all products available in the system.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bunitId |
integer |
Required |
|
methodId |
integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
A list of all available products
Collection of ProductName | Description | Type | Additional information |
---|---|---|---|
Name |
Name of the product |
string |
Required. |
UnitName |
Name of unit Could be liter, hour, megabyte, piece etc. Default is unit |
string |
None. |
Inherited |
Product is inherited from a ancestor business unit. |
boolean |
Read-only. |
Inheritable |
Product is available to descendant business units. |
boolean |
None. |
Method |
The invoice method used to calculate the product price. |
InvoiceMethod |
None. |
InheritedProductCode |
The inherited product code is the default product code. It may be overridden using the ProductCode property. |
ProductCode |
None. |
ProductCode |
The product code. |
ProductCode |
Overrides the inherited product code. |
Id |
A unique ID for the object. |
integer |
Read-only. |
CreatedDate |
Time and date the object was created. |
date |
Read-only. |
ArchivedDate |
Time and date the object was or is going to be archived. Unarchived objects have no value in ArchivedDate |
date |
Read-only. |
Operations |
Collection of OperationResult |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.