Minimum Server Requirements for Catalina API for Dynamics SL

Minimum Server Requirements for Catalina API for Dynamics SL

One of the first questions we get regarding our API for Dynamics SL is what are the minimum server requirements to run the API.

First of all is the server. We require a Windows Server. Preferably Windows 2012 R2 or better with a minimum of 4gig of ram. NOTE: Diskspace is normally not a big issue since we don’t store anything on the API application except configuration. Also note that most of our customers use a VM for this.

Web Server Roles

  • Application Development
  • .NET Extensibility 3.5, 4.7
  • ASP.NET 3.5, 4.5+
  • ISAPI Filters
  • ISAPI Extensions
  • Basic Authorization

Other

  • .NET 3.5 Framework
  • .NET 4.5+ Framework
Advertisements

Create Projects with Catalina’s API for SL – SOAP Web Services

Last week, I posted a video for a demo on how to use our REST API to integrate to projects in Dynamics SL. This one uses our SOAP based Web Services to do the same thing.

Sample code can be acquired from our GitHub repository:
https://github.com/CatalinaTechnology/ctAPIClientExamples/tree/master/TestAPIClient

You can clone or download all sample projects here from github:

http:// https://github.com/CatalinaTechnology/ctAPIClientExamples

Retrieve Catalina Queue FIFO

Retrieve Catalina Queue FIFO

If you use the Catalina Queue Engine for queuing records, you might want to retrieve data in a FIFO (First In First Out) method. This means you want to grab the oldest records first. This is easily accomplished by calling the Catalina Queue API with the parameter sortBy in the query string.

Example, if you are retrieving the queue ORDERS, you would format your URL, for the Queue API, like this:

http://YOURSERVER/ctDynamicsSL/api/queue/ORDER?sortBy=createdDate

This will then sort the queue in Ascending order by createdDate. Which means it will retrieve oldest items first.

Below is a curl example that does the same thing.

curl -X GET \
'http://YourServer/ctDynamicsSL/api/queue/QUEUETYPE?sortBy=createdDate' \
-H 'Accept: application/json' \
-H 'Authorization: Basic YOURAUTHHERE' \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/json' \
-H 'CpnyID: YOURCPNYID' \
-H 'SiteID: YOURSITEID' \
-H 'cache-control: no-cache'

Minimum SQL Security Requirements for Catalina API

Minimum:
db_datawriter
db_datareader
db_ddladmin

If you are going to use our userMaintenance web service, to manage SL user logins, it will also need:
db_securityadmin
db_accessadmin

Also note that by default, we normally install our scripts under the dbo schema. So, you also have to give the user, we are connecting as, execute on that schema.

eg. grant  execute on schema :: [dbo] to usernamehere

PH and Temperature Hydroponic Monitor using MQTT

There have been quite a few requests for the code for my MQTT posting IOT project for testing PH and Temperature of my hydroponic towers. This code is several years old and I haven’t looked at it for at least 2. But, I figured I would put it out on GitHub.

The main purpose of this code is to monitor the PH and temperature in a water tank for my hydroponics and then use MQTT to post to io.adafruit for a dashboard.

https://github.com/dafoink/ADS1115