POST api/itgadresse/preparenew

Request Information

URI Parameters

None.

Body Parameters

Collection of KeyValue
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

ItgAdresse
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

AnfrageId

integer

Required

AdresseId

integer

None.

AdressTypId

integer

Required

OrganisationId

integer

None.

PersonId

integer

None.

Primaer

boolean

Required

AdressZusatz

string

None.

Strasse

string

None.

Postleitzahl

string

None.

Ort

string

None.

LandId

integer

Required

AdresseLandId

integer

Required

TelefonDienst

string

None.

TelefonPrivat

string

None.

MobilDienst

string

None.

MobilPrivat

string

None.

TelefaxDienst

string

None.

TelefaxPrivat

string

None.

EmailDienst

string

None.

EmailPrivat

string

None.

Homepage

string

None.

Weitergabe

boolean

Required

Veroeffentl

boolean

Required

Werbung

boolean

Required

Zusatzfeld1

string

None.

Zusatzfeld2

string

None.

Duplikat

integer

Required

Position

string

None.

ItgOrganisationId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "285ffd21-a863-4050-8810-f7c2bec2395b",
  "AnfrageId": 3,
  "AdresseId": 1,
  "AdressTypId": 4,
  "OrganisationId": 1,
  "PersonId": 1,
  "Primaer": true,
  "AdressZusatz": "sample string 6",
  "Strasse": "sample string 7",
  "Postleitzahl": "sample string 8",
  "Ort": "sample string 9",
  "LandId": 10,
  "AdresseLandId": 11,
  "TelefonDienst": "sample string 12",
  "TelefonPrivat": "sample string 13",
  "MobilDienst": "sample string 14",
  "MobilPrivat": "sample string 15",
  "TelefaxDienst": "sample string 16",
  "TelefaxPrivat": "sample string 17",
  "EmailDienst": "sample string 18",
  "EmailPrivat": "sample string 19",
  "Homepage": "sample string 20",
  "Weitergabe": true,
  "Veroeffentl": true,
  "Werbung": true,
  "Zusatzfeld1": "sample string 24",
  "Zusatzfeld2": "sample string 25",
  "Duplikat": 26,
  "Position": "sample string 27",
  "ItgOrganisationId": 1
}

application/xml, text/xml

Sample:
<ItgAdresse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Itg.Models">
  <AdressTypId>4</AdressTypId>
  <AdressZusatz>sample string 6</AdressZusatz>
  <AdresseId>1</AdresseId>
  <AdresseLandId>11</AdresseLandId>
  <AnfrageId>3</AnfrageId>
  <Duplikat>26</Duplikat>
  <EmailDienst>sample string 18</EmailDienst>
  <EmailPrivat>sample string 19</EmailPrivat>
  <Homepage>sample string 20</Homepage>
  <Id>1</Id>
  <ItgOrganisationId>1</ItgOrganisationId>
  <LandId>10</LandId>
  <MobilDienst>sample string 14</MobilDienst>
  <MobilPrivat>sample string 15</MobilPrivat>
  <OrganisationId>1</OrganisationId>
  <Ort>sample string 9</Ort>
  <PersonId>1</PersonId>
  <Position>sample string 27</Position>
  <Postleitzahl>sample string 8</Postleitzahl>
  <Primaer>true</Primaer>
  <RowGuid>285ffd21-a863-4050-8810-f7c2bec2395b</RowGuid>
  <Strasse>sample string 7</Strasse>
  <TelefaxDienst>sample string 16</TelefaxDienst>
  <TelefaxPrivat>sample string 17</TelefaxPrivat>
  <TelefonDienst>sample string 12</TelefonDienst>
  <TelefonPrivat>sample string 13</TelefonPrivat>
  <Veroeffentl>true</Veroeffentl>
  <Weitergabe>true</Weitergabe>
  <Werbung>true</Werbung>
  <Zusatzfeld1>sample string 24</Zusatzfeld1>
  <Zusatzfeld2>sample string 25</Zusatzfeld2>
</ItgAdresse>