POST api/user/create
Request Information
URI Parameters
None.
Body Parameters
UserCreationRequestName | Description | Type | Additional information |
---|---|---|---|
User | UserModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "User": { "ID": "2d512545-71be-4d9f-8d6c-96caa76362ec", "ContactID": "545e08c9-f8b6-412f-b176-7f45a9afef7d", "AccountID": "efab2218-ea13-4be3-a7e7-4eb303c6231c", "SaltKey1": 4, "SaltKey2": 5, "UserKey": "sample string 6", "PasswordChangeRequired": true, "PasswordExpirationDateTime": "2021-02-24T23:59:31.4849036-05:00", "PasswordExpired": true, "Active": true, "Password": "sample string 10", "Contact": { "ID": "c27c10af-f8b1-4e19-9113-253e46378386", "AccountID": "4af9b9e1-7d78-4c49-953e-352bd0af86df", "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": "6bf33d98-6550-4307-a7d7-757d26dcd0fb", "Name": "sample string 1", "Uri": "sample string 2", "Type": 171020000 }, "Twitter": { "ID": "6bf33d98-6550-4307-a7d7-757d26dcd0fb", "Name": "sample string 1", "Uri": "sample string 2", "Type": 171020000 }, "GooglePlus": { "ID": "6bf33d98-6550-4307-a7d7-757d26dcd0fb", "Name": "sample string 1", "Uri": "sample string 2", "Type": 171020000 }, "Instagram": { "ID": "6bf33d98-6550-4307-a7d7-757d26dcd0fb", "Name": "sample string 1", "Uri": "sample string 2", "Type": 171020000 }, "LinkedIn": { "ID": "6bf33d98-6550-4307-a7d7-757d26dcd0fb", "Name": "sample string 1", "Uri": "sample string 2", "Type": 171020000 }, "Pinterest": { "ID": "6bf33d98-6550-4307-a7d7-757d26dcd0fb", "Name": "sample string 1", "Uri": "sample string 2", "Type": 171020000 }, "YouTube": { "ID": "6bf33d98-6550-4307-a7d7-757d26dcd0fb", "Name": "sample string 1", "Uri": "sample string 2", "Type": 171020000 } } } } }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.