HDC Hierarchy returned in JSON data type Web Service.
Add presentation.
Example of request:
{"presentationName":"Test","presentationDescription":"Test Presentation","layerId":"2","typeId":1,"showSum":false,"countColumn":true,"spotAreaColumn":false,"summaryColumn":true,"summaryColumnLabel":"Custom label","summaryColumnSuffix":"Summary sufix"}
media type | data type | description |
---|---|---|
application/json | HdcPresentationModelTO (JSON) | The specification of presentation that has to be added. |
media type | data type | description |
---|---|---|
application/json | HdcBasicObjectIdOnlyTO (JSON) | JSON Response with information, whether the adding has or has not been succeeded. |
POST /api/admin/presentation
Content-Type: application/json
Accept: application/json
{ }
HTTP/1.1 201 Created
Content-Type: application/json
{ }
Get list of presentations.
media type | data type | description |
---|---|---|
application/json | object (JSON) | JSON Response with the list of presentations and filters.
Example of response:
{"list":[{"presentationId":"2","presentationName":"Area","presentationDescription":"Test presentation 2","isAutomatic":false},{"presentationId":"22","presentationName":"Functionality","presentationDescription":"","isAutomatic":false},]}
|
GET /api/admin/presentation/json
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
Remove presentation
name | type | description | constraints |
---|---|---|---|
presentationId | path | ID of presentation | long |
media type | data type | description |
---|---|---|
application/json | HdcSuccessTO (JSON) | JSON Response with information, whether the removing has or has not been succeeded. |
DELETE /api/admin/presentation/{presentationId}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 204 No Content
Content-Type: application/json
{ }
Update presentation.
Example of request:
{"presentationName":"Test updated","presentationDescription":"Test Presentation updated","layerId":"2","typeId":1,"showSum":false,"countColumn":true,"spotAreaColumn":true,"summaryColumn":false}
name | type | description | constraints |
---|---|---|---|
presentationId | path | ID of presentation | long |
media type | data type | description |
---|---|---|
application/json | HdcPresentationModelTO (JSON) | The specification of presentation that has to be updated. |
media type | data type | description |
---|---|---|
application/json | HdcSuccessTO (JSON) | JSON Response with information, whether the updating has or has not been succeeded. |
PUT /api/admin/presentation/{presentationId}
Content-Type: application/json
Accept: application/json
{ }
HTTP/1.1 204 No Content
Content-Type: application/json
{ }
Remove filter
name | type | description | constraints |
---|---|---|---|
filterId | path | ID of filter | long |
media type | data type | description |
---|---|---|
application/json | HdcSuccessTO (JSON) | JSON Response with information, whether the removing has or has not been succeeded. |
DELETE /api/admin/presentation/filter/{filterId}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 204 No Content
Content-Type: application/json
{ }
Add presentation filter.
Example of request:
{"label":"Test filter","targetClass":"108","summaryField":"fi2space_areanta","toolset":{"id":730},"hql":"fi2space_areabra > 10","sourceClass":"128","perspectiveSetId":"928"}
name | type | description | constraints |
---|---|---|---|
presentationId | path | long |
media type | data type | description |
---|---|---|
application/json | HdcFilterModelTO (JSON) | The specification of filter that has to be added. |
media type | data type | description |
---|---|---|
application/json | HdcSuccessWithId (JSON) | JSON Response with information, whether the adding has or has not been succeeded. |
POST /api/admin/presentation/filter/{presentationId}
Content-Type: application/json
Accept: application/json
{ }
HTTP/1.1 201 Created
Content-Type: application/json
{ }
Update filter.
Example of request:
{"label":"Test Filter","targetClass":"108","summaryField":"cq_window_area","toolset":{"id":"730"},"hql":"fi2space_areabra >= 10","perspectiveSetId":""}
name | type | description | constraints |
---|---|---|---|
filterId | path | ID of filter | long |
presentationId | path | ID of presentation | long |
media type | data type | description |
---|---|---|
application/json | HdcFilterModelTO (JSON) | The specification of filter that has to be updated. |
media type | data type | description |
---|---|---|
application/json | HdcSuccessTO (JSON) | JSON Response with information, whether the updating has or has not been succeeded. |
PUT /api/admin/presentation/filter/{presentationId}/{filterId}
Content-Type: application/json
Accept: application/json
{ }
HTTP/1.1 204 No Content
Content-Type: application/json
{ }
name | type | description | constraints |
---|---|---|---|
presentationId | path | long |
media type | data type | description |
---|---|---|
application/json | object (JSON) |
GET /api/admin/presentation/filters/json/{presentationId}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...