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": "62b10228-cb15-442b-af10-920c8dcfbed1",
"Value": "sample string 2",
"Text": "sample string 3",
"Code": "sample string 4",
"Colour": "sample string 5",
"Level": 6,
"Graphic": "2651d8bc-664b-42a4-8657-617c72064b30",
"Note": "8fe16fab-d464-4a96-906e-7311246777c2",
"Children": []
},
{
"Id": "62b10228-cb15-442b-af10-920c8dcfbed1",
"Value": "sample string 2",
"Text": "sample string 3",
"Code": "sample string 4",
"Colour": "sample string 5",
"Level": 6,
"Graphic": "2651d8bc-664b-42a4-8657-617c72064b30",
"Note": "8fe16fab-d464-4a96-906e-7311246777c2",
"Children": []
}
]
text/html
Sample:
[{"Id":"62b10228-cb15-442b-af10-920c8dcfbed1","Value":"sample string 2","Text":"sample string 3","Code":"sample string 4","Colour":"sample string 5","Level":6,"Graphic":"2651d8bc-664b-42a4-8657-617c72064b30","Note":"8fe16fab-d464-4a96-906e-7311246777c2","Children":[]},{"Id":"62b10228-cb15-442b-af10-920c8dcfbed1","Value":"sample string 2","Text":"sample string 3","Code":"sample string 4","Colour":"sample string 5","Level":6,"Graphic":"2651d8bc-664b-42a4-8657-617c72064b30","Note":"8fe16fab-d464-4a96-906e-7311246777c2","Children":[]}]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.