Retrieve Users

This route will return all the Users in an Organization.

Resource URI

GET /organization/{organization_uuid}/users                   


<h3>Input Parameters</h3>

@param organization_uuid {uuid} The UUID of an Organization.

Sample Request

html

https://api.4over.com/organizations/17186fd9-5d39-4e81-9125-8ab55b47b9c8/users 

Sample Response

JSON

{
  entities: [
    {
        user_uuid: "7a24c26e-7450-438a-a9c9-b4591dc3ed83",
        first_name: "Will",
        last_name: "Morgan",
        email: "willm@4over.com",
        user_notes: "dsv",
        default_organization: "",
        organizations: "https://api.4over.com/users/7a24c26e-7450-438a-a9c9-b4591dc3ed83/organizations",
        logins: "https://api.4over.com/users/7a24c26e-7450-438a-a9c9-b4591dc3ed83/logins",
        current_organization_uuid: ""
    },
    {
        user_uuid: "9ff9336c-684a-4894-bf68-79018f67b700",
        first_name: "Ramzey",
        last_name: "Elallamy",
        email: "ramzeye@4over.com",
        user_notes: "Ramzey Elallamy",
        default_organization: {
            organization_uuid: "2834767c-d7cb-4cb3-b5c4-bee92244ba3b",
            organization_name: "4Over, Inc.",
            organization_description: "4Over Inc is awesome!",
            parent_organization: "",
            users: "https://api.4over.com/organizations/2834767c-d7cb-4cb3-b5c4-bee92244ba3b/users",
            addresses: "https://api.4over.com/organizations/2834767c-d7cb-4cb3-b5c4-bee92244ba3b/addresses",
            organization_roles: "https://api.4over.com/organizations/2834767c-d7cb-4cb3-b5c4-bee92244ba3b/roles",
            customer_id: "195021"
      },
      organizations: "https://api.4over.com/users/9ff9336c-684a-4894-bf68-79018f67b700/organizations",
      logins: "https://api.4over.com/users/9ff9336c-684a-4894-bf68-79018f67b700/logins",
      current_organization_uuid: "2834767c-d7cb-4cb3-b5c4-bee92244ba3b"
    }
  ]
}

Get a User by UUID

Resource URI

This route will return all details of a User.

GET /user/{user_uuid}                                         

Input Parameters

@param user_uuid {uuid} The UUID of a User.

Sample Request

html

https://api.4over.com/users/eefcc688-25bc-44fa-9831-a9dbd90b9f79

Sample Response

JSON

{
    user_uuid: "eefcc688-25bc-44fa-9831-a9dbd90b9f79",
    first_name: "egrger",
    last_name: "egrger",
    email: "egrerg",
    user_notes: "erwg",
    default_organization: {
        organization_uuid: "2834767c-d7cb-4cb3-b5c4-bee92244ba3b",
        organization_name: "4Over, Inc.",
        organization_description: "4Over Inc is awesome!",
        parent_organization: "",
        users: "https://api.4over.com/organizations/2834767c-d7cb-4cb3-b5c4-bee92244ba3b/users",
        addresses: "https://api.4over.com/organizations/2834767c-d7cb-4cb3-b5c4-bee92244ba3b/addresses",
        organization_roles: "https://api.4over.com/organizations/2834767c-d7cb-4cb3-b5c4-bee92244ba3b/roles",
        customer_id: "195021"
    },
    organizations: "https://api.4over.com/users/eefcc688-25bc-44fa-9831-a9dbd90b9f79/organizations",
    logins: "https://api.4over.com/users/eefcc688-25bc-44fa-9831-a9dbd90b9f79/logins",
    current_organization_uuid: "2834767c-d7cb-4cb3-b5c4-bee92244ba3b"
}