POST api/Debug/CreateTestUser

Creates the test user.

Request Information

Parameters

NameDescriptionAdditional information
request
The request.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "facilityId": 281,
  "createActiveUser": true,
  "userType": 119,
  "password": "1234",
  "firstName": "Test",
  "lastName": "User",
  "dateOfBirth": "1970-01-01T00:00:00",
  "cabinNumber": "6801",
  "debitCardNumber": "4444333322221111",
  "TB8001_AccessType_Id": 122
}

Response Information

Response body formats

application/json, text/json

Sample:
{
  "facilityId": 281,
  "userName": "TestUser28756",
  "userId": 658785,
  "activeUserId": 12765675,
  "firstName": "Test",
  "lastName": "Test",
  "success": true,
  "comments": "Success!",
  "error": {
    "code": 0,
    "params": [
      "sample",
      "sample"
    ]
  }
}