<back to all web services
ListCompanyProfilesWithPermissionsQuery
The following routes are available for this service:| GET | /profileuser/permissions/company/{id} | List profiles with permissions for specific company | |
|---|
ListCompanyProfilesWithPermissionsQuery Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| Id | path | uint | No | |
MultipleResultBaseResponse<T> Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| MultipleResult | form | IList<T> | No | |
| Amount | form | long | No | |
ProfileUserPermissionDto Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| Id | form | uint | No | |
| Email | form | string | No | |
| Name | form | string | No | |
| Surname | form | string | No | |
| Description | form | string | No | |
| Permissions | form | List<ProfileUserCompanyRoleDto> | No | |
ProfileUserCompanyRoleDto Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| ProfileUserId | form | uint | No | |
| CompanyId | form | uint | No | |
| Roles | form | RoleDto[] | No | |
RoleDto Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| Name | form | string | No | |
| Description | form | string | No | |
| IsGlobal | form | bool | No | |
| IsSystem | form | bool | No | |
BaseKeyLongDto Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| CreatedById | form | uint | No | |
| ModifiedById | form | uint | No | |
| CreatedDate | form | DateTime | No | |
| ModifiedDate | form | DateTime | No | |
| Id | form | ulong | No | |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
GET /profileuser/permissions/company/{id} HTTP/1.1
Host: api.chmuradokumentow.pl
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
amount: 0
}