POST api/dmsmimetype/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
DmsMimeType| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| Erweiterung | string |
None. |
|
| MimeType | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"RowGuid": "9a727372-2972-4a35-88df-2f595246a693",
"Erweiterung": "sample string 3",
"MimeType": "sample string 4"
}
application/xml, text/xml
Sample:
<DmsMimeType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Dms.Models"> <Erweiterung>sample string 3</Erweiterung> <Id>1</Id> <MimeType>sample string 4</MimeType> <RowGuid>9a727372-2972-4a35-88df-2f595246a693</RowGuid> </DmsMimeType>