Gets the price lists attached to the master company ("My company"). These are the price lists that can be assigned to clients.
In the UI you can see this list from "My company" > "Prices".
URL
(GET) /api/services/companies/master/pricelists
PARAMETERS
URL parameters are:
id | The price list ID | Integer, Mandatory |
RESULTS
The result is of same format as described in:
EXAMPLES
The list of all price lists defined in "My company". These are the price lists that can be assigned to clients.
{ "default": 500, "items": [ { "plid": 500, "code": "", "name": "Default", "cid": 537, "enabled": true, "isDefault": true, "isDraft": false, "currency": "EUR", "currencyt": "Euro", "comments": "", "contractno": "" }, { "plid": 492, "code": "Special", "name": "Special services", "cid": 537, "enabled": true, "isDefault": false, "isDraft": false, "currency": "EUR", "currencyt": "Euro", "comments": "", "contractno": "" } ] }
ACCESS RIGHTS
Access to price lists and services is strictly governed by the user's access rights profile. See Access Rights
Only administrators or internal managers (with the respective rights enabled) are authorized to access price information of all companies (clients, suppliers, master company).
Any other user can only see the information that he/she can also see in the web interface. Suppliers can only see their supplier price lists, and only if, the user's profile allows even that access.
Some fields are available for internal users only, such as internal comments, contract number etc.