knowledge base

Export Print
  • Email

API Data Calls

API methods can be invoked by usual methods - .net, jQuery, URL, etc.  All API require an API key to be supplied with each call.  

The requesting URL for api method calls is:

https://api.myCableEngineering/p1/p2/...

parameters (p1, p2, ...) are optional and depend on the method

Required Headers:
x-apikey: ... valid apikey here ...

Optional Headers
Accept: application/json  - returns  JSON formatted data (default)
Accept: application/xml   - returns xml formatted data
Version: n - uses a particular version of the api (version 1 is the default)

API version can also be specfied in the requesting URL:

https://api.myCableEngineering/v1/p1/p2/...
https://api.myCableEngineering/v2/p1/p2/...

Example

API Call: 
https://api.mycableengineering.com/CapacityStandards
Response:
  {
    "CurrentCapacityStandardID": 1,
    "Standard": "BS 7671:2008+A3:2015",
    "CurrentCapacity_PrimaryInstallationMethod": []
  },
  {
    "CurrentCapacityStandardID": 3,
    "Standard": "ERA 69-30 Part III, Part V",
    "CurrentCapacity_PrimaryInstallationMethod": []
  }

 

 

 

Comments


Add comment
Discussion is not enabled for this topic.