GET IsAllowedWithCountry/{affiliateId}/ipAddress?ipAddress={ipAddress}

Checks if IP 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

Required

v

The requested API version

string

Default value is 2.0

Body Parameters

None.

Response Information

Resource Description

Checks if IP 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
}