POST api/FoodSystemsTranslation/SaveUserFoodSystem

Request Information

URI Parameters

None.

Body Parameters

UserFoodSystemByIdDTO
NameDescriptionTypeAdditional information
accountId

integer

None.

foodSystemId

integer

None.

calories

integer

None.

language

string

None.

Request Formats

application/json, text/json

Sample:
{
  "accountId": 1,
  "foodSystemId": 1,
  "calories": 2,
  "language": "sample string 1"
}

text/plain, application/octet-stream

Sample:
{"accountId":1,"foodSystemId":1,"calories":2,"language":"sample string 1"}

application/xml, text/xml

Sample:
<UserFoodSystemByIdDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.Modules.FoodSystems.DTO">
  <accountId>1</accountId>
  <calories>2</calories>
  <foodSystemId>1</foodSystemId>
  <language>sample string 1</language>
</UserFoodSystemByIdDTO>

multipart/form-data, application/form-data

Sample:
<UserFoodSystemByIdDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.Modules.FoodSystems.DTO"><accountId>1</accountId><calories>2</calories><foodSystemId>1</foodSystemId><language>sample string 1</language></UserFoodSystemByIdDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/plain, application/octet-stream, application/xml, text/xml, multipart/form-data, application/form-data

Sample:

Sample not available.