Return result for method calls made for certain Accounting Seed API methods. Encapsulates success/failure of method call and errors associated with failed method call. The ServiceResult can include returned data for certain method calls.
The following are properties of the ServiceResult class.
Status of success or failure of method call.
Data returned from method call. This can either be a primitive value or an arbitrary object. In the case of an arbitrary object the intent is for the caller to deserialize the returned string value into the appropriate object type.
List of errors associated with method call.
List of nested ServiceResult records. Used in method calls where multiple records are passed as parameter to method. Provides mechanism to status individual records in this case independently.