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:
Sample not available.
Response Information
Resource Description
AppValues| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| ValueKey | string |
None. |
|
| Type | integer |
Required |
|
| Visibility | integer |
Required |
|
| 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": "d8de740a-22cf-419b-8593-e84a5f66a246",
"ValueKey": "sample string 3",
"Type": 4,
"Visibility": 5,
"ValueInt": 1,
"ValueDecimal": 1.0,
"ValueNVarchar": "sample string 6",
"ValueDatetime": "2026-04-25T14:44:34.6545331+02:00",
"ValueBit": true,
"Description": "sample string 7"
}
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 7</Description> <Id>1</Id> <RowGuid>d8de740a-22cf-419b-8593-e84a5f66a246</RowGuid> <Type>4</Type> <ValueBit>true</ValueBit> <ValueDatetime>2026-04-25T14:44:34.6545331+02:00</ValueDatetime> <ValueDecimal>1</ValueDecimal> <ValueInt>1</ValueInt> <ValueKey>sample string 3</ValueKey> <ValueNVarchar>sample string 6</ValueNVarchar> <Visibility>5</Visibility> </AppValues>