WS for class icon mapping
Get list of icon class mappings
media type | data type | description |
---|---|---|
*/* | object | JSON with list of mappings
Example of response:
{"list":[{"classId":111,"classLabel":"Document","icon":{"id":2940,"name":"hammer.PNG","width":78,"height":97}},{"classId":461,"classLabel":"Equipment","icon":{"id":1927,"name":"1508494112714_1352472640.png","width":94,"height":95}},{"classId":127,"classLabel":"Contract","icon":{"id":2941,"name":"allert.PNG","width":85,"height":83}},{"classId":105,"classLabel":"Building","icon":{"id":1764,"name":"bad-icon.jpg","width":90,"height":90}}]}
|
Unassign icon from class
name | type | description | default | constraints |
---|---|---|---|---|
classId | path | - id of class | long |
media type | data type | description |
---|---|---|
*/* | object | JSON response with information if unassignment was successful or not |
Assign icon to class
name | type | description | default | constraints |
---|---|---|---|---|
classId | path | - id of class | long | |
iconId | path | - id of icon | long |
media type | data type | description |
---|---|---|
*/* | object | JSON response with information if assignment was successful or not |