PostResult Class

Return result for post method calls from Accounting Seed API post methods. Encapsulates success/failure of method call and errors associated with failed method call.

PostResult Properties

The following are properties of the PostResult class.

isSuccess

Status of success or failure of method call.

Type: Boolean

id

The ID of the record being posted

Type: String

errors

List of errors associated with method call.

Type: [List<PostResult.PostErrorResult>]

name

If error exists this returns the name field of the record being posted

Type: String