GET api/NotAllowedCountryForCompanies/Get?companyCode={companyCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyCode

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of TourCountryForCompanyViewModel
NameDescriptionTypeAdditional information
Country

LocationAddress

Required

CompanyCode

string

Required

String length: inclusive between 0 and 10

IsAllowed

boolean

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "Country": {
      "ImageUrl": "sample string 1",
      "Id": "sample string 2",
      "Name": "sample string 3"
    },
    "CompanyCode": "sample string 1",
    "IsAllowed": true
  },
  {
    "Country": {
      "ImageUrl": "sample string 1",
      "Id": "sample string 2",
      "Name": "sample string 3"
    },
    "CompanyCode": "sample string 1",
    "IsAllowed": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfTourCountryForCompanyViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
  <TourCountryForCompanyViewModel>
    <CompanyCode>sample string 1</CompanyCode>
    <Country>
      <Id>sample string 2</Id>
      <Name>sample string 3</Name>
      <ImageUrl>sample string 1</ImageUrl>
    </Country>
    <IsAllowed>true</IsAllowed>
  </TourCountryForCompanyViewModel>
  <TourCountryForCompanyViewModel>
    <CompanyCode>sample string 1</CompanyCode>
    <Country>
      <Id>sample string 2</Id>
      <Name>sample string 3</Name>
      <ImageUrl>sample string 1</ImageUrl>
    </Country>
    <IsAllowed>true</IsAllowed>
  </TourCountryForCompanyViewModel>
</ArrayOfTourCountryForCompanyViewModel>