Table of Contents

Search

  1. Preface
  2. Part 1: Cloud Operations
  3. Part 2: Parameter and Element Reference
  4. Appendix A: REST Call Example
  5. Appendix B: Geocode Countries
  6. Appendix C: Certified Mode Values

Developer Guide

Developer Guide

POST Requests

POST Requests

When you use the POST method to submit your data, you include all of the data as a part of the request body. Submit the data in a JSON object.
You cannot test the data directly in your browser.
The required HTTP header for the operation is
Content-Type
. You must set the header to
application/json
. You can use tools like Postman or SoapUI to submit REST requests using the POST method.
For example, the following REST request is valid:
POST /AV6/v1/process HTTP/1.1 Host: eu-av.informaticadaas.com Content-Type: application/json { "Login": "*****", "Password": "*****", "CampaignId": "Campaign111", "UseTransactionPool": "TEST", "Request": { "Parameters": {"Mode": "Batch"}, "IO": { "Inputs": [ { "AddressElements": { "Street" : [ { "Value": "Potsdamer Platz" } ], "HouseNumber" : [ { "Value": "3" } ], "Locality" : [ { "Value": "Berlin" } ], "PostalCode" : [ { "Value": "10785" } ], "Country" : "DEU" } }, { "AddressElements": { "Street" : [ { "Value": "Parkstrasse" } ], "HouseNumber" : [ { "Value": "1" } ], "Locality" : [ { "Value": "Wolfsburg" } ], "PostalCode" : [ { "Value": "38440" } ], "Country" : "DEU" } }, { "AddressElements": { "Street" : [ { "Value": "Bradford Green Sq." } ], "HouseNumber" : [ { "Value": "24128" } ], "Locality" : [ { "Value": "Cary, NC" } ], "PostalCode" : [ { "Value": "27519" } ], "Country" : "USA" } } ] } } }
You can request the geocoordinates and supplementary enrichments for an address. You can also specify options such as casing style, language, and character set for the output addresses. You can only set the parameters once per request. Address Verification applies the parameters to the processing of all the addresses that you submit in a single request.
You receive the results of a REST call in the JSON format with the POST method.

0 COMMENTS

We’d like to hear from you!