Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

LogiSense logs all API requests as well as the responses.

JSON API Log

The JSON API log will contain within the application contains the header and body for all requests and responses. This log can aid you while developing by providing details of both good and bad requests.

...

LogiSense's response to bad requests includes all errors not just the first error found. The form of the error object is below:

Error Property

code

"code": 10400000
Type: Number
An internal error code

message

"message": "'Name' validation requires the additional constraint property value 'StateId' to be included in the payload and greater than zero."
Type: String
The human-readable form of the error.

...