The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/oneway/AddOrUpdateUser HTTP/1.1
Host: 185.179.20.77
Content-Type: text/jsv
Content-Length: length
{
User:
{
UserReferUid: 00000000000000000000000000000000,
Name: String,
Created: 0001-01-01,
LastActive: 0001-01-01,
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: 0001-01-01,
Modified: 0001-01-01,
Notes: String,
Deleted: False
}
],
CustomFields: 0
},
PasswordHash: String,
SessionUid: 00000000000000000000000000000000,
DeviceSerialNumber: String,
GeneratedAt: 0001-01-01
}