Cisco WebEx Social API Reference Guide, Release 3.3
Response Examples
Downloads: This chapterpdf (PDF - 1.17MB) The complete bookPDF (PDF - 14.25MB) | Feedback

Response Examples

Table Of Contents

Response Examples

User Resource Responses

User Resource Response: JSON Format, One Resource Returned

User Resource Response: JSON Format, One Resource Returned with Metadata

User Resource Response: JSON Format, Multiple Resources Returned

User Resource Response: JSON Format, Multiple Resources Returned with Metadata

CommunityUser Resource Responses

CommunityUser Resource Response: JSON Format, Multiple Resources Returned

CommunityUser Resource Response: JSON Format, Multiple Resources Returned with Metadata

Community Resource Responses

Community Resource Response: JSON Format, One Resource Returned

Community Resource Response: JSON Format, Multiple Resources Returned

CommunityCategory Responses

CommunityCategory Resource Response: JSON Format, One Resource Returned

CommunityCategory Resource Response: JSON Format, Multiple Resources Returned

Post Resource Responses

Post Resource Response: JSON Format, One Resource Returned

Post Resource Response: JSON Format, One Resource Returned with Metadata

Post Resource Response: JSON Format, Multiple Resources Returned

Post Resource Response: JSON Format, Multiple Resources Returned with Metadata

DocumentFile Resource Responses

DocumentFile Resource Response: JSON Format, One Resource Returned

DocumentFile Resource Response: JSON Format, Multiple Resources Returned

DocumentFolder Resource Response

DocumentLibrary Resource Response

ProfileImage Resource Response

Favorite Resource Responses

Favorite Resource Response with Post Resource in Destination Field: JSON Format, One Resource Returned

Favorite Resource Response with Post Resource in Destination Field: JSON Format, One Resource Returned with Metadata

Favorite Resource Response with User Resource in Destination Field: JSON Format, One Resource Returned

Favorite Resource Response with User Resource in Destination Field: JSON Format, One Resource Returned with Metadata

Favorite Resource Response with Post Resource in Destination Field: JSON Format, Multiple Resources Returned

Favorite Resource Response with Post Resource in Destination Field: JSON Format, Multiple Resources Returned with Metadata

Favorite Resource Response with User Resource in Destination Field: JSON Format, Multiple Resources Returned

Favorite Resource Response with User Resource in Destination Field: JSON Format, Multiple Resources Returned with Metadata

Follow Resource Responses

Follow Resource Response: JSON Format, One Resource Returned

Follow Resource Response: JSON Format, One Resource Returned with Metadata

Follow Resource Response: JSON Format, Multiple Resources Returned

Follow Resource Response: JSON Format, Multiple Resources Returned with Metadata

Like Resource Responses

Like Resource Response with Post Resource in Destination Field: JSON Format, One Resource Returned

Like Resource Response with User Resource in Destination Field: JSON Format, One Resource Returned

Like Resource Response with User Resource in Destination Field: JSON Format, One Resource Returned with Metadata

Like Resource Response with User Resource in Destination Field: JSON Format, Multiple Resources Returned

Like Resource Response with User Resource in Destination Field: JSON Format, Multiple Resources Returned with Metadata

Suggestions Resource Response

Collection Activities Resource Response


Response Examples


Several API GET operations return responses that include one or more User, Community, CommunityCategory, Post, DocumentFile, DocumentFolder, DocumentLibrary, ProfileImage, or relationship resource in the response payload. This chapter provides examples of these responses.

This chapter includes these topics:

User Resource Responses

CommunityUser Resource Responses

Community Resource Responses

CommunityCategory Responses

Post Resource Responses

DocumentFile Resource Responses

DocumentFolder Resource Response

DocumentLibrary Resource Response

ProfileImage Resource Response

Favorite Resource Responses

Follow Resource Responses

Like Resource Responses

Suggestions Resource Response

Collection Activities Resource Response

User Resource Responses

The following sections provide examples of the User resource in response payloads:

User Resource Response: JSON Format, One Resource Returned

User Resource Response: JSON Format, One Resource Returned with Metadata

User Resource Response: JSON Format, Multiple Resources Returned

User Resource Response: JSON Format, Multiple Resources Returned with Metadata

For related information about responses and standard items in responses with payloads, see the "API Responses" section. For descriptions of fields that the User resource includes, see Table 3-46.

User Resource Response: JSON Format, One Resource Returned

The following example shows a User resource in a JSON format response payload:

{
    "statusCode": 200, 
    "startIndex": 0, 
    "itemsPerPage": 1, 
    "totalResults": 1, 
    "filtered": false, 
    "sorted": false, 
    "entry": [
        {
            "data": {
                "addresses": [ ], 
                "customAttributes": [
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_ACCEPT_VIDEO_CALLS", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_CTI_PASSWORD", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_DEVICE_NAME", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_LINE_DN", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_PHONE_MODE", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_SUCCESSFUL_CTI", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_SUCCESSFUL_TFTP", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_SUCCESS_CTI_ADDRESS", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }
                ], 
                "emails": [
                    {
                        "id": 110004, 
                        "resource": "http://quad.cisco.com/schema/1.0/email", 
                        "address": "patkim@email.com", 
                        "primary": false
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/email", 
                        "address": "patkim@mail.com", 
                        "primary": true
                    }
                ], 
                "endWorkHour": 22, 
                "firstName": "kim", 
                "friendlyJobTitle": "Software Tester", 
                "fullName": "Pat Kim", 
                "id": 10452, 
                "images": [ ], 
                "jobTitle": "Software Engineer", 
                "lastName": "Kim", 
                "legalHold": "NONE", 
                "manager": null, 
                "phones": [
                    {
                        "id": 110005, 
                        "resource": "http://quad.cisco.com/schema/1.0/phone", 
                        "primary": false, 
                        "number": "9988776655", 
                        "extension": "", 
                        "type": "mobile"
                    }
                ], 
                "resource": "http://quad.cisco.com/schema/1.0/user", 
                "screenName": "patkim", 
                "startWorkHour": 10, 
                "status": "ACTIVE", 
                "tags": [
                    {
                        "id": 110006, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "cooking", 
                        "type": null
                    }, 
                    {
                        "id": 110009, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "reading", 
                        "type": null
                    }
                ], 
                "timeZone": "America/Los_Angeles",
                "emailFeaturedPosts":{
                   "address":"testfeaturedposts@email.com"
                },
                "emailMyLibrary":{
                   "address":"testmylibrary@email.com"
                },
                "eula":"accepted"
}
        }
    ]
}

User Resource Response: JSON Format, One Resource Returned with Metadata

The following example shows a User resource that includes follow relationship metadata in a JSON format response payload. You can include relationship metadata in a response by including the meta query parameter in a request, as explained in the "Query Parameters" section.

{
    "statusCode": 200, 
    "startIndex": 0, 
    "itemsPerPage": 1, 
    "totalResults": 1, 
    "filtered": false, 
    "sorted": false, 
    "entry": [
        {
            "data": {
                "addresses": [ ], 
                "customAttributes": [
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_ACCEPT_VIDEO_CALLS", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_CTI_PASSWORD", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_DEVICE_NAME", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_LINE_DN", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_PHONE_MODE", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_SUCCESSFUL_CTI", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_SUCCESSFUL_TFTP", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_SUCCESS_CTI_ADDRESS", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }
                ], 
                "emails": [
                    {
                        "id": 110004, 
                        "resource": "http://quad.cisco.com/schema/1.0/email", 
                        "address": "patkim@email.com", 
                        "primary": false
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/email", 
                        "address": "patkim@mail.com", 
                        "primary": true
                    }
                ], 
                "endWorkHour": 22, 
                "firstName": "kim", 
                "friendlyJobTitle": "Software Tester", 
                "fullName": "Pat Kim", 
                "id": 10452, 
                "images": [ ], 
                "jobTitle": "Software Engineer", 
                "lastName": "Kim", 
                "legalHold": "NONE", 
                "manager": null, 
                "phones": [
                    {
                        "id": 110005, 
                        "resource": "http://quad.cisco.com/schema/1.0/phone", 
                        "primary": false, 
                        "number": "9988776655", 
                        "extension": "", 
                        "type": "mobile"
                    }
                ], 
                "resource": "http://quad.cisco.com/schema/1.0/user", 
                "screenName": "patkim", 
                "startWorkHour": 10, 
                "status": "ACTIVE", 
                "tags": [
                    {
                        "id": 110006, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "cooking", 
                        "type": null
                    }, 
                    {
                        "id": 110009, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "reading", 
                        "type": null
                    }
                ], 
                "timeZone": "America/Los_Angeles",
                "emailFeaturedPosts":{
                   "address":"testfeaturedposts@email.com"
                },
                "emailMyLibrary":{
                   "address":"testmylibrary@email.com"
                },
                "eula":"accepted"
}, 
            "meta": {
                "followId": "user:5678,user:1234", 
                "followRelationship": "following"
            }
        }
    ]
}

User Resource Response: JSON Format, Multiple Resources Returned

The following example shows two User resources in a JSON format response payload:

{
    "statusCode": 200, 
    "startIndex": 0, 
    "itemsPerPage": 2, 
    "totalResults": 2, 
    "filtered": false, 
    "sorted": false, 
    "entry": [
        {
            "data": {
                "addresses": [ ], 
                "customAttributes": [
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_ACCEPT_VIDEO_CALLS", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_CTI_PASSWORD", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_DEVICE_NAME", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_LINE_DN", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_PHONE_MODE", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_SUCCESSFUL_CTI", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_SUCCESSFUL_TFTP", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_SUCCESS_CTI_ADDRESS", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }
                ], 
                "emails": [
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/email", 
                        "address": "robinsmith@mail.com", 
                        "primary": true
                    }
                ], 
                "endWorkHour": -1, 
                "firstName": "Robin", 
                "friendlyJobTitle": "", 
                "fullName": "Robin Smith", 
                "id": 10426, 
                "images": [ ], 
                "jobTitle": "Software Engineer", 
                "lastName": "Smith", 
                "legalHold": "NONE", 
                "manager": null, 
                "phones": [ ], 
                "resource": "http://quad.cisco.com/schema/1.0/user", 
                "screenName": "robinsmith", 
                "startWorkHour": -1, 
                "status": "ACTIVE", 
                "tags": [ ], 
                "timeZone": "America/Los_Angeles",
                "emailFeaturedPosts":{
                   "address":"testfeaturedposts@email.com"
                },
                "emailMyLibrary":{
                   "address":"testmylibrary@email.com"
                },
                "eula":"accepted"
            } 
        }, 
        {
            "data": {
                "addresses": [ ], 
                "customAttributes": [
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_ACCEPT_VIDEO_CALLS", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_CTI_PASSWORD", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_DEVICE_NAME", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_LINE_DN", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_PHONE_MODE", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_SUCCESSFUL_CTI", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_SUCCESSFUL_TFTP", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_SUCCESS_CTI_ADDRESS", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }
                ], 
                "emails": [
                    {
                        "id": 110004, 
                        "resource": "http://quad.cisco.com/schema/1.0/email", 
                        "address": "patkim@email.com", 
                        "primary": false
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/email", 
                        "address": "patkim@mail.com", 
                        "primary": true
                    }
                ], 
                "endWorkHour": 22, 
                "firstName": "Pat", 
                "friendlyJobTitle": "Software Tester", 
                "fullName": "Pat Kim", 
                "id": 10452, 
                "images": [ ], 
                "jobTitle": "Software Engineer", 
                "lastName": "Kim", 
                "legalHold": "NONE", 
                "manager": null, 
                "phones": [
                    {
                        "id": 110005, 
                        "resource": "http://quad.cisco.com/schema/1.0/phone", 
                        "primary": false, 
                        "number": "9988776655", 
                        "extension": "", 
                        "type": "mobile"
                    }
                ], 
                "resource": "http://quad.cisco.com/schema/1.0/user", 
                "screenName": "patkim", 
                "startWorkHour": 10, 
                "status": "ACTIVE", 
                "tags": [
                    {
                        "id": 110006, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "cooking", 
                        "type": null
                    }, 
                    {
                        "id": 110009, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "reading", 
                        "type": null
                    }
                ], 
                "timeZone": "America/Los_Angeles",
                "emailFeaturedPosts":{
                   "address":"testfeaturedposts2@email.com"
                },
                "emailMyLibrary":{
                   "address":"testmylibrary2@email.com"
                },
                "eula":"accepted"
            }
        }
    ]
}

User Resource Response: JSON Format, Multiple Resources Returned with Metadata

The following example shows two User resources that include follow relationship metadata in a JSON format response payload. You can include relationship metadata in a response by including the meta query parameter in a request, as explained in the "Query Parameters" section.

{
    "statusCode": 200, 
    "startIndex": 0, 
    "itemsPerPage": 2, 
    "totalResults": 2, 
    "filtered": false, 
    "sorted": false, 
    "entry": [
        {
            "data": {
                "addresses": [ ], 
                "customAttributes": [
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_ACCEPT_VIDEO_CALLS", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_CTI_PASSWORD", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_DEVICE_NAME", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_LINE_DN", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_PHONE_MODE", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_SUCCESSFUL_CTI", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_SUCCESSFUL_TFTP", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_SUCCESS_CTI_ADDRESS", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }
                ], 
                "emails": [
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/email", 
                        "address": "robinsmith@mail.com", 
                        "primary": true
                    }
                ], 
                "endWorkHour": -1, 
                "firstName": "Robin", 
                "friendlyJobTitle": "", 
                "fullName": "Robin Smith", 
                "id": 10426, 
                "images": [ ], 
                "jobTitle": "Software Engineer", 
                "lastName": "Smith", 
                "legalHold": "NONE", 
                "manager": null, 
                "phones": [ ], 
                "resource": "http://quad.cisco.com/schema/1.0/user", 
                "screenName": "robinsmith", 
                "startWorkHour": -1, 
                "status": "ACTIVE", 
                "tags": [ ], 
                "timeZone": "America/Los_Angeles",
                "emailFeaturedPosts":{
                   "address":"testfeaturedposts@email.com"
                },
                "emailMyLibrary":{
                   "address":"testmylibrary@email.com"
                },
                "eula":"accepted"
            }, 
            "meta": {
                "followId": "user:5678,user:1234", 
                "followRelationship": "following"
            }
        }, 
        {
            "data": {
                "addresses": [ ], 
                "customAttributes": [
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_ACCEPT_VIDEO_CALLS", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_CTI_PASSWORD", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_DEVICE_NAME", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_LINE_DN", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_PHONE_MODE", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_SUCCESSFUL_CTI", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_SUCCESSFUL_TFTP", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_SUCCESS_CTI_ADDRESS", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }
                ], 
                "emails": [
                    {
                        "id": 110004, 
                        "resource": "http://quad.cisco.com/schema/1.0/email", 
                        "address": "patkim@email.com", 
                        "primary": false
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/email", 
                        "address": "patkim@mail.com", 
                        "primary": true
                    }
                ], 
                "endWorkHour": 22, 
                "firstName": "Pat", 
                "friendlyJobTitle": "Software Tester", 
                "fullName": "Pat Kim", 
                "id": 10452, 
                "images": [ ], 
                "jobTitle": "Software Engineer", 
                "lastName": "Kim", 
                "legalHold": "NONE", 
                "manager": null, 
                "phones": [
                    {
                        "id": 110005, 
                        "resource": "http://quad.cisco.com/schema/1.0/phone", 
                        "primary": false, 
                        "number": "9988776655", 
                        "extension": "", 
                        "type": "mobile"
                    }
                ], 
                "resource": "http://quad.cisco.com/schema/1.0/user", 
                "screenName": "patkim", 
                "startWorkHour": 10, 
                "status": "ACTIVE", 
                "tags": [
                    {
                        "id": 110006, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "cooking", 
                        "type": null
                    }, 
                    {
                        "id": 110009, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "reading", 
                        "type": null
                    }
                ], 
                "timeZone": "America/Los_Angeles",
                "emailFeaturedPosts":{
                   "address":"testfeaturedposts@email.com"
                },
                "emailMyLibrary":{
                   "address":"testmylibrary@email.com"
                },
                "eula":"accepted"
            }, 
            "meta": {
                "followId": "user:5678,user:9876", 
                "followRelationship": "follower"
            }
        }
    ]
}

CommunityUser Resource Responses

The following sections provide examples of the CommunityUser resource in response payloads:

CommunityUser Resource Response: JSON Format, Multiple Resources Returned

CommunityUser Resource Response: JSON Format, Multiple Resources Returned with Metadata

For related information about responses and standard items in responses with payloads, see the "API Responses" section. For descriptions of fields that the CommunityUser resource includes, see Table 3-13.

CommunityUser Resource Response: JSON Format, Multiple Resources Returned

The following example shows two CommunityUser resources in a JSON format response payload:

