Errors
The Mashery v3 API utilizes typical HTTP status codes to convey success and failures. 2xx response codes indicates success.
For failures, the following is what is supported by the v3 API.
Error Responses and Validation
Error responses in the 4xx - 5xx range include a common JSON structure describing the error. The basic format looks like this:
{ "errorCode": <application error code>, "errorMessage": "<application error message>" }
Example:
Docs Navigation
- API Documentation Portal
- IO Docs Definition
- Mashery API Documentation
- Mashery 3.0 API Guide
- Mashery 2.0 API Guide
- OAuth Supporting Methods
- Examples
- JSON RPC
- Authentication
- API Objects
- Fetching Objects
- Query Language
- Creating Objects
- Updating Objects
- Validating Fields
- Deleting Objects
- Applications
- General Object Methods
- Members
- Packages
- Plans
- Package Keys
- Keys
- Developer Classes
- Services
- Roles
- Mashery 2.0 Reporting API Guide
- Event Trigger API
- Differences between Roles and Portal Access Groups
- Managing a Portal Access Group Using Mashery V2 or V3 API
- Mashery Reporting Event Post API Guide
- Tips and Tricks
- Your Portal
- API Traffic Manager
- I/O Docs WSDL requirements