WS for toolsets mapping
Get list of class toolset mappings
| media type | data type | description |
|---|---|---|
| application/json | array of ClassToolsetMappingItem (JSON) | JSON with list of users
Example of response:
{"list":[{"clasId":"10","toolset":{"id":"952","objectName":"Red Intense","style":{"stroke-opacity":"1","id":"952","stroke-width":"0.1","fill":"#FF0000","stroke":"#FF0000","fill-opacity":"0.6"}}}]}
|
Unassign toolset from class
| name | type | description | default | constraints |
|---|---|---|---|---|
| classId | path | long |
| media type | data type | description |
|---|---|---|
| application/json | HdcSuccessTO (JSON) | JSON response with information if unassignment was successful or not |
Get list of toolsets for dictionary
| name | type | description | default | constraints |
|---|---|---|---|---|
| dictionaryId | path | ID of dictionary | long |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | JSON with list of toolsets mappings
Example of response:
{"list":[{"itemId":"KOMMUNIKATION","itemValue":"KOMMUNIKATION","toolset":{"id":"952","objectName":"Red Intense","style":{"stroke-opacity":"1","id":"952","stroke-width":"0.1","fill":"#FF0000","stroke":"#FF0000","fill-opacity":"0.6"}}}]}
|
Assign toolset to class
| name | type | description | default | constraints |
|---|---|---|---|---|
| classId | path | long | ||
| toolsetId | path | long |
| media type | data type | description |
|---|---|---|
| application/json | HdcSuccessTO (JSON) | JSON response with information if assignment was successful or not |
Unassign toolset from dictionary field
| name | type | description | default | constraints |
|---|---|---|---|---|
| dictId | path | long | ||
| dictItemId | path |
| media type | data type | description |
|---|---|---|
| application/json | HdcSuccessTO (JSON) | JSON response with information if unassignment was successful or not |
Assign toolset to dictionary field
| name | type | description | default | constraints |
|---|---|---|---|---|
| dictId | path | long | ||
| dictItemId | path | |||
| toolsetId | path | long |
| media type | data type | description |
|---|---|---|
| application/json | HdcSuccessTO (JSON) | JSON response with information if assignment was successful or not |