{
    "statusCode": 200, 
    "startIndex": 0, 
    "itemsPerPage": 2, 
    "totalResults": 28, 
    "filtered": false, 
    "sorted": false, 
    "entry": [
        {
            "data": {
                "addresses": [
                    {
                        "id": 2851789, 
                        "resource": "http://quad.cisco.com/schema/1.0/address", 
                        "street1": "123 Main Street", 
                        "street2": "", 
                        "street3": "D7-22", 
                        "city": "Anytown", 
                        "zip": "98765", 
                        "region": "California", 
                        "country": "United States", 
                        "mailing": true, 
                        "primary": true
                    }
                ], 
                "customAttributes": [
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "SIP_digest_password", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "SIP_digest_user", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_ACCEPT_VIDEO_CALLS", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": "false"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_CTI_PASSWORD", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_DEVICE_NAME", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": "bennie"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_LINE_DN", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": "10006"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_PHONE_MODE", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": "SoftPhone"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_SUCCESSFUL_CTI", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_SUCCESSFUL_TFTP", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_SUCCESS_CTI_ADDRESS", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "call_manager_hostname", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "dn", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "exchange_host", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "exchange_password", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "exchange_username", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "has_csf_plugin", 
                        "dataType": "boolean", 
                        "dataSelectionValues": [ ], 
                        "value": "false"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "has_webdialer", 
                        "dataType": "boolean", 
                        "dataSelectionValues": [ ], 
                        "value": "false"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "profile_video_id", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "test custom", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "test custom field", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "wall_emailaddress", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "web_dialer_device_name", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "web_dialer_dn", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "webex_password", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "webex_username", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }
                ], 
                "emails": [
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/email", 
                        "address": "patkim@email.com", 
                        "primary": true
                    }
                ], 
                "endWorkHour": -1, 
                "firstName": "Pat", 
                "friendlyJobTitle": "", 
                "fullName": "Pat Kim", 
                "id": 546016, 
                "images": [
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                        "image": {
                            "id": 51364310, 
                            "resource": "http://quad.cisco.com/schema/1.0/image", 
                            "size": 914, 
                            "published": 0, 
                            "updated": 1335996166601, 
                            "fileName": null, 
                            "mimeType": "jpg", 
                            "author": null, 
                            "updatedBy": null, 
                            "uri": "/image/user_portrait?img_id=51364310&t=1335996166601", 
                            "height": 31, 
                            "width": 31
                        }, 
                        "sizeType": "medium1"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                        "image": {
                            "id": 51364307, 
                            "resource": "http://quad.cisco.com/schema/1.0/image", 
                            "size": 3864, 
                            "published": 0, 
                            "updated": 1335996169349, 
                            "fileName": null, 
                            "mimeType": "jpg", 
                            "author": null, 
                            "updatedBy": null, 
                            "uri": "/image/user_portrait?img_id=51364307&t=1335996169349", 
                            "height": 150, 
                            "width": 150
                        }, 
                        "sizeType": "large"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                        "image": {
                            "id": 51364309, 
                            "resource": "http://quad.cisco.com/schema/1.0/image", 
                            "size": 841, 
                            "published": 0, 
                            "updated": 1335996147849, 
                            "fileName": null, 
                            "mimeType": "jpg", 
                            "author": null, 
                            "updatedBy": null, 
                            "uri": "/image/user_portrait?img_id=51364309&t=1335996147849", 
                            "height": 24, 
                            "width": 24
                        }, 
                        "sizeType": "small"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                        "image": {
                            "id": 51364311, 
                            "resource": "http://quad.cisco.com/schema/1.0/image", 
                            "size": 1133, 
                            "published": 0, 
                            "updated": 1335996167189, 
                            "fileName": null, 
                            "mimeType": "jpg", 
                            "author": null, 
                            "updatedBy": null, 
                            "uri": "/image/user_portrait?img_id=51364311&t=1335996167189", 
                            "height": 48, 
                            "width": 48
                        }, 
                        "sizeType": "medium2"
                    }
                ], 
                "jobTitle": "Team Lead", 
                "lastName": "Arasikere", 
                "legalHold": "NONE", 
                "manager": {
                    "firstName": "Robin", 
                    "fullName": "Robin Smith", 
                    "id": 185768, 
                    "images": [
                        {
                            "id": 0, 
                            "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                            "image": {
                                "id": 25968023, 
                                "resource": "http://quad.cisco.com/schema/1.0/image", 
                                "size": 993, 
                                "published": 0, 
                                "updated": 1334696261330, 
                                "fileName": null, 
                                "mimeType": "jpg", 
                                "author": null, 
                                "updatedBy": null, 
                                "uri": 
"/image/user_portrait?img_id=25968023&t=1334696261330", 
                                "height": 31, 
                                "width": 31
                            }, 
                            "sizeType": "medium1"
                        }, 
                        {
                            "id": 0, 
                            "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                            "image": {
                                "id": 22740042, 
                                "resource": "http://quad.cisco.com/schema/1.0/image", 
                                "size": 5085, 
                                "published": 0, 
                                "updated": 1334696261696, 
                                "fileName": null, 
                                "mimeType": "jpg", 
                                "author": null, 
                                "updatedBy": null, 
                                "uri": 
"/image/user_portrait?img_id=22740042&t=1334696261696", 
                                "height": 150, 
                                "width": 150
                            }, 
                            "sizeType": "large"
                        }, 
                        {
                            "id": 0, 
                            "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                            "image": {
                                "id": 25968022, 
                                "resource": "http://quad.cisco.com/schema/1.0/image", 
                                "size": 841, 
                                "published": 0, 
                                "updated": 1334696261266, 
                                "fileName": null, 
                                "mimeType": "jpg", 
                                "author": null, 
                                "updatedBy": null, 
                                "uri": 
"/image/user_portrait?img_id=25968022&t=1334696261266", 
                                "height": 24, 
                                "width": 24
                            }, 
                            "sizeType": "small"
                        }, 
                        {
                            "id": 0, 
                            "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                            "image": {
                                "id": 25968024, 
                                "resource": "http://quad.cisco.com/schema/1.0/image", 
                                "size": 1273, 
                                "published": 0, 
                                "updated": 1334696261390, 
                                "fileName": null, 
                                "mimeType": "jpg", 
                                "author": null, 
                                "updatedBy": null, 
                                "uri": 
"/image/user_portrait?img_id=25968024&t=1334696261390", 
                                "height": 48, 
                                "width": 48
                            }, 
                            "sizeType": "medium2"
                        }
                    ], 
                    "jobTitle": "Manager", 
                    "lastName": "Smith", 
                    "resource": "http://quad.cisco.com/schema/1.0/user", 
                    "screenName": "robinsmith", 
                    "status": "ACTIVE"
                }, 
                "phones": [
                    {
                        "id": 765792, 
                        "resource": "http://quad.cisco.com/schema/1.0/phone", 
                        "primary": true, 
                        "number": "+14089022188", 
                        "extension": "", 
                        "type": "business"
                    }
                ], 
                "resource": "http://quad.cisco.com/schema/1.0/communityuser", 
                "roles": [
                    {
                        "id": 10119, 
                        "resource": "http://quad.cisco.com/schema/1.0/role", 
                        "name": "Community Member", 
                        "description": "All users who belong to a community have this role 
within that community.", 
                        "title": ""
                    }
                ], 
                "screenName": "rasike",
                "startWorkHour": -1, 
                "status": "ACTIVE", 
                "tags": [
                    {
                        "id": 51364409, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "design",
                        "type": "interest"
                    }, 
                    {
                        "id": 51364411, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "architecture",
                        "type": "interest"
                    }, 
                    {
                        "id": 51364405, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "java",
                        "type": "expertise"
                    }, 
                    {
                        "id": 51364407, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "technology",
                        "type": "expertise"
                    }
                ], 
                "timeZone": "Asia/Calcutta"
            }
        }, 
        {
            "data": {
                "addresses": [
                    {
                        "id": 15377992, 
                        "resource": "http://quad.cisco.com/schema/1.0/address", 
                        "street1": "5432 Maple Ave.", 
                        "street2": "No. 123", 
                        "street3": "B1-1", 
                        "city": "Anytown", 
                        "zip": "", 
                        "region": null, 
                        "country": "Bulgaria", 
                        "mailing": true, 
                        "primary": true
                    }
                ], 
                "customAttributes": [
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "SIP_digest_password", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "SIP_digest_user", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_ACCEPT_VIDEO_CALLS", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_CTI_PASSWORD", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_DEVICE_NAME", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_LINE_DN", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_PHONE_MODE", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_SUCCESSFUL_CTI", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_SUCCESSFUL_TFTP", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_SUCCESS_CTI_ADDRESS", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "call_manager_hostname", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "dn", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "exchange_host", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "exchange_password", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "exchange_username", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "has_csf_plugin", 
                        "dataType": "boolean", 
                        "dataSelectionValues": [ ], 
                        "value": "false"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "has_webdialer", 
                        "dataType": "boolean", 
                        "dataSelectionValues": [ ], 
                        "value": "false"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "profile_video_id", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "test custom", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "test custom field", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "wall_emailaddress", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "web_dialer_device_name", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "web_dialer_dn", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "webex_password", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "webex_username", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }
                ], 
                "emails": [
                    {
                        "id": 19794414, 
                        "resource": "http://quad.cisco.com/schema/1.0/email", 
                        "address": "mel@email.com", 
                        "primary": false
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/email", 
                        "address": "alvoad@mail.com", 
                        "primary": true
                    }
                ], 
                "endWorkHour": 20, 
                "firstName": "Mel", 
                "friendlyJobTitle": "", 
                "fullName": "Mel Jones", 
                "id": 15377984, 
                "images": [
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                        "image": {
                            "id": 29169613, 
                            "resource": "http://quad.cisco.com/schema/1.0/image", 
                            "size": 893, 
                            "published": 0, 
                            "updated": 1311933187259, 
                            "fileName": null, 
                            "mimeType": "jpg", 
                            "author": null, 
                            "updatedBy": null, 
                            "uri": "/image/user_portrait?img_id=29169613&t=1311933187259", 
                            "height": 31, 
                            "width": 31
                        }, 
                        "sizeType": "medium1"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                        "image": null, 
                        "sizeType": "large"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                        "image": {
                            "id": 29169612, 
                            "resource": "http://quad.cisco.com/schema/1.0/image", 
                            "size": 815, 
                            "published": 0, 
                            "updated": 1311933187211, 
                            "fileName": null, 
                            "mimeType": "jpg", 
                            "author": null, 
                            "updatedBy": null, 
                            "uri": "/image/user_portrait?img_id=29169612&t=1311933187211", 
                            "height": 24, 
                            "width": 24
                        }, 
                        "sizeType": "small"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                        "image": {
                            "id": 29169614, 
                            "resource": "http://quad.cisco.com/schema/1.0/image", 
                            "size": 1299, 
                            "published": 0, 
                            "updated": 1311933187309, 
                            "fileName": null, 
                            "mimeType": "jpg", 
                            "author": null, 
                            "updatedBy": null, 
                            "uri": "/image/user_portrait?img_id=29169614&t=1311933187309", 
                            "height": 59, 
                            "width": 59
                        }, 
                        "sizeType": "medium2"
                    }
                ], 
                "jobTitle": "Engineer", 
                "lastName": "Jones", 
                "legalHold": "NONE", 
                "manager": {
                    "firstName": "Ric", 
                    "fullName": "Ric Lee", 
                    "id": 9996712, 
                    "images": [
                        {
                            "id": 0, 
                            "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                            "image": {
                                "id": 25984803, 
                                "resource": "http://quad.cisco.com/schema/1.0/image", 
                                "size": 879, 
                                "published": 0, 
                                "updated": 1334696919263, 
                                "fileName": null, 
                                "mimeType": "jpg", 
                                "author": null, 
                                "updatedBy": null, 
                                "uri": 
"/image/user_portrait?img_id=25984803&t=1334696919263", 
                                "height": 31, 
                                "width": 31
                            }, 
                            "sizeType": "medium1"
                        }, 
                        {
                            "id": 0, 
                            "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                            "image": {
                                "id": 19771976, 
                                "resource": "http://quad.cisco.com/schema/1.0/image", 
                                "size": 3400, 
                                "published": 0, 
                                "updated": 1334696919713, 
                                "fileName": null, 
                                "mimeType": "jpg", 
                                "author": null, 
                                "updatedBy": null, 
                                "uri": 
"/image/user_portrait?img_id=19771976&t=1334696919713", 
                                "height": 150, 
                                "width": 150
                            }, 
                            "sizeType": "large"
                        }, 
                        {
                            "id": 0, 
                            "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                            "image": {
                                "id": 25984802, 
                                "resource": "http://quad.cisco.com/schema/1.0/image", 
                                "size": 811, 
                                "published": 0, 
                                "updated": 1334696919182, 
                                "fileName": null, 
                                "mimeType": "jpg", 
                                "author": null, 
                                "updatedBy": null, 
                                "uri": 
"/image/user_portrait?img_id=25984802&t=1334696919182", 
                                "height": 24, 
                                "width": 24
                            }, 
                            "sizeType": "small"
                        }, 
                        {
                            "id": 0, 
                            "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                            "image": {
                                "id": 25984804, 
                                "resource": "http://quad.cisco.com/schema/1.0/image", 
                                "size": 1075, 
                                "published": 0, 
                                "updated": 1334696919345, 
                                "fileName": null, 
                                "mimeType": "jpg", 
                                "author": null, 
                                "updatedBy": null, 
                                "uri": 
"/image/user_portrait?img_id=25984804&t=1334696919345", 
                                "height": 48, 
                                "width": 48
                            }, 
                            "sizeType": "medium2"
                        }
                    ], 
                    "jobTitle": "Supervisor", 
                    "lastName": "Lee", 
                    "resource": "http://quad.cisco.com/schema/1.0/user", 
                    "screenName": "riclee", 
                    "status": "ACTIVE"
                }, 
                "phones": [
                    {
                        "id": 15377991, 
                        "resource": "http://quad.cisco.com/schema/1.0/phone", 
                        "primary": true, 
                        "number": "+35928024409", 
                        "extension": "", 
                        "type": "business"
                    }, 
                    {
                        "id": 19794415, 
                        "resource": "http://quad.cisco.com/schema/1.0/phone", 
                        "primary": false, 
                        "number": "+359886342065", 
                        "extension": "", 
                        "type": "mobile"
                    }
                ], 
                "resource": "http://quad.cisco.com/schema/1.0/communityuser", 
                "roles": [
                    {
                        "id": 10119, 
                        "resource": "http://quad.cisco.com/schema/1.0/role", 
                        "name": "Community Member", 
                        "description": "All users who belong to a community have this role 
within that community.", 
                        "title": ""
                    }
                ], 
                "screenName": "alvoad",
                "startWorkHour": 8, 
                "status": "ACTIVE", 
                "tags": [
                    {
                        "id": 29164265, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "team member", 
                        "type": null
                    }, 
                    {
                        "id": 29164293, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "automation", 
                        "type": "interest"
                    }, 
                    {
                        "id": 29164295, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "collaborative editing", 
                        "type": "interest"
                    }, 
                    {
                        "id": 29164297, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "foss",
                        "type": "interest"
                    }, 
                    {
                        "id": 29164299, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "internationalization", 
                        "type": "interest"
                    }, 
                    {
                        "id": 29164267, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "continuous integration", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164269, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "agile", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164271, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "active directory", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164273, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "drsr",
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164275, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "git",
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164277, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "ldap", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164279, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "microsoft exchange", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164281, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "open source", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164283, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "samba4", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164285, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "foss", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164287, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "scrum master", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164289, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "document formats", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164291, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "parsers", 
                        "type": "expertise"
                    }
                ], 
                "timeZone": "Europe/Istanbul"
            }
        }
    ], 
    "serverMessages": null
}

CommunityUser Resource Response: JSON Format, Multiple Resources Returned with Metadata

The following example shows two CommunityUser resources that include follow relationship metadata in a JSON format response payload. You can include relationship metadata in a response by including the meta query parameter in a request, as explained in the "Query Parameters" section.

