GET pricebook/products
Gets the products the user has access to.
Request Information
URI
https://mtm-api.xaitcpq.net/pricebook/products
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
The products tree.
Collection of TreeRecord| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Value | string |
None. |
|
| Text | string |
None. |
|
| Code | string |
None. |
|
| Colour | string |
None. |
|
| Level | integer |
None. |
|
| Graphic | globally unique identifier |
None. |
|
| Note | globally unique identifier |
None. |
|
| Children | Collection of TreeRecord |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "cff17a03-e602-48a0-8635-4a4be62d77be",
"Value": "sample string 2",
"Text": "sample string 3",
"Code": "sample string 4",
"Colour": "sample string 5",
"Level": 6,
"Graphic": "54245bd0-e797-4b6d-8723-6d133de66e43",
"Note": "233553e8-1dce-420e-80a3-e8c40f7a4a78",
"Children": []
},
{
"Id": "cff17a03-e602-48a0-8635-4a4be62d77be",
"Value": "sample string 2",
"Text": "sample string 3",
"Code": "sample string 4",
"Colour": "sample string 5",
"Level": 6,
"Graphic": "54245bd0-e797-4b6d-8723-6d133de66e43",
"Note": "233553e8-1dce-420e-80a3-e8c40f7a4a78",
"Children": []
}
]
text/html
Sample:
[{"Id":"cff17a03-e602-48a0-8635-4a4be62d77be","Value":"sample string 2","Text":"sample string 3","Code":"sample string 4","Colour":"sample string 5","Level":6,"Graphic":"54245bd0-e797-4b6d-8723-6d133de66e43","Note":"233553e8-1dce-420e-80a3-e8c40f7a4a78","Children":[]},{"Id":"cff17a03-e602-48a0-8635-4a4be62d77be","Value":"sample string 2","Text":"sample string 3","Code":"sample string 4","Colour":"sample string 5","Level":6,"Graphic":"54245bd0-e797-4b6d-8723-6d133de66e43","Note":"233553e8-1dce-420e-80a3-e8c40f7a4a78","Children":[]}]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.