POST api/UserDetails/signUp

Request Information

URI Parameters

None.

Body Parameters

UserDetail
NameDescriptionTypeAdditional information
UserId

integer

None.

Name

string

None.

PhoneNumber

string

None.

Password

string

None.

EmailId

string

None.

IsAdmin

boolean

None.

City

string

None.

State

string

None.

Country

string

None.

CreatedDate

date

None.

CreatedBy

integer

None.

UpdatedDate

date

None.

UpdatedBy

integer

None.

UserType

string

None.

Verified

boolean

None.

OTP

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "Name": "sample string 2",
  "PhoneNumber": "sample string 3",
  "Password": "sample string 4",
  "EmailId": "sample string 5",
  "IsAdmin": true,
  "City": "sample string 6",
  "State": "sample string 7",
  "Country": "sample string 8",
  "CreatedDate": "2025-12-11T15:29:13.3436089+05:30",
  "CreatedBy": 1,
  "UpdatedDate": "2025-12-11T15:29:13.3436089+05:30",
  "UpdatedBy": 1,
  "UserType": "sample string 9",
  "Verified": true,
  "OTP": "sample string 10"
}

application/xml, text/xml

Sample:
<UserDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BaliYatraApi.DataAccess">
  <City>sample string 6</City>
  <Country>sample string 8</Country>
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2025-12-11T15:29:13.3436089+05:30</CreatedDate>
  <EmailId>sample string 5</EmailId>
  <IsAdmin>true</IsAdmin>
  <Name>sample string 2</Name>
  <OTP>sample string 10</OTP>
  <Password>sample string 4</Password>
  <PhoneNumber>sample string 3</PhoneNumber>
  <State>sample string 7</State>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedDate>2025-12-11T15:29:13.3436089+05:30</UpdatedDate>
  <UserId>1</UserId>
  <UserType>sample string 9</UserType>
  <Verified>true</Verified>
</UserDetail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UserDetail
NameDescriptionTypeAdditional information
UserId

integer

None.

Name

string

None.

PhoneNumber

string

None.

Password

string

None.

EmailId

string

None.

IsAdmin

boolean

None.

City

string

None.

State

string

None.

Country

string

None.

CreatedDate

date

None.

CreatedBy

integer

None.

UpdatedDate

date

None.

UpdatedBy

integer

None.

UserType

string

None.

Verified

boolean

None.

OTP

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "Name": "sample string 2",
  "PhoneNumber": "sample string 3",
  "Password": "sample string 4",
  "EmailId": "sample string 5",
  "IsAdmin": true,
  "City": "sample string 6",
  "State": "sample string 7",
  "Country": "sample string 8",
  "CreatedDate": "2025-12-11T15:29:13.3436089+05:30",
  "CreatedBy": 1,
  "UpdatedDate": "2025-12-11T15:29:13.3436089+05:30",
  "UpdatedBy": 1,
  "UserType": "sample string 9",
  "Verified": true,
  "OTP": "sample string 10"
}

application/xml, text/xml

Sample:
<UserDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BaliYatraApi.DataAccess">
  <City>sample string 6</City>
  <Country>sample string 8</Country>
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2025-12-11T15:29:13.3436089+05:30</CreatedDate>
  <EmailId>sample string 5</EmailId>
  <IsAdmin>true</IsAdmin>
  <Name>sample string 2</Name>
  <OTP>sample string 10</OTP>
  <Password>sample string 4</Password>
  <PhoneNumber>sample string 3</PhoneNumber>
  <State>sample string 7</State>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedDate>2025-12-11T15:29:13.3436089+05:30</UpdatedDate>
  <UserId>1</UserId>
  <UserType>sample string 9</UserType>
  <Verified>true</Verified>
</UserDetail>