skip to main content
Corticon Server: Integration & Deployment Guide : Service contract examples : Examples of service contract reports generated from a Ruleflow : Guidelines for REST/JSON Service Contracts
 

Try Corticon Now
Guidelines for REST/JSON Service Contracts
When you generate a Service Contract from a Ruleflow, the output is a CSV file that provides the guidelines for a REST/JSON Service Contract.
For example, the CSV file for the Tutorial's tutorial_example.erf looks like this:
Service Contract for Ruleflow

,,Datatypes,Masking,Input/Output

Cargo,,Cargo,,I/O
,needsRefrigeration,Boolean,,I
,volume,Integer,,I
,container,containerType{String},CDT,O
,weight,Integer,,I


Custom Data Types(CDT)
containerType,standard,oversize,heavyweight,reefer,
When tutorial_example_ServiceContract.csv is opened in Excel, the CSV file looks like this: