GET api/Contact/GetContactDetails

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of R_ContactDetail
NameDescriptionTypeAdditional information
MobilePhone_1_verified

YesNo

None.

MobilePhone_2_verified

YesNo

None.

ContactName

string

Required

String length: inclusive between 2 and 45

PhoneNumber_1

string

Required

PhoneNumber_2

string

None.

Comments

string

None.

ConactID

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "conactID": 1,
    "mobilePhone_1_verified": "YES",
    "mobilePhone_2_verified": "YES",
    "contactName": "sample string 1",
    "phoneNumber_1": "sample string 2",
    "phoneNumber_2": "sample string 3",
    "comments": "sample string 4"
  },
  {
    "conactID": 1,
    "mobilePhone_1_verified": "YES",
    "mobilePhone_2_verified": "YES",
    "contactName": "sample string 1",
    "phoneNumber_1": "sample string 2",
    "phoneNumber_2": "sample string 3",
    "comments": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfR_ContactDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures">
  <R_ContactDetail>
    <Comments>sample string 4</Comments>
    <ContactName>sample string 1</ContactName>
    <PhoneNumber_1>sample string 2</PhoneNumber_1>
    <PhoneNumber_2>sample string 3</PhoneNumber_2>
    <ConactID>1</ConactID>
    <MobilePhone_1_verified>YES</MobilePhone_1_verified>
    <MobilePhone_2_verified>YES</MobilePhone_2_verified>
  </R_ContactDetail>
  <R_ContactDetail>
    <Comments>sample string 4</Comments>
    <ContactName>sample string 1</ContactName>
    <PhoneNumber_1>sample string 2</PhoneNumber_1>
    <PhoneNumber_2>sample string 3</PhoneNumber_2>
    <ConactID>1</ConactID>
    <MobilePhone_1_verified>YES</MobilePhone_1_verified>
    <MobilePhone_2_verified>YES</MobilePhone_2_verified>
  </R_ContactDetail>
</ArrayOfR_ContactDetail>

multipart/form-data

Sample:
<ArrayOfR_ContactDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures"><R_ContactDetail><Comments>sample string 4</Comments><ContactName>sample string 1</ContactName><PhoneNumber_1>sample string 2</PhoneNumber_1><PhoneNumber_2>sample string 3</PhoneNumber_2><ConactID>1</ConactID><MobilePhone_1_verified>YES</MobilePhone_1_verified><MobilePhone_2_verified>YES</MobilePhone_2_verified></R_ContactDetail><R_ContactDetail><Comments>sample string 4</Comments><ContactName>sample string 1</ContactName><PhoneNumber_1>sample string 2</PhoneNumber_1><PhoneNumber_2>sample string 3</PhoneNumber_2><ConactID>1</ConactID><MobilePhone_1_verified>YES</MobilePhone_1_verified><MobilePhone_2_verified>YES</MobilePhone_2_verified></R_ContactDetail></ArrayOfR_ContactDetail>