GET api/Companies/CompanyProfile/ByCode/ManageBySales?code={code}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
Required |
Body Parameters
None.
Response Information
Resource Description
CompanyProfileAdminViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| 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. |
|
| Level | integer |
None. |
|
| AccountManagerName | string |
None. |
|
| AccountManagerId | string |
None. |
|
| AccommodationProfile | IdTextModel |
None. |
|
| CreditLimit | decimal number |
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:
{
"Address": "sample string 1",
"Telephone": "sample string 2",
"Email": "sample string 3",
"FaxNbr": "sample string 4",
"Balance": 5.0,
"Country": {
"Id": "sample string 1",
"Name": "sample string 2",
"ImageUrl": "sample string 3"
},
"CompanyBusiness": "sample string 6",
"TradelicenseNbr": "sample string 7",
"IATANbr": "sample string 8",
"AssociationNumber": "sample string 9",
"EmployeeRange": {
"Id": 1,
"Value": "sample string 2"
},
"BranchRange": {
"Id": 1,
"Value": "sample string 2"
},
"RevenueRange": {
"Id": 1,
"Value": "sample string 2"
},
"CountryId": "sample string 10",
"Currency": "sample string 11",
"IsAllowedOwnCountryTour": true,
"ImageName": "sample string 13",
"ImageUrl": "sample string 14",
"TinyImageUrl": "sample string 15",
"IsApproved": true,
"CreatedDate": "2025-12-13T23:26:58.2415811+00:00",
"ApprovedDate": "2025-12-13T23:26:58.2415811+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"
},
"Level": 17,
"AccountManagerName": "sample string 18",
"AccountManagerId": "sample string 19",
"AccommodationProfile": {
"Id": 1,
"Text": "sample string 2"
},
"CreditLimit": 20.0,
"Code": "sample string 21",
"Name": "sample string 22"
}
application/xml, text/xml
Sample:
<CompanyProfileAdminViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
<Code>sample string 21</Code>
<Name>sample string 22</Name>
<AccommodationProfile>
<Id>1</Id>
<Text>sample string 2</Text>
</AccommodationProfile>
<AccountManagerId>sample string 19</AccountManagerId>
<AccountManagerName>sample string 18</AccountManagerName>
<Address>sample string 1</Address>
<ApprovedDate>2025-12-13T23:26:58.2415811+00:00</ApprovedDate>
<AssociationNumber>sample string 9</AssociationNumber>
<Balance>5</Balance>
<BranchRange>
<Id>1</Id>
<Value>sample string 2</Value>
</BranchRange>
<CompanyBusiness>sample string 6</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 10</CountryId>
<CreatedDate>2025-12-13T23:26:58.2415811+00:00</CreatedDate>
<CreditLimit>20</CreditLimit>
<Currency>sample string 11</Currency>
<Email>sample string 3</Email>
<EmployeeRange>
<Id>1</Id>
<Value>sample string 2</Value>
</EmployeeRange>
<FaxNbr>sample string 4</FaxNbr>
<IATANbr>sample string 8</IATANbr>
<ImageName>sample string 13</ImageName>
<ImageUrl>sample string 14</ImageUrl>
<IsAllowedOwnCountryTour>true</IsAllowedOwnCountryTour>
<IsApproved>true</IsApproved>
<Level>17</Level>
<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 2</Telephone>
<TinyImageUrl>sample string 15</TinyImageUrl>
<TradelicenseNbr>sample string 7</TradelicenseNbr>
</CompanyProfileAdminViewModel>