Global Phone:REST XML

From Melissa Data Wiki
Jump to navigation Jump to search

← Global Phone

Global Phone Navigation
Introduction
Licensing
Input/Output
Request Fields
Response Fields
Examples
REST JSON
Batch JSON
Result Codes
Result Code Use
Global Phone Result Codes
Sample Code



REST Request

There is no recordID element because a REST request can only submit one record per request:

http://globalphone.melissadata.net/V3/WEB/GlobalPhone/doGlobalPhone
?t={TransmissionReference}
&id={CustomerId}
&phone={PhoneNumber}
&ctry={Country}
&ctryOrg={CountryOfOrigin}


XML Response

<?xml version="1.0"?>
<Response>
  <Version>string</Version>
  <TransmissionReference>string</TransmissionReference>
  <TransmissionResults>string</TransmissionResults>
  <TotalRecords>string</TotalRecords>
  <Records>
    <ResponseRecord>
      <RecordID>string</RecordID>
      <Results>string</Results>
      <PhoneNumber>string</PhoneNumber>
      <PhoneInternationalPrefix>string</PhoneInternationalPrefix>
      <PhoneCountryDialingCode>string</PhoneCountryDialingCode>
      <PhoneNationPrefix>string</PhoneNationPrefix>
      <PhoneNationalDestinationCode>string</PhoneNationalDestinationCode>
      <PhoneSubscriberNumber>string</PhoneSubscriberNumber>
      <Locality>string</Locality>
      <AdministrativeArea>string</AdministrativeArea> 
      <CountryName>string</CountryName> 
      <DST>String</DST> 
      <UTC>String</UTC> 
      <Language>String</Language> 
      <Latitude>String</Latitude> 
      <Longitude>string</Longitude> 
    </ResponseRecord>
  </Records>
</Response>