{
    "statusCode": 200, 
    "startIndex": 0, 
    "itemsPerPage": 2, 
    "totalResults": 28, 
    "filtered": false, 
    "sorted": false, 
    "entry": [
        {
            "data": {
                "addresses": [
                    {
                        "id": 2851789, 
                        "resource": "http://quad.cisco.com/schema/1.0/address", 
                        "street1": "123 Main Street", 
                        "street2": "", 
                        "street3": "D7-22", 
                        "city": "Anytown", 
                        "zip": "98765", 
                        "region": "California", 
                        "country": "United States", 
                        "mailing": true, 
                        "primary": true
                    }
                ], 
                "customAttributes": [
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "SIP_digest_password", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "SIP_digest_user", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_ACCEPT_VIDEO_CALLS", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": "false"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_CTI_PASSWORD", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_DEVICE_NAME", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": "bennie"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_LINE_DN", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": "10006"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_PHONE_MODE", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": "SoftPhone"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_SUCCESSFUL_CTI", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_SUCCESSFUL_TFTP", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_SUCCESS_CTI_ADDRESS", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "call_manager_hostname", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "dn", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "exchange_host", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "exchange_password", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "exchange_username", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "has_csf_plugin", 
                        "dataType": "boolean", 
                        "dataSelectionValues": [ ], 
                        "value": "false"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "has_webdialer", 
                        "dataType": "boolean", 
                        "dataSelectionValues": [ ], 
                        "value": "false"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "profile_video_id", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "test custom", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "test custom field", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "wall_emailaddress", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "web_dialer_device_name", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "web_dialer_dn", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "webex_password", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "webex_username", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }
                ], 
                "emails": [
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/email", 
                        "address": "patkim@email.com", 
                        "primary": true
                    }
                ], 
                "endWorkHour": -1, 
                "firstName": "Pat", 
                "friendlyJobTitle": "", 
                "fullName": "Pat Kim", 
                "id": 546016, 
                "images": [
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                        "image": {
                            "id": 51364310, 
                            "resource": "http://quad.cisco.com/schema/1.0/image", 
                            "size": 914, 
                            "published": 0, 
                            "updated": 1335996166601, 
                            "fileName": null, 
                            "mimeType": "jpg", 
                            "author": null, 
                            "updatedBy": null, 
                            "uri": "/image/user_portrait?img_id=51364310&t=1335996166601", 
                            "height": 31, 
                            "width": 31
                        }, 
                        "sizeType": "medium1"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                        "image": {
                            "id": 51364307, 
                            "resource": "http://quad.cisco.com/schema/1.0/image", 
                            "size": 3864, 
                            "published": 0, 
                            "updated": 1335996169349, 
                            "fileName": null, 
                            "mimeType": "jpg", 
                            "author": null, 
                            "updatedBy": null, 
                            "uri": "/image/user_portrait?img_id=51364307&t=1335996169349", 
                            "height": 150, 
                            "width": 150
                        }, 
                        "sizeType": "large"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                        "image": {
                            "id": 51364309, 
                            "resource": "http://quad.cisco.com/schema/1.0/image", 
                            "size": 841, 
                            "published": 0, 
                            "updated": 1335996147849, 
                            "fileName": null, 
                            "mimeType": "jpg", 
                            "author": null, 
                            "updatedBy": null, 
                            "uri": "/image/user_portrait?img_id=51364309&t=1335996147849", 
                            "height": 24, 
                            "width": 24
                        }, 
                        "sizeType": "small"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                        "image": {
                            "id": 51364311, 
                            "resource": "http://quad.cisco.com/schema/1.0/image", 
                            "size": 1133, 
                            "published": 0, 
                            "updated": 1335996167189, 
                            "fileName": null, 
                            "mimeType": "jpg", 
                            "author": null, 
                            "updatedBy": null, 
                            "uri": "/image/user_portrait?img_id=51364311&t=1335996167189", 
                            "height": 48, 
                            "width": 48
                        }, 
                        "sizeType": "medium2"
                    }
                ], 
                "jobTitle": "Team Lead", 
                "lastName": "Arasikere", 
                "legalHold": "NONE", 
                "manager": {
                    "firstName": "Robin", 
                    "fullName": "Robin Smith", 
                    "id": 185768, 
                    "images": [
                        {
                            "id": 0, 
                            "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                            "image": {
                                "id": 25968023, 
                                "resource": "http://quad.cisco.com/schema/1.0/image", 
                                "size": 993, 
                                "published": 0, 
                                "updated": 1334696261330, 
                                "fileName": null, 
                                "mimeType": "jpg", 
                                "author": null, 
                                "updatedBy": null, 
                                "uri": 
"/image/user_portrait?img_id=25968023&t=1334696261330", 
                                "height": 31, 
                                "width": 31
                            }, 
                            "sizeType": "medium1"
                        }, 
                        {
                            "id": 0, 
                            "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                            "image": {
                                "id": 22740042, 
                                "resource": "http://quad.cisco.com/schema/1.0/image", 
                                "size": 5085, 
                                "published": 0, 
                                "updated": 1334696261696, 
                                "fileName": null, 
                                "mimeType": "jpg", 
                                "author": null, 
                                "updatedBy": null, 
                                "uri": 
"/image/user_portrait?img_id=22740042&t=1334696261696", 
                                "height": 150, 
                                "width": 150
                            }, 
                            "sizeType": "large"
                        }, 
                        {
                            "id": 0, 
                            "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                            "image": {
                                "id": 25968022, 
                                "resource": "http://quad.cisco.com/schema/1.0/image", 
                                "size": 841, 
                                "published": 0, 
                                "updated": 1334696261266, 
                                "fileName": null, 
                                "mimeType": "jpg", 
                                "author": null, 
                                "updatedBy": null, 
                                "uri": 
"/image/user_portrait?img_id=25968022&t=1334696261266", 
                                "height": 24, 
                                "width": 24
                            }, 
                            "sizeType": "small"
                        }, 
                        {
                            "id": 0, 
                            "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                            "image": {
                                "id": 25968024, 
                                "resource": "http://quad.cisco.com/schema/1.0/image", 
                                "size": 1273, 
                                "published": 0, 
                                "updated": 1334696261390, 
                                "fileName": null, 
                                "mimeType": "jpg", 
                                "author": null, 
                                "updatedBy": null, 
                                "uri": 
"/image/user_portrait?img_id=25968024&t=1334696261390", 
                                "height": 48, 
                                "width": 48
                            }, 
                            "sizeType": "medium2"
                        }
                    ], 
                    "jobTitle": "Manager", 
                    "lastName": "Smith", 
                    "resource": "http://quad.cisco.com/schema/1.0/user", 
                    "screenName": "robinsmith", 
                    "status": "ACTIVE"
                }, 
                "phones": [
                    {
                        "id": 765792, 
                        "resource": "http://quad.cisco.com/schema/1.0/phone", 
                        "primary": true, 
                        "number": "+14089022188", 
                        "extension": "", 
                        "type": "business"
                    }
                ], 
                "resource": "http://quad.cisco.com/schema/1.0/communityuser", 
                "roles": [
                    {
                        "id": 10119, 
                        "resource": "http://quad.cisco.com/schema/1.0/role", 
                        "name": "Community Member", 
                        "description": "All users who belong to a community have this role 
within that community.", 
                        "title": ""
                    }
                ], 
                "screenName": "rasike", 
                "startWorkHour": -1, 
                "status": "ACTIVE", 
                "tags": [
                    {
                        "id": 51364409, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "design", 
                        "type": "interest"
                    }, 
                    {
                        "id": 51364411, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "architecture", 
                        "type": "interest"
                    }, 
                    {
                        "id": 51364405, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "technology", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 51364407, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "java", 
                        "type": "expertise"
                    }
                ], 
                "timeZone": "Asia/Calcutta"
            }, 
            "meta": {
                "followId": "", 
                "followRelationship": "none"
            }
        }, 
        {
            "data": {
                "addresses": [
                    {
                        "id": 15377992, 
                        "resource": "http://quad.cisco.com/schema/1.0/address", 
                        "street1": "5432 Maple Ave.", 
                        "street2": "No. 123", 
                        "street3": "B1-1", 
                        "city": "Anytown", 
                        "zip": "", 
                        "region": null, 
                        "country": "Bulgaria", 
                        "mailing": true, 
                        "primary": true
                    }
                ], 
                "customAttributes": [
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "SIP_digest_password", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "SIP_digest_user", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_ACCEPT_VIDEO_CALLS", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_CTI_PASSWORD", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_DEVICE_NAME", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_LINE_DN", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_PHONE_MODE", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_SUCCESSFUL_CTI", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_LAST_SUCCESSFUL_TFTP", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "WEBPHONE_KEY_SUCCESS_CTI_ADDRESS", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "call_manager_hostname", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "dn", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "exchange_host", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "exchange_password", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "exchange_username", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "has_csf_plugin", 
                        "dataType": "boolean", 
                        "dataSelectionValues": [ ], 
                        "value": "false"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "has_webdialer", 
                        "dataType": "boolean", 
                        "dataSelectionValues": [ ], 
                        "value": "false"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "profile_video_id", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "test custom", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "test custom field", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "wall_emailaddress", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "web_dialer_device_name", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "web_dialer_dn", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "webex_password", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/customattribute", 
                        "key": "webex_username", 
                        "dataType": "String", 
                        "dataSelectionValues": [ ], 
                        "value": ""
                    }
                ], 
                "emails": [
                    {
                        "id": 19794414, 
                        "resource": "http://quad.cisco.com/schema/1.0/email", 
                        "address": "mel@email.com", 
                        "primary": false
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/email", 
                        "address": "alvoad@mail.com", 
                        "primary": true
                    }
                ], 
                "endWorkHour": 20, 
                "firstName": "Mel", 
                "friendlyJobTitle": "", 
                "fullName": "Mel Jones",
                "id": 15377984, 
                "images": [
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                        "image": {
                            "id": 29169613, 
                            "resource": "http://quad.cisco.com/schema/1.0/image", 
                            "size": 893, 
                            "published": 0, 
                            "updated": 1311933187259, 
                            "fileName": null, 
                            "mimeType": "jpg", 
                            "author": null, 
                            "updatedBy": null, 
                            "uri": "/image/user_portrait?img_id=29169613&t=1311933187259", 
                            "height": 31, 
                            "width": 31
                        }, 
                        "sizeType": "medium1"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                        "image": null, 
                        "sizeType": "large"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                        "image": {
                            "id": 29169612, 
                            "resource": "http://quad.cisco.com/schema/1.0/image", 
                            "size": 815, 
                            "published": 0, 
                            "updated": 1311933187211, 
                            "fileName": null, 
                            "mimeType": "jpg", 
                            "author": null, 
                            "updatedBy": null, 
                            "uri": "/image/user_portrait?img_id=29169612&t=1311933187211", 
                            "height": 24, 
                            "width": 24
                        }, 
                        "sizeType": "small"
                    }, 
                    {
                        "id": 0, 
                        "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                        "image": {
                            "id": 29169614, 
                            "resource": "http://quad.cisco.com/schema/1.0/image", 
                            "size": 1299, 
                            "published": 0, 
                            "updated": 1311933187309, 
                            "fileName": null, 
                            "mimeType": "jpg", 
                            "author": null, 
                            "updatedBy": null, 
                            "uri": "/image/user_portrait?img_id=29169614&t=1311933187309", 
                            "height": 59, 
                            "width": 59
                        }, 
                        "sizeType": "medium2"
                    }
                ], 
                "jobTitle": "Engineer", 
                "lastName": "Jones"
                "legalHold": "NONE", 
                "manager": {
                    "firstName": "Ric",
                    "fullName": "Ric Lee", 
                    "id": 9996712, 
                    "images": [
                        {
                            "id": 0, 
                            "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                            "image": {
                                "id": 25984803, 
                                "resource": "http://quad.cisco.com/schema/1.0/image", 
                                "size": 879, 
                                "published": 0, 
                                "updated": 1334696919263, 
                                "fileName": null, 
                                "mimeType": "jpg", 
                                "author": null, 
                                "updatedBy": null, 
                                "uri": 
"/image/user_portrait?img_id=25984803&t=1334696919263", 
                                "height": 31, 
                                "width": 31
                            }, 
                            "sizeType": "medium1"
                        }, 
                        {
                            "id": 0, 
                            "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                            "image": {
                                "id": 19771976, 
                                "resource": "http://quad.cisco.com/schema/1.0/image", 
                                "size": 3400, 
                                "published": 0, 
                                "updated": 1334696919713, 
                                "fileName": null, 
                                "mimeType": "jpg", 
                                "author": null, 
                                "updatedBy": null, 
                                "uri": 
"/image/user_portrait?img_id=19771976&t=1334696919713", 
                                "height": 150, 
                                "width": 150
                            }, 
                            "sizeType": "large"
                        }, 
                        {
                            "id": 0, 
                            "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                            "image": {
                                "id": 25984802, 
                                "resource": "http://quad.cisco.com/schema/1.0/image", 
                                "size": 811, 
                                "published": 0, 
                                "updated": 1334696919182, 
                                "fileName": null, 
                                "mimeType": "jpg", 
                                "author": null, 
                                "updatedBy": null, 
                                "uri": 
"/image/user_portrait?img_id=25984802&t=1334696919182", 
                                "height": 24, 
                                "width": 24
                            }, 
                            "sizeType": "small"
                        }, 
                        {
                            "id": 0, 
                            "resource": "http://quad.cisco.com/schema/1.0/profileimage", 
                            "image": {
                                "id": 25984804, 
                                "resource": "http://quad.cisco.com/schema/1.0/image", 
                                "size": 1075, 
                                "published": 0, 
                                "updated": 1334696919345, 
                                "fileName": null, 
                                "mimeType": "jpg", 
                                "author": null, 
                                "updatedBy": null, 
                                "uri": 
"/image/user_portrait?img_id=25984804&t=1334696919345", 
                                "height": 48, 
                                "width": 48
                            }, 
                            "sizeType": "medium2"
                        }
                    ], 
                    "jobTitle": "Supervisor", 
                    "lastName": "Lee", 
                    "resource": "http://quad.cisco.com/schema/1.0/user", 
                    "screenName": "riclee", 
                    "status": "ACTIVE"
                }, 
                "phones": [
                    {
                        "id": 15377991, 
                        "resource": "http://quad.cisco.com/schema/1.0/phone", 
                        "primary": true, 
                        "number": "+35928024409", 
                        "extension": "", 
                        "type": "business"
                    }, 
                    {
                        "id": 19794415, 
                        "resource": "http://quad.cisco.com/schema/1.0/phone", 
                        "primary": false, 
                        "number": "+359886342065", 
                        "extension": "", 
                        "type": "mobile"
                    }
                ], 
                "resource": "http://quad.cisco.com/schema/1.0/communityuser", 
                "roles": [
                    {
                        "id": 10119, 
                        "resource": "http://quad.cisco.com/schema/1.0/role", 
                        "name": "Community Member", 
                        "description": "All users who belong to a community have this role 
within that community.", 
                        "title": ""
                    }
                ], 
                "screenName": "alvoad",
                "startWorkHour": 8, 
                "status": "ACTIVE", 
                "tags": [
                    {
                        "id": 29164265, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "team member", 
                        "type": null
                    }, 
                    {
                        "id": 29164293, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "automation", 
                        "type": "interest"
                    }, 
                    {
                        "id": 29164295, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "collaborative editing", 
                        "type": "interest"
                    }, 
                    {
                        "id": 29164297, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "foss", 
                        "type": "interest"
                    }, 
                    {
                        "id": 29164299, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "internationalization", 
                        "type": "interest"
                    }, 
                    {
                        "id": 29164267, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "continuous integration", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164269, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "agile", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164271, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "active directory", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164273, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "drsr", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164275, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "git", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164277, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "ldap", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164279, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "microsoft exchange", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164281, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "open source", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164283, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "samba4", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164285, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "foss", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164287, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "scrum master", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164289, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "document formats", 
                        "type": "expertise"
                    }, 
                    {
                        "id": 29164291, 
                        "resource": "http://quad.cisco.com/schema/1.0/tag", 
                        "name": "parsers", 
                        "type": "expertise"
                    }
                ], 
                "timeZone": "Europe/Istanbul"
            }, 
            "meta": {
                "followId": "user:546016,user:101261", 
                "followRelationship": "both"
            }
        }
    ], 
    "serverMessages": null
}

Community Resource Responses

The following sections provide examples of the Community resource in response payloads:

Community Resource Response: JSON Format, One Resource Returned

Community Resource Response: JSON Format, Multiple Resources Returned

For related information about responses and standard items in responses with payloads, see the "API Responses" section. For descriptions of fields that the Community resource includes, see Table 3-9.

Community Resource Response: JSON Format, One Resource Returned

The following example shows a Community resource in a JSON format response payload:

{
   "statusCode":200,
   "startIndex":0,
   "itemsPerPage":1,
   "totalResults":1,
   "filtered":false,
   "sorted":false,
   "entry":[
      {
         "data":{
            "category":{
               "approvalRequired":false,
               "description":"This is an all-purpose category that requires no approval",
               "id":5000,
               "name":"General"
            },
            "creator":{
               "firstName":"Pat",
               "fullName":"Pat Kim",
               "id":1234,
               "images":[
],
               "jobTitle":"Software Engineer",
               "lastName":"Kim",
               "screenName":"patkim"
            },
            "description":"This community captures all the work products related to 
project Hawkeye.",
            "id":4510171,
            "images":[
               {
                  "image":{
                     "id":210048,
                     "resource":"",
                     "size":2613,
                     "published":0,
                     "updated":1312479346711,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210048",
                     "height":103,
                     "width":103
                  },
                  "sizeType":"large"
               },
               {
                  "image":{
                     "id":210046,
                     "resource":"",
                     "size":949,
                     "published":0,
                     "updated":1312479346656,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210046",
                     "height":31,
                     "width":31
                  },
                  "sizeType":"medium1"
               },
               {
                  "image":{
                     "id":210047,
                     "resource":"",
                     "size":1392,
                     "published":0,
                     "updated":1312479346675,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210047",
                     "height":59,
                     "width":59
                  },
                  "sizeType":"medium2"
               },
               {
                  "image":{
                     "id":210045,
                     "resource":"",
                     "size":853,
                     "published":0,
                     "updated":1312479346635,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210045",
                     "height":24,
                     "width":24
                  },
                  "sizeType":"small"
               }
            ],
            "liveDate":1318796681987,
            "name":"Project Hawkeye",
            "questionAnswers":null,
            "resource":"http://quad.cisco.com/schema/1.0/community",
            "shortName":"/project-hawkeye",
            "state":"live",
            "stateChangedDate":1318796681987,
            "tags":[
               {
                  "id":4510268,
                  "resource":"http://quad.cisco.com/schema/1.0/tag",
                  "name":"hawkeye",
                  "type":null
               },
               {
                  "id":4510270,
                  "resource":"http://quad.cisco.com/schema/1.0/tag",
                  "name":"project community",
                  "type":null
               }
            ],
            "type":"open",
            "userCount":1,
            "userGroupCount":1
         }
      },
],
   "serverMessages":null
}

Community Resource Response: JSON Format, Multiple Resources Returned

The following example shows two Community resources in a JSON format response payload:

