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": "746229ec-449c-4f17-ba3d-7448dbf44243",
    "ContactID": "0142ec63-c20f-4778-8731-691e56b85039",
    "AccountID": "80c19e6d-9399-4587-b984-2ad15652b996",
    "SaltKey1": 4,
    "SaltKey2": 5,
    "UserKey": "sample string 6",
    "PasswordChangeRequired": true,
    "PasswordExpirationDateTime": "2019-10-19T00:43:16.7598923-04:00",
    "PasswordExpired": true,
    "Active": true,
    "Password": "sample string 10",
    "Contact": {
      "ID": "5c18df37-c24e-42e0-bdc9-8a589ac96ca5",
      "AccountID": "999d719b-88a0-49b2-8ae9-0b35cd451ee8",
      "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": "1da0b87c-0364-43e3-b4c5-8848de96afaa",
          "Name": "sample string 1",
          "Uri": "sample string 2",
          "Type": 171020000
        },
        "Twitter": {
          "ID": "1da0b87c-0364-43e3-b4c5-8848de96afaa",
          "Name": "sample string 1",
          "Uri": "sample string 2",
          "Type": 171020000
        },
        "GooglePlus": {
          "ID": "1da0b87c-0364-43e3-b4c5-8848de96afaa",
          "Name": "sample string 1",
          "Uri": "sample string 2",
          "Type": 171020000
        },
        "Instagram": {
          "ID": "1da0b87c-0364-43e3-b4c5-8848de96afaa",
          "Name": "sample string 1",
          "Uri": "sample string 2",
          "Type": 171020000
        },
        "LinkedIn": {
          "ID": "1da0b87c-0364-43e3-b4c5-8848de96afaa",
          "Name": "sample string 1",
          "Uri": "sample string 2",
          "Type": 171020000
        },
        "Pinterest": {
          "ID": "1da0b87c-0364-43e3-b4c5-8848de96afaa",
          "Name": "sample string 1",
          "Uri": "sample string 2",
          "Type": 171020000
        },
        "YouTube": {
          "ID": "1da0b87c-0364-43e3-b4c5-8848de96afaa",
          "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.