Giter Club home page Giter Club logo

apps-rest's Introduction

apps-rest

Quality Gate Status


Deprecation Notice

This project has been deprecated in favor of its successor, isc.rest, and will not receive further updates. For discussion of migration from apps-rest to isc.rest, see intersystems/isc-rest#11.


AppS.REST

A framework for building secure REST APIs to existing persistent classes and business logic in the InterSystems IRIS Data Platform.

Getting Started

Note: a minimum platform version of InterSystems IRIS 2018.1 is required.

Installation: ZPM

If you already have the ObjectScript Package Manager, installation is as easy as:

zpm "install apps.rest"

Tutorial

For a step-by-step tutorial, see AppS.REST Tutorial and Sample Application: Contact List.

User Guide

See AppS.REST User Guide.

Support

If you find a bug or would like to request an enhancement, report an issue. If you have a question, feel free to post it on the InterSystems Developer Community.

Contributing

Please read contributing for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. Declare your dependencies using the community package manager for the appropriate level of risk.

Authors

  • Tim Leavitt - Initial implementation - timleavitt

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details.

apps-rest's People

Contributors

isc-freed avatar isc-tleavitt avatar rajrsingh avatar sergeymi37 avatar timleavitt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

apps-rest's Issues

Query error

Implemented a Proxy on a simple data class.

A Postman request for a particular record from this class works great:
URL(fragment)
csp/sfonline/data/api/terms_base/64

Response:
{
"%seriesCount": "1",
"_id": "64",
"ClientID": "290",
"TermsCode": "50DepCOD",
"ExternalLink": "80000008-1545415764",
"Descr": "50% DEPOSIT",
"TermsType": "N",
"ShowOnShipper": false,
"DepositPercentage": 50,
"DiscAmt": 0,
"DayIn1": 0,
"MonthAdd1": 0,
"DayOut1": 0,
"DayIn2": 0,
"MonthAdd2": 0,
"DayOut2": 0,
"DiscDays": 0,
"NetDays": 0
}
When I try to use an Action to pull a defined Query from the Data class using Postman:
URL(fragment):
csp/sfonline/data/api/terms_base/$byClientID?clientid=290

Response (last part):

406 - Client browser does not accept the MIME type of the requested page.

The page you are looking for cannot be opened by your browser because it has a file name extension that your browser does not accept.

Attached are the data class and its Proxy that I am using (it is actually an Export XML of the 2 classes):

CODE_TermsProxies.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.