{
   "statusCode":200,
   "startIndex":0,
   "itemsPerPage":2,
   "totalResults":2,
   "filtered":false,
   "sorted":false,
   "entry":[
      {
         "data":{
            "category":{
               "approvalRequired":false,
               "description":"This is an all-purpose category that requires no approval",
               "id":5000,
               "name":"General"
            },
            "creator":{
               "firstName":"Pat",
               "fullName":"Pat Kim",
               "id":1234,
               "images":[
],
               "jobTitle":"Software Engineer",
               "lastName":"Kim",
               "screenName":"patkim"
            },
            "description":"This community captures all the work products related to 
project Hawkeye.",
            "id":4510171,
            "images":[
               {
                  "image":{
                     "id":210048,
                     "resource":"",
                     "size":2613,
                     "published":0,
                     "updated":1312479346711,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210048",
                     "height":103,
                     "width":103
                  },
                  "sizeType":"large"
               },
               {
                  "image":{
                     "id":210046,
                     "resource":"",
                     "size":949,
                     "published":0,
                     "updated":1312479346656,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210046",
                     "height":31,
                     "width":31
                  },
                  "sizeType":"medium1"
               },
               {
                  "image":{
                     "id":210047,
                     "resource":"",
                     "size":1392,
                     "published":0,
                     "updated":1312479346675,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210047",
                     "height":59,
                     "width":59
                  },
                  "sizeType":"medium2"
               },
               {
                  "image":{
                     "id":210045,
                     "resource":"",
                     "size":853,
                     "published":0,
                     "updated":1312479346635,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210045",
                     "height":24,
                     "width":24
                  },
                  "sizeType":"small"
               }
            ],
            "liveDate":1318796681987,
            "name":"Project Hawkeye",
            "questionAnswers":null,
            "resource":"http://quad.cisco.com/schema/1.0/community",
            "shortName":"/project-hawkeye",
            "state":"live",
            "stateChangedDate":1318796681987,
            "tags":[
               {
                  "id":4510268,
                  "resource":"http://quad.cisco.com/schema/1.0/tag",
                  "name":"hawkeye",
                  "type":null
               },
               {
                  "id":4510270,
                  "resource":"http://quad.cisco.com/schema/1.0/tag",
                  "name":"project community",
                  "type":null
               }
            ],
            "type":"open",
            "userCount":1,
            "userGroupCount":1
}
      },
"entry":[
      {
         "data":{
            "category":{
               "approvalRequired":false,
               "description":"This is an all-purpose category that requires no approval",
               "id":4000,
               "name":"General"
            },
            "creator":{
               "firstName":"Robin",
               "fullName":"Robin Smith",
               "id":9876,
               "images":[
],
               "jobTitle":"Software Engineer",
               "lastName":"Smith",
               "screenName":"robinsmith"
            },
            "description":"This community captures all the work products related to 
project Owl.",
            "id":4510171,
            "images":[
               {
                  "image":{
                     "id":210048,
                     "resource":"",
                     "size":2613,
                     "published":0,
                     "updated":1312479346711,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210048",
                     "height":103,
                     "width":103
                  },
                  "sizeType":"large"
               },
               {
                  "image":{
                     "id":210046,
                     "resource":"",
                     "size":949,
                     "published":0,
                     "updated":1312479346656,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210046",
                     "height":31,
                     "width":31
                  },
                  "sizeType":"medium1"
               },
               {
                  "image":{
                     "id":210047,
                     "resource":"",
                     "size":1392,
                     "published":0,
                     "updated":1312479346675,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210047",
                     "height":59,
                     "width":59
                  },
                  "sizeType":"medium2"
               },
               {
                  "image":{
                     "id":210045,
                     "resource":"",
                     "size":853,
                     "published":0,
                     "updated":1312479346635,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210045",
                     "height":24,
                     "width":24
                  },
                  "sizeType":"small"
               }
            ],
            "liveDate":1318796681987,
            "name":"Project Hawkeye",
            "questionAnswers":null,
            "resource":"http://quad.cisco.com/schema/1.0/community",
            "shortName":"/project-hawkeye",
            "state":"live",
            "stateChangedDate":1318796681987,
            "tags":[
               {
                  "id":4510268,
                  "resource":"http://quad.cisco.com/schema/1.0/tag",
                  "name":"hawkeye",
                  "type":null
               },
               {
                  "id":4510270,
                  "resource":"http://quad.cisco.com/schema/1.0/tag",
                  "name":"project community",
                  "type":null
               }
            ],
            "type":"open",
            "userCount":1,
            "userGroupCount":1
}
      }
],
   "serverMessages":null
}

CommunityCategory Responses

The following sections provide examples of the CommunityCategory resource in response payloads:

CommunityCategory Resource Response: JSON Format, One Resource Returned

CommunityCategory Resource Response: JSON Format, Multiple Resources Returned

For related information about responses and standard items in responses with payloads, see the"API Responses" section. For descriptions of fields that the CommunityCategory resource includes, see Table 3-10.

CommunityCategory Resource Response: JSON Format, One Resource Returned

The following example shows a CommunityCategory resource in a JSON format response payload:

{
   "statusCode":200,
   "startIndex":0,
   "itemsPerPage":1,
   "totalResults":1,
   "filtered":false,
   "sorted":false,
   "entry":[
      {
         "data":{
            "approvalRequired":false,
            "creator":{
               "firstName":" ",
               "fullName":" ",
               "id":10198,
               "images":[
 
   
               ],
               "jobTitle":"",
               "lastName":"",
               "screenName":"10198"
            },
            "description":"This is an all-purpose category that requires no approval",
            "generalCategory":true,
            "id":210044,
            "images":[
               {
                  "image":{
                     "id":210046,
                     "resource":"",
                     "size":949,
                     "published":0,
                     "updated":1312479346656,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210046",
                     "height":31,
                     "width":31
                  },
                  "sizeType":"medium1"
               },
               {
                  "image":{
                     "id":210047,
                     "resource":"",
                     "size":1392,
                     "published":0,
                     "updated":1312479346675,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210047",
                     "height":59,
                     "width":59
                  },
                  "sizeType":"medium2"
               },
               {
                  "image":{
                     "id":210048,
                     "resource":"",
                     "size":2613,
                     "published":0,
                     "updated":1312479346711,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210048",
                     "height":103,
                     "width":103
                  },
                  "sizeType":"large"
               },
               {
                  "image":{
                     "id":210045,
                     "resource":"",
                     "size":853,
                     "published":0,
                     "updated":1312479346635,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210045",
                     "height":24,
                     "width":24
                  },
                  "sizeType":"small"
               }
            ],
            "modifiedDate":1312479346625,
            "name":"General",
            "questions":[
 
   
            ],
            "resource":"http://quad.cisco.com/schema/1.0/communitycategory"
         }
      }
   ],
   "serverMessages":null
}

CommunityCategory Resource Response: JSON Format, Multiple Resources Returned

The following example shows two CommunityCategory resources in a JSON format response payload:

{
   "statusCode":200,
   "startIndex":0,
   "itemsPerPage":2,
   "totalResults":2,
   "filtered":false,
   "sorted":false,
   "entry":[
      {
         "data":{
            "approvalRequired":false,
            "creator":{
               "firstName":"",
               "fullName":" ",
               "id":10198,
               "images":[
 
   
               ],
               "jobTitle":"",
               "lastName":"",
               "screenName":"10198"
            },
            "description":"This is an all-purpose category that requires no approval",
            "generalCategory":true,
            "id":210044,
            "images":[
               {
                  "image":{
                     "id":210046,
                     "resource":"",
                     "size":949,
                     "published":0,
                     "updated":1312479346656,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210046",
                     "height":31,
                     "width":31
                  },
                  "sizeType":"medium1"
               },
               {
                  "image":{
                     "id":210047,
                     "resource":"",
                     "size":1392,
                     "published":0,
                     "updated":1312479346675,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210047",
                     "height":59,
                     "width":59
                  },
                  "sizeType":"medium2"
               },
               {
                  "image":{
                     "id":210048,
                     "resource":"",
                     "size":2613,
                     "published":0,
                     "updated":1312479346711,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210048",
                     "height":103,
                     "width":103
                  },
                  "sizeType":"large"
               },
               {
                  "image":{
                     "id":210045,
                     "resource":"",
                     "size":853,
                     "published":0,
                     "updated":1312479346635,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210045",
                     "height":24,
                     "width":24
                  },
                  "sizeType":"small"
               }
            ],
            "modifiedDate":1312479346625,
            "name":"General",
            "questions":[
 
   
            ],
            "resource":"http://quad.cisco.com/schema/1.0/communitycategory"
         }
      },
{
         "data":{
            "approvalRequired":false,
            "creator":{
               "firstName":"",
               "fullName":" ",
               "id":10198,
               "images":[
],
               "jobTitle":"",
               "lastName":"",
               "screenName":"10198"
            },
            "description":"This is an all-purpose category that requires no approval",
            "generalCategory":true,
            "id":210044,
            "images":[
               {
                  "image":{
                     "id":210046,
                     "resource":"",
                     "size":949,
                     "published":0,
                     "updated":1312479346656,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210046",
                     "height":31,
                     "width":31
                  },
                  "sizeType":"medium1"
               },
               {
                  "image":{
                     "id":210047,
                     "resource":"",
                     "size":1392,
                     "published":0,
                     "updated":1312479346675,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210047",
                     "height":59,
                     "width":59
                  },
                  "sizeType":"medium2"
               },
               {
                  "image":{
                     "id":210048,
                     "resource":"",
                     "size":2613,
                     "published":0,
                     "updated":1312479346711,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210048",
                     "height":103,
                     "width":103
                  },
                  "sizeType":"large"
               },
               {
                  "image":{
                     "id":210045,
                     "resource":"",
                     "size":853,
                     "published":0,
                     "updated":1312479346635,
                     "fileName":null,
                     "mimeType":"jpg",
                     "author":null,
                     "uri":"/image/image_gallery?img_id=210045",
                     "height":24,
                     "width":24
                  },
                  "sizeType":"small"
               }
            ],
            "modifiedDate":1312479346625,
            "name":"General",
            "questions":[
 
   
            ],
            "resource":"http://quad.cisco.com/schema/1.0/communitycategory"
         }
      }
],
   "serverMessages":null
}

Post Resource Responses

The following sections provide examples of the Post resource in response payloads:

Post Resource Response: JSON Format, One Resource Returned

Post Resource Response: JSON Format, One Resource Returned with Metadata

Post Resource Response: JSON Format, Multiple Resources Returned

Post Resource Response: JSON Format, Multiple Resources Returned with Metadata

Post Resource Response: JSON Format, One Resource Returned

The following example shows a Post resource in a JSON format response payload:

{
   "statusCode": 200,
   "startIndex": 0,
   "itemsPerPage": 1,
   "totalResults": 1,
   "filtered": true,
   "sorted": false,
   "entry":    [
      {"data":       {
         "attachments": [],
         "body": "<p>\n\tsgadg<\/p>",
         "commentCount": 0,
         "createDate": 1318474513555,
         "creator":          {
            "firstName": "Pat",
            "fullName": "Pat Kim",
            "id": 1234,
            "images": [],
            "jobTitle": "",
            "lastName": "Kim",
            "screenName": "patkim"
         },
         "editCount": -1,
         "externalPost": false,
         "hasAttachments": false,
         "id": 500001,
         "lastModifiedDate": 1318474513555,
         "lastModifier":          {
            "firstName": "Robin",
            "fullName": "Robin",
            "id": 9876,
            "images": [],
            "jobTitle": "",
            "lastName": "Jones",
            "screenName": "robinjones"
         },
         "lastTransactionTime": 0,
         "lastTransactionType": "",
         "lastTransactionUser": null,
         "permissions": [         {
            "principal":             {
               "id": 1122,
               "resource": "http://quad.cisco.com/schema/1.0/user",
               "firstName": "Mel",
               "lastName": "Jones",
               "fullName": "Mel Jones",
               "screenName": "meljones",
               "images": [],
               "startWorkHour": 0,
               "endWorkHour": 0,
               "timeZone": "America/Los_Angeles",
               "jobTitle": "",
               "friendlyJobTitle": null,
               "addresses": null,
               "emails": null,
               "phones": null,
               "tags": null
            },
            "permissionFlags":             {
               "view": true,
               "edit": true,
               "comment": true,
               "share": true,
               "authorize": true
            }
         }],
         "publicPost": true,
         "resource": "http://quad.cisco.com/schema/1.0/post",
         "rootMessageId": 1310003,
         "state": "ACTIVE",
         "summary": " \n\tsgadg ",
         "tags": [],
         "title": "post2",
         "type": "TEXT",
         "version": 1
      }},
      {"data":       {
         "attachments": [         {
            "id": 310028,
            "resource": "",
            "size": 40895,
            "published": 1317104348839,
            "updated": 1317104348839,
            "fileName": "image005.jpg",
            "mimeType": "IMAGE_LINK",
            "author":             {
               "id": 1234,
               "resource": "http://quad.cisco.com/schema/1.0/user",
               "firstName": "Pat",
               "lastName": "Kim",
               "fullName": "Pat Kim",
               "screenName": "patkim",
               "images": [],
               "startWorkHour": 0,
               "endWorkHour": 0,
               "timeZone": "America/Los_Angeles",
               "jobTitle": "",
               "friendlyJobTitle": null,
               "addresses": null,
               "emails": null,
               "phones": null,
               "tags": null
            },
            "uri": ""
         }],
         "body": "<p>\n\ttesting<\/p>\n<p>\n\t<img border=\"0\" 
src=\"/image/image_gallery?img_id=310006\" style=\"max-width: 100.0%;padding: 
5.0px;\"><\/p>\n<p>\n\ttext after image<\/p>",
         "commentCount": 0,
         "createDate": 1317082453016,
         "creator":          {
            "firstName": "Robin",
            "fullName": "Robin Smith",
            "id": 9876,
            "images": [],
            "jobTitle": "",
            "lastName": "Smith",
            "screenName": "robinsmith"
         },
         "editCount": -1,
         "externalPost": false,
         "hasAttachments": false,
         "id": 2,
         "lastModifiedDate": 1317151154810,
         "lastModifier":          {
            "firstName": "Mel",
            "fullName": "Mel Jones",
            "id": 1122,
            "images": [],
            "jobTitle": "",
            "lastName": "Jones",
            "screenName": "meljones"
         },
         "lastTransactionTime": 0,
         "lastTransactionType": "",
         "lastTransactionUser": null,
         "permissions": [         {
            "principal":             {
               "id": 5678,
               "resource": "http://quad.cisco.com/schema/1.0/user",
               "firstName": "Kerry",
               "lastName": "Page",
               "fullName": "Kerry Page"
               "screenName": "kerrypage",
               "images": [],
               "startWorkHour": 0,
               "endWorkHour": 0,
               "timeZone": "America/Los_Angeles",
               "jobTitle": "",
               "friendlyJobTitle": null,
               "addresses": null,
               "emails": null,
               "phones": null,
               "tags": null
            },
            "permissionFlags":             {
               "view": true,
               "edit": true,
               "comment": true,
               "share": true,
               "authorize": true
            }
         }],
         "publicPost": true,
         "resource": "http://quad.cisco.com/schema/1.0/post",
         "rootMessageId": 10422,
         "state": "ACTIVE",
         "summary": " \n\ttesting \n \n\t  \n \n\ttext after image ",
         "tags": [],
         "title": "test post",
         "type": "TEXT",
         "version": 7,
         "attachmentsCount":5,
         "likesCount":10
}}
   ],
   "serverMessages": null
}

Post Resource Response: JSON Format, One Resource Returned with Metadata

The following example shows a Post resource that includes like and favorite relationship metadata in a JSON format response payload. You can include relationship metadata in a response by including the meta query parameter in a request, as explained in the "Query Parameters" section.

{
   "statusCode": 200,
   "startIndex": 0,
   "itemsPerPage": 1,
   "totalResults": 1,
   "filtered": true,
   "sorted": false,
   "entry":    [
      {"data":       {
         "attachments": [],
         "body": "<p>\n\tsgadg<\/p>",
         "commentCount": 0,
         "createDate": 1318474513555,
         "creator":          {
            "firstName": "Pat",
            "fullName": "Pat Kim",
            "id": 1234,
            "images": [],
            "jobTitle": "",
            "lastName": "Kim",
            "screenName": "patkim"
         },
         "editCount": -1,
         "externalPost": false,
         "hasAttachments": false,
         "id": 500001,
         "lastModifiedDate": 1318474513555,
         "lastModifier":          {
            "firstName": "Robin",
            "fullName": "Robin Jones",
            "id": 9876,
            "images": [],
            "jobTitle": "",
            "lastName": "Jones",
            "screenName": "robinjones"
         },
         "lastTransactionTime": 0,
         "lastTransactionType": "",
         "lastTransactionUser": null,
         "permissions": [         {
            "principal":             {
               "id": 1122,
               "resource": "http://quad.cisco.com/schema/1.0/user",
               "firstName": "Mel",
               "lastName": "Jones",
               "fullName": "Mel Jones",
               "screenName": "meljones",
               "images": [],
               "startWorkHour": 0,
               "endWorkHour": 0,
               "timeZone": "America/Los_Angeles",
               "jobTitle": "",
               "friendlyJobTitle": null,
               "addresses": null,
               "emails": null,
               "phones": null,
               "tags": null
            },
            "permissionFlags":             {
               "view": true,
               "edit": true,
               "comment": true,
               "share": true,
               "authorize": true
            }
         }],
         "publicPost": true,
         "resource": "http://quad.cisco.com/schema/1.0/post",
         "rootMessageId": 1310003,
         "state": "ACTIVE",
         "summary": " \n\tsgadg ",
         "tags": [],
         "title": "post2",
         "type": "TEXT",
         "version": 1
      }},
      {"data":       {
         "attachments": [         {
            "id": 310028,
            "resource": "",
            "size": 40895,
            "published": 1317104348839,
            "updated": 1317104348839,
            "fileName": "image005.jpg",
            "mimeType": "IMAGE_LINK",
            "author":             {
               "id": 1234,
               "resource": "http://quad.cisco.com/schema/1.0/user",
               "firstName": "Pat",
               "lastName": "Kim",
               "fullName": "Pat Kim",
               "screenName": "patkim",
               "images": [],
               "startWorkHour": 0,
               "endWorkHour": 0,
               "timeZone": "America/Los_Angeles",
               "jobTitle": "",
               "friendlyJobTitle": null,
               "addresses": null,
               "emails": null,
               "phones": null,
               "tags": null
            },
            "uri": ""
         }],
         "body": "<p>\n\ttesting<\/p>\n<p>\n\t<img border=\"0\" 
src=\"/image/image_gallery?img_id=310006\" style=\"max-width: 100.0%;padding: 
5.0px;\"><\/p>\n<p>\n\ttext after image<\/p>",
         "commentCount": 0,
         "createDate": 1317082453016,
         "creator":          {
            "firstName": "Robin",
            "fullName": "Robin Smith",
            "id": 9876,
            "images": [],
            "jobTitle": "",
            "lastName": "Smith",
            "screenName": "robinsmith"
         },
         "editCount": -1,
         "externalPost": false,
         "hasAttachments": false,
         "id": 2,
         "lastModifiedDate": 1317151154810,
         "lastModifier":          {
            "firstName": "Mel",
            "fullName": "Mel Jones",
            "id": 1122,
            "images": [],
            "jobTitle": "",
            "lastName": "Jones",
            "screenName": "meljones"
         },
         "lastTransactionTime": 0,
         "lastTransactionType": "",
         "lastTransactionUser": null,
         "permissions": [         {
            "principal":             {
               "id": 5678,
               "resource": "http://quad.cisco.com/schema/1.0/user",
               "firstName": "Kerry",
               "lastName": "Page",
               "fullName": "Kerry Page"
               "screenName": "kerrypage",
               "images": [],
               "startWorkHour": 0,
               "endWorkHour": 0,
               "timeZone": "America/Los_Angeles",
               "jobTitle": "",
               "friendlyJobTitle": null,
               "addresses": null,
               "emails": null,
               "phones": null,
               "tags": null
            },
            "permissionFlags":             {
               "view": true,
               "edit": true,
               "comment": true,
               "share": true,
               "authorize": true
            }
         }],
         "publicPost": true,
         "resource": "http://quad.cisco.com/schema/1.0/post",
         "rootMessageId": 10422,
         "state": "ACTIVE",
         "summary": " \n\ttesting \n \n\t  \n \n\ttext after image ",
         "tags": [],
         "title": "test post",
         "type": "TEXT",
         "version": 7,
         "attachmentsCount":5,
         "likesCount":10
      },
		 "meta": {
"likeId": "user:5678,post:500001",
"likeRelationship": "liking",
"favoriteId": "",
"favoriteRelationship": "none"
		}
	}
   ],
   "serverMessages": null
}

Post Resource Response: JSON Format, Multiple Resources Returned

The following example shows two Post resources in a JSON format response payload:

{
   "statusCode": 200,
   "startIndex": 0,
   "itemsPerPage": 2,
   "totalResults": 2,
   "filtered": true,
   "sorted": false,
   "entry":    [
      {"data":       {
         "attachments": [],
         "body": "<p>\n\tsgadg<\/p>",
         "commentCount": 0,
         "createDate": 1318474513555,
         "creator":          {
            "firstName": "Pat",
            "fullName": "Pat Kim",
            "id": 1234,
            "images": [],
            "jobTitle": "",
            "lastName": "Kim",
            "screenName": "patkim"
         },
         "editCount": -1,
         "externalPost": false,
         "hasAttachments": false,
         "id": 500001,
         "lastModifiedDate": 1318474513555,
         "lastModifier":          {
            "firstName": "Robin",
            "fullName": "Robin Smith",
            "id": 9876,
            "images": [],
            "jobTitle": "",
            "lastName": "Smith",
            "screenName": "robinsmith"
         },
         "lastTransactionTime": 0,
         "lastTransactionType": "",
         "lastTransactionUser": null,
         "permissions": [         {
            "principal":             {
               "id": 1122,
               "resource": "http://quad.cisco.com/schema/1.0/user",
               "firstName": "Mel",
               "lastName": "Jones",
               "fullName": "Mel Jones",
               "screenName": "meljones",
               "images": [],
               "startWorkHour": 0,
               "endWorkHour": 0,
               "timeZone": "America/Los_Angeles",
               "jobTitle": "",
               "friendlyJobTitle": null,
               "addresses": null,
               "emails": null,
               "phones": null,
               "tags": null
            },
            "permissionFlags":             {
               "view": true,
               "edit": true,
               "comment": true,
               "share": true,
               "authorize": true
            }
         }],
         "publicPost": true,
         "resource": "http://quad.cisco.com/schema/1.0/post",
         "rootMessageId": 1310003,
         "state": "ACTIVE",
         "summary": " \n\tsgadg ",
         "tags": [],
         "title": "post2",
         "type": "TEXT",
         "version": 1,
         "attachmentsCount":5,
         "likesCount":10
      }},
      {"data":       {
         "attachments": [         {
            "id": 310028,
            "resource": "",
            "size": 40895,
            "published": 1317104348839,
            "updated": 1317104348839,
            "fileName": "image005.jpg",
            "mimeType": "IMAGE_LINK",
            "author":             {
               "id": 5678,
               "resource": "http://quad.cisco.com/schema/1.0/user",
               "firstName": "Kerry",
               "lastName": "Page",
               "fullName": "Kerry Page",
               "screenName": "kerrypage",
               "images": [],
               "startWorkHour": 0,
               "endWorkHour": 0,
               "timeZone": "America/Los_Angeles",
               "jobTitle": "",
               "friendlyJobTitle": null,
               "addresses": null,
               "emails": null,
               "phones": null,
               "tags": null
            },
            "uri": ""
         }],
         "body": "<p>\n\ttesting<\/p>\n<p>\n\t<img border=\"0\" 
src=\"/image/image_gallery?img_id=310006\" style=\"max-width: 100.0%;padding: 
5.0px;\"><\/p>\n<p>\n\ttext after image<\/p>",
         "commentCount": 0,
         "createDate": 1317082453016,
         "creator":          {
            "firstName": "Pat",
            "fullName": "Pat Kim",
            "id": 1234,
            "images": [],
            "jobTitle": "",
            "lastName": "Kim",
            "screenName": "patkim"
         },
         "editCount": -1,
         "externalPost": false,
         "hasAttachments": false,
         "id": 2,
         "lastModifiedDate": 1317151154810,
         "lastModifier":          {
            "firstName": "Robin",
            "fullName": "Robin Smith",
            "id": 9876,
            "images": [],
            "jobTitle": "",
            "lastName": "Smith",
            "screenName": "robinsmith"
         },
         "lastTransactionTime": 0,
         "lastTransactionType": "",
         "lastTransactionUser": null,
         "permissions": [         {
            "principal":             {
               "id": 1122,
               "resource": "http://quad.cisco.com/schema/1.0/user",
               "firstName": "Mel",
               "lastName": "Jones",
               "fullName": "Mel Jones",
               "screenName": "meljones",
               "images": [],
               "startWorkHour": 0,
               "endWorkHour": 0,
               "timeZone": "America/Los_Angeles",
               "jobTitle": "",
               "friendlyJobTitle": null,
               "addresses": null,
               "emails": null,
               "phones": null,
               "tags": null
            },
            "permissionFlags":             {
               "view": true,
               "edit": true,
               "comment": true,
               "share": true,
               "authorize": true
            }
         }],
         "publicPost": true,
         "resource": "http://quad.cisco.com/schema/1.0/post",
         "rootMessageId": 10422,
         "state": "ACTIVE",
         "summary": " \n\ttesting \n \n\t  \n \n\ttext after image ",
         "tags": [],
         "title": "test post",
         "type": "TEXT",
         "version": 7,
         "attachmentsCount":5,
         "likesCount":10
      }}
   ],
   "serverMessages": null
}

Post Resource Response: JSON Format, Multiple Resources Returned with Metadata

The following example shows two Post resources that include like and favorite relationship metadata in a JSON format response payload. You can include relationship metadata in a response by including the meta query parameter in a request, as explained in the "Query Parameters" section.

{
   "statusCode": 200,
   "startIndex": 0,
   "itemsPerPage": 2,
   "totalResults": 2,
   "filtered": true,
   "sorted": false,
   "entry":    [
      {"data":       {
         "attachments": [],
         "body": "<p>\n\tsgadg<\/p>",
         "commentCount": 0,
         "createDate": 1318474513555,
         "creator":          {
            "firstName": "Pat",
            "fullName": "Pat Kim",
            "id": 1234,
            "images": [],
            "jobTitle": "",
            "lastName": "Kim",
            "screenName": "patkim"
         },
         "editCount": -1,
         "externalPost": false,
         "hasAttachments": false,
         "id": 500001,
         "lastModifiedDate": 1318474513555,
         "lastModifier":          {
            "firstName": "Robin",
            "fullName": "Robin Smith",
            "id": 9876,
            "images": [],
            "jobTitle": "",
            "lastName": "Smith",
            "screenName": "robinsmith"
         },
         "lastTransactionTime": 0,
         "lastTransactionType": "",
         "lastTransactionUser": null,
         "permissions": [         {
            "principal":             {
               "id": 1122,
               "resource": "http://quad.cisco.com/schema/1.0/user",
               "firstName": "Mel",
               "lastName": "Jones",
               "fullName": "Mel Jones",
               "screenName": "meljones",
               "images": [],
               "startWorkHour": 0,
               "endWorkHour": 0,
               "timeZone": "America/Los_Angeles",
               "jobTitle": "",
               "friendlyJobTitle": null,
               "addresses": null,
               "emails": null,
               "phones": null,
               "tags": null
            },
            "permissionFlags":             {
               "view": true,
               "edit": true,
               "comment": true,
               "share": true,
               "authorize": true
            }
         }],
         "publicPost": true,
         "resource": "http://quad.cisco.com/schema/1.0/post",
         "rootMessageId": 1310003,
         "state": "ACTIVE",
         "summary": " \n\tsgadg ",
         "tags": [],
         "title": "post2",
         "type": "TEXT",
         "version": 1,
         "attachmentsCount":5,
         "likesCount":10
      },
		 "meta": {
"likeId": "user:5678,post:500001",
"likeRelationship": "liking",
"favoriteId": "",
"favoriteRelationship": "none"
		}
	  },
      {"data":       {
         "attachments": [         {
            "id": 310028,
            "resource": "",
            "size": 40895,
            "published": 1317104348839,
            "updated": 1317104348839,
            "fileName": "image005.jpg",
            "mimeType": "IMAGE_LINK",
            "author":             {
               "id": 5678,
               "resource": "http://quad.cisco.com/schema/1.0/user",
               "firstName": "Kerry",
               "lastName": "Page",
               "fullName": "Kerry Page",
               "screenName": "kerrypage",
               "images": [],
               "startWorkHour": 0,
               "endWorkHour": 0,
               "timeZone": "America/Los_Angeles",
               "jobTitle": "",
               "friendlyJobTitle": null,
               "addresses": null,
               "emails": null,
               "phones": null,
               "tags": null
            },
            "uri": ""
         }],
         "body": "<p>\n\ttesting<\/p>\n<p>\n\t<img border=\"0\" 
src=\"/image/image_gallery?img_id=310006\" style=\"max-width: 100.0%;padding: 
5.0px;\"><\/p>\n<p>\n\ttext after image<\/p>",
         "commentCount": 0,
         "createDate": 1317082453016,
         "creator":          {
            "firstName": "Pat",
            "fullName": "Pat Kim",
            "id": 1234,
            "images": [],
            "jobTitle": "",
            "lastName": "Kim",
            "screenName": "patkim"
         },
         "editCount": -1,
         "externalPost": false,
         "hasAttachments": false,
         "id": 2,
         "lastModifiedDate": 1317151154810,
         "lastModifier":          {
            "firstName": "Robin",
            "fullName": "Robin Smith",
            "id": 9876,
            "images": [],
            "jobTitle": "",
            "lastName": "Smith",
            "screenName": "robinsmith"
         },
         "lastTransactionTime": 0,
         "lastTransactionType": "",
         "lastTransactionUser": null,
         "permissions": [         {
            "principal":             {
               "id": 1122,
               "resource": "http://quad.cisco.com/schema/1.0/user",
               "firstName": "Mel",
               "lastName": "Jones",
               "fullName": "Mel Jones",
               "screenName": "meljones",
               "images": [],
               "startWorkHour": 0,
               "endWorkHour": 0,
               "timeZone": "America/Los_Angeles",
               "jobTitle": "",
               "friendlyJobTitle": null,
               "addresses": null,
               "emails": null,
               "phones": null,
               "tags": null
            },
            "permissionFlags":             {
               "view": true,
               "edit": true,
               "comment": true,
               "share": true,
               "authorize": true
            }
         }],
         "publicPost": true,
         "resource": "http://quad.cisco.com/schema/1.0/post",
         "rootMessageId": 10422,
         "state": "ACTIVE",
         "summary": " \n\ttesting \n \n\t  \n \n\ttext after image ",
         "tags": [],
         "title": "test post",
         "type": "TEXT",
         "version": 7,
         "attachmentsCount":5,
         "likesCount":10
      },
		 "meta": {
"likeId": "",
"likeRelationship": "none",
"favoriteId": "user:5678,post:2",
"favoriteRelationship": "favoriting"
		}
	}
   ],
   "serverMessages": null
}

DocumentFile Resource Responses

The following sections provide examples of the DocumentFile resource in response payloads:

DocumentFile Resource Response: JSON Format, One Resource Returned

DocumentFile Resource Response: JSON Format, Multiple Resources Returned

For related information about responses and standard items in responses with payloads, see the "API Responses" section. For descriptions of fields that the DocumentFile resource includes, see Table 3-19.

DocumentFile Resource Response: JSON Format, One Resource Returned

The following example shows a DocumentFile resource in a JSON format response payload:

{ "entry" : [{
       "data" :{
          "author" :{ 
                "firstName" : "system",
                "fullName" : "system user0",
                "id" : 110006,
                "images" : [  ],
                "jobTitle" : "SE",
                "lastName" : "user0",
                "resource" : "http://quad.cisco.com/schema/1.0/user",
                "screenName" : "user0",
                "status" : "ACTIVE"
              },
            "description" : "Test Document",
            "fileName" : "DLFE-200007.docx",
            "folderId" : 410205,
            "id" : 410225,
            "mimeType" : "DOCUMENT",
            "published" : 1338891202876,
            "readCount" : 0,
            "resource" : "http://quad.cisco.com/schema/1.0/document",
            "size" : 10080,
            "tags" : [ { "id" : 410227,
                  "name" : "tag1",
                  "resource" : "http://quad.cisco.com/schema/1.0/tag",
                  "type" : null
                } ],
            "title" : "Test Document",
            "updated" : 1338891202876,
            "updatedBy" : { "firstName" : "system",
                "fullName" : "system user0",
                "id" : 110006,
                "images" : [  ],
                "jobTitle" : "SE",
                "lastName" : "user0",
                "resource" : "http://quad.cisco.com/schema/1.0/user",
                "screenName" : "user0",
                "status" : "ACTIVE"
              },
            "uri" : 
"/c/document_library/get_file?folderId=410205&name=DLFE-200007.docx&version=1.0",
            "version" : 1.0
          } } ],
  "filtered" : false,
  "itemsPerPage" : 1,
  "serverMessages" : null,
  "sorted" : false,
  "startIndex" : 0,
  "statusCode" : 200,
  "totalResults" : 1
}

DocumentFile Resource Response: JSON Format, Multiple Resources Returned

The following example shows two DocumentFile resources in a JSON format response payload:

{ "entry" : [{
       "data" :{
          "author" :{ 
                "firstName" : "system",
                "fullName" : "system user0",
                "id" : 110006,
                "images" : [  ],
                "jobTitle" : "SE",
                "lastName" : "user0",
                "resource" : "http://quad.cisco.com/schema/1.0/user",
                "screenName" : "user0",
                "status" : "ACTIVE"
              },
            "description" : "Test Document",
            "fileName" : "DLFE-200007.docx",
            "folderId" : 410205,
            "id" : 410225,
            "mimeType" : "DOCUMENT",
            "published" : 1338891202876,
            "readCount" : 0,
            "resource" : "http://quad.cisco.com/schema/1.0/document",
            "size" : 10080,
            "tags" : [ { "id" : 410227,
                  "name" : "tag1",
                  "resource" : "http://quad.cisco.com/schema/1.0/tag",
                  "type" : null
                } ],
            "title" : "Test Document",
            "updated" : 1339501743224,
            "updatedBy" : { "firstName" : "system",
                "fullName" : "system user0",
                "id" : 110006,
                "images" : [  ],
                "jobTitle" : "SE",
                "lastName" : "user0",
                "resource" : "http://quad.cisco.com/schema/1.0/user",
                "screenName" : "user0",
                "status" : "ACTIVE"
              },
            "uri" : 
"/c/document_library/get_file?folderId=410205&name=DLFE-200007.docx&version=1.1",
            "version" : 1.1000000000000001
          } },
      "data" :{
          "author" :{ 
                "firstName" : "system",
                "fullName" : "system user0",
                "id" : 110006,
                "images" : [  ],
                "jobTitle" : "SE",
                "lastName" : "user0",
                "resource" : "http://quad.cisco.com/schema/1.0/user",
                "screenName" : "user0",
                "status" : "ACTIVE"
              },
            "description" : "Test Document",
            "fileName" : "DLFE-200007.docx",
            "folderId" : 410205,
            "id" : 1010017,
            "mimeType" : "DOCUMENT",
            "published" : 1338891202876,
            "readCount" : 0,
            "resource" : "http://quad.cisco.com/schema/1.0/document",
            "size" : 10080,
            "tags" : [  ],
            "title" : "Test Document",
            "updated" : 1339501743224,
            "updatedBy" : { "firstName" : "system",
                "fullName" : "system user0",
                "id" : 110006,
                "images" : [  ],
                "jobTitle" : "SE",
                "lastName" : "user0",
                "resource" : "http://quad.cisco.com/schema/1.0/user",
                "screenName" : "user0",
                "status" : "ACTIVE"
              },
            "uri" : 
"/c/document_library/get_file?folderId=410205&name=DLFE-200007.docx&version=1.0",
            "version" : 1.0
          } }
    ],
  "filtered" : false,
  "itemsPerPage" : 2,
  "serverMessages" : null,
  "sorted" : false,
  "startIndex" : 0,
  "statusCode" : 200,
  "totalResults" : 2
}

