GET IsAllowedWithCountryUsingIPOrCountryCode/{affiliateId}/ipAddress/countryCode?ipAddress={ipAddress}&countryCode={countryCode}

Checks if IP or country code should be blocked and returns additional details

Request Information

URI Parameters

NameDescriptionTypeAdditional information
affiliateId

Affiliate id

integer

Required

ipAddress

IP address in question. It has to be IPv4.

string

Default value is

countryCode

The country code.

string

Default value is

v

The requested API version

string

Default value is 2.0

Body Parameters

None.

Response Information

Resource Description

Checks if IP or country code should be blocked and returns additional details

FilmFlex.Platform.Common.API.Contracts.V2.GeoIpIsAllowedDTO
NameDescriptionTypeAdditional information
Country

Country name

string

None.

CountryIsoCode

Country Iso-Code

string

None.

IsAllowed

Is given IP allowed

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Country": "sample string 1",
  "CountryIsoCode": "sample string 2",
  "IsAllowed": true
}