Get Assignments for An Application

Get Assignments for An Application

Get Assignments for an Application

Request
URI
GET
https://{api_host}/app_volumes/app_products/{id}/assignments
COPY
Path Parameters
integer
id
Required

Application ID.

Query Parameters
string
include
Required

The extra models in order to fetch entity and filter details.

Possible values are : entities, filters,

Responses
200

The Application and assignment details.

Returns GetApplicationAssignmentSuccess of type(s) application/json
{
    "data": [
        {
            "id": 1,
            "description": "This application is best suitable for text files.",
            "app_product_id": 1,
            "app_product_name": "Notepad++",
            "app_package_id": 0,
            "app_package_name": "string",
            "app_marker_id": 1,
            "app_marker_name": "CURRENT",
            "priority": 0,
            "mount_prefix": "string",
            "created_at": "2021-12-03 13:10:13 -0800",
            "created_at_human": "Dec 03 2021",
            "updated_at": "2021-12-03 13:10:13 -0800",
            "updated_at_human": "Dec 03 2021",
            "entities": [
                {
                    "id": 1,
                    "entity_type": "User",
                    "name": "testuser-1",
                    "account_name": "testuser-1",
                    "upn": "SNAPVOLUMES\\testuser-1",
                    "distinguished_name": "CN=testuser-1,OU=Domain Users,DC=Snapvolumes,DC=com"
                }
            ],
            "filters": [
                {
                    "id": 3,
                    "type": "ComputerPrefixFilter",
                    "value": "COMP"
                }
            ]
        }
    ]
}
data
Optional

data


403

Session expired. Create a session and make the request with the _session_id cookie.

Returns UnauthorizedError of type(s) application/json
{
    "error": "Session expired. Please login again."
}
string
error
Optional

Session expired. Create a session using and make the request with the _session_id cookie.


404

Application not found.

Returns GetApplicationNotFoundError of type(s) application/json
{
    "errors": [
        {
            "title": "Application \"0\" was not found",
            "meta": {
                "manager": {
                    "title": "Application \"0\" was not found"
                }
            }
        }
    ]
}
array of object
errors
Optional

errors


500

Server error.

Returns ServerError of type(s) application/json
{
    "error": "Server Error",
    "detail": "Unexpected server error."
}
string
error
Optional

Server Error.

string
detail
Optional

Details of error. Exact error format subject to change depending on type of error.