DocumentFolder Resource Response

This section provides an example of the DocumentFolder resource in a JSON response payload.

For related information about responses and standard items in responses with payloads, see the "API Responses" section. For descriptions of fields that the DocumentFolder resource includes, see Table 3-20.

DocumentFolder Resource Response: JSON Format, One Resource Returned

{ "entry" : [ 
  {
    "data" : {
      "community" : {
                "description" : "tst",
                "id" : 110066,
                "name" : "test",
                "resource" : "http://quad.cisco.com/schema/1.0/community",
                "shortName" : "/test1",
                "state" : "live",
                "type" : "open"
              },
            "createDate" : 1340706277634,
            "creator" : { "firstName" : "PAt",
                "fullName" : "Pat Kim",
                "id" : 10261,
                "images" : [  ],
                "jobTitle" : "",
                "lastName" : "Kim",
                "resource" : "http://quad.cisco.com/schema/1.0/user",
                "screenName" : "patkim",
                "status" : "ACTIVE"
              },
            "description" : "Test Folder in CommunityLibrary",
            "id" : 110172,
            "lastModifiedDate" : 1340706277634,
            "name" : "Test Sub- Folder 2 by User in community Library",
            "parentFolderId" : 110162,
            "resource" : "http://quad.cisco.com/schema/1.0/documentfolder"
          } } ],
  "filtered" : false,
  "itemsPerPage" : 1,
  "serverMessages" : null,
  "sorted" : false,
  "startIndex" : 0,
  "statusCode" : 200,
  "totalResults" : 1
}

DocumentLibrary Resource Response

This section provides an example of the DocumentLibrary resource in a JSON response payloads:

For related information about responses and standard items in responses with payloads, see the "API Responses" section. For descriptions of fields that the DocumentLibrary resource includes, see Table 3-21.

DocumentLibrary Resource Response: JSON Format, One Resource Returned

{ 
    "statusCode": 200, 
    "startIndex": 0, 
    "itemsPerPage": 1, 
    "totalResults": 1, 
    "filtered": false
    "sorted": false, 
    "entry": [ 
        { 
            "data": { 
                "documents": [ 
                    { 
                        "id": 110399, 
                        "resource": "http://quad.cisco.com/schema/1.0/document", 
                        "size": 4, 
                        "published": 1342602898727, 
                        "updated": 1342602898727, 
                        "fileName": "DLFE-100007.txt", 
                        "mimeType": "DOCUMENT", 
                        "author": { 
                            "id": 10452, 
                            "resource": "http://quad.cisco.com/schema/1.0/user", 
                            "manager": null, 
                            "firstName": "Pat", 
                            "lastName": "Kim", 
                            "fullName": "Pat Kim", 
                            "screenName": "patkim", 
                            "images": [ ], 
                            "startWorkHour": 0, 
                            "endWorkHour": 0, 
                            "timeZone": "America/Los_Angeles", 
                            "jobTitle": "Software Engineer", 
                            "friendlyJobTitle": null, 
                            "addresses": null, 
                            "emails": null, 
                            "phones": null, 
                            "tags": null, 
                            "customAttributes": null, 
                            "status": "ACTIVE", 
                            "legalHold": "NONE"
                        }, 
                        "updatedBy": { 
                            "id": 10452, 
                            "resource": "http://quad.cisco.com/schema/1.0/user", 
                            "manager": null, 
                            "firstName": "Pat", 
                            "lastName": "Kim", 
                            "fullName": "Pat Kin", 
                            "screenName": "patkim", 
                            "images": [ ], 
                            "startWorkHour": 0, 
                            "endWorkHour": 0, 
                            "timeZone": "America/Los_Angeles", 
                            "jobTitle": "Software Engineer", 
                            "friendlyJobTitle": null, 
                            "addresses": null, 
                            "emails": null, 
                            "phones": null, 
                            "tags": null, 
                            "customAttributes": null, 
                            "status": "ACTIVE", 
                            "legalHold": "NONE"
                        }, 
                        "uri": 
"/c/document_library/get_file?folderId=110190&name=DLFE-100007.txt&version=1.0", 
                        "version": 1, 
                        "title": "TestTitle", 
                        "description": "Test Document Description 1", 
                        "folderId": 110190, 
                        "readCount": 2, 
                        "tags": [ 
                            { 
                                "id": 110401, 
                                "resource": "http://quad.cisco.com/schema/1.0/tag", 
                                "name": "testtag1", 
                                "type": null
                            }, 
                            { 
                                "id": 110402, 
                                "resource": "http://quad.cisco.com/schema/1.0/tag", 
                                "name": "testtag2", 
                                "type": null
                            }
                        ]
                    }
                ], 
                "folders": null, 
                "id": 0, 
                "resource": "http://quad.cisco.com/schema/1.0/documentlibrary"
            }
        }
    ]
}

ProfileImage Resource Response

This section provides an example of four ProfileImage resources in a JSON response payload.

For related information about responses and standard items in responses with payloads, see the "API Responses" section. For descriptions of fields that the ProfileImage resource includes, see Table 3-38.

ProfileImage Resource Response: JSON Format, Multiple Resources Returned

{
    "statusCode": 200, 
    "startIndex": 0, 
    "itemsPerPage": 4, 
    "totalResults": 4, 
    "filtered": false, 
    "sorted": false, 
    "entry": [
        {
            "data": {
                "image": {
                    "fileName": null, 
                    "height": 24, 
                    "id": 3515223, 
                    "mimeType": "jpg", 
                    "size": 792, 
                    "uri": "/image/user_portrait?img_id=3515223&t=1319581421443", 
                    "width": 24
                }, 
                "sizeType": "small"
            }
        },
        {
            "data": {
                "image": {
                    "fileName": null, 
                    "height": 31, 
                    "id": 3515224, 
                    "mimeType": "jpg", 
                    "size": 872, 
                    "uri": "/image/user_portrait?img_id=3515224&t=1319581421443", 
                    "width": 31
                }, 
                "sizeType": "medium1"
            }
        },
        {
            "data": {
                "image": {
                    "fileName": null, 
                    "height": 48, 
                    "id": 3515225, 
                    "mimeType": "jpg", 
                    "size": 1094, 
                    "uri": "/image/user_portrait?img_id=3515225&t=1319581421443", 
                    "width": 48
                }, 
                "sizeType": "medium2"
            }
        },
        {
            "data": {
                "image": {
                    "fileName": null, 
                    "height": 64, 
                    "id": 13310013, 
                    "mimeType": "jpg", 
                    "size": 1301, 
                    "uri": "/image/user_portrait?img_id=13310013&t=1319581421443", 
                    "width": 64
                }, 
                "sizeType": "medium3"
            }
        },
        {
            "data": {
                "image": {
                    "fileName": null, 
                    "height": 110, 
                    "id": 13310014, 
                    "mimeType": "jpg", 
                    "size": 2149, 
                    "uri": "/image/user_portrait?img_id=13310014&t=1319581421443", 
                    "width": 110
                }, 
                "sizeType": "medium4"
            }
        },
        {
            "data": {
                "image": {
                    "fileName": null, 
                    "height": 150, 
                    "id": 3515226, 
                    "mimeType": "jpg", 
                    "size": 3187, 
                    "uri": "/image/user_portrait?img_id=3515226&t=1319581421443", 
                    "width": 150
                }, 
                "sizeType": "large"
            }
        }
    ], 
    "serverMessages": null
}

Favorite Resource Responses

The following sections provide examples of the Favorite resource in response payloads:

Favorite Resource Response with Post Resource in Destination Field: JSON Format, One Resource Returned

Favorite Resource Response with Post Resource in Destination Field: JSON Format, One Resource Returned with Metadata

Favorite Resource Response with User Resource in Destination Field: JSON Format, One Resource Returned

Favorite Resource Response with User Resource in Destination Field: JSON Format, One Resource Returned with Metadata

Favorite Resource Response with Post Resource in Destination Field: JSON Format, Multiple Resources Returned

Favorite Resource Response with Post Resource in Destination Field: JSON Format, Multiple Resources Returned with Metadata

Favorite Resource Response with User Resource in Destination Field: JSON Format, Multiple Resources Returned

Favorite Resource Response with User Resource in Destination Field: JSON Format, Multiple Resources Returned with Metadata

For related information about responses and standard items in responses with payloads, see the "API Responses" section. For descriptions of fields that the Favorite resource includes, see Table 3-26.

Favorite Resource Response with Post Resource in Destination Field: JSON Format, One Resource Returned

The following example shows a Favorite resource that includes a Post resource in the destination field in a JSON format response payload:

