Use Cases > Client API

I. Get Consumer ids

This API can be used to query the list of all available clients associated to a producer id. The list received in response contains all the client ids associated with the provided producer id. If a producer id is not provided while requesting, all the client ids irrespective of producer id is retuned in response.

/api/v1/client?producerId=31

The response contains below information for each client returned:

  • Client id (Consumer id/ Ebilling id)

  • Client name

  • Is the client active/inactive

  • Vendor id (or) bill agent id

II. Get producer client ids

This API services provides list of all the producer Consumer ids available associated with the producer id provided. The response is a list of just consumer producer ids.