Skip to main content

Retrieving Solutions

You can retrieve all of a workspace's Solutions, or get a specific Solution by it's unique ID.

Get Solution

Get a single Solution by its Id.

get_solution(solutionId: string, options?: RequestOptions | string[]): Promise<SolutionsModel>
Parameter NameTypeDescription
solutionIdstringThe Id of the solution.
Example Script - Get Solution

<!--get_solution(solutionId: string, options?: RequestOptions | string[]): Promise<SolutionsModel>;-->
<script>
window.SmartSuite.get_solution('67161745a504292e31e25acf').then((res) => {
console.log('result =>>>', res);
});
</script>

Response

200 response
{Solution Object}

List Solutions

Get all Solutions.

list_solutions(fieldSlugs?: string[]): Promise<SolutionsModel[]>
Parameter NameTypeDescription
fieldSlugsarray of strings(optional) Array of solution object keys to return.
List Solutions

<!--list_solutions(fieldSlugs?: string[]): Promise<SolutionsModel[]>-->
<script>
window.SmartSuite.list_solutions().then((res) => {
console.log('result =>>>', res);
});
</script>

Response

200 response
[
{
"name": "System",
"slug": "system",
"logo_color": "#0C41F3",
"logo_icon": "calendar",
"description": {
"data": {},
"html": "",
"preview": ""
},
"permissions": {
"level": "all_members",
"members": [],
"teams": [],
"owners": []
},
"hidden": false,
"created": "2022-12-20T17:52:21.298000Z",
"updated": "2022-12-20T17:52:21.298000Z",
"has_demo_data": false,
"status": "in_development",
"automation_count": 0,
"records_count": 27,
"members_count": 15,
"sharing_hash": "D2h5hdsBSc",
"applications_count": 2,
"last_access": "2024-10-17T22:47:00.840000Z",
"id": "63a1f65523aaf6bcb564b00a",
"delete_date": null,
"deleted_by": null,
"updated_by": null,
"template": null
},
...
]