{
   "statusCode": 200,
   "startIndex": 0,
   "itemsPerPage": 1,
   "totalResults": 1,
   "filtered": false,
   "sorted": false,
   "entry": [{"data":    {
      "destination":       {
         "createDate": 1318474513000,
         "creator":          {
            "firstName": "Pat",
            "fullName": "Pat Kim",
            "id": 1234,
            "images":             [
                              {
                  "image":                   {
                     "id": 2310036,
                     "resource": "",
                     "size": 1146,
                     "published": 0,
                     "updated": 1319581421416,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310036&t=1319581421416",
                     "height": 59,
                     "width": 59
                  },
                  "sizeType": "medium2"
               },
                              {
                  "image":                   {
                     "id": 2310032,
                     "resource": "",
                     "size": 1794,
                     "published": 0,
                     "updated": 1319581421443,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310032&t=1319581421443",
                     "height": 103,
                     "width": 103
                  },
                  "sizeType": "large"
               },
                              {
                  "image":                   {
                     "id": 2310034,
                     "resource": "",
                     "size": 776,
                     "published": 0,
                     "updated": 1319581421380,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310034&t=1319581421380",
                     "height": 24,
                     "width": 24
                  },
                  "sizeType": "small"
               },
                              {
                  "image":                   {
                     "id": 2310035,
                     "resource": "",
                     "size": 799,
                     "published": 0,
                     "updated": 1319581421401,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310035&t=1319581421401",
                     "height": 31,
                     "width": 31
                  },
                  "sizeType": "medium1"
               }
            ],
            "jobTitle": "",
            "lastName": "Kim",
            "screenName": "patkim"
         },
         "id": 500001,
         "summary": "Introducing New Employee",
         "tags": [],
         "title": "New Employee",
         "type": "TEXT"
      },
      "id": "user:1234,post:500001",
      "relationship": "favoriting"
   }}],
   "serverMessages": null
}

Favorite Resource Response with Post Resource in Destination Field: JSON Format, One Resource Returned with Metadata

The following example shows a Favorite resource that includes a Post resource in the destination field and like and favorite relationship metadata in a JSON format response payload. You can include relationship metadata in a response by including the meta query parameter in a request, as explained in the "Query Parameters" section.

{
   "statusCode": 200,
   "startIndex": 0,
   "itemsPerPage": 1,
   "totalResults": 1,
   "filtered": false,
   "sorted": false,
   "entry": [{"data":    {
      "destination":       {
         "createDate": 1318474513000,
         "creator":          {
            "firstName": "Pat",
            "fullName": "Pat Kim",
            "id": 1234,
            "images":             [
                              {
                  "image":                   {
                     "id": 2310036,
                     "resource": "",
                     "size": 1146,
                     "published": 0,
                     "updated": 1319581421416,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310036&t=1319581421416",
                     "height": 59,
                     "width": 59
                  },
                  "sizeType": "medium2"
               },
                              {
                  "image":                   {
                     "id": 2310032,
                     "resource": "",
                     "size": 1794,
                     "published": 0,
                     "updated": 1319581421443,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310032&t=1319581421443",
                     "height": 103,
                     "width": 103
                  },
                  "sizeType": "large"
               },
                              {
                  "image":                   {
                     "id": 2310034,
                     "resource": "",
                     "size": 776,
                     "published": 0,
                     "updated": 1319581421380,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310034&t=1319581421380",
                     "height": 24,
                     "width": 24
                  },
                  "sizeType": "small"
               },
                              {
                  "image":                   {
                     "id": 2310035,
                     "resource": "",
                     "size": 799,
                     "published": 0,
                     "updated": 1319581421401,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310035&t=1319581421401",
                     "height": 31,
                     "width": 31
                  },
                  "sizeType": "medium1"
               }
            ],
            "jobTitle": "",
            "lastName": "Kim",
            "screenName": "patkim"
         },
         "id": 500001,
         "summary": "Introducing New Employee",
         "tags": [],
         "title": "New Employee",
         "type": "TEXT"
      },
      "id": "user:1234,post:500001",
      "relationship": "favoriting"
   },
	"meta": {
"likeId": "user:5678,post:500001",
"likeRelationship": "liking",
"favoriteId": "",
"favoriteRelationship": "none"
	}
	}],
   "serverMessages": null
}

Favorite Resource Response with User Resource in Destination Field: JSON Format, One Resource Returned

The following example shows a Favorite resource that includes a User resource in the destination field in a JSON format response payload:

{
    "statusCode": 200, 
    "startIndex": 0, 
    "itemsPerPage": 1, 
    "totalResults": 1, 
    "filtered": false, 
    "sorted": false, 
    "entry": [
        {
            "data": {
                "destination": {
    "firstName": "Robin", 
    "fullName": "Robin Smith", 
    "id": 9876, 
    "images": [
        {
            "image": {
                "id": 2310036, 
                "resource": "", 
                "size": 1146, 
                "published": 0, 
                "updated": 1319581421416, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310036&t=1319581421416", 
                "height": 59, 
                "width": 59
            }, 
            "sizeType": "medium2"
        }, 
        {
            "image": {
                "id": 2310032, 
                "resource": "", 
                "size": 1794, 
                "published": 0, 
                "updated": 1319581421443, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310032&t=1319581421443", 
                "height": 103, 
                "width": 103
            }, 
            "sizeType": "large"
        }, 
        {
            "image": {
                "id": 2310034, 
                "resource": "", 
                "size": 776, 
                "published": 0, 
                "updated": 1319581421380, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310034&t=1319581421380", 
                "height": 24, 
                "width": 24
            }, 
            "sizeType": "small"
        }, 
        {
            "image": {
                "id": 2310035, 
                "resource": "", 
                "size": 799, 
                "published": 0, 
                "updated": 1319581421401, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310035&t=1319581421401", 
                "height": 31, 
                "width": 31
            }, 
            "sizeType": "medium1"
        }
    ], 
    "jobTitle": "", 
    "lastName": "Smith", 
    "screenName": "robinsmith"
},
                "id": "post:600007,user:9876", 
                "relationship": "favoriter"
}
        }
    ], 
    "serverMessages": null
}

Favorite Resource Response with User Resource in Destination Field: JSON Format, One Resource Returned with Metadata

The following example shows a Favorite resource that includes a User resource in the destination field and like and follow metadata in an JSON format response payload. You can include relationship metadata in a response by including the meta query parameter in a request, as explained in the "Query Parameters" section.

{
    "statusCode": 200, 
    "startIndex": 0, 
    "itemsPerPage": 1, 
    "totalResults": 1, 
    "filtered": false, 
    "sorted": false, 
    "entry": [
        {
            "data": {
                "destination": {
    "firstName": "Robin", 
    "fullName": "Robin Smith", 
    "id": 9876, 
    "images": [
        {
            "image": {
                "id": 2310036, 
                "resource": "", 
                "size": 1146, 
                "published": 0, 
                "updated": 1319581421416, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310036&t=1319581421416", 
                "height": 59, 
                "width": 59
            }, 
            "sizeType": "medium2"
        }, 
        {
            "image": {
                "id": 2310032, 
                "resource": "", 
                "size": 1794, 
                "published": 0, 
                "updated": 1319581421443, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310032&t=1319581421443", 
                "height": 103, 
                "width": 103
            }, 
            "sizeType": "large"
        }, 
        {
            "image": {
                "id": 2310034, 
                "resource": "", 
                "size": 776, 
                "published": 0, 
                "updated": 1319581421380, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310034&t=1319581421380", 
                "height": 24, 
                "width": 24
            }, 
            "sizeType": "small"
        }, 
        {
            "image": {
                "id": 2310035, 
                "resource": "", 
                "size": 799, 
                "published": 0, 
                "updated": 1319581421401, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310035&t=1319581421401", 
                "height": 31, 
                "width": 31
            }, 
            "sizeType": "medium1"
        }
    ], 
    "jobTitle": "", 
    "lastName": "Smith", 
    "screenName": "robinsmith"
},
                "id": "post:600007,user:9876", 
                "relationship": "favoriter"
            },
			"meta": {
"followId": "user:5678,user:9876",
"followRelationship": "follower"
}
        }
    ], 
    "serverMessages": null
}

Favorite Resource Response with Post Resource in Destination Field: JSON Format, Multiple Resources Returned

The following example shows two Favorite resources, each of which includes a Post resource in the destination field, in a JSON format response payload.

{
   "statusCode": 200,
   "startIndex": 0,
   "itemsPerPage": 2,
   "totalResults": 2,
   "filtered": false,
   "sorted": false,
   "entry": [{"data":    {
      "destination":       {
         "createDate": 1318474513000,
         "creator":          {
            "firstName": "Pat",
            "fullName": "Pat Kim",
            "id": 1234,
            "images":             [
                              {
                  "image":                   {
                     "id": 2310036,
                     "resource": "",
                     "size": 1146,
                     "published": 0,
                     "updated": 1319581421416,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310036&t=1319581421416",
                     "height": 59,
                     "width": 59
                  },
                  "sizeType": "medium2"
               },
                              {
                  "image":                   {
                     "id": 2310032,
                     "resource": "",
                     "size": 1794,
                     "published": 0,
                     "updated": 1319581421443,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310032&t=1319581421443",
                     "height": 103,
                     "width": 103
                  },
                  "sizeType": "large"
               },
                              {
                  "image":                   {
                     "id": 2310034,
                     "resource": "",
                     "size": 776,
                     "published": 0,
                     "updated": 1319581421380,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310034&t=1319581421380",
                     "height": 24,
                     "width": 24
                  },
                  "sizeType": "small"
               },
                              {
                  "image":                   {
                     "id": 2310035,
                     "resource": "",
                     "size": 799,
                     "published": 0,
                     "updated": 1319581421401,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310035&t=1319581421401",
                     "height": 31,
                     "width": 31
                  },
                  "sizeType": "medium1"
               }
            ],
            "jobTitle": "",
            "lastName": "Kim",
            "screenName": "patkim"
         },
         "id": 500001,
         "summary": "Introducing New Employee",
         "tags": [],
         "title": "New Employee",
         "type": "TEXT"
      },
      "id": "user:1234,post:500001",
      "relationship": "favoriting"
   }}],
"entry": [{"data":    {
      "destination":       {
         "createDate": 1318474513000,
         "creator":          {
            "firstName": "Robin",
            "fullName": "Robin Smith",
            "id": 9876,
            "images":             [
                              {
                  "image":                   {
                     "id": 2310036,
                     "resource": "",
                     "size": 1146,
                     "published": 0,
                     "updated": 1319581421416,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310036&t=1319581421416",
                     "height": 59,
                     "width": 59
                  },
                  "sizeType": "medium2"
               },
                              {
                  "image":                   {
                     "id": 2310032,
                     "resource": "",
                     "size": 1794,
                     "published": 0,
                     "updated": 1319581421443,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310032&t=1319581421443",
                     "height": 103,
                     "width": 103
                  },
                  "sizeType": "large"
               },
                              {
                  "image":                   {
                     "id": 2310034,
                     "resource": "",
                     "size": 776,
                     "published": 0,
                     "updated": 1319581421380,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310034&t=1319581421380",
                     "height": 24,
                     "width": 24
                  },
                  "sizeType": "small"
               },
                              {
                  "image":                   {
                     "id": 2310035,
                     "resource": "",
                     "size": 799,
                     "published": 0,
                     "updated": 1319581421401,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310035&t=1319581421401",
                     "height": 31,
                     "width": 31
                  },
                  "sizeType": "medium1"
               }
            ],
            "jobTitle": "",
            "lastName": "Jones",
            "screenName": "robinsmith"
         },
         "id": 500002,
         "summary": "New hours for cafe",
         "tags": [],
         "title": "New Cafe Hours",
         "type": "TEXT"
      },
      "id": "user:1234,post:500002",
      "relationship": "favoriting"
   }}]
"serverMessages": null
}

Favorite Resource Response with Post Resource in Destination Field: JSON Format, Multiple Resources Returned with Metadata

The following example shows two Favorite resources, each of which includes a Post resource in the destination field and like and favorite relationship metadata, in a JSON format response payload. You can include relationship metadata in a response by including the meta query parameter in a request, as explained in the "Query Parameters" section.

{
   "statusCode": 200,
   "startIndex": 0,
   "itemsPerPage": 2,
   "totalResults": 2,
   "filtered": false,
   "sorted": false,
   "entry": [{"data":    {
      "destination":       {
         "createDate": 1318474513000,
         "creator":          {
            "firstName": "Pat",
            "fullName": "Pat Kim",
            "id": 1234,
            "images":             [
                              {
                  "image":                   {
                     "id": 2310036,
                     "resource": "",
                     "size": 1146,
                     "published": 0,
                     "updated": 1319581421416,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310036&t=1319581421416",
                     "height": 59,
                     "width": 59
                  },
                  "sizeType": "medium2"
               },
                              {
                  "image":                   {
                     "id": 2310032,
                     "resource": "",
                     "size": 1794,
                     "published": 0,
                     "updated": 1319581421443,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310032&t=1319581421443",
                     "height": 103,
                     "width": 103
                  },
                  "sizeType": "large"
               },
                              {
                  "image":                   {
                     "id": 2310034,
                     "resource": "",
                     "size": 776,
                     "published": 0,
                     "updated": 1319581421380,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310034&t=1319581421380",
                     "height": 24,
                     "width": 24
                  },
                  "sizeType": "small"
               },
                              {
                  "image":                   {
                     "id": 2310035,
                     "resource": "",
                     "size": 799,
                     "published": 0,
                     "updated": 1319581421401,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310035&t=1319581421401",
                     "height": 31,
                     "width": 31
                  },
                  "sizeType": "medium1"
               }
            ],
            "jobTitle": "",
            "lastName": "Kim",
            "screenName": "patkim"
         },
         "id": 500001,
         "summary": "Introducing New Employee",
         "tags": [],
         "title": "New Employee",
         "type": "TEXT"
      },
      "id": "user:1234,post:500001",
      "relationship": "favoriting"
   },
	"meta": {
"likeId": "user:5678,post:500001",
"likeRelationship": "liking",
"favoriteId": "",
"favoriteRelationship": "none"
	}
}],
"entry": [{"data":    {
      "destination":       {
         "createDate": 1318474513000,
         "creator":          {
            "firstName": "Robin",
            "fullName": "Robin Smith",
            "id": 9876,
            "images":             [
                              {
                  "image":                   {
                     "id": 2310036,
                     "resource": "",
                     "size": 1146,
                     "published": 0,
                     "updated": 1319581421416,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310036&t=1319581421416",
                     "height": 59,
                     "width": 59
                  },
                  "sizeType": "medium2"
               },
                              {
                  "image":                   {
                     "id": 2310032,
                     "resource": "",
                     "size": 1794,
                     "published": 0,
                     "updated": 1319581421443,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310032&t=1319581421443",
                     "height": 103,
                     "width": 103
                  },
                  "sizeType": "large"
               },
                              {
                  "image":                   {
                     "id": 2310034,
                     "resource": "",
                     "size": 776,
                     "published": 0,
                     "updated": 1319581421380,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310034&t=1319581421380",
                     "height": 24,
                     "width": 24
                  },
                  "sizeType": "small"
               },
                              {
                  "image":                   {
                     "id": 2310035,
                     "resource": "",
                     "size": 799,
                     "published": 0,
                     "updated": 1319581421401,
                     "fileName": null,
                     "mimeType": "jpg",
                     "author": null,
                     "uri": "/image/user_portrait?img_id=2310035&t=1319581421401",
                     "height": 31,
                     "width": 31
                  },
                  "sizeType": "medium1"
               }
            ],
            "jobTitle": "",
            "lastName": "Jones",
            "screenName": "robinsmith"
         },
         "id": 500002,
         "summary": "New hours for cafe",
         "tags": [],
         "title": "New Cafe Hours",
         "type": "TEXT"
      },
      "id": "user:1234,post:500002",
      "relationship": "favoriting"
   },
	"meta": {
"likeId": "user:5678,post:500002",
"likeRelationship": "liking",
"favoriteId": "user:5678,post:500002",
"favoriteRelationship": "favoriting"
	}
}]
"serverMessages": null
}

Favorite Resource Response with User Resource in Destination Field: JSON Format, Multiple Resources Returned

The following example shows two Favorite resources, each of which includes a User resource in the destination field, in a JSON format response payload:

{
    "statusCode": 200, 
    "startIndex": 0, 
    "itemsPerPage": 2, 
    "totalResults": 2, 
    "filtered": false, 
    "sorted": false, 
    "entry": [
        {
            "data": {
                "destination": {
    "firstName": "Robin", 
    "fullName": "Robin Smith", 
    "id": 9876, 
    "images": [
        {
            "image": {
                "id": 2310036, 
                "resource": "", 
                "size": 1146, 
                "published": 0, 
                "updated": 1319581421416, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310036&t=1319581421416", 
                "height": 59, 
                "width": 59
            }, 
            "sizeType": "medium2"
        }, 
        {
            "image": {
                "id": 2310032, 
                "resource": "", 
                "size": 1794, 
                "published": 0, 
                "updated": 1319581421443, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310032&t=1319581421443", 
                "height": 103, 
                "width": 103
            }, 
            "sizeType": "large"
        }, 
        {
            "image": {
                "id": 2310034, 
                "resource": "", 
                "size": 776, 
                "published": 0, 
                "updated": 1319581421380, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310034&t=1319581421380", 
                "height": 24, 
                "width": 24
            }, 
            "sizeType": "small"
        }, 
        {
            "image": {
                "id": 2310035, 
                "resource": "", 
                "size": 799, 
                "published": 0, 
                "updated": 1319581421401, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310035&t=1319581421401", 
                "height": 31, 
                "width": 31
            }, 
            "sizeType": "medium1"
        }
    ], 
    "jobTitle": "", 
    "lastName": "Smith", 
    "screenName": "robinsmith"
},
                "id": "post:600007,user:9876", 
                "relationship": "favoriter"
            }
        },
{
            "data": {
                "destination": {
    "firstName": "Mel", 
    "fullName": "Mel Jones", 
    "id": 1122, 
    "images": [
        {
            "image": {
                "id": 2310036, 
                "resource": "", 
                "size": 1146, 
                "published": 0, 
                "updated": 1319581421416, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310036&t=1319581421416", 
                "height": 59, 
                "width": 59
            }, 
            "sizeType": "medium2"
        }, 
        {
            "image": {
                "id": 2310032, 
                "resource": "", 
                "size": 1794, 
                "published": 0, 
                "updated": 1319581421443, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310032&t=1319581421443", 
                "height": 103, 
                "width": 103
            }, 
            "sizeType": "large"
        }, 
        {
            "image": {
                "id": 2310034, 
                "resource": "", 
                "size": 776, 
                "published": 0, 
                "updated": 1319581421380, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310034&t=1319581421380", 
                "height": 24, 
                "width": 24
            }, 
            "sizeType": "small"
        }, 
        {
            "image": {
                "id": 2310035, 
                "resource": "", 
                "size": 799, 
                "published": 0, 
                "updated": 1319581421401, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310035&t=1319581421401", 
                "height": 31, 
                "width": 31
            }, 
            "sizeType": "medium1"
        }
    ], 
    "jobTitle": "", 
    "lastName": "Jones", 
    "screenName": "meljones"
},
                "id": "post:600007,user:1122", 
                "relationship": "favoriter"
            }
        }
], 
    "serverMessages": null
}

Favorite Resource Response with User Resource in Destination Field: JSON Format, Multiple Resources Returned with Metadata

