User Companies

Every other company the authenticated user belongs to, for the account switcher — excludes the caller's current company.

get/api/user-companies/companies-to-switch

Response

Default Response

idstring required
companyIdstring required
userIdstring required
isPrimaryboolean required
hasAgreedWithTermsboolean required
hasAgreedWithTermsAtstring nullable required
userActivationLastNotifiedAtstring nullable required
namestring required
officialNamestring required
isDemoCompanynumber required
isClientCompanynumber required

Changes

Changed in 4 of the 49 revisions of this API.53

    • ▲

      removed the required property / from the response with the status

      response-required-property-removed

    • ▲

      removed the required property / from the response with the status

      response-required-property-removed

    • ▲

      the response property / became nullable for the status

      response-property-became-nullable

    • ○

      added the required property / to the response with the status

      response-required-property-added

  • 97e51f27dc7722See the full diff
    • ▲

      the response property / became nullable for the status

      response-property-became-nullable

    • ▲

      the response property / became nullable for the status

      response-property-became-nullable

    • ○

      response property items/hasAgreedWithTermsAt list-of-types was narrowed by removing types null from media type application/json of response 200

      response-property-list-of-types-narrowed

    • ○

      response property items/userActivationLastNotifiedAt list-of-types was narrowed by removing types null from media type application/json of response 200

      response-property-list-of-types-narrowed

Of the 49 revisions, 1 has no diff computed.