Guest User

Google Contact API - Request Response

a guest
Feb 26th, 2013
1,523
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 10.91 KB | None | 0 0
  1. REQUEST
  2. ==============
  3.  
  4. POST https://www.google.com/m8/feeds/contacts/default/full/batch?xoauth_requestor_id=user%40domain HTTP/1.1
  5. Content-Type: application/atom+xml; charset=UTF-8
  6. User-Agent: G-SyncBooks/GOAuthRequestFactory-CS-Version=1.9.0.0
  7. Authorization: OAuth oauth_version="1.0",oauth_nonce="c88004da16b640be8764abdb8e36e2e3",oauth_timestamp="1361938998",oauth_consumer_key="sync.synergration.com",oauth_token="1%2FsyzbGQhwmXXXXXXXXXXX27FbBU5wH1QThM792lEw",oauth_signature_method="HMAC-SHA1",oauth_signature="XXXXXXXXXXXX%3D"
  8. GData-Version: 3.0
  9. Host: www.google.com
  10. Content-Length: 5358
  11.  
  12. <?xml version="1.0" encoding="utf-8"?>
  13. <feed xmlns="http://www.w3.org/2005/Atom" xmlns:batch="http://schemas.google.com/gdata/batch">
  14.   <entry gd:etag="&quot;R3g7cDVSLyt7I2A9WhBSFUsCRAU.&quot;" xmlns:gd="http://schemas.google.com/g/2005">
  15.     <app:edited app="http://www.w3.org/2007/app" xmlns:app="http://www.w3.org/2007/app">2013-02-22T21:25:16.608Z</app:edited>
  16.     <gd:name>
  17.       <gd:fullName>UnCharted Shores.com, llc</gd:fullName>
  18.       <gd:givenName>A. Eric</gd:givenName>
  19.       <gd:familyName>Norlin</gd:familyName>
  20.     </gd:name>
  21.     <gd:email address="[email protected]" label="Email" />
  22.     <gd:phoneNumber label="Phone">608-268-5825</gd:phoneNumber>
  23.     <gd:structuredPostalAddress label="Billing Address">
  24.       <gd:street>UnCharted Shores.com, llc
  25. A. Eric Norlin
  26. 6804 Aldo Leopold Way</gd:street>
  27.       <gd:city>Middleton</gd:city>
  28.       <gd:region>WI</gd:region>
  29.       <gd:postcode>53562</gd:postcode>
  30.       <gd:formattedAddress>UnCharted Shores.com, llc
  31. A. Eric Norlin
  32. 6804 Aldo Leopold Way
  33. Middleton WI 53562
  34. </gd:formattedAddress>
  35.     </gd:structuredPostalAddress>
  36.     <gContact:userDefinedField key="Company" value="UnCharted Shores.com, llc" xmlns:gContact="http://schemas.google.com/contact/2008" />
  37.     <gContact:userDefinedField key="Open Balance" value="$0.00" xmlns:gContact="http://schemas.google.com/contact/2008" />
  38.     <gContact:userDefinedField key="QuickBooksId" value="_qbid_3518" xmlns:gContact="http://schemas.google.com/contact/2008" />
  39.     <gContact:groupMembershipInfo href="http://www.google.com/m8/feeds/groups/r.xxxxie%40gmail.com/base/56213b1f8b3e0ff5" xmlns:gContact="http://schemas.google.com/contact/2008" />
  40.     <gd:structuredPostalAddress label="Shipping Address">
  41.       <gd:formattedAddress>
  42.  
  43. </gd:formattedAddress>
  44.     </gd:structuredPostalAddress>
  45.     <batch:id>update</batch:id>
  46.     <batch:operation type="update" />
  47.     <title type="text">UnCharted Shores.com, llc</title>
  48.     <id>http://www.google.com/m8/feeds/contacts/r.xxxxie%40gmail.com/base/60ec376389703353</id>
  49.     <link href="https://www.google.com/m8/feeds/photos/media/r.xxxxie%40gmail.com/60ec376389703353" rel="http://schemas.google.com/contacts/2008/rel#photo" type="image/*" />
  50.     <link href="https://www.google.com/m8/feeds/contacts/r.xxxxie%40gmail.com/full/60ec376389703353" rel="self" type="application/atom+xml" />
  51.     <link href="https://www.google.com/m8/feeds/contacts/r.xxxxie%40gmail.com/full/60ec376389703353" rel="edit" type="application/atom+xml" />
  52.     <category term="http://schemas.google.com/contact/2008#contact" scheme="http://schemas.google.com/g/2005#kind" />
  53.     <content type="text" />
  54.     <updated>2013-02-22T16:25:16-05:00</updated>
  55.   </entry>
  56.   <entry gd:etag="&quot;Rn8yezVSLyt7I2A9WhBSFUsCRAU.&quot;" xmlns:gd="http://schemas.google.com/g/2005">
  57.     <app:edited app="http://www.w3.org/2007/app" xmlns:app="http://www.w3.org/2007/app">2013-02-22T21:25:17.193Z</app:edited>
  58.     <gd:name>
  59.       <gd:fullName>Transitional Data Service</gd:fullName>
  60.       <gd:givenName>A. J.</gd:givenName>
  61.       <gd:familyName>Bastarache</gd:familyName>
  62.     </gd:name>
  63.     <gd:email address="[email protected]" label="Email" />
  64.     <gd:phoneNumber label="Phone">978-819-7313</gd:phoneNumber>
  65.     <gd:structuredPostalAddress label="Billing Address">
  66.       <gd:street>Transitional Data Servi
  67. A. J. Bastarache
  68. 72 South St</gd:street>
  69.       <gd:city>Hopkinton</gd:city>
  70.       <gd:region>MA</gd:region>
  71.       <gd:postcode>01748</gd:postcode>
  72.       <gd:formattedAddress>Transitional Data Servi
  73. A. J. Bastarache
  74. 72 South St
  75. Hopkinton MA 01748
  76. </gd:formattedAddress>
  77.     </gd:structuredPostalAddress>
  78.     <gContact:userDefinedField key="Company" value="Transitional Data Service" xmlns:gContact="http://schemas.google.com/contact/2008" />
  79.     <gContact:userDefinedField key="Open Balance" value="$0.00" xmlns:gContact="http://schemas.google.com/contact/2008" />
  80.     <gContact:userDefinedField key="QuickBooksId" value="_qbid_3474" xmlns:gContact="http://schemas.google.com/contact/2008" />
  81.     <gContact:groupMembershipInfo href="http://www.google.com/m8/feeds/groups/r.xxxxie%40gmail.com/base/56213b1f8b3e0ff5" xmlns:gContact="http://schemas.google.com/contact/2008" />
  82.     <gd:structuredPostalAddress label="Shipping Address">
  83.       <gd:formattedAddress>
  84.  
  85. </gd:formattedAddress>
  86.     </gd:structuredPostalAddress>
  87.     <batch:id>update</batch:id>
  88.     <batch:operation type="update" />
  89.     <title type="text">Transitional Data Service</title>
  90.     <id>http://www.google.com/m8/feeds/contacts/r.xxxxie%40gmail.com/base/2246f8d0bcc7068</id>
  91.     <link href="https://www.google.com/m8/feeds/photos/media/r.xxxxie%40gmail.com/2246f8d0bcc7068" rel="http://schemas.google.com/contacts/2008/rel#photo" type="image/*" />
  92.     <link href="https://www.google.com/m8/feeds/contacts/r.xxxxie%40gmail.com/full/2246f8d0bcc7068" rel="self" type="application/atom+xml" />
  93.     <link href="https://www.google.com/m8/feeds/contacts/r.xxxxie%40gmail.com/full/2246f8d0bcc7068" rel="edit" type="application/atom+xml" />
  94.     <category term="http://schemas.google.com/contact/2008#contact" scheme="http://schemas.google.com/g/2005#kind" />
  95.     <content type="text" />
  96.     <updated>2013-02-22T16:25:17-05:00</updated>
  97.   </entry>
  98. </feed>
  99.  
  100.  
  101. RESPONSE
  102. =================
  103.  
  104. HTTP/1.1 200 OK
  105. Content-Type: application/atom+xml; charset=UTF-8; type=feed
  106. GData-Version: 3.1
  107. Date: Wed, 27 Feb 2013 04:23:31 GMT
  108. Expires: Wed, 27 Feb 2013 04:23:31 GMT
  109. Cache-Control: private, max-age=0
  110. X-Content-Type-Options: nosniff
  111. X-Frame-Options: SAMEORIGIN
  112. X-XSS-Protection: 1; mode=block
  113. Server: GSE
  114. Content-Length: 4631
  115.  
  116. <?xml version="1.0" encoding="UTF-8"?>
  117. <feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:gContact="http://schemas.google.com/contact/2008" xmlns:batch="http://schemas.google.com/gdata/batch" xmlns:gd="http://schemas.google.com/g/2005">
  118.     <id>https://www.google.com/m8/feeds/contacts/r.xxx%40gmail.com/full/batch/1361939011238</id>
  119.     <updated>2013-02-27T04:23:31.595Z</updated>
  120.     <title>Batch Feed</title>
  121.     <entry gd:etag="&quot;QHo-cDVSLit7I2A9WhBSGU4DRwU.&quot;">
  122.         <id>http://www.google.com/m8/feeds/contacts/r.xxx%40gmail.com/base/60ec376389703353</id>
  123.         <updated>2013-02-27T04:23:31.458Z</updated>
  124.         <app:edited xmlns:app="http://www.w3.org/2007/app">2013-02-27T04:23:31.458Z</app:edited>
  125.         <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/contact/2008#contact"/>
  126.         <title>UnCharted Shores.com, llc</title>
  127.         <content/>
  128.         <link rel="http://schemas.google.com/contacts/2008/rel#photo" type="image/*" href="https://www.google.com/m8/feeds/photos/media/r.xxx%40gmail.com/60ec376389703353?xoauth_requestor_id=user@domain"/>
  129.         <link rel="self" type="application/atom+xml" href="https://www.google.com/m8/feeds/contacts/r.xxx%40gmail.com/full/60ec376389703353?xoauth_requestor_id=user@domain"/>
  130.         <link rel="edit" type="application/atom+xml" href="https://www.google.com/m8/feeds/contacts/r.xxx%40gmail.com/full/60ec376389703353?xoauth_requestor_id=user@domain"/>
  131.         <gd:name>
  132.             <gd:fullName>UnCharted Shores.com, llc</gd:fullName>
  133.             <gd:givenName>A. Eric</gd:givenName>
  134.             <gd:familyName>Norlin</gd:familyName>
  135.         </gd:name>
  136.         <batch:id>update</batch:id>
  137.         <batch:status code="200" reason="Success"/>
  138.         <batch:operation type="update"/>
  139.         <gd:email label="Email" address="[email protected]"/>
  140.         <gd:phoneNumber label="Phone">608-268-5825</gd:phoneNumber>
  141.         <gd:structuredPostalAddress label="Billing Address">
  142.             <gd:formattedAddress>UnCharted Shores.com, llc
  143. A. Eric Norlin
  144. 6804 Aldo Leopold Way
  145. Middleton WI 53562</gd:formattedAddress>
  146.             <gd:street>UnCharted Shores.com, llc
  147. A. Eric Norlin
  148. 6804 Aldo Leopold Way</gd:street>
  149.             <gd:postcode>53562</gd:postcode>
  150.             <gd:city>Middleton</gd:city>
  151.             <gd:region>WI</gd:region>
  152.         </gd:structuredPostalAddress>
  153.         <gContact:userDefinedField key="Company" value="UnCharted Shores.com, llc"/>
  154.         <gContact:userDefinedField key="Open Balance" value="$0.00"/>
  155.         <gContact:userDefinedField key="QuickBooksId" value="_qbid_3518"/>
  156.         <gContact:groupMembershipInfo deleted="false" href="http://www.google.com/m8/feeds/groups/r.xxx%40gmail.com/base/56213b1f8b3e0ff5"/>
  157.     </entry>
  158.     <entry gd:etag="&quot;QHo-cDVSLit7I2A9WhBSGU4DRwU.&quot;">
  159.         <id>http://www.google.com/m8/feeds/contacts/r.xxx%40gmail.com/base/2246f8d0bcc7068</id>
  160.         <updated>2013-02-27T04:23:31.458Z</updated>
  161.         <app:edited xmlns:app="http://www.w3.org/2007/app">2013-02-27T04:23:31.458Z</app:edited>
  162.         <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/contact/2008#contact"/>
  163.         <title>Transitional Data Service</title>
  164.         <content/>
  165.         <link rel="http://schemas.google.com/contacts/2008/rel#photo" type="image/*" href="https://www.google.com/m8/feeds/photos/media/r.xxx%40gmail.com/2246f8d0bcc7068?xoauth_requestor_id=user@domain"/>
  166.         <link rel="self" type="application/atom+xml" href="https://www.google.com/m8/feeds/contacts/r.xxx%40gmail.com/full/2246f8d0bcc7068?xoauth_requestor_id=user@domain"/>
  167.         <link rel="edit" type="application/atom+xml" href="https://www.google.com/m8/feeds/contacts/r.xxx%40gmail.com/full/2246f8d0bcc7068?xoauth_requestor_id=user@domain"/>
  168.         <gd:name>
  169.             <gd:fullName>Transitional Data Service</gd:fullName>
  170.             <gd:givenName>A. J.</gd:givenName>
  171.             <gd:familyName>Bastarache</gd:familyName>
  172.         </gd:name>
  173.         <batch:id>update</batch:id>
  174.         <batch:status code="200" reason="Success"/>
  175.         <batch:operation type="update"/>
  176.         <gd:email label="Email" address="[email protected]"/>
  177.         <gd:phoneNumber label="Phone">978-819-7313</gd:phoneNumber>
  178.         <gd:structuredPostalAddress label="Billing Address">
  179.             <gd:formattedAddress>Transitional Data Servi
  180. A. J. Bastarache
  181. 72 South St
  182. Hopkinton MA 01748</gd:formattedAddress>
  183.             <gd:street>Transitional Data Servi
  184. A. J. Bastarache
  185. 72 South St</gd:street>
  186.             <gd:postcode>01748</gd:postcode>
  187.             <gd:city>Hopkinton</gd:city>
  188.             <gd:region>MA</gd:region>
  189.         </gd:structuredPostalAddress>
  190.         <gContact:userDefinedField key="Company" value="Transitional Data Service"/>
  191.         <gContact:userDefinedField key="Open Balance" value="$0.00"/>
  192.         <gContact:userDefinedField key="QuickBooksId" value="_qbid_3474"/>
  193.         <gContact:groupMembershipInfo deleted="false" href="http://www.google.com/m8/feeds/groups/r.xxx%40gmail.com/base/56213b1f8b3e0ff5"/>
  194.     </entry>
  195. </feed>
Add Comment
Please, Sign In to add comment