GET api/record/{countryCode}/{universalPublicationId}?languageCode={languageCode}&filterOnDNCM={filterOnDNCM}&internationalPhoneFormat={internationalPhoneFormat} Authentication required
Use this method to fetch a record's content based on its UniversalPublicationId
Request
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
countryCode |
Country's ISO code (2 chars) |
string |
Required |
universalPublicationId |
UniversalPublicationId of the record |
string |
Required |
languageCode |
[Optional] Language represented by its ISO 639-1 Code (2 chars long). Default it EN. Provide this if you wish to receive the Categories labels in another language |
string |
Default value is EN |
filterOnDNCM |
[Optional] Default if false. Set this to true only for BE records if you wish to apply DNCM flags |
boolean |
Default value is False |
internationalPhoneFormat |
[Optional] Default if false. Set this to true if you want phone number formatted as international phone number (Starting with +xxx prefix) |
boolean |
Default value is False |
Response
Returns the wanted record, if exists
Output : object (See Model)Ouput Sample
{
"uniqueID": "BE2000710967",
"universalPublicationId": "BE2000710967",
"isPublished": true,
"isBusiness": true,
"businessName": "S-BOCHT FRITUUR",
"address1": "Just. Lipsiusplein 17 ",
"postCode": "3090",
"city": "Overijse",
"cityCode": "23062",
"locality": "",
"localityCode": "",
"province": "Vlaams Brabant",
"provinceCode": "20001",
"region": "Vlaanderen",
"regionCode": "02000",
"country": "Belgium",
"countryCode": "BE",
"phoneOrMobile": "02 687 20 07",
"phone": "02 687 20 07",
"fax": "",
"mobile": "",
"email": "info@frituursbocht.be",
"website": "http://www.frituursbocht.be",
"geoLevel": 3,
"geoLevelDescription": "House",
"longitude": "4.5378400",
"latitude": "50.7727583",
"infobelCategories": [
{
"code": "017116",
"name": "Restaurants",
"type": "Infobel",
"parentCode": "017100",
"level": 3
}
],
"infobelCode01": "017116",
"infobelCode02": "",
"infobelCode03": "",
"infobelCode04": "",
"infobelCode05": "",
"infobelCode06": "",
"infobelCode07": "",
"infobelCode08": "",
"infobelCode09": "",
"infobelCode10": "",
"infobelLabel01": "Restaurants",
"language": "DUT",
"nationalID": "BE0847707942",
"marketingFlag": "1",
"nativeInfos": {
"lastName1": "S-BOCHT FRITUUR",
"cityName": "Overijse"
}
}
<Record xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<AdditionalInfos xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<Address1>Just. Lipsiusplein 17 </Address1>
<Address2 i:nil="true" />
<AddressBoxNumber i:nil="true" />
<AddressHouseNum i:nil="true" />
<AddressStreet i:nil="true" />
<BusinessName>S-BOCHT FRITUUR</BusinessName>
<City>Overijse</City>
<CityCode>23062</CityCode>
<CompanyName i:nil="true" />
<Country>Belgium</Country>
<CountryCode>BE</CountryCode>
<DNCMMobile i:nil="true" />
<DNCMPhone i:nil="true" />
<DirectoryName i:nil="true" />
<Email>info@frituursbocht.be</Email>
<Fax></Fax>
<GeoLevel>3</GeoLevel>
<GeoLevelDescription>House</GeoLevelDescription>
<InfobelCategories>
<Category>
<Code>017116</Code>
<CountryCode i:nil="true" />
<Level>3</Level>
<Name>Restaurants</Name>
<ParentCode>017100</ParentCode>
<Type>Infobel</Type>
</Category>
</InfobelCategories>
<InfobelCode01>017116</InfobelCode01>
<InfobelCode02></InfobelCode02>
<InfobelCode03></InfobelCode03>
<InfobelCode04></InfobelCode04>
<InfobelCode05></InfobelCode05>
<InfobelCode06></InfobelCode06>
<InfobelCode07></InfobelCode07>
<InfobelCode08></InfobelCode08>
<InfobelCode09></InfobelCode09>
<InfobelCode10></InfobelCode10>
<InfobelLabel01>Restaurants</InfobelLabel01>
<InfobelLabel02 i:nil="true" />
<InfobelLabel03 i:nil="true" />
<InfobelLabel04 i:nil="true" />
<InfobelLabel05 i:nil="true" />
<InfobelLabel06 i:nil="true" />
<InfobelLabel07 i:nil="true" />
<InfobelLabel08 i:nil="true" />
<InfobelLabel09 i:nil="true" />
<InfobelLabel10 i:nil="true" />
<IsBusiness>true</IsBusiness>
<IsPublished>true</IsPublished>
<IsResidential i:nil="true" />
<Language>DUT</Language>
<Latitude>50.7727583</Latitude>
<Locality></Locality>
<LocalityCode></LocalityCode>
<Longitude>4.5378400</Longitude>
<MarketingFlag>1</MarketingFlag>
<Mobile></Mobile>
<NationalID>BE0847707942</NationalID>
<NativeInfos xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringstring>
<d2p1:Key>LastName1</d2p1:Key>
<d2p1:Value>S-BOCHT FRITUUR</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key>CityName</d2p1:Key>
<d2p1:Value>Overijse</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</NativeInfos>
<Phone>02 687 20 07</Phone>
<PhoneOrMobile>02 687 20 07</PhoneOrMobile>
<PostCode>3090</PostCode>
<Province>Vlaams Brabant</Province>
<ProvinceCode>20001</ProvinceCode>
<Region>Vlaanderen</Region>
<RegionCode>02000</RegionCode>
<TradeName i:nil="true" />
<UniqueID>BE2000710967</UniqueID>
<UniversalPublicationId>BE2000710967</UniversalPublicationId>
<Website>http://www.frituursbocht.be</Website>
</Record>