POST api/sazartikel/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
SazArtikel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| Nummer | integer |
Required |
|
| Bezeichnung | string |
None. |
|
| Mandant | integer |
Required |
|
| Artikel | string |
None. |
|
| Artikeltyp | integer |
Required |
|
| Sichtbar | boolean |
Required |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"RowGuid": "02f0c0b6-1c59-4871-9ee6-ff397c47386d",
"Nummer": 3,
"Bezeichnung": "sample string 4",
"Mandant": 5,
"Artikel": "sample string 6",
"Artikeltyp": 7,
"Sichtbar": true
}
application/xml, text/xml
Sample:
<SazArtikel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Saz.Models"> <Artikel>sample string 6</Artikel> <Artikeltyp>7</Artikeltyp> <Bezeichnung>sample string 4</Bezeichnung> <Id>1</Id> <Mandant>5</Mandant> <Nummer>3</Nummer> <RowGuid>02f0c0b6-1c59-4871-9ee6-ff397c47386d</RowGuid> <Sichtbar>true</Sichtbar> </SazArtikel>