POST Initiate Interconnect 
https://apiv2.telecomsxchange.com/buyers/interconnect

After you have searched market view API and found a termination partner you'd like to interconnect with, use this API to complete interconnection, once the interconnection is completed, you may start terminating traffic to the vendor.

important

You will be represented with Tech prefix and Download carrier pricelist url in API response. please note that we also send the same to your NOC and Rates team email addresses on file as well.

BODY formdata

add
1

Required value for new interconnects

i_account
1

Buyer i_account (Retrieved from Buyers List Accounts APi)

agree
yes

Yes is required to proceed

id
38

i_connection ID - Retrieved from Market View API.]


API Call Example:


curl --location --request POST 'https://apiv2.telecomsxchange.com/buyers/interconnect' \
--form 'add=1' \
--form 'i_account=1' \
--form 'agree=yes' \
--form 'id=38'

Successful - API Response:


{
  "status": "success",
  "message": "Interconnection with TATA Communications completed",
  "rates_url": "https://members.telecomsxchange.com/accounts.php?download=38",
  "tech_prefix": "33270#",  
  "route_type": "voice"
}

Rates URL = This contains the full rate deck for all rates/routes offered by TATA communications , if you send a POST request to this URL you will retrieve the file in CSV format.


Tech Prefix = The technical prefix used in your SBC when sending outbound calls to ensure the call is routed to TATA communications.


Route Type = there are two types, one is for voice and second for SMS, this confirms that you're interconnected with voice route.



ERROR - API Response 


{
  "status": "error",
  "message": "Error! Choose another account or route, this route is already purchased for this account."
}