Salta al contenuto principale

Get Custom ID via API

Thread solved
Beginner
Messaggi: 1
Commenti: 1

Hello,

I try to pull automatic billing information via API.
So far so good, I can get the reports now after some struggle with the documentation.

Still it would be good to be able to match the tenants to the clientID in our billing System. 

In the UI I can find a field to provide a custom ID. See attached screenshot.

Unfortunately I can´t seem to get that ID out of the System.

Any help to where to find it is appreciated!

Allegato Dimensione
uid.jpg 50.92 KB
0 Users found this helpful
Forum Member
Messaggi: 1
Commenti: 45

#1

Hi, Daniel.

It's "customer_id" field in a tenant JSON.

GET {{base_url}}/api/2/tenants/{{tenant_id}}

.....

"contact": {

        "country": null,

        "firstname": "",

        "phone": null,

        "address1": null,

        "email": "",

        "city": null,

        "lastname": "",

        "zipcode": null,

        "address2": null,

        "state": null

    },

    "customer_id": "xxx-xxx-xxx-xxx",

    "has_children": true,

    "ancestral_access": true,

Beginner
Messaggi: 1
Commenti: 1

#2

Thank you, that is what I was looking for!