The following example shows a Favorite resource that includes a User resource in the destination field and follow relationship metadata in a JSON format response payload. You can include relationship metadata in a response by including the meta query parameter in a request, as explained in the "Query Parameters" section.

{
    "statusCode": 200, 
    "startIndex": 0, 
    "itemsPerPage": 2, 
    "totalResults": 2, 
    "filtered": false, 
    "sorted": false, 
    "entry": [
        {
            "data": {
                "destination": {
    "firstName": "Robin", 
    "fullName": "Robin Smith", 
    "id": 9876, 
    "images": [
        {
            "image": {
                "id": 2310036, 
                "resource": "", 
                "size": 1146, 
                "published": 0, 
                "updated": 1319581421416, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310036&t=1319581421416", 
                "height": 59, 
                "width": 59
            }, 
            "sizeType": "medium2"
        }, 
        {
            "image": {
                "id": 2310032, 
                "resource": "", 
                "size": 1794, 
                "published": 0, 
                "updated": 1319581421443, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310032&t=1319581421443", 
                "height": 103, 
                "width": 103
            }, 
            "sizeType": "large"
        }, 
        {
            "image": {
                "id": 2310034, 
                "resource": "", 
                "size": 776, 
                "published": 0, 
                "updated": 1319581421380, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310034&t=1319581421380", 
                "height": 24, 
                "width": 24
            }, 
            "sizeType": "small"
        }, 
        {
            "image": {
                "id": 2310035, 
                "resource": "", 
                "size": 799, 
                "published": 0, 
                "updated": 1319581421401, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310035&t=1319581421401", 
                "height": 31, 
                "width": 31
            }, 
            "sizeType": "medium1"
        }
    ], 
    "jobTitle": "", 
    "lastName": "Smith", 
    "screenName": "robinsmith"
},
                "id": "post:600007,user:9876", 
                "relationship": "favoriter"
            },
			"meta": {
"followId": "user:5678,user:9876",
"followRelationship": "follower"
			}
        },
		{
            "data": {
                "destination": {
    "firstName": "Mel", 
    "fullName": "Mel Jones", 
    "id": 1122, 
    "images": [
        {
            "image": {
                "id": 2310036, 
                "resource": "", 
                "size": 1146, 
                "published": 0, 
                "updated": 1319581421416, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310036&t=1319581421416", 
                "height": 59, 
                "width": 59
            }, 
            "sizeType": "medium2"
        }, 
        {
            "image": {
                "id": 2310032, 
                "resource": "", 
                "size": 1794, 
                "published": 0, 
                "updated": 1319581421443, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310032&t=1319581421443", 
                "height": 103, 
                "width": 103
            }, 
            "sizeType": "large"
        }, 
        {
            "image": {
                "id": 2310034, 
                "resource": "", 
                "size": 776, 
                "published": 0, 
                "updated": 1319581421380, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310034&t=1319581421380", 
                "height": 24, 
                "width": 24
            }, 
            "sizeType": "small"
        }, 
        {
            "image": {
                "id": 2310035, 
                "resource": "", 
                "size": 799, 
                "published": 0, 
                "updated": 1319581421401, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310035&t=1319581421401", 
                "height": 31, 
                "width": 31
            }, 
            "sizeType": "medium1"
        }
    ], 
    "jobTitle": "", 
    "lastName": "Jones", 
    "screenName": "meljones"
},
                "id": "post:600007,user:1122", 
                "relationship": "favoriter"
            },
			"meta": {
"followId": "user:5678,user:1122",
"followRelationship": "both"
			}
        }
], 
    "serverMessages": null
}

Follow Resource Responses

The following sections provide examples of the Follow resource in response payloads:

Follow Resource Response: JSON Format, One Resource Returned

Follow Resource Response: JSON Format, One Resource Returned with Metadata

Follow Resource Response: JSON Format, Multiple Resources Returned

Follow Resource Response: JSON Format, Multiple Resources Returned with Metadata

For related information about responses and standard items in responses with payloads, see the "API Responses" section. For descriptions of fields that the Follow resource includes, see Table 3-28.

Follow Resource Response: JSON Format, One Resource Returned

The following example shows a Follow resource in a JSON format response payload:

{
   "statusCode": 200,
   "startIndex": 0,
   "itemsPerPage": 1,
   "totalResults": 1,
   "filtered": false,
   "sorted": false,
   "entry": [{"data":    {
      "destination":       {
    "firstName": "Robin", 
    "fullName": "Robin Smith", 
    "id": 9876, 
    "images": [
        {
            "image": {
                "id": 2310036, 
                "resource": "", 
                "size": 1146, 
                "published": 0, 
                "updated": 1319581421416, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310036&t=1319581421416", 
                "height": 59, 
                "width": 59
            }, 
            "sizeType": "medium2"
        }, 
        {
            "image": {
                "id": 2310032, 
                "resource": "", 
                "size": 1794, 
                "published": 0, 
                "updated": 1319581421443, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310032&t=1319581421443", 
                "height": 103, 
                "width": 103
            }, 
            "sizeType": "large"
        }, 
        {
            "image": {
                "id": 2310034, 
                "resource": "", 
                "size": 776, 
                "published": 0, 
                "updated": 1319581421380, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310034&t=1319581421380", 
                "height": 24, 
                "width": 24
            }, 
            "sizeType": "small"
        }, 
        {
            "image": {
                "id": 2310035, 
                "resource": "", 
                "size": 799, 
                "published": 0, 
                "updated": 1319581421401, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310035&t=1319581421401", 
                "height": 31, 
                "width": 31
            }, 
            "sizeType": "medium1"
        }
    ], 
    "jobTitle": "", 
    "lastName": "Smith", 
    "screenName": "robinsmith"
},
      "id": "user:1234,user:9876",
      "relationship": "following"
   }}],
   "serverMessages": null
}

Follow Resource Response: JSON Format, One Resource Returned with Metadata

The following example shows a Follow resource that includes a User resource in the destination field and follow relationship metadata in a JSON format response payload. You can include relationship metadata in a response by including the meta query parameter in a request, as explained in the "Query Parameters" section.

{
   "statusCode": 200,
   "startIndex": 0,
   "itemsPerPage": 1,
   "totalResults": 1,
   "filtered": false,
   "sorted": false,
   "entry": [{"data":    {
      "destination":       {
    "firstName": "Robin", 
    "fullName": "Robin Smith", 
    "id": 9876, 
    "images": [
        {
            "image": {
                "id": 2310036, 
                "resource": "", 
                "size": 1146, 
                "published": 0, 
                "updated": 1319581421416, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310036&t=1319581421416", 
                "height": 59, 
                "width": 59
            }, 
            "sizeType": "medium2"
        }, 
        {
            "image": {
                "id": 2310032, 
                "resource": "", 
                "size": 1794, 
                "published": 0, 
                "updated": 1319581421443, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310032&t=1319581421443", 
                "height": 103, 
                "width": 103
            }, 
            "sizeType": "large"
        }, 
        {
            "image": {
                "id": 2310034, 
                "resource": "", 
                "size": 776, 
                "published": 0, 
                "updated": 1319581421380, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310034&t=1319581421380", 
                "height": 24, 
                "width": 24
            }, 
            "sizeType": "small"
        }, 
        {
            "image": {
                "id": 2310035, 
                "resource": "", 
                "size": 799, 
                "published": 0, 
                "updated": 1319581421401, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310035&t=1319581421401", 
                "height": 31, 
                "width": 31
            }, 
            "sizeType": "medium1"
        }
    ], 
    "jobTitle": "", 
    "lastName": "Smith", 
    "screenName": "robinsmith"
},
      "id": "user:1234,user:9876",
      "relationship": "following"
   },
	"meta": {
"followId": "user:5678,user:9876",
"followRelationship": "follower"
	}
}],
   "serverMessages": null
}

Follow Resource Response: JSON Format, Multiple Resources Returned

The following example shows two Follow resources in a JSON format response payload:

{
   "statusCode": 200,
   "startIndex": 0,
   "itemsPerPage": 2,
   "totalResults": 2,
   "filtered": false,
   "sorted": false,
   "entry": [{"data":    {
      "destination":       {
    "firstName": "Robin", 
    "fullName": "Robin Smith", 
    "id": 9876, 
    "images": [
        {
            "image": {
                "id": 2310036, 
                "resource": "", 
                "size": 1146, 
                "published": 0, 
                "updated": 1319581421416, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310036&t=1319581421416", 
                "height": 59, 
                "width": 59
            }, 
            "sizeType": "medium2"
        }, 
        {
            "image": {
                "id": 2310032, 
                "resource": "", 
                "size": 1794, 
                "published": 0, 
                "updated": 1319581421443, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310032&t=1319581421443", 
                "height": 103, 
                "width": 103
            }, 
            "sizeType": "large"
        }, 
        {
            "image": {
                "id": 2310034, 
                "resource": "", 
                "size": 776, 
                "published": 0, 
                "updated": 1319581421380, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310034&t=1319581421380", 
                "height": 24, 
                "width": 24
            }, 
            "sizeType": "small"
        }, 
        {
            "image": {
                "id": 2310035, 
                "resource": "", 
                "size": 799, 
                "published": 0, 
                "updated": 1319581421401, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310035&t=1319581421401", 
                "height": 31, 
                "width": 31
            }, 
            "sizeType": "medium1"
        }
    ], 
    "jobTitle": "", 
    "lastName": "Smith", 
    "screenName": "robinsmith"
},
      "id": "user:1234,user:9876",
      "relationship": "following"
   }}],
"entry": [{"data":    {
      "destination":       {
    "firstName": "Mel", 
    "fullName": "Mel Jones", 
    "id": 1122, 
    "images": [
        {
            "image": {
                "id": 2310036, 
                "resource": "", 
                "size": 1146, 
                "published": 0, 
                "updated": 1319581421416, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310036&t=1319581421416", 
                "height": 59, 
                "width": 59
            }, 
            "sizeType": "medium2"
        }, 
        {
            "image": {
                "id": 2310032, 
                "resource": "", 
                "size": 1794, 
                "published": 0, 
                "updated": 1319581421443, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310032&t=1319581421443", 
                "height": 103, 
                "width": 103
            }, 
            "sizeType": "large"
        }, 
        {
            "image": {
                "id": 2310034, 
                "resource": "", 
                "size": 776, 
                "published": 0, 
                "updated": 1319581421380, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310034&t=1319581421380", 
                "height": 24, 
                "width": 24
            }, 
            "sizeType": "small"
        }, 
        {
            "image": {
                "id": 2310035, 
                "resource": "", 
                "size": 799, 
                "published": 0, 
                "updated": 1319581421401, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310035&t=1319581421401", 
                "height": 31, 
                "width": 31
            }, 
            "sizeType": "medium1"
        }
    ], 
    "jobTitle": "", 
    "lastName": "Jones", 
    "screenName": "meljones"
},
      "id": "user:1234,user:1122",
      "relationship": "following"
   }}]
"serverMessages": null
}

Follow Resource Response: JSON Format, Multiple Resources Returned with Metadata

The following example shows two Follow resources, each of which includes a User resource in the destination field and follow relationship metadata, in a JSON format response payload. You can include relationship metadata in a response by including the meta query parameter in a request, as explained in the "Query Parameters" section.

{
   "statusCode": 200,
   "startIndex": 0,
   "itemsPerPage": 2,
   "totalResults": 2,
   "filtered": false,
   "sorted": false,
   "entry": [{"data":    {
      "destination":       {
    "firstName": "Robin", 
    "fullName": "Robin Smith", 
    "id": 9876, 
    "images": [
        {
            "image": {
                "id": 2310036, 
                "resource": "", 
                "size": 1146, 
                "published": 0, 
                "updated": 1319581421416, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310036&t=1319581421416", 
                "height": 59, 
                "width": 59
            }, 
            "sizeType": "medium2"
        }, 
        {
            "image": {
                "id": 2310032, 
                "resource": "", 
                "size": 1794, 
                "published": 0, 
                "updated": 1319581421443, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310032&t=1319581421443", 
                "height": 103, 
                "width": 103
            }, 
            "sizeType": "large"
        }, 
        {
            "image": {
                "id": 2310034, 
                "resource": "", 
                "size": 776, 
                "published": 0, 
                "updated": 1319581421380, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310034&t=1319581421380", 
                "height": 24, 
                "width": 24
            }, 
            "sizeType": "small"
        }, 
        {
            "image": {
                "id": 2310035, 
                "resource": "", 
                "size": 799, 
                "published": 0, 
                "updated": 1319581421401, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310035&t=1319581421401", 
                "height": 31, 
                "width": 31
            }, 
            "sizeType": "medium1"
        }
    ], 
    "jobTitle": "", 
    "lastName": "Smith", 
    "screenName": "robinsmith"
},
      "id": "user:1234,user:9876",
      "relationship": "following"
   },
	"meta": {
"followId": "user:5678,user:9876",
"followRelationship": "follower"
	}
}],
"entry": [{"data":    {
      "destination":       {
    "firstName": "Mel", 
    "fullName": "Mel Jones", 
    "id": 1122, 
    "images": [
        {
            "image": {
                "id": 2310036, 
                "resource": "", 
                "size": 1146, 
                "published": 0, 
                "updated": 1319581421416, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310036&t=1319581421416", 
                "height": 59, 
                "width": 59
            }, 
            "sizeType": "medium2"
        }, 
        {
            "image": {
                "id": 2310032, 
                "resource": "", 
                "size": 1794, 
                "published": 0, 
                "updated": 1319581421443, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310032&t=1319581421443", 
                "height": 103, 
                "width": 103
            }, 
            "sizeType": "large"
        }, 
        {
            "image": {
                "id": 2310034, 
                "resource": "", 
                "size": 776, 
                "published": 0, 
                "updated": 1319581421380, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310034&t=1319581421380", 
                "height": 24, 
                "width": 24
            }, 
            "sizeType": "small"
        }, 
        {
            "image": {
                "id": 2310035, 
                "resource": "", 
                "size": 799, 
                "published": 0, 
                "updated": 1319581421401, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310035&t=1319581421401", 
                "height": 31, 
                "width": 31
            }, 
            "sizeType": "medium1"
        }
    ], 
    "jobTitle": "", 
    "lastName": "Jones", 
    "screenName": "meljones"
},
      "id": "user:1234,user:1122",
      "relationship": "following"
   },
	"meta": {
"followId": "user:5678,user:1122",
"followRelationship": "both"
}
}]
"serverMessages": null
}

Like Resource Responses

The following sections provide examples of the Like resource in response payloads:

Like Resource Response with Post Resource in Destination Field: JSON Format, One Resource Returned

Like Resource Response with User Resource in Destination Field: JSON Format, One Resource Returned

Like Resource Response with User Resource in Destination Field: JSON Format, One Resource Returned with Metadata

Like Resource Response with User Resource in Destination Field: JSON Format, Multiple Resources Returned

Like Resource Response with User Resource in Destination Field: JSON Format, Multiple Resources Returned with Metadata

For related information about responses and standard items in responses with payloads, see the "API Responses" section. For descriptions of fields that the Like resource includes, see Table 3-30.

Like Resource Response with Post Resource in Destination Field: JSON Format, One Resource Returned

The following example shows a Like resource that includes a Post resource in the destination field in a JSON format response payload:

{
    "statusCode": 200, 
    "startIndex": 0, 
    "itemsPerPage": 1, 
    "totalResults": 1, 
    "filtered": false, 
    "sorted": false, 
    "entry": [
        {
            "data": {
                "destination": {
                    "createDate": 1317082858014, 
                    "creator": {
                        "firstName": "Pat", 
                        "fullName": "Pat Kim", 
                        "id": 1234, 
                        "images": [
                            {
                                "image": {
                                    "id": 2310036, 
                                    "resource": "", 
                                    "size": 1146, 
                                    "published": 0, 
                                    "updated": 1319581421416, 
                                    "fileName": null, 
                                    "mimeType": "jpg", 
                                    "author": null, 
                                    "uri": 
"/image/user_portrait?img_id=2310036&t=1319581421416", 
                                    "height": 59, 
                                    "width": 59
                                }, 
                                "sizeType": "medium2"
                            }, 
                            {
                                "image": {
                                    "id": 2310032, 
                                    "resource": "", 
                                    "size": 1794, 
                                    "published": 0, 
                                    "updated": 1319581421443, 
                                    "fileName": null, 
                                    "mimeType": "jpg", 
                                    "author": null, 
                                    "uri": 
"/image/user_portrait?img_id=2310032&t=1319581421443", 
                                    "height": 103, 
                                    "width": 103
                                }, 
                                "sizeType": "large"
                            }, 
                            {
                                "image": {
                                    "id": 2310034, 
                                    "resource": "", 
                                    "size": 776, 
                                    "published": 0, 
                                    "updated": 1319581421380, 
                                    "fileName": null, 
                                    "mimeType": "jpg", 
                                    "author": null, 
                                    "uri": 
"/image/user_portrait?img_id=2310034&t=1319581421380", 
                                    "height": 24, 
                                    "width": 24
                                }, 
                                "sizeType": "small"
                            }, 
                            {
                                "image": {
                                    "id": 2310035, 
                                    "resource": "", 
                                    "size": 799, 
                                    "published": 0, 
                                    "updated": 1319581421401, 
                                    "fileName": null, 
                                    "mimeType": "jpg", 
                                    "author": null, 
                                    "uri": 
"/image/user_portrait?img_id=2310035&t=1319581421401", 
                                    "height": 31, 
                                    "width": 31
                                }, 
                                "sizeType": "medium1"
                            }
                        ], 
                        "jobTitle": "", 
                        "lastName": "Kim", 
                        "screenName": "patkim"
                    }, 
                    "id": 100001, 
                    "summary": "sharing", 
                    "tags": [ ], 
                    "title": "sharing", 
                    "type": "MICRO"
                }, 
                "id": "user:1234,post:100001", 
                "relationship": "liking"
            }
        }
    ], 
    "serverMessages": null
}

Like Resource Response with User Resource in Destination Field: JSON Format, One Resource Returned

The following example shows a Like resource that includes a User resource in the destination field in a JSON format response payload in a JSON format response payload:

{
    "statusCode": 200, 
    "startIndex": 0, 
    "itemsPerPage": 1, 
    "totalResults": 1, 
    "filtered": false, 
    "sorted": false, 
    "entry": [
        {
            "data": {
                "destination": {
    "firstName": "Robin", 
    "fullName": "Robin Smith", 
    "id": 9876, 
    "images": [
        {
            "image": {
                "id": 2310036, 
                "resource": "", 
                "size": 1146, 
                "published": 0, 
                "updated": 1319581421416, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310036&t=1319581421416", 
                "height": 59, 
                "width": 59
            }, 
            "sizeType": "medium2"
        }, 
        {
            "image": {
                "id": 2310032, 
                "resource": "", 
                "size": 1794, 
                "published": 0, 
                "updated": 1319581421443, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310032&t=1319581421443", 
                "height": 103, 
                "width": 103
            }, 
            "sizeType": "large"
        }, 
        {
            "image": {
                "id": 2310034, 
                "resource": "", 
                "size": 776, 
                "published": 0, 
                "updated": 1319581421380, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310034&t=1319581421380", 
                "height": 24, 
                "width": 24
            }, 
            "sizeType": "small"
        }, 
        {
            "image": {
                "id": 2310035, 
                "resource": "", 
                "size": 799, 
                "published": 0, 
                "updated": 1319581421401, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310035&t=1319581421401", 
                "height": 31, 
                "width": 31
            }, 
            "sizeType": "medium1"
        }
    ], 
    "jobTitle": "", 
    "lastName": "Smith", 
    "screenName": "robinsmith"
},
                "id": "post:600007,user:9876", 
                "relationship": "liker"
}
        }
    ], 
    "serverMessages": null
}
 
   

