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": "7ae7c6ad-a1ed-42e0-be9e-63455cafede5",
"Value": "sample string 2",
"Text": "sample string 3",
"Code": "sample string 4",
"Colour": "sample string 5",
"Level": 6,
"Graphic": "8ddd3806-d3a8-4fa3-b848-455eda653c71",
"Note": "f0a62cb4-1526-44b9-9d5b-639ac3698509",
"Children": []
},
{
"Id": "7ae7c6ad-a1ed-42e0-be9e-63455cafede5",
"Value": "sample string 2",
"Text": "sample string 3",
"Code": "sample string 4",
"Colour": "sample string 5",
"Level": 6,
"Graphic": "8ddd3806-d3a8-4fa3-b848-455eda653c71",
"Note": "f0a62cb4-1526-44b9-9d5b-639ac3698509",
"Children": []
}
]
text/html
Sample:
[{"Id":"7ae7c6ad-a1ed-42e0-be9e-63455cafede5","Value":"sample string 2","Text":"sample string 3","Code":"sample string 4","Colour":"sample string 5","Level":6,"Graphic":"8ddd3806-d3a8-4fa3-b848-455eda653c71","Note":"f0a62cb4-1526-44b9-9d5b-639ac3698509","Children":[]},{"Id":"7ae7c6ad-a1ed-42e0-be9e-63455cafede5","Value":"sample string 2","Text":"sample string 3","Code":"sample string 4","Colour":"sample string 5","Level":6,"Graphic":"8ddd3806-d3a8-4fa3-b848-455eda653c71","Note":"f0a62cb4-1526-44b9-9d5b-639ac3698509","Children":[]}]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.