Destination and origin coverage list

This API is used to get a list of areas that are within the scope of delivery of international services.

For endpoint you can hit with this url.

To use it you must prepare the headers, here are the headers that must be prepared.

Request Headers :

  • x-api-key : is the api key of the appgregator that has been encrypted using AES encryption format.

  • name : is the name of the project registered in the appgregator that is adjusted to the x-api-key in the previous parameter.

  • conection_name : connection_name is the connection name that is adjusted to the project and x-api-key that has been registered in the appgregator.

GET https://us-central1-appgregator.cloudfunctions.net/antaraja/service/destination-postcode

Headers

NameTypeDescription

x-api-key

String

U2FsdGVkX1++ZZ4P1XMNg5SK1wAlLl+43SGcdaHpyt+f0fBNSVUHaKvtsRWP4Eu75QTIU5i2oAaBORnsQrRGYQ==

name

String

ft-4

connection_name

String

delivery02

var axios = require('axios');
var data = '';

var config = {
  method: 'get',
  url: 'https://us-central1-appgregator.cloudfunctions.net/antaraja/service/destination-postcode',
  headers: { 
    'x-api-key': 'U2FsdGVkX1++ZZ4P1XMNg5SK1wAlLl+43SGcdaHpyt+f0fBNSVUHaKvtsRWP4Eu75QTIU5i2oAaBORnsQrRGYQ==', 
    'name': 'ft-4', 
    'connection_name': 'delivery02'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
s

Last updated