overdrive
Click here for a complete list of operations.
GetCentersByZip
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /api/overdrive.asmx HTTP/1.1
Host: child-care-preschool.brighthorizons.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetCentersByZip"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetCentersByZip xmlns="http://tempuri.org/">
<authtoken>string</authtoken>
<zipcode>string</zipcode>
<radius>double</radius>
</GetCentersByZip>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetCentersByZipResponse xmlns="http://tempuri.org/">
<GetCentersByZipResult>
<CenterEntry>
<CenterNumber>string</CenterNumber>
<CenterName>string</CenterName>
<Address1>string</Address1>
<Address2>string</Address2>
<City>string</City>
<StateCode>string</StateCode>
<ZipCode>string</ZipCode>
<Phone>string</Phone>
<Distance>double</Distance>
<Latitude>double</Latitude>
<Longitude>double</Longitude>
<TollFreeCenterNumber>string</TollFreeCenterNumber>
<AgesServed>string</AgesServed>
<CenterProgramHighlights>string</CenterProgramHighlights>
<FeaturedEvent>string</FeaturedEvent>
<Meals>string</Meals>
<Url>string</Url>
<HoursOfOperation>string</HoursOfOperation>
<CenterLocatorComments>string</CenterLocatorComments>
<Featured>boolean</Featured>
<FeaturedCenterText>string</FeaturedCenterText>
<FeaturedCenterHeader>string</FeaturedCenterHeader>
<IsMilitary>boolean</IsMilitary>
<WorksWithContactCenter>boolean</WorksWithContactCenter>
<Status>string</Status>
<Division>string</Division>
<FieldMarketingSpecialist>string</FieldMarketingSpecialist>
<FieldMarketingSpecialistEmail>string</FieldMarketingSpecialistEmail>
<Director>string</Director>
<CenterEmail>string</CenterEmail>
<SinglePageLeadFormUrl>string</SinglePageLeadFormUrl>
<TourNow>boolean</TourNow>
</CenterEntry>
<CenterEntry>
<CenterNumber>string</CenterNumber>
<CenterName>string</CenterName>
<Address1>string</Address1>
<Address2>string</Address2>
<City>string</City>
<StateCode>string</StateCode>
<ZipCode>string</ZipCode>
<Phone>string</Phone>
<Distance>double</Distance>
<Latitude>double</Latitude>
<Longitude>double</Longitude>
<TollFreeCenterNumber>string</TollFreeCenterNumber>
<AgesServed>string</AgesServed>
<CenterProgramHighlights>string</CenterProgramHighlights>
<FeaturedEvent>string</FeaturedEvent>
<Meals>string</Meals>
<Url>string</Url>
<HoursOfOperation>string</HoursOfOperation>
<CenterLocatorComments>string</CenterLocatorComments>
<Featured>boolean</Featured>
<FeaturedCenterText>string</FeaturedCenterText>
<FeaturedCenterHeader>string</FeaturedCenterHeader>
<IsMilitary>boolean</IsMilitary>
<WorksWithContactCenter>boolean</WorksWithContactCenter>
<Status>string</Status>
<Division>string</Division>
<FieldMarketingSpecialist>string</FieldMarketingSpecialist>
<FieldMarketingSpecialistEmail>string</FieldMarketingSpecialistEmail>
<Director>string</Director>
<CenterEmail>string</CenterEmail>
<SinglePageLeadFormUrl>string</SinglePageLeadFormUrl>
<TourNow>boolean</TourNow>
</CenterEntry>
</GetCentersByZipResult>
</GetCentersByZipResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /api/overdrive.asmx HTTP/1.1
Host: child-care-preschool.brighthorizons.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetCentersByZip xmlns="http://tempuri.org/">
<authtoken>string</authtoken>
<zipcode>string</zipcode>
<radius>double</radius>
</GetCentersByZip>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetCentersByZipResponse xmlns="http://tempuri.org/">
<GetCentersByZipResult>
<CenterEntry>
<CenterNumber>string</CenterNumber>
<CenterName>string</CenterName>
<Address1>string</Address1>
<Address2>string</Address2>
<City>string</City>
<StateCode>string</StateCode>
<ZipCode>string</ZipCode>
<Phone>string</Phone>
<Distance>double</Distance>
<Latitude>double</Latitude>
<Longitude>double</Longitude>
<TollFreeCenterNumber>string</TollFreeCenterNumber>
<AgesServed>string</AgesServed>
<CenterProgramHighlights>string</CenterProgramHighlights>
<FeaturedEvent>string</FeaturedEvent>
<Meals>string</Meals>
<Url>string</Url>
<HoursOfOperation>string</HoursOfOperation>
<CenterLocatorComments>string</CenterLocatorComments>
<Featured>boolean</Featured>
<FeaturedCenterText>string</FeaturedCenterText>
<FeaturedCenterHeader>string</FeaturedCenterHeader>
<IsMilitary>boolean</IsMilitary>
<WorksWithContactCenter>boolean</WorksWithContactCenter>
<Status>string</Status>
<Division>string</Division>
<FieldMarketingSpecialist>string</FieldMarketingSpecialist>
<FieldMarketingSpecialistEmail>string</FieldMarketingSpecialistEmail>
<Director>string</Director>
<CenterEmail>string</CenterEmail>
<SinglePageLeadFormUrl>string</SinglePageLeadFormUrl>
<TourNow>boolean</TourNow>
</CenterEntry>
<CenterEntry>
<CenterNumber>string</CenterNumber>
<CenterName>string</CenterName>
<Address1>string</Address1>
<Address2>string</Address2>
<City>string</City>
<StateCode>string</StateCode>
<ZipCode>string</ZipCode>
<Phone>string</Phone>
<Distance>double</Distance>
<Latitude>double</Latitude>
<Longitude>double</Longitude>
<TollFreeCenterNumber>string</TollFreeCenterNumber>
<AgesServed>string</AgesServed>
<CenterProgramHighlights>string</CenterProgramHighlights>
<FeaturedEvent>string</FeaturedEvent>
<Meals>string</Meals>
<Url>string</Url>
<HoursOfOperation>string</HoursOfOperation>
<CenterLocatorComments>string</CenterLocatorComments>
<Featured>boolean</Featured>
<FeaturedCenterText>string</FeaturedCenterText>
<FeaturedCenterHeader>string</FeaturedCenterHeader>
<IsMilitary>boolean</IsMilitary>
<WorksWithContactCenter>boolean</WorksWithContactCenter>
<Status>string</Status>
<Division>string</Division>
<FieldMarketingSpecialist>string</FieldMarketingSpecialist>
<FieldMarketingSpecialistEmail>string</FieldMarketingSpecialistEmail>
<Director>string</Director>
<CenterEmail>string</CenterEmail>
<SinglePageLeadFormUrl>string</SinglePageLeadFormUrl>
<TourNow>boolean</TourNow>
</CenterEntry>
</GetCentersByZipResult>
</GetCentersByZipResponse>
</soap12:Body>
</soap12:Envelope>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /api/overdrive.asmx/GetCentersByZip HTTP/1.1 Host: child-care-preschool.brighthorizons.com Content-Type: application/x-www-form-urlencoded Content-Length: length authtoken=string&zipcode=string&radius=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfCenterEntry xmlns="http://tempuri.org/">
<CenterEntry>
<CenterNumber>string</CenterNumber>
<CenterName>string</CenterName>
<Address1>string</Address1>
<Address2>string</Address2>
<City>string</City>
<StateCode>string</StateCode>
<ZipCode>string</ZipCode>
<Phone>string</Phone>
<Distance>double</Distance>
<Latitude>double</Latitude>
<Longitude>double</Longitude>
<TollFreeCenterNumber>string</TollFreeCenterNumber>
<AgesServed>string</AgesServed>
<CenterProgramHighlights>string</CenterProgramHighlights>
<FeaturedEvent>string</FeaturedEvent>
<Meals>string</Meals>
<Url>string</Url>
<HoursOfOperation>string</HoursOfOperation>
<CenterLocatorComments>string</CenterLocatorComments>
<Featured>boolean</Featured>
<FeaturedCenterText>string</FeaturedCenterText>
<FeaturedCenterHeader>string</FeaturedCenterHeader>
<IsMilitary>boolean</IsMilitary>
<WorksWithContactCenter>boolean</WorksWithContactCenter>
<Status>string</Status>
<Division>string</Division>
<FieldMarketingSpecialist>string</FieldMarketingSpecialist>
<FieldMarketingSpecialistEmail>string</FieldMarketingSpecialistEmail>
<Director>string</Director>
<CenterEmail>string</CenterEmail>
<SinglePageLeadFormUrl>string</SinglePageLeadFormUrl>
<TourNow>boolean</TourNow>
</CenterEntry>
<CenterEntry>
<CenterNumber>string</CenterNumber>
<CenterName>string</CenterName>
<Address1>string</Address1>
<Address2>string</Address2>
<City>string</City>
<StateCode>string</StateCode>
<ZipCode>string</ZipCode>
<Phone>string</Phone>
<Distance>double</Distance>
<Latitude>double</Latitude>
<Longitude>double</Longitude>
<TollFreeCenterNumber>string</TollFreeCenterNumber>
<AgesServed>string</AgesServed>
<CenterProgramHighlights>string</CenterProgramHighlights>
<FeaturedEvent>string</FeaturedEvent>
<Meals>string</Meals>
<Url>string</Url>
<HoursOfOperation>string</HoursOfOperation>
<CenterLocatorComments>string</CenterLocatorComments>
<Featured>boolean</Featured>
<FeaturedCenterText>string</FeaturedCenterText>
<FeaturedCenterHeader>string</FeaturedCenterHeader>
<IsMilitary>boolean</IsMilitary>
<WorksWithContactCenter>boolean</WorksWithContactCenter>
<Status>string</Status>
<Division>string</Division>
<FieldMarketingSpecialist>string</FieldMarketingSpecialist>
<FieldMarketingSpecialistEmail>string</FieldMarketingSpecialistEmail>
<Director>string</Director>
<CenterEmail>string</CenterEmail>
<SinglePageLeadFormUrl>string</SinglePageLeadFormUrl>
<TourNow>boolean</TourNow>
</CenterEntry>
</ArrayOfCenterEntry>