POST api/Monter

Request Information

URI Parameters

None.

Body Parameters

Collection of SentBerater
NameDescriptionTypeAdditional information
Name

string

None.

Vorname

string

None.

Kunden_Nr

string

None.

Tel_1

string

None.

IdFirma

integer

None.

guid

globally unique identifier

None.

Kd_ID

integer

None.

Deleted

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "Vorname": "sample string 2",
    "Kunden_Nr": "sample string 3",
    "Tel_1": "sample string 4",
    "IdFirma": 5,
    "guid": "22dfe237-5f39-4b80-8fc2-73502bb9484b",
    "Kd_ID": 1,
    "Deleted": true
  },
  {
    "Name": "sample string 1",
    "Vorname": "sample string 2",
    "Kunden_Nr": "sample string 3",
    "Tel_1": "sample string 4",
    "IdFirma": 5,
    "guid": "22dfe237-5f39-4b80-8fc2-73502bb9484b",
    "Kd_ID": 1,
    "Deleted": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfSentBerater xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/lieferanten_DB.Controllers">
  <SentBerater>
    <Deleted>true</Deleted>
    <IdFirma>5</IdFirma>
    <Kd_ID>1</Kd_ID>
    <Kunden_Nr>sample string 3</Kunden_Nr>
    <Name>sample string 1</Name>
    <Tel_1>sample string 4</Tel_1>
    <Vorname>sample string 2</Vorname>
    <guid>22dfe237-5f39-4b80-8fc2-73502bb9484b</guid>
  </SentBerater>
  <SentBerater>
    <Deleted>true</Deleted>
    <IdFirma>5</IdFirma>
    <Kd_ID>1</Kd_ID>
    <Kunden_Nr>sample string 3</Kunden_Nr>
    <Name>sample string 1</Name>
    <Tel_1>sample string 4</Tel_1>
    <Vorname>sample string 2</Vorname>
    <guid>22dfe237-5f39-4b80-8fc2-73502bb9484b</guid>
  </SentBerater>
</ArrayOfSentBerater>

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

InsertReturnData
NameDescriptionTypeAdditional information
Error

boolean

None.

ErrorText

string

None.

Success

boolean

None.

BeraterList

Collection of SentBerater

None.

Response Formats

application/json, text/json

Sample:
{
  "Error": true,
  "ErrorText": "sample string 2",
  "Success": true,
  "BeraterList": [
    {
      "Name": "sample string 1",
      "Vorname": "sample string 2",
      "Kunden_Nr": "sample string 3",
      "Tel_1": "sample string 4",
      "IdFirma": 5,
      "guid": "b5abad7c-35fc-4491-8f9d-8d70540bbc13",
      "Kd_ID": 1,
      "Deleted": true
    },
    {
      "Name": "sample string 1",
      "Vorname": "sample string 2",
      "Kunden_Nr": "sample string 3",
      "Tel_1": "sample string 4",
      "IdFirma": 5,
      "guid": "b5abad7c-35fc-4491-8f9d-8d70540bbc13",
      "Kd_ID": 1,
      "Deleted": true
    }
  ]
}

application/xml, text/xml

Sample:
<InsertReturnData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/lieferanten_DB.Controllers">
  <BeraterList>
    <SentBerater>
      <Deleted>true</Deleted>
      <IdFirma>5</IdFirma>
      <Kd_ID>1</Kd_ID>
      <Kunden_Nr>sample string 3</Kunden_Nr>
      <Name>sample string 1</Name>
      <Tel_1>sample string 4</Tel_1>
      <Vorname>sample string 2</Vorname>
      <guid>b5abad7c-35fc-4491-8f9d-8d70540bbc13</guid>
    </SentBerater>
    <SentBerater>
      <Deleted>true</Deleted>
      <IdFirma>5</IdFirma>
      <Kd_ID>1</Kd_ID>
      <Kunden_Nr>sample string 3</Kunden_Nr>
      <Name>sample string 1</Name>
      <Tel_1>sample string 4</Tel_1>
      <Vorname>sample string 2</Vorname>
      <guid>b5abad7c-35fc-4491-8f9d-8d70540bbc13</guid>
    </SentBerater>
  </BeraterList>
  <Error>true</Error>
  <ErrorText>sample string 2</ErrorText>
  <Success>true</Success>
</InsertReturnData>