POST api/ValidatePhones

Request Information

URI Parameters

None.

Body Parameters

ValidatePhone
NameDescriptionTypeAdditional information
ValidatePhoneId

integer

None.

PhoneNumber

string

None.

IsValidated

boolean

None.

ExpiryMinut

integer

None.

OTP

integer

None.

CreatedDate

date

None.

UpdatedDate

date

None.

DeviceID

string

None.

DeviceToken

string

None.

AppName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ValidatePhoneId": 1,
  "PhoneNumber": "sample string 2",
  "IsValidated": true,
  "ExpiryMinut": 1,
  "OTP": 1,
  "CreatedDate": "2025-12-06T10:00:07.0589769+05:30",
  "UpdatedDate": "2025-12-06T10:00:07.0589769+05:30",
  "DeviceID": "sample string 3",
  "DeviceToken": "sample string 4",
  "AppName": "sample string 5"
}

application/xml, text/xml

Sample:
<ValidatePhone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GNGroup.Models">
  <AppName>sample string 5</AppName>
  <CreatedDate>2025-12-06T10:00:07.0589769+05:30</CreatedDate>
  <DeviceID>sample string 3</DeviceID>
  <DeviceToken>sample string 4</DeviceToken>
  <ExpiryMinut>1</ExpiryMinut>
  <IsValidated>true</IsValidated>
  <OTP>1</OTP>
  <PhoneNumber>sample string 2</PhoneNumber>
  <UpdatedDate>2025-12-06T10:00:07.0589769+05:30</UpdatedDate>
  <ValidatePhoneId>1</ValidatePhoneId>
</ValidatePhone>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ValidatePhone
NameDescriptionTypeAdditional information
ValidatePhoneId

integer

None.

PhoneNumber

string

None.

IsValidated

boolean

None.

ExpiryMinut

integer

None.

OTP

integer

None.

CreatedDate

date

None.

UpdatedDate

date

None.

DeviceID

string

None.

DeviceToken

string

None.

AppName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ValidatePhoneId": 1,
  "PhoneNumber": "sample string 2",
  "IsValidated": true,
  "ExpiryMinut": 1,
  "OTP": 1,
  "CreatedDate": "2025-12-06T10:00:07.0589769+05:30",
  "UpdatedDate": "2025-12-06T10:00:07.0589769+05:30",
  "DeviceID": "sample string 3",
  "DeviceToken": "sample string 4",
  "AppName": "sample string 5"
}

application/xml, text/xml

Sample:
<ValidatePhone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GNGroup.Models">
  <AppName>sample string 5</AppName>
  <CreatedDate>2025-12-06T10:00:07.0589769+05:30</CreatedDate>
  <DeviceID>sample string 3</DeviceID>
  <DeviceToken>sample string 4</DeviceToken>
  <ExpiryMinut>1</ExpiryMinut>
  <IsValidated>true</IsValidated>
  <OTP>1</OTP>
  <PhoneNumber>sample string 2</PhoneNumber>
  <UpdatedDate>2025-12-06T10:00:07.0589769+05:30</UpdatedDate>
  <ValidatePhoneId>1</ValidatePhoneId>
</ValidatePhone>