GET api/Driver/GetChefContactDetails

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of R_ContactDetail
NameDescriptionTypeAdditional information
FirstName

string

Required

String length: inclusive between 2 and 45

LastName

string

Required

String length: inclusive between 2 and 60

Email

string

Required

PhoneNumber_1

string

Required

PhoneNumber_2

string

None.

Comments

string

None.

ConactID

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "conactID": 1,
    "firstName": "sample string 1",
    "lastName": "sample string 2",
    "email": "sample string 3",
    "phoneNumber_1": "sample string 4",
    "phoneNumber_2": "sample string 5",
    "comments": "sample string 6"
  },
  {
    "conactID": 1,
    "firstName": "sample string 1",
    "lastName": "sample string 2",
    "email": "sample string 3",
    "phoneNumber_1": "sample string 4",
    "phoneNumber_2": "sample string 5",
    "comments": "sample string 6"
  }
]

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 6</Comments>
    <Email>sample string 3</Email>
    <FirstName>sample string 1</FirstName>
    <LastName>sample string 2</LastName>
    <PhoneNumber_1>sample string 4</PhoneNumber_1>
    <PhoneNumber_2>sample string 5</PhoneNumber_2>
    <ConactID>1</ConactID>
  </R_ContactDetail>
  <R_ContactDetail>
    <Comments>sample string 6</Comments>
    <Email>sample string 3</Email>
    <FirstName>sample string 1</FirstName>
    <LastName>sample string 2</LastName>
    <PhoneNumber_1>sample string 4</PhoneNumber_1>
    <PhoneNumber_2>sample string 5</PhoneNumber_2>
    <ConactID>1</ConactID>
  </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 6</Comments><Email>sample string 3</Email><FirstName>sample string 1</FirstName><LastName>sample string 2</LastName><PhoneNumber_1>sample string 4</PhoneNumber_1><PhoneNumber_2>sample string 5</PhoneNumber_2><ConactID>1</ConactID></R_ContactDetail><R_ContactDetail><Comments>sample string 6</Comments><Email>sample string 3</Email><FirstName>sample string 1</FirstName><LastName>sample string 2</LastName><PhoneNumber_1>sample string 4</PhoneNumber_1><PhoneNumber_2>sample string 5</PhoneNumber_2><ConactID>1</ConactID></R_ContactDetail></ArrayOfR_ContactDetail>