GET api/inquiry/InquireMobileNumber?MobileNumber={MobileNumber}&NationalCode={NationalCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
MobileNumber

string

Matching regular expression pattern: ^09\d{9}$

NationalCode

string

None.

Body Parameters

None.

Response Information

Resource Description

InquireNumberViewModel
NameDescriptionTypeAdditional information
Data

MobileNumber

None.

HasErrors

boolean

None.

Messages

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Number": "sample string 1",
    "IsValid": true
  },
  "HasErrors": false,
  "Messages": []
}

application/xml, text/xml

Sample:
<InquireNumberViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Barg.PodAPI.Models">
  <Messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Barg.WebAPI.Models" />
  <Data>
    <IsValid>true</IsValid>
    <Number>sample string 1</Number>
  </Data>
</InquireNumberViewModel>