Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

 This API available for patch the user object

Mandatory Fields :

  1. userId

Non Patchable Fields :

  1. Login Name
  2. Domain Name

Api :

Method
URL
PATCHcatissuecore/rest/ng/users/{userId}
Requestapplication/json
json{
    "lastName":"Piterson",
    "firstName":"Sam"
}

Response

{

    "id" : "1",
    "lastName":"Piterson",
    "firstName":"Sam",
    "domainName":"catissue",
    "emailAddress":"sam.piterson@live.com",
    "loginName":"samPiterson",
    "siteNames":["My group", "New Site"],
    "cpTitles":["MyCp", "Test Cp"],
    "activityStatus":"Active",
    "deptName":"Department of onchology",
    "comments":"bla bla bla",
    "city":"Jalgaon",
    "state":"Maharashtra",
    "country":"India",
    "zipCode":"425022",
    "faxNumber":"434343AS",
    "phoneNumber":"654323",
}

 

Error Cases :

code
Applies to
Status Message
200All resources 
201All POST/PUT requestsResource created/updated successfully
400All requestsInvalid parameters, this will also includes application specific error messages
401All requestsAuthorization failed
404All requestsResource not found, also includes specified resource id/name/title
500All requestsInternal server error
  • No labels