openspecimen/rest/ng/users/{userIdid}
Use this resource to patch the user. Use HTTP PATCH method to call this API by passing the below details in JSON format.
...
http[s]:<host>:<port>/openspecimen/rest/ng/users/{userIdid}
Use this URL to patch user in openSpecimen application.
...
Method | URL |
---|---|
URL | openspecimen/rest/ng/users/{userId}1 |
Method | PATCH |
Request | application/json |
json | { "lastName":"Piterson", "firstName":"Sam" } |
Response | { "id" : 1, "lastName":"Piterson", "firstName":"Sam", "domainName":"catissue", "emailAddress":"sam.piterson@live.com", "loginName":"samPiterson", "userSiteNames":["My group"], "userCPRoles":[{"roleName":"Scientiest1","cpTitle":"My Cp1"}], "activityStatus":"Active", "deptName":"Department of onchology", "comments":"bla bla bla", "city":"Jalgaon", "state":"Maharashtra", "country":"India", "zipCode":"425022", "faxNumber":"434343AS", "phoneNumber":"654323" } |
...