GET api/Chef/GetChefInfobyFoodID?FoodItemID={FoodItemID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
FoodItemID

integer

Required

Body Parameters

None.

Response Information

Resource Description

R_ChefInfo
NameDescriptionTypeAdditional information
ChefName

string

None.

Email

string

None.

Status

AccountStatus

None.

ImageURL

string

None.

LogoImageURL

string

None.

AccountStatus

AccountStatus

None.

Address

W_CustomerAddress

None.

LicenseDocuments

Collection of R_LicenseDocument

None.

ChefRating

decimal number

None.

RatingCount

integer

None.

ChefID

integer

Required

Matching regular expression pattern: ^[0-9]{1,11}$

AddressID

integer

Required

Matching regular expression pattern: ^[0-9]{1,11}$

ImageID

integer

Required

Matching regular expression pattern: ^[0-9]{1,11}$

BusinessLogoImageID

integer

Required

Matching regular expression pattern: ^[0-9]{1,11}$

BusinessName

string

Required

BusinessPhone

string

Required

PersonalMessage

string

None.

Associative

YesNo

None.

Catering

YesNo

None.

Response Formats

application/json, text/json

Sample:
{
  "chefName": "sample string 1",
  "email": "sample string 2",
  "status": "SUBMITTED",
  "imageURL": "sample string 3",
  "logoImageURL": "sample string 4",
  "accountStatus": "SUBMITTED",
  "address": {
    "addressNickName": "sample string 1",
    "addressStreetAddress1": "sample string 2",
    "addressStreetAddress2": "sample string 3",
    "addressCity": "sample string 4",
    "addressState": "sample string 5",
    "addressZipCode": "sample string 6",
    "addressCountry": "sample string 7"
  },
  "licenseDocuments": [
    {
      "liceseOfficialName": "sample string 1",
      "licenseType": "sample string 2",
      "licenseState": "sample string 3",
      "documentStartDate": "2019-12-10T10:01:02.5783083-07:00",
      "documentEndDate": "2019-12-10T10:01:02.5783083-07:00"
    },
    {
      "liceseOfficialName": "sample string 1",
      "licenseType": "sample string 2",
      "licenseState": "sample string 3",
      "documentStartDate": "2019-12-10T10:01:02.5783083-07:00",
      "documentEndDate": "2019-12-10T10:01:02.5783083-07:00"
    }
  ],
  "chefRating": 5.0,
  "ratingCount": 6,
  "chefID": 7,
  "addressID": 8,
  "imageID": 1,
  "businessLogoImageID": 1,
  "businessName": "sample string 9",
  "businessPhone": "sample string 10",
  "personalMessage": "sample string 11",
  "associative": "YES",
  "catering": "YES"
}

application/xml, text/xml

Sample:
<R_ChefInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures">
  <AddressID>8</AddressID>
  <Associative>YES</Associative>
  <BusinessLogoImageID>1</BusinessLogoImageID>
  <BusinessName>sample string 9</BusinessName>
  <BusinessPhone>sample string 10</BusinessPhone>
  <Catering>YES</Catering>
  <ImageID>1</ImageID>
  <PersonalMessage>sample string 11</PersonalMessage>
  <ChefID>7</ChefID>
  <AccountStatus>SUBMITTED</AccountStatus>
  <Address>
    <AddressCity>sample string 4</AddressCity>
    <AddressCountry>sample string 7</AddressCountry>
    <AddressState>sample string 5</AddressState>
    <AddressStreetAddress1>sample string 2</AddressStreetAddress1>
    <AddressStreetAddress2>sample string 3</AddressStreetAddress2>
    <AddressZipCode>sample string 6</AddressZipCode>
    <AddressNickName>sample string 1</AddressNickName>
  </Address>
  <ChefRating>5</ChefRating>
  <ImageURL>sample string 3</ImageURL>
  <LicenseDocuments>
    <R_LicenseDocument>
      <DocumentEndDate>2019-12-10T10:01:02.5783083-07:00</DocumentEndDate>
      <DocumentStartDate>2019-12-10T10:01:02.5783083-07:00</DocumentStartDate>
      <LicenseState>sample string 3</LicenseState>
      <LicenseType>sample string 2</LicenseType>
      <LiceseOfficialName>sample string 1</LiceseOfficialName>
    </R_LicenseDocument>
    <R_LicenseDocument>
      <DocumentEndDate>2019-12-10T10:01:02.5783083-07:00</DocumentEndDate>
      <DocumentStartDate>2019-12-10T10:01:02.5783083-07:00</DocumentStartDate>
      <LicenseState>sample string 3</LicenseState>
      <LicenseType>sample string 2</LicenseType>
      <LiceseOfficialName>sample string 1</LiceseOfficialName>
    </R_LicenseDocument>
  </LicenseDocuments>
  <LogoImageURL>sample string 4</LogoImageURL>
  <RatingCount>6</RatingCount>
  <ChefName>sample string 1</ChefName>
  <Email>sample string 2</Email>
  <Status>SUBMITTED</Status>
</R_ChefInfo>

multipart/form-data

Sample:
<R_ChefInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures"><AddressID>8</AddressID><Associative>YES</Associative><BusinessLogoImageID>1</BusinessLogoImageID><BusinessName>sample string 9</BusinessName><BusinessPhone>sample string 10</BusinessPhone><Catering>YES</Catering><ImageID>1</ImageID><PersonalMessage>sample string 11</PersonalMessage><ChefID>7</ChefID><AccountStatus>SUBMITTED</AccountStatus><Address><AddressCity>sample string 4</AddressCity><AddressCountry>sample string 7</AddressCountry><AddressState>sample string 5</AddressState><AddressStreetAddress1>sample string 2</AddressStreetAddress1><AddressStreetAddress2>sample string 3</AddressStreetAddress2><AddressZipCode>sample string 6</AddressZipCode><AddressNickName>sample string 1</AddressNickName></Address><ChefRating>5</ChefRating><ImageURL>sample string 3</ImageURL><LicenseDocuments><R_LicenseDocument><DocumentEndDate>2019-12-10T10:01:02.5783083-07:00</DocumentEndDate><DocumentStartDate>2019-12-10T10:01:02.5783083-07:00</DocumentStartDate><LicenseState>sample string 3</LicenseState><LicenseType>sample string 2</LicenseType><LiceseOfficialName>sample string 1</LiceseOfficialName></R_LicenseDocument><R_LicenseDocument><DocumentEndDate>2019-12-10T10:01:02.5783083-07:00</DocumentEndDate><DocumentStartDate>2019-12-10T10:01:02.5783083-07:00</DocumentStartDate><LicenseState>sample string 3</LicenseState><LicenseType>sample string 2</LicenseType><LiceseOfficialName>sample string 1</LiceseOfficialName></R_LicenseDocument></LicenseDocuments><LogoImageURL>sample string 4</LogoImageURL><RatingCount>6</RatingCount><ChefName>sample string 1</ChefName><Email>sample string 2</Email><Status>SUBMITTED</Status></R_ChefInfo>