POST api/organizations/ggn/rental



Request Information

URI Parameters

None.



Body Parameters

RentalViewModel
NameDescriptionTypeAdditional information
projectId

string

None.

caseNumber

string

None.

licensePlate

string

None.

initials

string

None.

insertion

string

None.

lastName

string

None.

street

string

None.

houseNumber

integer

None.

houseNumberAddition

string

None.

postalCode

string

None.

city

string

None.

country

string

None.

Request Formats

application/json, text/json

Sample:
{
  "projectId": "sample string 1",
  "caseNumber": "sample string 2",
  "licensePlate": "sample string 3",
  "initials": "sample string 4",
  "insertion": "sample string 5",
  "lastName": "sample string 6",
  "street": "sample string 7",
  "houseNumber": 8,
  "houseNumberAddition": "sample string 9",
  "postalCode": "sample string 10",
  "city": "sample string 11",
  "country": "sample string 12"
}

application/xml, text/xml

Sample:
<RentalViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.API.P1.Models">
  <caseNumber>sample string 2</caseNumber>
  <city>sample string 11</city>
  <country>sample string 12</country>
  <houseNumber>8</houseNumber>
  <houseNumberAddition>sample string 9</houseNumberAddition>
  <initials>sample string 4</initials>
  <insertion>sample string 5</insertion>
  <lastName>sample string 6</lastName>
  <licensePlate>sample string 3</licensePlate>
  <postalCode>sample string 10</postalCode>
  <projectId>sample string 1</projectId>
  <street>sample string 7</street>
</RentalViewModel>

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 'RentalViewModel'.



Response Information

Resource Description

IHttpActionResult

None.