PUT api/Companies/Admin/UpdateCompany?companyCode={companyCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyCode

string

Required

Body Parameters

CompanyUpdateAdminBindingModel
NameDescriptionTypeAdditional information
Name

string

String length: inclusive between 0 and 125

Address

string

Data type: Text

Telephone

string

None.

Email

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.

Level

integer

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",
  "Level": 10,
  "CompanyLogo": {
    "ImageContent": "sample string 1",
    "ImageName": "sample string 2"
  },
  "IsAllowedOwnCountryTour": true,
  "ImageName": "sample string 12",
  "ImageContent": "sample string 13",
  "PaymentSchemeId": 1,
  "AccountManagerId": "sample string 14",
  "CurrencyId": "sample string 15"
}

application/xml, text/xml

Sample:
<CompanyUpdateAdminBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
  <AccountManagerId>sample string 14</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 15</CurrencyId>
  <Email>sample string 4</Email>
  <EmployeeRangeId>1</EmployeeRangeId>
  <FaxNbr>sample string 5</FaxNbr>
  <IATANbr>sample string 6</IATANbr>
  <ImageContent>sample string 13</ImageContent>
  <ImageName>sample string 12</ImageName>
  <IsAllowedOwnCountryTour>true</IsAllowedOwnCountryTour>
  <Level>10</Level>
  <Name>sample string 1</Name>
  <PaymentSchemeId>1</PaymentSchemeId>
  <RevenueRangeId>1</RevenueRangeId>
  <Telephone>sample string 3</Telephone>
  <TradeLicenseNbr>sample string 7</TradeLicenseNbr>
</CompanyUpdateAdminBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.