Hi,
Two additional questions:
1 - How can I filter multiple fields? I want to filter AssignedGroupID = 196 and NonTranslatedTicketStatus = Active. I've tried multiple filter parameters, same filter parameter with multiple optin separetad by , or ;
https://csm3.serviceaide.com/csmconnector/ServiceRequest?filter=(AssignedGroupID eq 196 NonTranslatedTicketStatus eq Active)
https://csm3.serviceaide.com/csmconnector/ServiceRequest?filter=(AssignedGroupID eq 196, NonTranslatedTicketStatus eq Active)
https://csm3.serviceaide.com/csmconnector/ServiceRequest?filter=(AssignedGroupID eq 196; NonTranslatedTicketStatus eq Active)
https://csm3.serviceaide.com/csmconnector/ServiceRequest?filter=(AssignedGroupID eq 196)?(NonTranslatedTicketStatus eq Active)
None of this worked.
2 - Can I retrieve custom fields in REST API? If so, how can I do it?
Regards.
------------------------------
Leonardo Blay
Senior Analyst
Infoglobo
Rio de Janeiro
+55 21 25349747
------------------------------
Original Message:
Sent: 07-02-2019 16:08
From: Leonardo Blay
Subject: Help in REST API
Hi Peter. Worked just fine. Thank you so much. Regards.
------------------------------
Leonardo Blay
Senior Analyst
Infoglobo
Rio de Janeiro
+55 21 25349747
Original Message:
Sent: 07-02-2019 15:47
From: Peter Hinchey
Subject: Help in REST API
Hi Leonardo,
You should be able to do something like:
https://csm3.serviceaide.com/csmconnector/ServiceRequest?filter=(AssignedGroupID eq 196)
(in POSTman, add 'filter' as a parameter, and the filter values in the value section)
depending on the size of the return, can also make use of the 'fields' parameter to limit the attributes returned for each ticket
------------------------------
Peter Hinchey
Solution Architect
ServiceAide
Original Message:
Sent: 07-02-2019 10:07
From: Leonardo Blay
Subject: Help in REST API
Hi everybody,
I'm trying to use the ISM REST API to check the service requests active in a specific group.
Is there anyone who can help me? What I need is get all service requests from:
https://csm3.serviceaide.com/csmconnector/ServiceRequest
Filtering the one with:
AssignedGroupID = 196
I'm already able to get all service requests from https://csm3.serviceaide.com/csmconnector/ServiceRequest using Postman. Now I need to filter them.
Regards.
------------------------------
Leonardo Blay
Senior Analyst
Infoglobo
Rio de Janeiro
+55 21 25349747
------------------------------