Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

URLhttp://<host>:<port>/catissuecore/rest/ng/specimen-lists/{specimenListId}/users?operation=[UPDATE|REMOVE|ADD]
MethodPUT
Content-Typeapplication/json
Request[ 17 , 15 ,16 ]
Response[
    {
        "id": 17,
        "firstName": "James",
        "lastName": "Smith",
        "loginName": "James.Smith@example.com"
    },
    {
        "id": 15,
        "firstName": "Lina",
        "lastName": "Morris",
        "loginName": "Lina.Morris@example.com"
    },
    {
        "id": 16,
        "firstName": "Tim",
        "lastName": "Jones",
        "loginName": "Tim.Jones@example.com"
    }
]

Error Cases

code
Applies to
Status Message
200All resourcesShare settings for given specimen list have been applied successfully.
400All requestsInvalid parameters, e.g  Invalid User-ids, Invalid Specimen-ids.
401All requestsAuthorization failed, User doesn’t have Authority.
500All requestsInternal server error, Encountered server error while performing operations.