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": "d3a56736-0011-4125-bf2e-3dc5fe36eb30",
    "ContactID": "eb0871aa-ab34-447a-8244-5ed23f678a0e",
    "AccountID": "198d9cf2-4288-4032-a57e-a13e509dd532",
    "SaltKey1": 4,
    "SaltKey2": 5,
    "UserKey": "sample string 6",
    "PasswordChangeRequired": true,
    "PasswordExpirationDateTime": "2019-12-09T13:37:11.5112725-05:00",
    "PasswordExpired": true,
    "Active": true,
    "Password": "sample string 10",
    "Contact": {
      "ID": "0ce85364-0179-4e58-9166-b2c307250a54",
      "AccountID": "74e8958e-2874-498a-936e-4d501272eea0",
      "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": "506af44d-e852-49f2-a5cd-1ba30fc70d21",
          "Name": "sample string 1",
          "Uri": "sample string 2",
          "Type": 171020000
        },
        "Twitter": {
          "ID": "506af44d-e852-49f2-a5cd-1ba30fc70d21",
          "Name": "sample string 1",
          "Uri": "sample string 2",
          "Type": 171020000
        },
        "GooglePlus": {
          "ID": "506af44d-e852-49f2-a5cd-1ba30fc70d21",
          "Name": "sample string 1",
          "Uri": "sample string 2",
          "Type": 171020000
        },
        "Instagram": {
          "ID": "506af44d-e852-49f2-a5cd-1ba30fc70d21",
          "Name": "sample string 1",
          "Uri": "sample string 2",
          "Type": 171020000
        },
        "LinkedIn": {
          "ID": "506af44d-e852-49f2-a5cd-1ba30fc70d21",
          "Name": "sample string 1",
          "Uri": "sample string 2",
          "Type": 171020000
        },
        "Pinterest": {
          "ID": "506af44d-e852-49f2-a5cd-1ba30fc70d21",
          "Name": "sample string 1",
          "Uri": "sample string 2",
          "Type": 171020000
        },
        "YouTube": {
          "ID": "506af44d-e852-49f2-a5cd-1ba30fc70d21",
          "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.