Workgroup

post/api/v{version}/workgroup/setroles

Path parameters

versionstring required

Request body

userIdinteger required

Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.User entity.

workgroupIdinteger required

Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.Workgroup entity.

role'View' | 'Editor' | 'Controller' | 'Validator' | 'Publisher'

Represents a role entity in the database.

isActiveboolean nullable

Gets or sets whether the role is active or not.

Response

The roles were set successfully.

Changes

Changed in 3 of the 25 revisions of this API.24

    • the request property items/workgroup/name became required (media type: application/json)

      request-property-became-required

    • the request property items/workgroup/name became required (media type: text/json)

      request-property-became-required

    • the request property items/workgroup/name became required (media type: application/*+json)

      request-property-became-required

    • the items/workgroup/name request property's minLength was increased from 0 to 1 (media type: application/json)

      request-property-min-length-increased

    • the items/workgroup/name request property's minLength was increased from 0 to 1 (media type: text/json)

      request-property-min-length-increased

    • the items/workgroup/name request property's minLength was increased from 0 to 1 (media type: application/*+json)

      request-property-min-length-increased

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the request property items/userId became required (media type: application/json)

      request-property-became-required

    • the request property items/userId became required (media type: text/json)

      request-property-became-required

    • the request property items/userId became required (media type: application/*+json)

      request-property-became-required

    • the request property items/workgroup/id became required (media type: application/json)

      request-property-became-required

    • the request property items/workgroup/id became required (media type: text/json)

      request-property-became-required

    • the request property items/workgroup/id became required (media type: application/*+json)

      request-property-became-required

    • the request property items/workgroupId became required (media type: application/json)

      request-property-became-required

    • the request property items/workgroupId became required (media type: text/json)

      request-property-became-required

    • the request property items/workgroupId became required (media type: application/*+json)

      request-property-became-required

    This revision's changelog hit the recording limit, so it may not list every change to this endpoint.

    • the request property items/userId became required (media type: application/json)

      request-property-became-required

    • the request property items/userId became required (media type: text/json)

      request-property-became-required

    • the request property items/userId became required (media type: application/*+json)

      request-property-became-required

    • the request property items/workgroup/id became required (media type: application/json)

      request-property-became-required

    • the request property items/workgroup/id became required (media type: text/json)

      request-property-became-required

    • the request property items/workgroup/id became required (media type: application/*+json)

      request-property-became-required

    • the request property items/workgroupId became required (media type: application/json)

      request-property-became-required

    • the request property items/workgroupId became required (media type: text/json)

      request-property-became-required

    • the request property items/workgroupId became required (media type: application/*+json)

      request-property-became-required

    This revision's changelog hit the recording limit, so it may not list every change to this endpoint.