Global Phone:REST XML

From Melissa Data Wiki
Revision as of 18:02, 2 February 2016 by Admin (talk | contribs) (Created page with "{{GlobalPhoneNav |ExampleCollapse= }} {{CustomTOC}} ==REST Request== There is no recordID element because a REST request can only submit one record per request: <pre> http...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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>