PUT api/Companies/UpdateCompany?companyCode={companyCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyCode | string |
Required |
Body Parameters
CompanyUpdateBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
String length: inclusive between 0 and 125 |
|
| Address | string |
Data type: Text |
|
| Telephone | string |
None. |
|
| string |
None. |
||
| FaxNbr | string |
None. |
|
| IATANbr | string |
None. |
|
| TradeLicenseNbr | string |
None. |
|
| AssociationNbr | string |
None. |
|
| EmployeeRangeId | integer |
None. |
|
| BranchRangeId | integer |
None. |
|
| RevenueRangeId | integer |
None. |
|
| CountryId | string |
None. |
|
| CompanyLogo | SimpleCompanyLogoUpload |
None. |
|
| IsAllowedOwnCountryTour | boolean |
None. |
|
| ImageName | string |
None. |
|
| ImageContent | string |
None. |
|
| PaymentSchemeId | integer |
None. |
|
| AccountManagerId | string |
None. |
|
| CurrencyId | string |
String length: inclusive between 0 and 5 |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Address": "sample string 2",
"Telephone": "sample string 3",
"Email": "sample string 4",
"FaxNbr": "sample string 5",
"IATANbr": "sample string 6",
"TradeLicenseNbr": "sample string 7",
"AssociationNbr": "sample string 8",
"EmployeeRangeId": 1,
"BranchRangeId": 1,
"RevenueRangeId": 1,
"CountryId": "sample string 9",
"CompanyLogo": {
"ImageContent": "sample string 1",
"ImageName": "sample string 2"
},
"IsAllowedOwnCountryTour": true,
"ImageName": "sample string 11",
"ImageContent": "sample string 12",
"PaymentSchemeId": 1,
"AccountManagerId": "sample string 13",
"CurrencyId": "sample string 14"
}
application/xml, text/xml
Sample:
<CompanyUpdateBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
<AccountManagerId>sample string 13</AccountManagerId>
<Address>sample string 2</Address>
<AssociationNbr>sample string 8</AssociationNbr>
<BranchRangeId>1</BranchRangeId>
<CompanyLogo>
<ImageContent>sample string 1</ImageContent>
<ImageName>sample string 2</ImageName>
</CompanyLogo>
<CountryId>sample string 9</CountryId>
<CurrencyId>sample string 14</CurrencyId>
<Email>sample string 4</Email>
<EmployeeRangeId>1</EmployeeRangeId>
<FaxNbr>sample string 5</FaxNbr>
<IATANbr>sample string 6</IATANbr>
<ImageContent>sample string 12</ImageContent>
<ImageName>sample string 11</ImageName>
<IsAllowedOwnCountryTour>true</IsAllowedOwnCountryTour>
<Name>sample string 1</Name>
<PaymentSchemeId>1</PaymentSchemeId>
<RevenueRangeId>1</RevenueRangeId>
<Telephone>sample string 3</Telephone>
<TradeLicenseNbr>sample string 7</TradeLicenseNbr>
</CompanyUpdateBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.