Article Jenna Poindexter · May 26, 2016 2m read Using SQL to Create JSON From an Existing Persistent Object With the release of Cache 2016.1, JSON support was re-architected and made part of the core object model with the creation of %Object and %Array classes, which allow you to create dynamic JSON enabled objects and arrays. On a recent demonstration I was working on, I had the need to create a REST web service that returned a JSON representation of a persistent object. After searching for methods that would allow me to accomplish this, ultimately I found none, until now. #Code Snippet #JSON #Caché 3 20 0 2,542
Article Jenna Poindexter · Nov 16, 2015 1m read NPPES NPI Lookup Service Client Attached is an example of a web service client that can be used to do a lookup against the CMS NPPES database to validate and retrieve information about a given National Provider Identification (NPI). #Code Snippet #System Administration #Caché 0 1 0 466
Article Jenna Poindexter · Nov 9, 2015 1m read Simple USPS Address Normalization Example The attached code package provides a simple implementation of a web service client that utilizes the USPS Shipping API to normalize an address.This code requires the developer to obtain a USPS Shipping API user ID which can be obtained from the USPS shipping API website. The assigned User Id can either be passed into the web service call as a parameter or can be coded as a parameter into the Request object. #Code Snippet #System Administration #Caché 2 1 0 380