GET api/Chef/ReadChefProfile

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

R_ChefProfile
NameDescriptionTypeAdditional information
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:
{
  "imageURL": "sample string 1",
  "logoImageURL": "sample string 2",
  "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-05-27T03:01:00.4835007-07:00",
      "documentEndDate": "2019-05-27T03:01:00.4835007-07:00"
    },
    {
      "liceseOfficialName": "sample string 1",
      "licenseType": "sample string 2",
      "licenseState": "sample string 3",
      "documentStartDate": "2019-05-27T03:01:00.4835007-07:00",
      "documentEndDate": "2019-05-27T03:01:00.4835007-07:00"
    }
  ],
  "chefRating": 3.0,
  "ratingCount": 4,
  "chefID": 5,
  "addressID": 6,
  "imageID": 1,
  "businessLogoImageID": 1,
  "businessName": "sample string 7",
  "businessPhone": "sample string 8",
  "personalMessage": "sample string 9",
  "associative": "YES",
  "catering": "YES"
}

application/xml, text/xml

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

multipart/form-data

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