PUT api/NotAllowedCountryForCompanies/Edit?companyCode={companyCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyCode | string |
Required |
Body Parameters
Collection of ChangeAllowedCountryForCompanyBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IsAllowed | boolean |
Required |
|
| CountryId | string |
Required |
|
| CompanyCode | string |
Required |
Request Formats
application/json, text/json
Sample:
[
{
"IsAllowed": true,
"CountryId": "sample string 2",
"CompanyCode": "sample string 3"
},
{
"IsAllowed": true,
"CountryId": "sample string 2",
"CompanyCode": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfChangeAllowedCountryForCompanyBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
<ChangeAllowedCountryForCompanyBindingModel>
<CompanyCode>sample string 3</CompanyCode>
<CountryId>sample string 2</CountryId>
<IsAllowed>true</IsAllowed>
</ChangeAllowedCountryForCompanyBindingModel>
<ChangeAllowedCountryForCompanyBindingModel>
<CompanyCode>sample string 3</CompanyCode>
<CountryId>sample string 2</CountryId>
<IsAllowed>true</IsAllowed>
</ChangeAllowedCountryForCompanyBindingModel>
</ArrayOfChangeAllowedCountryForCompanyBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.