Name | Required/Optional | Description | Validation |
---|---|---|---|
userUuid | required | The UUID of the user in the system | User UUID should exist in the system. |
Name | Required/Optional | Description | Validation |
---|---|---|---|
debtorUuid | required | The uuid of the debtor | Debtor UUID should exist in the system. |
curl -u apiuser:test -H "Accept: application/json" -H "Content-Type: application/json; charset=UTF-8" -X PUT -d "{\"debtorUuid\":\"ca63d6c9-4578-4fcd-91cf-c1ff40402f2a\"}" "https://www.factorsnetwork.com/api/users/e6aaa036-2121-d11d-dd33-869ffac113be"
{ "user" : { "id" : "e6aaa036-2121-d11d-dd33-869ffac113be", "firstName" : "fname", "lastName" : "lname", "email" : "test@factorsnetwork.com", "userName" : "test@factorsnetwork.com", "debtor" : "ca63d6c9-4578-4fcd-91cf-c1ff40402f2a" } }
Note: Responses will not be pretty printed when using the API, but have been formatted here for documentation purposes.