GET api/Companies/CompanyProfile
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
CompanyProfileViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Address | string |
Data type: Text |
|
Telephone | string |
None. |
|
string |
None. |
||
FaxNbr | string |
None. |
|
Balance | decimal number |
None. |
|
Country | PlaceAddress |
None. |
|
CompanyBusiness | string |
None. |
|
TradelicenseNbr | string |
String length: inclusive between 0 and 50 |
|
IATANbr | string |
String length: inclusive between 0 and 100 |
|
AssociationNumber | string |
String length: inclusive between 0 and 100 |
|
EmployeeRange | CompanyDataEnum |
None. |
|
BranchRange | CompanyDataEnum |
None. |
|
RevenueRange | CompanyDataEnum |
None. |
|
CountryId | string |
None. |
|
Currency | string |
None. |
|
IsAllowedOwnCountryTour | boolean |
None. |
|
ImageName | string |
None. |
|
ImageUrl | string |
None. |
|
TinyImageUrl | string |
None. |
|
IsApproved | boolean |
None. |
|
CreatedDate | date |
None. |
|
ApprovedDate | date |
None. |
|
CompanyLogo | SimpleImage |
None. |
|
PaymentSchemeType | IdLongTextModel |
None. |
|
AccountManagerName | string |
None. |
|
Code | string |
Required String length: inclusive between 0 and 5 |
|
Name | string |
String length: inclusive between 0 and 125 |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "Address": "sample string 2", "Telephone": "sample string 3", "Email": "sample string 4", "FaxNbr": "sample string 5", "Balance": 6.0, "Country": { "Id": "sample string 1", "Name": "sample string 2", "ImageUrl": "sample string 3" }, "CompanyBusiness": "sample string 7", "TradelicenseNbr": "sample string 8", "IATANbr": "sample string 9", "AssociationNumber": "sample string 10", "EmployeeRange": { "Id": 1, "Value": "sample string 2" }, "BranchRange": { "Id": 1, "Value": "sample string 2" }, "RevenueRange": { "Id": 1, "Value": "sample string 2" }, "CountryId": "sample string 11", "Currency": "sample string 12", "IsAllowedOwnCountryTour": true, "ImageName": "sample string 14", "ImageUrl": "sample string 15", "TinyImageUrl": "sample string 16", "IsApproved": true, "CreatedDate": "2025-06-26T13:59:56.7455991+00:00", "ApprovedDate": "2025-06-26T13:59:56.7455991+00:00", "CompanyLogo": { "ImageId": 1, "ImageUrl": "sample string 2", "TinyImageUrl": "sample string 3", "ImageName": "sample string 4", "IsPrimaryImage": true }, "PaymentSchemeType": { "LongText": "sample string 1", "Id": 2, "Text": "sample string 3" }, "AccountManagerName": "sample string 18", "Code": "sample string 19", "Name": "sample string 20" }
application/xml, text/xml
Sample:
<CompanyProfileViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <Code>sample string 19</Code> <Name>sample string 20</Name> <AccountManagerName>sample string 18</AccountManagerName> <Address>sample string 2</Address> <ApprovedDate>2025-06-26T13:59:56.7455991+00:00</ApprovedDate> <AssociationNumber>sample string 10</AssociationNumber> <Balance>6</Balance> <BranchRange> <Id>1</Id> <Value>sample string 2</Value> </BranchRange> <CompanyBusiness>sample string 7</CompanyBusiness> <CompanyLogo> <ImageId>1</ImageId> <ImageName>sample string 4</ImageName> <ImageUrl>sample string 2</ImageUrl> <IsPrimaryImage>true</IsPrimaryImage> <TinyImageUrl>sample string 3</TinyImageUrl> </CompanyLogo> <Country> <Id>sample string 1</Id> <ImageUrl>sample string 3</ImageUrl> <Name>sample string 2</Name> </Country> <CountryId>sample string 11</CountryId> <CreatedDate>2025-06-26T13:59:56.7455991+00:00</CreatedDate> <Currency>sample string 12</Currency> <Email>sample string 4</Email> <EmployeeRange> <Id>1</Id> <Value>sample string 2</Value> </EmployeeRange> <FaxNbr>sample string 5</FaxNbr> <IATANbr>sample string 9</IATANbr> <Id>1</Id> <ImageName>sample string 14</ImageName> <ImageUrl>sample string 15</ImageUrl> <IsAllowedOwnCountryTour>true</IsAllowedOwnCountryTour> <IsApproved>true</IsApproved> <PaymentSchemeType> <Id>2</Id> <Text>sample string 3</Text> <LongText>sample string 1</LongText> </PaymentSchemeType> <RevenueRange> <Id>1</Id> <Value>sample string 2</Value> </RevenueRange> <Telephone>sample string 3</Telephone> <TinyImageUrl>sample string 16</TinyImageUrl> <TradelicenseNbr>sample string 8</TradelicenseNbr> </CompanyProfileViewModel>