find account id for a customer

Rosana Casilli January 24, 2022

Hi all!! 

Is there any way to find the account id of a customer (portal only)

I have tried this on postman 

GET -  https://mysite/rest/api/servicedeskapi/servicedesk/{servicedeskid}/customer

I could get the customers, but it only retrieve 50 

I tried with some parameters but couldn't get more than 50 

 

What could i do?

 

Thanks in advance

1 answer

1 accepted

1 vote
Answer accepted
Kian Stack Mumo Systems
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 24, 2022

@Rosana Casilli

 

There are a couple of options which you could use to help.

1) Filter based on the email address of the customer you are trying to find.

Example: https://mysite/rest/servicedeskapi/servicedesk/2/customer?query=displayName=kian

2) Use the "start" attribute to iterate over the total list.

Example: https://mysite/rest/servicedeskapi/servicedesk/2/customer?start=50

 

Using these two options, you should be able to iterate over the whole customer list and find the customer you are looking for.

 

Thanks,

 

Kian

Rosana Casilli January 24, 2022

thank you @Kian Stack Mumo Systems  I have just resolve it using you solution

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events