POST api/GetCustomerInfoByPhone

Request Information

URI Parameters

None.

Body Parameters

GetCustomerByPhoneRequestModel
NameDescriptionTypeAdditional information
API_Key

string

None.

Token

string

None.

Phone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "API_Key": "sample string 1",
  "Token": "sample string 2",
  "Phone": "sample string 3"
}

application/xml, text/xml

Sample:
<GetCustomerByPhoneRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_Solution.Models">
  <API_Key>sample string 1</API_Key>
  <Phone>sample string 3</Phone>
  <Token>sample string 2</Token>
</GetCustomerByPhoneRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

FetchCustomerResponseModel
NameDescriptionTypeAdditional information
Response

string

None.

Code

integer

None.

Message

string

None.

Data

BriefCustomerModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": "sample string 1",
  "Code": 2,
  "Message": "sample string 3",
  "Data": {
    "CustomerId": 1,
    "Name": "sample string 2",
    "Address": "sample string 3",
    "District": "sample string 4",
    "State": "sample string 5",
    "PIN": "sample string 6"
  }
}

application/xml, text/xml

Sample:
<FetchCustomerResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LeadsManager.Model">
  <Code>2</Code>
  <Data>
    <Address>sample string 3</Address>
    <CustomerId>1</CustomerId>
    <District>sample string 4</District>
    <Name>sample string 2</Name>
    <PIN>sample string 6</PIN>
    <State>sample string 5</State>
  </Data>
  <Message>sample string 3</Message>
  <Response>sample string 1</Response>
</FetchCustomerResponseModel>