Like Resource Response with User Resource in Destination Field: JSON Format, One Resource Returned with Metadata

The following example shows a Like resource that includes a User resource in the destination field and follow relationship metadata in a JSON format response payload. You can include relationship metadata in a response by including the meta query parameter in a request, as explained in the "Query Parameters" section.

{
    "statusCode": 200, 
    "startIndex": 0, 
    "itemsPerPage": 1, 
    "totalResults": 1, 
    "filtered": false, 
    "sorted": false, 
    "entry": [
        {
            "data": {
                "destination": {
    "firstName": "Robin", 
    "fullName": "Robin Smith", 
    "id": 9876, 
    "images": [
        {
            "image": {
                "id": 2310036, 
                "resource": "", 
                "size": 1146, 
                "published": 0, 
                "updated": 1319581421416, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310036&t=1319581421416", 
                "height": 59, 
                "width": 59
            }, 
            "sizeType": "medium2"
        }, 
        {
            "image": {
                "id": 2310032, 
                "resource": "", 
                "size": 1794, 
                "published": 0, 
                "updated": 1319581421443, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310032&t=1319581421443", 
                "height": 103, 
                "width": 103
            }, 
            "sizeType": "large"
        }, 
        {
            "image": {
                "id": 2310034, 
                "resource": "", 
                "size": 776, 
                "published": 0, 
                "updated": 1319581421380, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310034&t=1319581421380", 
                "height": 24, 
                "width": 24
            }, 
            "sizeType": "small"
        }, 
        {
            "image": {
                "id": 2310035, 
                "resource": "", 
                "size": 799, 
                "published": 0, 
                "updated": 1319581421401, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310035&t=1319581421401", 
                "height": 31, 
                "width": 31
            }, 
            "sizeType": "medium1"
        }
    ], 
    "jobTitle": "", 
    "lastName": "Smith", 
    "screenName": "robinsmith"
},
                "id": "post:600007,user:9876", 
                "relationship": "liker"
            },
			"meta": {
"followId": "user:5678,user:9876",
"followRelationship": "follower"
}
        }
    ], 
    "serverMessages": null
}

Like Resource Response with User Resource in Destination Field: JSON Format, Multiple Resources Returned

The following example shows two Like resources, each of which includes a User resource in the destination field, in a JSON format:

{
    "statusCode": 200, 
    "startIndex": 0, 
    "itemsPerPage": 2, 
    "totalResults": 2, 
    "filtered": false, 
    "sorted": false, 
    "entry": [
        {
            "data": {
                "destination": {
    "firstName": "Robin", 
    "fullName": "Robin Smith", 
    "id": 9876, 
    "images": [
        {
            "image": {
                "id": 2310036, 
                "resource": "", 
                "size": 1146, 
                "published": 0, 
                "updated": 1319581421416, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310036&t=1319581421416", 
                "height": 59, 
                "width": 59
            }, 
            "sizeType": "medium2"
        }, 
        {
            "image": {
                "id": 2310032, 
                "resource": "", 
                "size": 1794, 
                "published": 0, 
                "updated": 1319581421443, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310032&t=1319581421443", 
                "height": 103, 
                "width": 103
            }, 
            "sizeType": "large"
        }, 
        {
            "image": {
                "id": 2310034, 
                "resource": "", 
                "size": 776, 
                "published": 0, 
                "updated": 1319581421380, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310034&t=1319581421380", 
                "height": 24, 
                "width": 24
            }, 
            "sizeType": "small"
        }, 
        {
            "image": {
                "id": 2310035, 
                "resource": "", 
                "size": 799, 
                "published": 0, 
                "updated": 1319581421401, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310035&t=1319581421401", 
                "height": 31, 
                "width": 31
            }, 
            "sizeType": "medium1"
        }
    ], 
    "jobTitle": "", 
    "lastName": "Smith", 
    "screenName": "robinsmith"
},
                "id": "post:600007,user:9876", 
                "relationship": "liker"
            }
        },
{
            "data": {
                "destination": {
    "firstName": "Mel", 
    "fullName": "Mel Jones", 
    "id": 1122, 
    "images": [
        {
            "image": {
                "id": 2310036, 
                "resource": "", 
                "size": 1146, 
                "published": 0, 
                "updated": 1319581421416, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310036&t=1319581421416", 
                "height": 59, 
                "width": 59
            }, 
            "sizeType": "medium2"
        }, 
        {
            "image": {
                "id": 2310032, 
                "resource": "", 
                "size": 1794, 
                "published": 0, 
                "updated": 1319581421443, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310032&t=1319581421443", 
                "height": 103, 
                "width": 103
            }, 
            "sizeType": "large"
        }, 
        {
            "image": {
                "id": 2310034, 
                "resource": "", 
                "size": 776, 
                "published": 0, 
                "updated": 1319581421380, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310034&t=1319581421380", 
                "height": 24, 
                "width": 24
            }, 
            "sizeType": "small"
        }, 
        {
            "image": {
                "id": 2310035, 
                "resource": "", 
                "size": 799, 
                "published": 0, 
                "updated": 1319581421401, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310035&t=1319581421401", 
                "height": 31, 
                "width": 31
            }, 
            "sizeType": "medium1"
        }
    ], 
    "jobTitle": "", 
    "lastName": "Jones", 
    "screenName": "meljones"
},
                "id": "post:600007,user:1122", 
                "relationship": "liker"
            }
        }
], 
    "serverMessages": null
}
 
   

Like Resource Response with User Resource in Destination Field: JSON Format, Multiple Resources Returned with Metadata

The following example shows two Like resources, each of which includes a User resource in the destination field and follow relationship metadata, in a JSON format response payload. You can include relationship metadata in a response by including the meta query parameter in a request, as explained in the "Query Parameters" section.

{
    "statusCode": 200, 
    "startIndex": 0, 
    "itemsPerPage": 2, 
    "totalResults": 2, 
    "filtered": false, 
    "sorted": false, 
    "entry": [
        {
            "data": {
                "destination": {
    "firstName": "Robin", 
    "fullName": "Robin Smith", 
    "id": 9876, 
    "images": [
        {
            "image": {
                "id": 2310036, 
                "resource": "", 
                "size": 1146, 
                "published": 0, 
                "updated": 1319581421416, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310036&t=1319581421416", 
                "height": 59, 
                "width": 59
            }, 
            "sizeType": "medium2"
        }, 
        {
            "image": {
                "id": 2310032, 
                "resource": "", 
                "size": 1794, 
                "published": 0, 
                "updated": 1319581421443, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310032&t=1319581421443", 
                "height": 103, 
                "width": 103
            }, 
            "sizeType": "large"
        }, 
        {
            "image": {
                "id": 2310034, 
                "resource": "", 
                "size": 776, 
                "published": 0, 
                "updated": 1319581421380, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310034&t=1319581421380", 
                "height": 24, 
                "width": 24
            }, 
            "sizeType": "small"
        }, 
        {
            "image": {
                "id": 2310035, 
                "resource": "", 
                "size": 799, 
                "published": 0, 
                "updated": 1319581421401, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310035&t=1319581421401", 
                "height": 31, 
                "width": 31
            }, 
            "sizeType": "medium1"
        }
    ], 
    "jobTitle": "", 
    "lastName": "Smith", 
    "screenName": "robinsmith"
},
                "id": "post:600007,user:9876", 
                "relationship": "liker"
            },
			"meta": {
"followId": "user:5678,user:9876",
"followRelationship": "follower"
			}
        },
		{
            "data": {
                "destination": {
    "firstName": "Mel", 
    "fullName": "Mel Jones", 
    "id": 1122, 
    "images": [
        {
            "image": {
                "id": 2310036, 
                "resource": "", 
                "size": 1146, 
                "published": 0, 
                "updated": 1319581421416, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310036&t=1319581421416", 
                "height": 59, 
                "width": 59
            }, 
            "sizeType": "medium2"
        }, 
        {
            "image": {
                "id": 2310032, 
                "resource": "", 
                "size": 1794, 
                "published": 0, 
                "updated": 1319581421443, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310032&t=1319581421443", 
                "height": 103, 
                "width": 103
            }, 
            "sizeType": "large"
        }, 
        {
            "image": {
                "id": 2310034, 
                "resource": "", 
                "size": 776, 
                "published": 0, 
                "updated": 1319581421380, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310034&t=1319581421380", 
                "height": 24, 
                "width": 24
            }, 
            "sizeType": "small"
        }, 
        {
            "image": {
                "id": 2310035, 
                "resource": "", 
                "size": 799, 
                "published": 0, 
                "updated": 1319581421401, 
                "fileName": null, 
                "mimeType": "jpg", 
                "author": null, 
                "uri": "/image/user_portrait?img_id=2310035&t=1319581421401", 
                "height": 31, 
                "width": 31
            }, 
            "sizeType": "medium1"
        }
    ], 
    "jobTitle": "", 
    "lastName": "Jones", 
    "screenName": "meljones"
},
                "id": "post:600007,user:1122", 
                "relationship": "liker"
            },
			"meta": {
"followId": "user:5678,user:1122",
"followRelationship": "both"
			}
        }
], 
    "serverMessages": null
}

Suggestions Resource Response

This section provides a examples of the Suggestions resource in response payloads.

For related information about responses and standard items in responses with payloads, see the "API Responses" section. For descriptions of fields that the Suggestions resource includes, see Table 3-42.

Suggestions Resource Response: JSON Format, Multiple Resources Returned

The following example shows three Suggestions resources in a JSON format response payload:

{
   "statusCode":200,
   "startIndex":0,
   "itemsPerPage":6,
   "totalResults":6,
   "filtered":false,
   "sorted":false,
   "entry":[
      {
         "data":{
            "id":"user:10250",
            "suggestionReason":"Most followed in your organization",
            "target":{
               "firstName":"Pat",
               "followersCount":115,
               "fullName":"Pat Kim",
               "id":10250,
               "images":[
                  {
                     "resource":"http://quad.cisco.com/schema/1.0/profileimage",
                     "id":0,
                     "image":{
                        "resource":"http://quad.cisco.com/schema/1.0/image",
                        "id":25971078,
                        "size":869,
                        "published":0,
                        "updated":1361831157002,
                        "fileName":null,
                        "mimeType":"jpg",
                        "author":null,
                        "updatedBy":null,
                        "uri":"/image/user_portrait?img_id=25971078&t=1361831157002",
                        "height":24,
                        "width":24
                     },
                     "sizeType":"small"
                  },
                  {
                     "resource":"http://quad.cisco.com/schema/1.0/profileimage",
                     "id":0,
                     "image":{
                        "resource":"http://quad.cisco.com/schema/1.0/image",
                        "id":25971080,
                        "size":1273,
                        "published":0,
                        "updated":1361831157121,
                        "fileName":null,
                        "mimeType":"jpg",
                        "author":null,
                        "updatedBy":null,
                        "uri":"/image/user_portrait?img_id=25971080&t=1361831157121",
                        "height":48,
                        "width":48
                     },
                     "sizeType":"medium2"
                  },
                  {
                     "resource":"http://quad.cisco.com/schema/1.0/profileimage",
                     "id":0,
                     "image":{
                        "resource":"http://quad.cisco.com/schema/1.0/image",
                        "id":25971079,
                        "size":982,
                        "published":0,
                        "updated":1361831157088,
                        "fileName":null,
                        "mimeType":"jpg",
                        "author":null,
                        "updatedBy":null,
                        "uri":"/image/user_portrait?img_id=25971079&t=1361831157088",
                        "height":31,
                        "width":31
                     },
                     "sizeType":"medium1"
                  },
                  {
                     "resource":"http://quad.cisco.com/schema/1.0/profileimage",
                     "id":0,
                     "image":{
                        "resource":"http://quad.cisco.com/schema/1.0/image",
                        "id":13836,
                        "size":4103,
                        "published":0,
                        "updated":1361831157288,
                        "fileName":null,
                        "mimeType":"jpg",
                        "author":null,
                        "updatedBy":null,
                        "uri":"/image/user_portrait?img_id=13836&t=1361831157288",
                        "height":150,
                        "width":150
                     },
                     "sizeType":"large"
                  }
               ],
               "jobTitle":"Manager Software Development",
               "lastName":"Kim",
               "resource":"http://quad.cisco.com/schema/1.0/user",
               "screenName":"patkim",
               "status":"ACTIVE"
            }
         }
      },
      {
         "data":{
            "id":"community:237766",
            "suggestionReason":"Popular among your contacts",
            "target":{
               "description":"Test description",
               "id":237766,
               "name":"WebEx Social Scalability and Performance",
               "resource":"http://quad.cisco.com/schema/1.0/community",
               "shortName":"/webex-social-scalability-and-performance",
               "state":"live",
               "type":"open",
               "userCount":76
            }
         }
      },
      {
         "data":{
            "id":"post:92827004",
            "suggestionReason":"Similar to your recent posts",
            "target":{
               "commentCount":3,
               "createDate":1366068059679,
               "creator":{
                  "firstName":"Robin",
                  "fullName":"Robin Smith",
                  "id":59864428,
                  "images":[
                     {
                        "resource":"http://quad.cisco.com/schema/1.0/profileimage",
                        "id":0,
                        "image":{
                           "resource":"http://quad.cisco.com/schema/1.0/image",
                           "id":79264561,
                           "size":719,
                           "published":0,
                           "updated":1345507310558,
                           "fileName":null,
                           "mimeType":"jpg",
                           "author":null,
                           "updatedBy":null,
                           "uri":"/image/user_portrait?img_id=79264561&t=1345507310558",
                           "height":24,
                           "width":24
                        },
                        "sizeType":"small"
                     },
                     {
                        "resource":"http://quad.cisco.com/schema/1.0/profileimage",
                        "id":0,
                        "image":{
                           "resource":"http://quad.cisco.com/schema/1.0/image",
                           "id":79264563,
                           "size":892,
                           "published":0,
                           "updated":1345507310730,
                           "fileName":null,
                           "mimeType":"jpg",
                           "author":null,
                           "updatedBy":null,
                           "uri":"/image/user_portrait?img_id=79264563&t=1345507310730",
                           "height":48,
                           "width":48
                        },
                        "sizeType":"medium2"
                     },
                     {
                        "resource":"http://quad.cisco.com/schema/1.0/profileimage",
                        "id":0,
                        "image":{
                           "resource":"http://quad.cisco.com/schema/1.0/image",
                           "id":79264562,
                           "size":772,
                           "published":0,
                           "updated":1345507310651,
                           "fileName":null,
                           "mimeType":"jpg",
                           "author":null,
                           "updatedBy":null,
                           "uri":"/image/user_portrait?img_id=79264562&t=1345507310651",
                           "height":31,
                           "width":31
                        },
                        "sizeType":"medium1"
                     },
                     {
                        "resource":"http://quad.cisco.com/schema/1.0/profileimage",
                        "id":0,
                        "image":{
                           "resource":"http://quad.cisco.com/schema/1.0/image",
                           "id":79264559,
                           "size":2999,
                           "published":0,
                           "updated":1345507310959,
                           "fileName":null,
                           "mimeType":"jpg",
                           "author":null,
                           "updatedBy":null,
                           "uri":"/image/user_portrait?img_id=79264559&t=1345507310959",
                           "height":150,
                           "width":150
                        },
                        "sizeType":"large"
                     }
                  ],
                  "jobTitle":"ENGINEER.SOFTWARE ENGINEERING",
                  "lastName":"Smith",
                  "resource":"http://quad.cisco.com/schema/1.0/user",
                  "screenName":"robinsmith",
                  "status":"ACTIVE"
               },
               "id":92827004,
               "likesCount":0,
               "resource":"http://quad.cisco.com/schema/1.0/post",
               "summary":" \n\ttest ",
               "title":"test new post",
               "type":"TEXT"
            }
         }
      }
   ],
   "serverMessages":null
}

Collection Activities Resource Response

This section provides a examples of the Collection activities resource in response payloads:

For related information about responses and standard items in responses with payloads, see the "API Responses" section. For descriptions of fields that the Collection activities resource includes, see Table 3-52.

Collection Activities Resource Response: JSON Format, Multiple Resources Returned

The following example shows multiple Collection activities resources in a JSON format response payload:

{
  "objectType": "collection",
  "timestamp": "2012-05-11T12:50:20.003-07:00",
  "totalItems": 8,
  "items": [
    {
      "objectType": "activity",
      "actor": {
        "objectType": "person",
        "status": "active",
        "id": "510001",
        "url": "/users/510001",
        "displayName": "test5 test5",
        "image": {
          "width": 48,
          "height": 48,
          "url": "/image/user_portrait?img_id=0&t=1336789619693&imageSize=MEDIUM2"
        }
      },
      "id": "4fb02a6c4c61b881ce846d88",
      "object": {
        "objectType": "post",
        "type": "text",
        "resource": "http://quad.cisco.com/schema/1.0/post",
        "postVersion": "1",
        "postQuestion": "false",
        "id": "600002",
        "displayName": "test",
        "url": "/posts/600002",
        "summary": "test",
        "author": {
          "objectType": "person",
          "status": "active",
          "resource": "http://quad.cisco.com/schema/1.0/user",
          "id": "510001",
          "url": "/users/510001",
          "displayName": "test5 test5",
          "image": {
            "width": 48,
            "height": 48,
            "url": "/image/user_portrait?img_id=0&t=1336789619693&imageSize=MEDIUM2"
          }
        },
        "meta": {
          "objectType": "meta",
          "like ": "none",
          "favorite ": "none",
          "permission": {
            "objectType": "permission",
            "comment": true,
            "edit": false,
            "share": true
          },
          "flagable ": true
        }
      },
      "published": "2012-05-13T14:41:00.002-07:00",
      "verb": "post"
    },
    {
      "objectType": "activity",
      "actor": {
        "objectType": "person",
        "status": "active",
        "id": "510001",
        "url": "/users/510001",
        "displayName": "test5 test5",
        "image": {
          "width": 48,
          "height": 48,
          "url": "/image/user_portrait?img_id=0&t=1336784794387&imageSize=MEDIUM2"
        }
      },
      "id": "4fadc2f54c6187e2b32eef84",
      "object": {
        "objectType": "blog",
        "id": "610017",
        "url": "/c/blogs/find_entry?entryId=610017",
        "summary": "",
        "displayName": "test blog"
      },
      "published": "2012-05-11T18:55:00.806-07:00",
      "verb": "post",
      "to": [
        {
          "objectType": "collection",
          "totalItems": 1,
          "items": [
            {
              "objectType": "community",
              "id": "510160",
              "url": "/communities/510160",
              "displayName": "test 2"
            }
          ]
        }
      ]
    },
    {
      "objectType": "activity",
      "actor": {
        "objectType": "person",
        "status": "active",
        "id": "210018",
        "url": "/users/210018",
        "displayName": "test4 test4",
        "image": {
          "width": 48,
          "height": 48,
          "url": "/image/user_portrait?img_id=0&t=1336620192033&imageSize=MEDIUM2"
        }
      },
      "id": "4fac28364c61a31be9a0007b",
      "object": {
        "objectType": "post",
        "type": "text",
        "res