POST app/userProfile/profilesInDepartment
List all user profiles in a particular department based on deviceid.
Request Information
URI Parameters
None.
Body Parameters
DeviceIdDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| DeviceId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"deviceId": "sample string 1"
}
application/xml, text/xml
Sample:
<DeviceIdDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models.DTO"> <DeviceId>sample string 1</DeviceId> </DeviceIdDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of UserProfileInDepartmentDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Address | string |
None. |
|
| DepartmentId | string |
None. |
|
| ImageUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"name": "sample string 1",
"address": "sample string 2",
"departmentId": "sample string 3",
"imageUrl": "sample string 4"
},
{
"name": "sample string 1",
"address": "sample string 2",
"departmentId": "sample string 3",
"imageUrl": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfUserProfileInDepartmentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models.DTO">
<UserProfileInDepartmentDTO>
<Address>sample string 2</Address>
<DepartmentId>sample string 3</DepartmentId>
<ImageUrl>sample string 4</ImageUrl>
<Name>sample string 1</Name>
</UserProfileInDepartmentDTO>
<UserProfileInDepartmentDTO>
<Address>sample string 2</Address>
<DepartmentId>sample string 3</DepartmentId>
<ImageUrl>sample string 4</ImageUrl>
<Name>sample string 1</Name>
</UserProfileInDepartmentDTO>
</ArrayOfUserProfileInDepartmentDTO>