This API allows a user to fetch all portals accessible to user across all department.
Functional Behavior
Success
No Content If all the portals are personalized and user does not have any profile assigned
Bad Request
Unauthorized
Forbidden
Not Found
Not acceptable
Internal server error
By defualt shortURL only contains single object
{- "portal": [
- {
- "id": 959500000002278,
- "name": "Support Portal",
- "description": "Portal Description",
- "link": {
- "rel": "self",
- "href": "/knowledge/portalmgr/v3/portals/959500000002278"
}, - "department": {
- "id": 1004,
- "name": "support"
}, - "shortURL": [
- {
- "id": 959500000003621,
- "templateName": "silver",
- "shortURLName": "XEMrao",
- "isDefault": true
}
]
}, - {
- "id": 959500000002279,
- "name": "Escalation Portal",
- "description": "Portal Description",
- "link": {
- "rel": "self",
- "href": "/knowledge/portalmgr/v3/portals/959500000003621"
}, - "department": {
- "id": 1005,
- "name": "service"
}, - "shortURL": [
- {
- "id": 959500000003621,
- "templateName": "silver",
- "shortURLName": "XEMrao",
- "isDefault": true
}
]
}
], - "paginationInfo": {
- "count": 6,
- "pagenum": 2,
- "pagesize": 2,
- "link": [
- {
- "rel": "prev",
- "href": "/knowledge/portalmgr/v3/portals?$pagenum=1&$pagesize=2"
}, - {
- "rel": "next",
- "href": "/knowledge/portalmgr/v3/portals?$pagenum=3&$pagesize=2"
}
]
}
}