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": "074b184d-436f-4853-a998-b3d91f745b4f",
"Value": "sample string 2",
"Text": "sample string 3",
"Code": "sample string 4",
"Colour": "sample string 5",
"Level": 6,
"Graphic": "b886a4fd-394f-41c3-9b1c-cc145c8e1dab",
"Note": "ad31bd8c-2171-4556-a714-ab02238ea402",
"Children": []
},
{
"Id": "074b184d-436f-4853-a998-b3d91f745b4f",
"Value": "sample string 2",
"Text": "sample string 3",
"Code": "sample string 4",
"Colour": "sample string 5",
"Level": 6,
"Graphic": "b886a4fd-394f-41c3-9b1c-cc145c8e1dab",
"Note": "ad31bd8c-2171-4556-a714-ab02238ea402",
"Children": []
}
]
text/html
Sample:
[{"Id":"074b184d-436f-4853-a998-b3d91f745b4f","Value":"sample string 2","Text":"sample string 3","Code":"sample string 4","Colour":"sample string 5","Level":6,"Graphic":"b886a4fd-394f-41c3-9b1c-cc145c8e1dab","Note":"ad31bd8c-2171-4556-a714-ab02238ea402","Children":[]},{"Id":"074b184d-436f-4853-a998-b3d91f745b4f","Value":"sample string 2","Text":"sample string 3","Code":"sample string 4","Colour":"sample string 5","Level":6,"Graphic":"b886a4fd-394f-41c3-9b1c-cc145c8e1dab","Note":"ad31bd8c-2171-4556-a714-ab02238ea402","Children":[]}]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.