GET api/Food/ReadFoodEthnicityNames

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of R_FoodEthnicityName
NameDescriptionTypeAdditional information
FoodEthnicityNameID

integer

Required

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

FoodEthnicityName

string

Required

FoodEthnicityNameDescription

string

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "foodEthnicityNameID": 1,
    "foodEthnicityName": "sample string 2",
    "foodEthnicityNameDescription": "sample string 3"
  },
  {
    "foodEthnicityNameID": 1,
    "foodEthnicityName": "sample string 2",
    "foodEthnicityNameDescription": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfR_FoodEthnicityName xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures">
  <R_FoodEthnicityName>
    <FoodEthnicityName>sample string 2</FoodEthnicityName>
    <FoodEthnicityNameDescription>sample string 3</FoodEthnicityNameDescription>
    <FoodEthnicityNameID>1</FoodEthnicityNameID>
  </R_FoodEthnicityName>
  <R_FoodEthnicityName>
    <FoodEthnicityName>sample string 2</FoodEthnicityName>
    <FoodEthnicityNameDescription>sample string 3</FoodEthnicityNameDescription>
    <FoodEthnicityNameID>1</FoodEthnicityNameID>
  </R_FoodEthnicityName>
</ArrayOfR_FoodEthnicityName>

multipart/form-data

Sample:
<ArrayOfR_FoodEthnicityName xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures"><R_FoodEthnicityName><FoodEthnicityName>sample string 2</FoodEthnicityName><FoodEthnicityNameDescription>sample string 3</FoodEthnicityNameDescription><FoodEthnicityNameID>1</FoodEthnicityNameID></R_FoodEthnicityName><R_FoodEthnicityName><FoodEthnicityName>sample string 2</FoodEthnicityName><FoodEthnicityNameDescription>sample string 3</FoodEthnicityNameDescription><FoodEthnicityNameID>1</FoodEthnicityNameID></R_FoodEthnicityName></ArrayOfR_FoodEthnicityName>