Warning

This site is no longer being maintained. Visit the eDocs documentation portal for updated information.

Visit eDocs
Dismiss message

Index Api

Created by Pedro Ondiviela · last update June 10, 2020

Step by step guide

  • Step 1: Obtaing the INDEX_TOKEN and FEED_IDs

    First of all, you must have an INDEX_TOKEN and one or more FEED_IDs, if you don´t have anything of this you must get them. INDEX_TOKEN and a list of one or more FEED_IDs can be obtained from your Account Manager, consulting to Appointed Lead Developer or alternatively contact support@empathybroker.com.

  • Step 2: Post a new feed to the service

    Now, with the previous information, you can post a new feed to the service. You can choose one of this ways:

    After posting the file the system will return something like:

    1
    2
    3
    4
    5
    6
    7
    8
    
    {
      "id":"JOB_ID",
      "clientId":"CLIENT_NAME",
      "feedId":"FEED_ID",
      "fileId":"GENERATED_FILE_NAME",
      "state":"QUEUED",
      "date":"CURRENT_DATE"
    }
    

    Being the values:

    • JOB_ID : ID of the job generated by the service
    • CLIENT_NAME : Your assigned client name
    • FEED_ID : Feed that you are using for sending the file

    Remember:

    All API options are reachable in https://preindex.empathybroker.com / https://index.empathybroker.com