Retrieve user persona and custom profile data
POST {{baseUrl}}/.api/api.svc/apisync/view_profile?userIds={{$randomUUID}}, {{$randomUUID}}, {{$randomUUID}}
This endpoint returns one of more users' profiles, including custom profile field data, and privacy configuration information.
Request Params
| Key | Datatype | Required | Description | 
|---|---|---|---|
| userIds | string | (Required) - GUID | 
The Igloo object ID for at least one existing user. To view multiple users' profiles, separate mutliple GUIDs with commas in this parameter. The limit of this endpoint is to 1000 users or less. |
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
| Accept | string | The type of response data to request. By default this endpoint will respond with XML. | 
The options are:
- application/json
- application/xml |
RESPONSES
status: OK
"{\n    \"minRequestPeriod\": 0,\n    \"dictionary\": [\n        {\n            \"Key\": \"{{$randomUUID}}\",\n            \"Value\": {\n                \"__type\": \"IglooList:http://schemas.iglooplatform.com/Igloo.Old.Common\",\n                \"startIndex\": 0,\n                \"count\": 2,\n                \"totalCount\": \"0\",\n                \"items\": [\n                    {\n                        \"__type\": \"ProfileField:http://schemas.iglooplatform.com/Igloo.Old.Common\",\n                        \"FieldId\": \"{{$randomInt}}\",\n                        \"HasPerms\": {{$randomBoolean}},\n                        \"Name\": \"company\",\n                        \"Privacy\": 2,\n                        \"Type\": 1,\n                        \"UserId\": \"{{$randomUUID}}\",\n                        \"Value\": \"{{$randomCompanyName}}\"\n                    },\n                    {\n                        \"__type\": \"ProfileField:http://schemas.iglooplatform.com/Igloo.Old.Common\",\n                        \"FieldId\": \"{{$randomInt}}\",\n                        \"HasPerms\": {{$randomBoolean}},\n                        \"Name\": \"occupation\",\n                        \"Privacy\": 2,\n                        \"Type\": 1,\n                        \"UserId\": \"{{$randomUUID}}\",\n                        \"Value\": \"{{$randomDepartment}}\"\n                    }\n                ]\n            }\n        },\n        {\n            \"Key\": \"{{$randomUUID}}\",\n            \"Value\": {\n                \"__type\": \"IglooList:http://schemas.iglooplatform.com/Igloo.Old.Common\",\n                \"startIndex\": 0,\n                \"count\": 8,\n                \"totalCount\": \"0\",\n                \"items\": [\n                    {\n                        \"__type\": \"ProfileField:http://schemas.iglooplatform.com/Igloo.Old.Common\",\n                        \"FieldId\": \"{{$randomInt}}\",\n                        \"HasPerms\": {{$randomBoolean}},\n                        \"Name\": \"company\",\n                        \"Privacy\": 2,\n                        \"Type\": 1,\n                        \"UserId\": \"{{$randomUUID}}\",\n                        \"Value\": \"{{$randomCompanyName}}\"\n                    },\n                    {\n                        \"__type\": \"ProfileField:http://schemas.iglooplatform.com/Igloo.Old.Common\",\n                        \"FieldId\": \"{{$randomInt}}\",\n                        \"HasPerms\": {{$randomBoolean}},\n                        \"Name\": \"occupation\",\n                        \"Privacy\": 2,\n                        \"Type\": 1,\n                        \"UserId\": \"{{$randomUUID}}\",\n                        \"Value\": \"{{$randomDepartment}}\"\n                    },\n                    {\n                        \"__type\": \"ProfileField:http://schemas.iglooplatform.com/Igloo.Old.Common\",\n                        \"FieldId\": \"{{$randomInt}}\",\n                        \"HasPerms\": {{$randomBoolean}},\n                        \"Name\": \"sector\",\n                        \"Privacy\": 2,\n                        \"Type\": 1,\n                        \"UserId\": \"{{$randomUUID}}\",\n                        \"Value\": \"14\"\n                    },\n                    {\n                        \"__type\": \"ProfileField:http://schemas.iglooplatform.com/Igloo.Old.Common\",\n                        \"FieldId\": \"{{$randomInt}}\",\n                        \"HasPerms\": {{$randomBoolean}},\n                        \"Name\": \"hobbies\",\n                        \"Privacy\": 2,\n                        \"Type\": 5,\n                        \"UserId\": \"{{$randomUUID}}\",\n                        \"Value\": \"{{$randomBsNoun}}\"\n                    },\n                    {\n                        \"__type\": \"ProfileField:http://schemas.iglooplatform.com/Igloo.Old.Common\",\n                        \"FieldId\": \"{{$randomInt}}\",\n                        \"HasPerms\": {{$randomBoolean}},\n                        \"Name\": \"interests\",\n                        \"Privacy\": 2,\n                        \"Type\": 5,\n                        \"UserId\": \"{{$randomUUID}}\",\n                        \"Value\": \"{{$randomBsNoun}}, {{$randomBsNoun}}\"\n                    },\n                    {\n                        \"__type\": \"ProfileField:http://schemas.iglooplatform.com/Igloo.Old.Common\",\n                        \"FieldId\": \"{{$randomInt}}\",\n                        \"HasPerms\": {{$randomBoolean}},\n                        \"Name\": \"skills\",\n                        \"Privacy\": 2,\n                        \"Type\": 5,\n                        \"UserId\": \"{{$randomUUID}}\",\n                        \"Value\": \"{{$randomBsNoun}}, {{$randomBsNoun}}\"\n                    },\n                    {\n                        \"__type\": \"ProfileField:http://schemas.iglooplatform.com/Igloo.Old.Common\",\n                        \"FieldId\": \"{{$randomInt}}\",\n                        \"HasPerms\": {{$randomBoolean}},\n                        \"Name\": \"i_report_to\",\n                        \"Privacy\": 2,\n                        \"Type\": 1,\n                        \"UserId\": \"{{$randomUUID}}\",\n                        \"Value\": \"{{$randomFullName}}\"\n                    },\n                    {\n                        \"__type\": \"ProfileField:http://schemas.iglooplatform.com/Igloo.Old.Common\",\n                        \"FieldId\": \"{{$randomInt}}\",\n                        \"HasPerms\": {{$randomBoolean}},\n                        \"Name\": \"i_report_to_email\",\n                        \"Privacy\": 2,\n                        \"Type\": 13,\n                        \"UserId\": \"{{$randomUUID}}\",\n                        \"Value\": \"{{$randomFirstName}}@{{$randomDomainName}}\"\n                    }\n                ]\n            }\n        }\n    ],\n    \"response\": null\n}"