POST api/Food/GetSearchItemRestView

Request Information

URI Parameters

None.

Body Parameters

FoodsearchDto
NameDescriptionTypeAdditional information
UserGuid

globally unique identifier

None.

Item

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserGuid": "764229d8-f481-4c68-ae3d-c4caa1f83e6b",
  "Item": "sample string 2"
}

application/xml, text/xml

Sample:
<FoodsearchDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheanAPI.DTO">
  <Item>sample string 2</Item>
  <UserGuid>764229d8-f481-4c68-ae3d-c4caa1f83e6b</UserGuid>
</FoodsearchDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseDtoOfObject
NameDescriptionTypeAdditional information
Status_cd

boolean

None.

Data

Object

None.

status_Desc

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status_cd": true,
  "Data": {},
  "status_Desc": "sample string 3"
}

application/xml, text/xml

Sample:
<ResponseDtoOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheanAPI.DTO">
  <Data />
  <Status_cd>true</Status_cd>
  <status_Desc>sample string 3</status_Desc>
</ResponseDtoOfanyType>