GET api/Food/GetFoodTypeNamesForAdmin

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of R_AdminFoodType
NameDescriptionTypeAdditional information
ChangeHistory

string

Required

FoodTypeDeleted

boolean

Required

FoodTypeID

integer

Required

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

FoodTypeName

string

Required

FoodTypeDescription

string

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "changeHistory": "sample string 1",
    "foodTypeDeleted": true,
    "foodTypeID": 3,
    "foodTypeName": "sample string 4",
    "foodTypeDescription": "sample string 5"
  },
  {
    "changeHistory": "sample string 1",
    "foodTypeDeleted": true,
    "foodTypeID": 3,
    "foodTypeName": "sample string 4",
    "foodTypeDescription": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfR_AdminFoodType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures">
  <R_AdminFoodType>
    <FoodTypeDescription>sample string 5</FoodTypeDescription>
    <FoodTypeName>sample string 4</FoodTypeName>
    <FoodTypeID>3</FoodTypeID>
    <ChangeHistory>sample string 1</ChangeHistory>
    <FoodTypeDeleted>true</FoodTypeDeleted>
  </R_AdminFoodType>
  <R_AdminFoodType>
    <FoodTypeDescription>sample string 5</FoodTypeDescription>
    <FoodTypeName>sample string 4</FoodTypeName>
    <FoodTypeID>3</FoodTypeID>
    <ChangeHistory>sample string 1</ChangeHistory>
    <FoodTypeDeleted>true</FoodTypeDeleted>
  </R_AdminFoodType>
</ArrayOfR_AdminFoodType>

multipart/form-data

Sample:
<ArrayOfR_AdminFoodType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures"><R_AdminFoodType><FoodTypeDescription>sample string 5</FoodTypeDescription><FoodTypeName>sample string 4</FoodTypeName><FoodTypeID>3</FoodTypeID><ChangeHistory>sample string 1</ChangeHistory><FoodTypeDeleted>true</FoodTypeDeleted></R_AdminFoodType><R_AdminFoodType><FoodTypeDescription>sample string 5</FoodTypeDescription><FoodTypeName>sample string 4</FoodTypeName><FoodTypeID>3</FoodTypeID><ChangeHistory>sample string 1</ChangeHistory><FoodTypeDeleted>true</FoodTypeDeleted></R_AdminFoodType></ArrayOfR_AdminFoodType>