POST api/user/create

Request Information

URI Parameters

None.

Body Parameters

UserCreationRequest
NameDescriptionTypeAdditional information
User

UserModel

None.

Request Formats

application/json, text/json

Sample:
{
  "User": {
    "ID": "f2bcf34d-c0a1-42a4-a3d4-fc5e73f8bd0a",
    "ContactID": "70a3e1fc-a41e-4c79-9c45-cd2a05442ef4",
    "AccountID": "7f2e0bec-1110-4056-b2d6-9377ea8b2421",
    "SaltKey1": 4,
    "SaltKey2": 5,
    "UserKey": "sample string 6",
    "PasswordChangeRequired": true,
    "PasswordExpirationDateTime": "2020-07-15T23:30:23.8200478-04:00",
    "PasswordExpired": true,
    "Active": true,
    "Password": "sample string 10",
    "Contact": {
      "ID": "1c484f02-202a-4877-adce-7f06c00720cc",
      "AccountID": "db6c593d-ca56-4216-b453-0dc47409f25b",
      "AccountName": "sample string 3",
      "FirstName": "sample",
      "LastName": "6",
      "FullName": "sample 6",
      "EmailAddress": "sample string 7",
      "Salutation": "sample string 8",
      "Suffix": "sample string 9",
      "Nickname": "sample string 10",
      "JobTitle": "sample string 11",
      "Address1": "sample string 12",
      "Address2": "sample string 13",
      "Address3": "sample string 14",
      "City": "sample string 15",
      "State": "sample string 16",
      "ZipCode": "sample string 17",
      "Country": "sample string 18",
      "BusinessPhone": "sample string 19",
      "HomePhone": "sample string 20",
      "MobilePhone": "sample string 21",
      "Fax": "sample string 22",
      "IsInternational": true,
      "Preferences": {
        "PreferredContactMethod": 1,
        "DoNotEmail": true,
        "DoNotBulkEmail": true,
        "DoNotPhone": true,
        "DoNotFax": true,
        "DoNotPostalMail": true
      },
      "SocialMedia": {
        "Facebook": {
          "ID": "7d75ba3a-761d-499e-b100-3277557a0075",
          "Name": "sample string 1",
          "Uri": "sample string 2",
          "Type": 171020000
        },
        "Twitter": {
          "ID": "7d75ba3a-761d-499e-b100-3277557a0075",
          "Name": "sample string 1",
          "Uri": "sample string 2",
          "Type": 171020000
        },
        "GooglePlus": {
          "ID": "7d75ba3a-761d-499e-b100-3277557a0075",
          "Name": "sample string 1",
          "Uri": "sample string 2",
          "Type": 171020000
        },
        "Instagram": {
          "ID": "7d75ba3a-761d-499e-b100-3277557a0075",
          "Name": "sample string 1",
          "Uri": "sample string 2",
          "Type": 171020000
        },
        "LinkedIn": {
          "ID": "7d75ba3a-761d-499e-b100-3277557a0075",
          "Name": "sample string 1",
          "Uri": "sample string 2",
          "Type": 171020000
        },
        "Pinterest": {
          "ID": "7d75ba3a-761d-499e-b100-3277557a0075",
          "Name": "sample string 1",
          "Uri": "sample string 2",
          "Type": 171020000
        },
        "YouTube": {
          "ID": "7d75ba3a-761d-499e-b100-3277557a0075",
          "Name": "sample string 1",
          "Uri": "sample string 2",
          "Type": 171020000
        }
      }
    }
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.