GET api/Company/{id}
Retrieve one company from table company firma.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The company id of the company e.g. 1 |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Company| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId | integer |
None. |
|
| Name1 | string |
None. |
|
| Name2 | string |
None. |
|
| Street | string |
None. |
|
| City | string |
None. |
|
| Postcode | string |
None. |
|
| Countrycode | string |
None. |
|
| Phone | string |
None. |
|
| Fax | string |
None. |
|
| Mobil | string |
None. |
|
| string |
None. |
||
| Homepage | string |
None. |
|
| ErstellDat | date |
None. |
|
| ErstellUs | string |
None. |
|
| AendDat | date |
None. |
|
| AendUs | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"CompanyId": 1,
"Name1": "sample string 2",
"Name2": "sample string 3",
"Street": "sample string 4",
"City": "sample string 5",
"Postcode": "sample string 6",
"Countrycode": "sample string 7",
"Phone": "sample string 8",
"Fax": "sample string 9",
"Mobil": "sample string 10",
"Email": "sample string 11",
"Homepage": "sample string 12",
"ErstellDat": "2026-04-07T13:29:21.5168582+02:00",
"ErstellUs": "sample string 13",
"AendDat": "2026-04-07T13:29:21.5168582+02:00",
"AendUs": "sample string 14"
}
application/xml, text/xml
Sample:
<Company xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BestaendeWeb.Models"> <AendDat>2026-04-07T13:29:21.5168582+02:00</AendDat> <AendUs>sample string 14</AendUs> <City>sample string 5</City> <CompanyId>1</CompanyId> <Countrycode>sample string 7</Countrycode> <Email>sample string 11</Email> <ErstellDat>2026-04-07T13:29:21.5168582+02:00</ErstellDat> <ErstellUs>sample string 13</ErstellUs> <Fax>sample string 9</Fax> <Homepage>sample string 12</Homepage> <Mobil>sample string 10</Mobil> <Name1>sample string 2</Name1> <Name2>sample string 3</Name2> <Phone>sample string 8</Phone> <Postcode>sample string 6</Postcode> <Street>sample string 4</Street> </Company>