Perspectiveset admin API Resource

WS for getting perspectives related data for active configuration.

GET /api/admin/perspectiveset/members/json/{perspectiveId}

Get members of specified perspective in active system configuration.

Request Parameters
name type description constraints
perspectiveId path The unique identifier of perspective long
Response Body
media type data type description
application/json array of HdcPerspectiveRelativeTO (JSON) JSON Response with description of perspective

Example of response:

{"list":[{"classId":"10","classLabel":"Faciliteter"},{"classId":"11","classLabel":"Fastighet"},{"classId":"13","classLabel":"Plan"},{"classId":"12","classLabel":"Hus"}]}

Example

Request
GET /api/admin/perspectiveset/members/json/{perspectiveId}
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
[ { } ]
                
              

GET /api/admin/perspectiveset/perspectives/json/{perspectiveSetId}

Get perspectives for specified perspective set.

Request Parameters
name type description constraints
perspectiveSetId path The unique identifier of perspective long
Response Body
media type data type description
application/json array of HdcPerspectiveTO (JSON) JSON Response with description of perspective

Example of response:

{"list":[{"classId":"10","classLabel":"Faciliteter"},{"classId":"11","classLabel":"Fastighet"},{"classId":"13","classLabel":"Plan"},{"classId":"12","classLabel":"Hus"}]}

Example

Request
GET /api/admin/perspectiveset/perspectives/json/{perspectiveSetId}
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
[ { } ]