GET api/Company

Get basic company information.

Request Information

URI Parameters

None.

Body Parameters

None.

Remarks

None.

Example

None.

Response Information

Resource Description

CompanyResponse
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

Max length: 80

OrgNo

string

Max length: 20

Address1

string

Max length: 100

Address2

string

Max length: 100

Address3

string

Max length: 100

PostalCode

string

Max length: 10

Town

string

Max length: 50

BoardHome

string

Max length: 50

CountryId

string

Max length: 2

Phone1

string

Max length: 50

Phone2

string

Max length: 50

Fax

string

Max length: 50

WebSite

string

Max length: 100

Email

string

Max length: 50

VatNo

string

Max length: 30

HasCorporationTax

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "6f87f34c-f7d9-4977-8c19-b8dd019a88f6",
  "Name": "sample string 2",
  "OrgNo": "sample string 3",
  "Address1": "sample string 4",
  "Address2": "sample string 5",
  "Address3": "sample string 6",
  "PostalCode": "sample string 7",
  "Town": "sample string 8",
  "BoardHome": "sample string 9",
  "CountryId": "sample string 10",
  "Phone1": "sample string 11",
  "Phone2": "sample string 12",
  "Fax": "sample string 13",
  "WebSite": "sample string 14",
  "Email": "sample string 15",
  "VatNo": "sample string 16",
  "HasCorporationTax": true
}

application/xml, text/xml

Sample:
<CompanyResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Business">
  <Address1>sample string 4</Address1>
  <Address2>sample string 5</Address2>
  <Address3>sample string 6</Address3>
  <BoardHome>sample string 9</BoardHome>
  <CountryId>sample string 10</CountryId>
  <Email>sample string 15</Email>
  <Fax>sample string 13</Fax>
  <HasCorporationTax>true</HasCorporationTax>
  <Id>6f87f34c-f7d9-4977-8c19-b8dd019a88f6</Id>
  <Name>sample string 2</Name>
  <OrgNo>sample string 3</OrgNo>
  <Phone1>sample string 11</Phone1>
  <Phone2>sample string 12</Phone2>
  <PostalCode>sample string 7</PostalCode>
  <Town>sample string 8</Town>
  <VatNo>sample string 16</VatNo>
  <WebSite>sample string 14</WebSite>
</CompanyResponse>