POST api/User/CreateNewUser

Request Information

URI Parameters

None.

Body Parameters

CreateUserViewModel
NameDescriptionTypeAdditional information
EmailId

string

None.

UserProfile

UserProfile

None.

AdditionalUserProperties

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EmailId": "sample string 1",
  "UserProfile": {
    "UserId": "344797a3-bd16-48cd-ac4e-c276953ef81d",
    "FirstName": "sample string 1",
    "MiddleName": "sample string 2",
    "LastName": "sample string 3",
    "Address": "sample string 4",
    "City": "sample string 5",
    "StateId": 6,
    "Zip": "sample string 7",
    "CellPhone": "sample string 8",
    "HomePhone": "sample string 9",
    "Fax": "sample string 10",
    "Title": "sample string 11",
    "Company": "sample string 12",
    "AdditionalInfo": "sample string 13",
    "Department": "sample string 14",
    "LastUpdatedDate": "2026-03-25T12:49:02.9112353-05:00",
    "LastUpdatedBy": "e730ff13-e54e-4edc-b239-0433242f4e7f"
  },
  "AdditionalUserProperties": "sample string 2"
}

Response Information

Resource Description

ResponseBase
NameDescriptionTypeAdditional information
HasErrors

boolean

None.

HasValidationErrors

boolean

None.

Messages

Collection of ResponseMessage

None.

Response Formats

application/json, text/json

Sample:
{
  "HasErrors": false,
  "HasValidationErrors": false,
  "Messages": [
    {
      "ExceptionThrown": {
        "ClassName": "System.Exception",
        "Message": null,
        "Data": null,
        "InnerException": null,
        "HelpURL": "sample string 1",
        "StackTraceString": null,
        "RemoteStackTraceString": null,
        "RemoteStackIndex": 0,
        "ExceptionMethod": null,
        "HResult": 3,
        "Source": "sample string 2",
        "WatsonBuckets": null
      },
      "ExceptionMessage": "Exception of type 'System.Exception' was thrown.",
      "ExceptionStackTrace": null,
      "ResponseCode": "sample string 3",
      "Level": 0,
      "Message": "sample string 4",
      "Id": 5
    },
    {
      "ExceptionThrown": {
        "ClassName": "System.Exception",
        "Message": null,
        "Data": null,
        "InnerException": null,
        "HelpURL": "sample string 1",
        "StackTraceString": null,
        "RemoteStackTraceString": null,
        "RemoteStackIndex": 0,
        "ExceptionMethod": null,
        "HResult": 3,
        "Source": "sample string 2",
        "WatsonBuckets": null
      },
      "ExceptionMessage": "Exception of type 'System.Exception' was thrown.",
      "ExceptionStackTrace": null,
      "ResponseCode": "sample string 3",
      "Level": 0,
      "Message": "sample string 4",
      "Id": 5
    }
  ]
}