User

Read reseller user company associations

Changed on

Reads a reseller user's company associations

get/account/v2/users/{userUuid}/rssrCompanyAssociations

Request

Path parameters

userUuidstring required

Unique identifier of the user

Query parameters

pageinteger

Zero-based page index

sizeinteger

Number of results per page to return

sortField'DATE'

The property to sort by

sortOrder'ASC' | 'DESC'

Ordering type

Response

Success

Example response

{
  "links": [],
  "content": [
    {
      "uuid": "a3f385be-e10b-444e-99d1-95cd7d4c1f5a",
      "name": "John & Co",
      "enabled": true,
      "address": {
        "street1": "Harris Place NW",
        "street2": "907",
        "city": "Calgary",
        "state": "AB",
        "zip": "T3B2V4",
        "country": "Canada"
      },
      "companySize": "SMALL",
      "customAttributes": [],
      "creationDate": 1457416568000,
      "industry": "Finance",
      "salesAgent": {
        "rel": "salesRepLink",
        "href": "http://marketplace.local:8080/api/account/v2/users/a3f385be-e10b-444e-99d1-95cd7d4c1f5a"
      },
      "emailAddress": "john.smith@example.com",
      "website": "example.com",
      "picture": null,
      "vendor": true,
      "reseller": false,
      "channelAdmin": true,
      "salesSupport": false,
      "externalId": "37ac4899-0847-41ac-8e6b-adfde0363b37",
      "phoneNumber": "888-888-8888",
      "defaultRole": "USER",
      "countryCode": "US",
      "links": [
        {
          "rel": "self",
          "href": "http://marketplace.local:8080/api/account/v2/companies/a3f385be-e10b-444e-99d1-95cd7d4c1f5a"
        },
        {
          "rel": "memberships",
          "href": "http://marketplace.local:8080/api/account/v2/companies/a3f385be-e10b-444e-99d1-95cd7d4c1f5a/memberships"
        }
      ]
    },
    {
      "uuid": "42f4e0cd-0614-4695-87ba-fcaee49fb995",
      "name": "John & Co",
      "enabled": false,
      "address": {
        "street1": "Harris Place NW",
        "street2": "907",
        "city": "Calgary",
        "state": "AB",
        "zip": "T3B2V4",
        "country": "Canada"
      },
      "companySize": "SMALL",
      "customAttributes": [
        {
          "name": "C1593404",
          "attributeType": "TEXT",
          "label": "C1593404",
          "hint": "",
          "value": "t1"
        }
      ],
      "creationDate": 1521573411000,
      "industry": "Finance",
      "salesAgent": {
        "rel": "salesRepLink",
        "href": "http://marketplace.local:8080/api/account/v2/users/a3f385be-e10b-444e-99d1-95cd7d4c1f5a"
      },
      "emailAddress": "john.smith@example.com",
      "website": "example.com",
      "picture": null,
      "vendor": true,
      "reseller": false,
      "channelAdmin": true,
      "salesSupport": false,
      "externalId": "b34974b2-f5d6-4326-9859-5247dc42ee60",
      "phoneNumber": "888-888-8888",
      "defaultRole": "USER",
      "countryCode": "US",
      "links": [
        {
          "rel": "self",
          "href": "http://marketplace.local:8080/api/account/v2/companies/42f4e0cd-0614-4695-87ba-fcaee49fb995"
        },
        {
          "rel": "memberships",
          "href": "http://marketplace.local:8080/api/account/v2/companies/42f4e0cd-0614-4695-87ba-fcaee49fb995/memberships"
        }
      ]
    }
  ],
  "page": {
    "size": 50,
    "totalElements": 2,
    "totalPages": 1,
    "number": 0
  }
}

Changes

    • breaking

      removed the media type */* for the response with the status

    • breaking

      removed the media type */* for the response with the status