πŸ“žUpdate Phone Info

  1. Verify Password

post
Authorizations
Header parameters
Accept-LanguageStringOptional
AuthorizationstringOptional

ex: Bearer <Replace Token From Third Step (Select Step)>

Body
passwordstring | nullableOptional
updateStepIdinteger Β· enumOptionalPossible values:
Responses
200
Success
post
POST /api/v1/update/UpdateRequest/VerifyPassword HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 36

{
  "password": "text",
  "updateStepId": 1
}
{
  "status": 0
}

Get All Applicant Phones

get
Authorizations
Header parameters
Accept-LanguageStringOptional
AuthorizationstringOptional

ex: Bearer <Replace Token From Third Step (Select Step)>

Responses
200
Success
get
GET /api/v1/update/UpdatePhoneInfo/GetApplicantPhones HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
[
  {
    "phoneNumber": "text",
    "isDefault": true
  }
]

You Can Add Or Delete New Phone Or You Can Update Existing Phone Number

Add New Phone:

post
Authorizations
Header parameters
Accept-LanguageStringOptional
AuthorizationstringOptional

ex: Bearer <Replace Token From Third Step (Select Step)>

Body
codestring | nullableOptional
phoneNumberstring | nullableOptional
Responses
200
Success
post
POST /api/v1/update/UpdatePhoneInfo/Add HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 36

{
  "code": "text",
  "phoneNumber": "text"
}
{
  "id": 1
}

Delete Phone

post
Authorizations
Header parameters
Accept-LanguageStringOptional
AuthorizationstringOptional

ex: Bearer <Replace Token From Third Step (Select Step)>

Body
phoneNumberstring | nullableOptional
Responses
200
Success
post
POST /api/v1/update/UpdatePhoneInfo/Archieve HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 22

{
  "phoneNumber": "text"
}
{
  "status": 0
}

Update Phone

post
Authorizations
Header parameters
Accept-LanguageStringOptional
AuthorizationstringOptional

ex: Bearer <Replace Token From Third Step (Select Step)>

Body
idinteger Β· int32Optional
codestring | nullableOptional
phoneNumberstring | nullableOptional
oldPhoneNumberstring | nullableOptional
Responses
200
Success
post
POST /api/v1/update/UpdatePhoneInfo/Update HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 67

{
  "id": 1,
  "code": "text",
  "phoneNumber": "text",
  "oldPhoneNumber": "text"
}
{
  "id": 1
}

B. Send OTP :

After Adding Or Updating Phone You Must Send Otp To Verify New Phone

post
Authorizations
Query parameters
idinteger Β· int32Optional
Header parameters
Accept-LanguageStringOptional
AuthorizationstringOptional

ex: Bearer <Replace Token From Third Step (Select Step)>

Responses
200
Success
post
POST /api/v1/update/UpdatePhoneInfo/SendOTP HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
{
  "status": 0
}

Validate OTP:

post
Authorizations
Header parameters
Accept-LanguageStringOptional
AuthorizationstringOptional

ex: Bearer <Replace Token From Third Step (Select Step)>

Body
idinteger Β· int32Optional
otpstring | nullableOptional
oldPhoneNumberstring | nullableOptional
Responses
200
Success
post
POST /api/v1/update/UpdatePhoneInfo/ValidateOTP HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 45

{
  "id": 1,
  "otp": "text",
  "oldPhoneNumber": "text"
}
{
  "status": 0
}

Last updated