GET pricebook/categories
Gets the categories.
Request Information
URI
https://mtm-api.xaitcpq.net/pricebook/categories
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
The categories.
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": "52b4aaba-a6e7-4191-bba1-b1bcd54507d6",
"Value": "sample string 2",
"Text": "sample string 3",
"Code": "sample string 4",
"Colour": "sample string 5",
"Level": 6,
"Graphic": "9bb4f09b-8b01-4417-bd8f-130ffde285fa",
"Note": "3d3153eb-fcea-41e3-ad61-e17a946b297c",
"Children": []
},
{
"Id": "52b4aaba-a6e7-4191-bba1-b1bcd54507d6",
"Value": "sample string 2",
"Text": "sample string 3",
"Code": "sample string 4",
"Colour": "sample string 5",
"Level": 6,
"Graphic": "9bb4f09b-8b01-4417-bd8f-130ffde285fa",
"Note": "3d3153eb-fcea-41e3-ad61-e17a946b297c",
"Children": []
}
]
text/html
Sample:
[{"Id":"52b4aaba-a6e7-4191-bba1-b1bcd54507d6","Value":"sample string 2","Text":"sample string 3","Code":"sample string 4","Colour":"sample string 5","Level":6,"Graphic":"9bb4f09b-8b01-4417-bd8f-130ffde285fa","Note":"3d3153eb-fcea-41e3-ad61-e17a946b297c","Children":[]},{"Id":"52b4aaba-a6e7-4191-bba1-b1bcd54507d6","Value":"sample string 2","Text":"sample string 3","Code":"sample string 4","Colour":"sample string 5","Level":6,"Graphic":"9bb4f09b-8b01-4417-bd8f-130ffde285fa","Note":"3d3153eb-fcea-41e3-ad61-e17a946b297c","Children":[]}]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.