The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /json/oneway/AddOrUpdateUser HTTP/1.1
Host: 185.179.20.77
Content-Type: application/json
Content-Length: length
{"User":{"UserReferUid":"00000000000000000000000000000000","Name":"String","Created":"\/Date(-62135596800000)\/","LastActive":"\/Date(-62135596800000)\/","Enabled":false,"Details":{"FirstName":"String","LastName":"String","Address1":"String","Address2":"String","Address3":"String","Postcode":"String","Country":"String","Email":"String","TelephoneNumber":"String","MobileNumber":"String"},"DataAccessGroups":["String"],"UserRoles":["String"],"AssignedRoutes":["00000000000000000000000000000000"],"Fields":[{"ReferUid":"00000000000000000000000000000000","Name":"String","Value":"String","Type":"String","Created":"\/Date(-62135596800000)\/","Modified":"\/Date(-62135596800000)\/","Notes":"String","Deleted":false}],"CustomFields":0},"PasswordHash":"String","SessionUid":"00000000000000000000000000000000","DeviceSerialNumber":"String","GeneratedAt":"\/Date(-62135596800000)\/"}