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": "f1587fc9-987f-49fa-81bf-38dccaa24978",
"Value": "sample string 2",
"Text": "sample string 3",
"Code": "sample string 4",
"Colour": "sample string 5",
"Level": 6,
"Graphic": "4d944ca5-889d-4910-89a2-51e99d558277",
"Note": "e12fc05f-a0a2-44aa-85f8-f3e23b101c63",
"Children": []
},
{
"Id": "f1587fc9-987f-49fa-81bf-38dccaa24978",
"Value": "sample string 2",
"Text": "sample string 3",
"Code": "sample string 4",
"Colour": "sample string 5",
"Level": 6,
"Graphic": "4d944ca5-889d-4910-89a2-51e99d558277",
"Note": "e12fc05f-a0a2-44aa-85f8-f3e23b101c63",
"Children": []
}
]
text/html
Sample:
[{"Id":"f1587fc9-987f-49fa-81bf-38dccaa24978","Value":"sample string 2","Text":"sample string 3","Code":"sample string 4","Colour":"sample string 5","Level":6,"Graphic":"4d944ca5-889d-4910-89a2-51e99d558277","Note":"e12fc05f-a0a2-44aa-85f8-f3e23b101c63","Children":[]},{"Id":"f1587fc9-987f-49fa-81bf-38dccaa24978","Value":"sample string 2","Text":"sample string 3","Code":"sample string 4","Colour":"sample string 5","Level":6,"Graphic":"4d944ca5-889d-4910-89a2-51e99d558277","Note":"e12fc05f-a0a2-44aa-85f8-f3e23b101c63","Children":[]}]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.