The Phonebook SourceType enables you to view details about a business for which you are searching as if they were a phonebook entry.
Details include:
-
Address
-
Phone number
-
Website
-
User rating
Request Parameters
Required Parameters
The following parameters are required for all requests:
Note |
|
To get results from a given SourceType, you must specify it in a SearchRequest.Sources statement. |
Optional Parameters
The following optional parameters are applicable to this SourceType.
-
SearchRequest.Market Property (Bing, Version 2.0)
-
SearchRequest.Version Property (Bing, Version 2.x)
-
SearchRequest.Adult Property (Bing, Version 2.0)
-
SearchRequest.UILanguage Property (Bing, Version 2.0)
-
SearchRequest.Latitude Property (Bing, Version 2.0)
-
SearchRequest.Longitude Property (Bing, Version 2.0)
-
SearchRequest.Radius Property (Bing, Version 2.0)
-
SearchRequest.Options Property (Bing, Version 2.0)
-
PhonebookRequest.Count Property (Bing, Version 2.0)
-
PhonebookRequest.Offset Property (Bing, Version 2.0)
-
PhonebookRequest.FileType Property (Bing, Version 2.0)
-
PhonebookRequest.LocId Property (Bing, Version 2.0)
-
PhonebookRequest.SortBy Property (Bing, Version 2.0)
Response Fields
The following response fields are common to all source types:
The following response fields are specific to the Phonebook SourceType:
-
PhonebookResponse.Total Property (Bing, Version 2.0)
-
PhonebookResponse.LocalSerpUrl Property (Bing, Version 2.0)
-
PhonebookResponse.Offset Property (Bing, Version 2.0)
-
PhonebookResponse.Results Property (Bing, Version 2.0)
-
PhonebookResponse.Title Property (Bing, Version 2.0)
-
PhonebookResult.Business (Bing, Version 2.0)
-
PhonebookResult.Address (Bing, Version 2.0)
-
PhonebookResult.UserRating (Bing, Version 2.0)
-
PhonebookResult.BusinessUrl (Bing, Version 2.0)
-
PhonebookResult.City (Bing, Version 2.0)
-
PhonebookResult.CountryOrRegion (Bing, Version 2.0)
-
PhonebookResult.DisplayUrl (Bing, Version 2.0)
-
PhonebookResult.Latititude (Bing, Version 2.0)
-
PhonebookResult.Longitude (Bing, Version 2.0)
-
PhonebookResult.PhoneNumber (Bing, Version 2.0)
-
PhonebookResult.PostalCode (Bing, Version 2.0)
-
PhonebookResult.ReviewCount (Bing, Version 2.0)
-
PhonebookResult.StateOrProvince (Bing, Version 2.0)
-
PhonebookResult.Title Property (Bing, Version 2.0)
-
PhonebookResult.UniqueId (Bing, Version 2.0)
-
PhonebookResult.Url Property (Bing, Version 2.0)
Request and Response Examples
For examples of requests and responses for this SourceType specific to a given protocol, see:
Code Samples
Error Handling
See Also