POST api/Item/AddItemsNutritionValues
Request Information
URI Parameters
None.
Body Parameters
ItemsNutritionValues| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemNutritionValues | Collection of ItemNutritionValues |
None. |
Request Formats
application/xml, text/xml
Sample:
<ItemsNutritionValues xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ItemNutritionValues>
<ItemID>sample string 1</ItemID>
<NutritionValues>
<NutritionValue>
<PropertyID>sample string 1</PropertyID>
<PropertyName>sample string 2</PropertyName>
<PropertyValue>1</PropertyValue>
<PropertyUOM>sample string 3</PropertyUOM>
<IsActive>sample string 4</IsActive>
<InsUpdDate>2025-12-18T22:30:39.1059543+01:00</InsUpdDate>
</NutritionValue>
<NutritionValue>
<PropertyID>sample string 1</PropertyID>
<PropertyName>sample string 2</PropertyName>
<PropertyValue>1</PropertyValue>
<PropertyUOM>sample string 3</PropertyUOM>
<IsActive>sample string 4</IsActive>
<InsUpdDate>2025-12-18T22:30:39.1059543+01:00</InsUpdDate>
</NutritionValue>
</NutritionValues>
</ItemNutritionValues>
<ItemNutritionValues>
<ItemID>sample string 1</ItemID>
<NutritionValues>
<NutritionValue>
<PropertyID>sample string 1</PropertyID>
<PropertyName>sample string 2</PropertyName>
<PropertyValue>1</PropertyValue>
<PropertyUOM>sample string 3</PropertyUOM>
<IsActive>sample string 4</IsActive>
<InsUpdDate>2025-12-18T22:30:39.1059543+01:00</InsUpdDate>
</NutritionValue>
<NutritionValue>
<PropertyID>sample string 1</PropertyID>
<PropertyName>sample string 2</PropertyName>
<PropertyValue>1</PropertyValue>
<PropertyUOM>sample string 3</PropertyUOM>
<IsActive>sample string 4</IsActive>
<InsUpdDate>2025-12-18T22:30:39.1059543+01:00</InsUpdDate>
</NutritionValue>
</NutritionValues>
</ItemNutritionValues>
</ItemsNutritionValues>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CreateResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Keys | Collection of EntityKeyField |
None. |
|
| ResultCode | ExternalResultCode |
None. |
|
| Errors | Collection of Error |
None. |
Response Formats
application/xml, text/xml
Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Keys>
<Key>
<Name>sample string 1</Name>
<Value>sample string 2</Value>
</Key>
<Key>
<Name>sample string 1</Name>
<Value>sample string 2</Value>
</Key>
</Keys>
<ResultCode>None</ResultCode>
<Errors>
<Error>
<Level>Warning</Level>
<Message>sample string 1</Message>
</Error>
<Error>
<Level>Warning</Level>
<Message>sample string 1</Message>
</Error>
</Errors>
</CreateResult>