-
Notifications
You must be signed in to change notification settings - Fork 70
Data Formats
Colin Campbell edited this page Sep 23, 2015
·
1 revision
The processOpensrs function returns a full stdClass object. This object has four public variables that contain the returned data
resultFormatted
- The result formatted in the data type that is originally passed to the function
- This only returns the result and no error codes
- This will be referred to as the "condensed" response
resultFullFormatted
- The result in the same data type as resultFormatted
- FullFormatted returns the result in the format of the XML returned from OpenSRS, including error codes and details
- This will be referred to as the "full" response
resultRaw
- The result in an associative array instead of the data type originally passed to the function
- Does not include any error messages, just the essentials of the result
resultFullRaw
- The result in an associative array
- Includes error messages and full data from the OpenSRS system in the format of the XML returned from OpenSRS