Table of Contents

Search

  1. Preface
  2. RulePoint Interfaces
  3. RulePoint Services
  4. Custom Service API
  5. Java Adapter for REST API
  6. RulePoint REST API
  7. Sample XML and JSON Requests and Responses
  8. RulePoint Pluggable Authentication Module
  9. HTTP Request and Response Attributes

Developer Guide

Developer Guide

Error Object

Error Object

When the REST API encounters an error, it returns HTTP 400, 403, 404, 409, or 500 error.
For example, an error object might have the following structure:
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="errors"> <xs:complexType> <xs:sequence> <xs:element name="error"> <xs:complexType> <xs:sequence> <xs:element type="xs:string" name="code"/> <xs:element type="xs:string" name="description"/> <xs:element type="xs:string" name="errorMessage"/> <xs:element type="xs:string" name="errorType"/> <xs:element type="xs:string" name="messageId"/> <xs:element name="params"> <xs:complexType> <xs:sequence> <xs:element type="xs:string" name="param" maxOccurs="unbounded" minOccurs="0"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element type="xs:string" name="stackTrace"/> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:schema>

0 COMMENTS

We’d like to hear from you!