Skip to main content
Learning Documentation Community Open Exchange Ideas Portal Global Masters Certification Partner Directory Startup Hub
Search by posts, members, tags
Menu English
  • Posts
    • InterSystems Official
    • Articles
    • Announcements
    • Questions
    • Discussions
    • Tags
  • Events
    • InterSystems Ideas Contest
    • Programming Contest
    • Event Calendar
    • Tech Article Contest
  • Products
    • InterSystems IRIS
    • InterSystems IRIS for Health
    • HealthShare
    • TrakCare
    • Caché
    • Ensemble
    • InterSystems Analytics (DeepSee)
    • InterSystems Text Analytics (iKnow)
  • Jobs
    • Job Opportunity
    • Job Wanted
  • Members
  • About
    • About Us
    • FAQ
    • Feedback
    • Report an Issue
    • Share an Idea
    • Code of Conduct
    • Contact Us
Ask DC AI
EN
  • EN
  • JP
  • ES
  • PT
  • FR
  • CN
  • Profile page
  • Posts (2)
  • Replies (3)
  • Mentions (1)
  • Official certification & Credly badges (0)
  • Followers (0)
  • Following (0)
All posts
  • All posts (2)
  • Articles (0)
  • Announcements (0)
  • Questions (2)
  • Discussions (0)
Question Denys Kondratiuk · Dec 7, 2023

Convert JSON array to the list of objects

I want to call the REST endpoint and return the list of objects. I`ve created the method but it displays an error: 
<METHOD DOES NOT EXIST>GetAllPersons+10^Lab3.RestClient.1 *Count,%ZEN.proxyObject

ClassMethodAs%Status

Here is an example of a rest call via ARC:

Not sure if  %ConvertJSONToObject is used properly but I did not find another

#InterSystems IRIS #JSON #ObjectScript #REST API
0 2
0 680
Question Denys Kondratiuk · Dec 5, 2023

Cannot access a REST API (403)

I need to create a simple REST application.
I`ve created an app:

Also here is a dispatcher class:
 

ClassExtends%CSP.REST0

But when I call the Get method: http://localhost:52773/csp/crud/hello
There is an error: 403 Forbidden
I don't understand what can cause it.

#InterSystems IRIS #ObjectScript #REST API
1 2
0 681
Denys Kondratiuk
@Denys.Kondratiuk
Java Developer at GL
Follow

User statistics

Posts
2
Replies
3
Likes
3
Applications
0
Followers
0
People reached
1.4K
Accepted answers
0
Analytics dashboard
  • Privacy & Terms
  • Guarantee
  • Section 508
  • Contest Terms
  • Cookies Settings
© 2026 InterSystems Corporation, Cambridge, MA. All rights reserved.