Administration/User Companies

List companies a user can be added to

Changed on

Unscoped list of companies the given user does not already belong to, for the admin "add company to user" picker. Excludes the internal Retraced house company.

get/api/admin/user-companies/available-companies/{userId}

Request

  • Base URL
    https://api.retraced.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.retraced.com/api/admin/user-companies/available-companies/{userId}
  • Auth
    none declared

Path parameters

userIdstring required

Query parameters

qstring
sortstring

Response

Default Response

idstring required
officialNamestring required
namestring required
countrystring required
countryNamestring required
featuredImageFileIdstring required
featuredImageFileUrlstring nullable required
originalFeaturedImageFileUrlstring required
videoFileUrl'null' nullable required
geojsonstring nullable required
facilityProcessesstring nullable required
updatedAtstring date-time nullable required

Changes

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the / response's property type changed from null to string for status

    • warning

      added the new undefined enum value to the / response property for the response status

    • info

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

    • info

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

    • info

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

    • info

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