POST v1/users

Request Information

URI Parameters

None.

Body Parameters

UserInputDto
NameDescriptionTypeAdditional information
Title

string

None.

Email

string

Matching regular expression pattern: \w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*

UserName

string

None.

FirstName

string

Required

LastName

string

Required

Phone

string

Required

Matching regular expression pattern: ^(((\+44\s?\d{4}|\(?0\d{4}\)?)\s?\d{3}\s?\d{3})|((\+44\s?\d{3}|\(?0\d{3}\)?)\s?\d{3}\s?\d{4})|((\+44\s?\d{2}|\(?0\d{2}\)?)\s?\d{4}\s?\d{4}))(\s?\#(\d{4}|\d{3}))?$

AlternatePhone

string

Matching regular expression pattern: ^(((\+44\s?\d{4}|\(?0\d{4}\)?)\s?\d{3}\s?\d{3})|((\+44\s?\d{3}|\(?0\d{3}\)?)\s?\d{3}\s?\d{4})|((\+44\s?\d{2}|\(?0\d{2}\)?)\s?\d{4}\s?\d{4}))(\s?\#(\d{4}|\d{3}))?$

VerificationCode

string

None.

EmailVerified

boolean

None.

CompanyName

string

None.

Password

string

Required

State

integer

None.

OrganizationMasterId

integer

None.

UserType

string

Required

ImageUrl

string

None.

DeleteStatus

boolean

None.

Id

globally unique identifier

None.

CreatedOn

date

None.

UpdatedOn

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

DOB

date

None.

Address

string

None.

City

string

None.

PostCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "title": "sample string 1",
  "email": "sample string 2",
  "userName": "sample string 3",
  "firstName": "sample string 4",
  "lastName": "sample string 5",
  "phone": "sample string 6",
  "alternatePhone": "sample string 7",
  "verificationCode": "sample string 8",
  "emailVerified": true,
  "companyName": "sample string 10",
  "password": "sample string 11",
  "state": 12,
  "organizationMasterId": 13,
  "userType": "sample string 14",
  "imageUrl": "sample string 15",
  "deleteStatus": true,
  "id": "610c2d31-01e7-4887-ae5a-f0633eaead06",
  "createdOn": "2024-09-13T09:30:24.6532961Z",
  "updatedOn": "2024-09-13T09:30:24.6532961Z",
  "createdBy": 19,
  "updatedBy": 1,
  "dob": "2024-09-13T09:30:24.6532961Z",
  "address": "sample string 21",
  "city": "sample string 22",
  "postCode": "sample string 23"
}

text/html, multipart/form-data

Sample:
{"title":"sample string 1","email":"sample string 2","userName":"sample string 3","firstName":"sample string 4","lastName":"sample string 5","phone":"sample string 6","alternatePhone":"sample string 7","verificationCode":"sample string 8","emailVerified":true,"companyName":"sample string 10","password":"sample string 11","state":12,"organizationMasterId":13,"userType":"sample string 14","imageUrl":"sample string 15","deleteStatus":true,"id":"610c2d31-01e7-4887-ae5a-f0633eaead06","createdOn":"2024-09-13T09:30:24.6532961Z","updatedOn":"2024-09-13T09:30:24.6532961Z","createdBy":19,"updatedBy":1,"dob":"2024-09-13T09:30:24.6532961Z","address":"sample string 21","city":"sample string 22","postCode":"sample string 23"}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, multipart/form-data

Sample:

Sample not available.