POST api/appvalues/preparenew
Request Information
URI Parameters
None.
Body Parameters
Collection of KeyValue| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| Value | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Value": "sample string 2"
},
{
"Id": 1,
"Value": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfKeyValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
<KeyValue>
<Id>1</Id>
<Value>sample string 2</Value>
</KeyValue>
<KeyValue>
<Id>1</Id>
<Value>sample string 2</Value>
</KeyValue>
</ArrayOfKeyValue>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
AppValues| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| ValueKey | string |
None. |
|
| ValueInt | integer |
None. |
|
| ValueDecimal | decimal number |
None. |
|
| ValueNVarchar | string |
None. |
|
| ValueDatetime | date |
None. |
|
| ValueBit | boolean |
None. |
|
| Description | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"RowGuid": "068f8715-837e-4770-bfd7-a536abf9862e",
"ValueKey": "sample string 3",
"ValueInt": 1,
"ValueDecimal": 1.0,
"ValueNVarchar": "sample string 4",
"ValueDatetime": "2025-10-25T20:52:44.358063+02:00",
"ValueBit": true,
"Description": "sample string 5"
}
application/xml, text/xml
Sample:
<AppValues xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models"> <Description>sample string 5</Description> <Id>1</Id> <RowGuid>068f8715-837e-4770-bfd7-a536abf9862e</RowGuid> <ValueBit>true</ValueBit> <ValueDatetime>2025-10-25T20:52:44.358063+02:00</ValueDatetime> <ValueDecimal>1</ValueDecimal> <ValueInt>1</ValueInt> <ValueKey>sample string 3</ValueKey> <ValueNVarchar>sample string 4</ValueNVarchar> </AppValues>