FANDOM


The LocatorMember object represents one member of a Locator, i.e. it is the relationship between a Locator and a User.

Though a Locator and a User are mandatory for the relationship, the locator and user attributes are in fact optional. This is because, for example, when listing Locators that a user is a member-of using the ListUserLocators method, we don't return the user attribute as we would be returning the same User object for each member, which would be a waste of bandwidth. So to put it another way, the locator and user attributes are omitted (on a method-by-method basis) if they can be implied.

AttributesEdit

Name Type Mandatory Description
joined_date DateTime Yes

The date/time the user became a member of the Locator.

locator Locator No

The Locator that the user is a member of.

This attribute is populated or not depending upon which API method is being used. It is populated for the following API methods: ListUserLocators.

member_type String(6) Yes

The type of member.

Possible values:

ADMIN

MEMBER

update_date DateTime Yes

The date/time the member record was last updated.

user User No

The user who is the member.

This attribute is populated or not depending upon which API method is being used. It is not populated for any of the existing API methods.

ExampleEdit

{
    "joined_date": "2012-03-25T21:52:07.642279Z",
    "update_date": "2012-03-25T21:52:07.642687Z",
    "member_type": "ADMIN",
    "locator": {
        "update_date": "2012-03-25T21:52:07.622710Z",
        "create_date": "2012-03-25T21:52:07.622376Z",
        "description": "Things to do in La Rochelle, Poitou-Charentes, France.",
        "locator_id": 129001,
        "closed": false,
        "name": "La Rochelle"
    },
    "user": {
        "update_date": "2012-03-07T11:23:56.888240Z",
        "user_id": "bf10ad015e7b4ceea9279c1b9e8889a5",
        "name": "Matt",
        "joined_date": "2010-03-19T15:53:04.337350Z",
        "avatar": {
            "avatar_height": 450,
            "avatar_width": 600,
            "avatar_serving_url": "http://lh6.ggpht.com/jEItPe0EtKFcIIeeqq_Pp8AaLHdZzp9ACT2MPurxf5I6Eln3pjpOnaAm4rR0WAEEStk9HUUIygezuYVboFxF"
        },
        "username": "matt"
    }
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.