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": "de27aacf-c7e2-4991-aa04-164f96473552",
"Value": "sample string 2",
"Text": "sample string 3",
"Code": "sample string 4",
"Colour": "sample string 5",
"Level": 6,
"Graphic": "ebb34d7a-dbbc-413a-849d-9830b5dc427d",
"Note": "6d23d9c0-17bc-4ae9-acd2-48254aa27eed",
"Children": []
},
{
"Id": "de27aacf-c7e2-4991-aa04-164f96473552",
"Value": "sample string 2",
"Text": "sample string 3",
"Code": "sample string 4",
"Colour": "sample string 5",
"Level": 6,
"Graphic": "ebb34d7a-dbbc-413a-849d-9830b5dc427d",
"Note": "6d23d9c0-17bc-4ae9-acd2-48254aa27eed",
"Children": []
}
]
text/html
Sample:
[{"Id":"de27aacf-c7e2-4991-aa04-164f96473552","Value":"sample string 2","Text":"sample string 3","Code":"sample string 4","Colour":"sample string 5","Level":6,"Graphic":"ebb34d7a-dbbc-413a-849d-9830b5dc427d","Note":"6d23d9c0-17bc-4ae9-acd2-48254aa27eed","Children":[]},{"Id":"de27aacf-c7e2-4991-aa04-164f96473552","Value":"sample string 2","Text":"sample string 3","Code":"sample string 4","Colour":"sample string 5","Level":6,"Graphic":"ebb34d7a-dbbc-413a-849d-9830b5dc427d","Note":"6d23d9c0-17bc-4ae9-acd2-48254aa27eed","Children":[]}]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.