GET api/Food/GetFoodEthnicityNamesForAdmin

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of R_AdminFoodEthnicityName
NameDescriptionTypeAdditional information
FoodEthnicityDeleted

boolean

None.

FoodEthnicityChangeHistory

string

None.

FoodEthnicityNameID

integer

Required

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

FoodEthnicityName

string

Required

FoodEthnicityNameDescription

string

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "foodEthnicityDeleted": true,
    "foodEthnicityChangeHistory": "sample string 2",
    "foodEthnicityNameID": 3,
    "foodEthnicityName": "sample string 4",
    "foodEthnicityNameDescription": "sample string 5"
  },
  {
    "foodEthnicityDeleted": true,
    "foodEthnicityChangeHistory": "sample string 2",
    "foodEthnicityNameID": 3,
    "foodEthnicityName": "sample string 4",
    "foodEthnicityNameDescription": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfR_AdminFoodEthnicityName xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures">
  <R_AdminFoodEthnicityName>
    <FoodEthnicityName>sample string 4</FoodEthnicityName>
    <FoodEthnicityNameDescription>sample string 5</FoodEthnicityNameDescription>
    <FoodEthnicityNameID>3</FoodEthnicityNameID>
    <FoodEthnicityChangeHistory>sample string 2</FoodEthnicityChangeHistory>
    <FoodEthnicityDeleted>true</FoodEthnicityDeleted>
  </R_AdminFoodEthnicityName>
  <R_AdminFoodEthnicityName>
    <FoodEthnicityName>sample string 4</FoodEthnicityName>
    <FoodEthnicityNameDescription>sample string 5</FoodEthnicityNameDescription>
    <FoodEthnicityNameID>3</FoodEthnicityNameID>
    <FoodEthnicityChangeHistory>sample string 2</FoodEthnicityChangeHistory>
    <FoodEthnicityDeleted>true</FoodEthnicityDeleted>
  </R_AdminFoodEthnicityName>
</ArrayOfR_AdminFoodEthnicityName>

multipart/form-data

Sample:
<ArrayOfR_AdminFoodEthnicityName xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures"><R_AdminFoodEthnicityName><FoodEthnicityName>sample string 4</FoodEthnicityName><FoodEthnicityNameDescription>sample string 5</FoodEthnicityNameDescription><FoodEthnicityNameID>3</FoodEthnicityNameID><FoodEthnicityChangeHistory>sample string 2</FoodEthnicityChangeHistory><FoodEthnicityDeleted>true</FoodEthnicityDeleted></R_AdminFoodEthnicityName><R_AdminFoodEthnicityName><FoodEthnicityName>sample string 4</FoodEthnicityName><FoodEthnicityNameDescription>sample string 5</FoodEthnicityNameDescription><FoodEthnicityNameID>3</FoodEthnicityNameID><FoodEthnicityChangeHistory>sample string 2</FoodEthnicityChangeHistory><FoodEthnicityDeleted>true</FoodEthnicityDeleted></R_AdminFoodEthnicityName></ArrayOfR_AdminFoodEthnicityName>