Class ReturnInfo
Return value object for Document Plugin API calls
Inherited Members
Namespace: SuperOffice.CRM
Assembly: SuperOffice.Plugins.dll
Syntax
public sealed class ReturnInfo
Remarks
Many document API calls return this object, which contains both information about which document it relates to, a result string value, and a result type that defines how this result should be parsed and processed by the caller.
See the ReturnType enum for more details and some caveats.Constructors
ReturnInfo()
Return value object for Document Plugin API calls
Declaration
public ReturnInfo()
Remarks
Many document API calls return this object, which contains both information about which document it relates to, a result string value, and a result type that defines how this result should be parsed and processed by the caller.
See the ReturnType enum for more details and some caveats.Properties
AdditionalInfo
Optional, additional information meant for further processing. This member is ignored for return types None, Message and SoProtocol. It can be used to pass execution-dependent information to the code that handles CustomGui and Other.
Declaration
[DataMember]
public string AdditionalInfo { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Many document API calls return this object, which contains both information about which document it relates to, a result string value, and a result type that defines how this result should be parsed and processed by the caller.
See the ReturnType enum for more details and some caveats.ExternalReference
The document plugin's key that uniquely identifies a document; stored in the externalReference field of the document table
Declaration
[DataMember]
public string ExternalReference { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Many document API calls return this object, which contains both information about which document it relates to, a result string value, and a result type that defines how this result should be parsed and processed by the caller.
See the ReturnType enum for more details and some caveats.Success
Did the call succeed. A successful call may still return a message or other return value.
Declaration
[DataMember]
public bool Success { get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
Many document API calls return this object, which contains both information about which document it relates to, a result string value, and a result type that defines how this result should be parsed and processed by the caller.
See the ReturnType enum for more details and some caveats.Type
How is the return value Value should be understood by the caller.
Declaration
[DataMember]
public ReturnType Type { get; set; }
Property Value
Type | Description |
---|---|
ReturnType |
Remarks
Many document API calls return this object, which contains both information about which document it relates to, a result string value, and a result type that defines how this result should be parsed and processed by the caller.
See the ReturnType enum for more details and some caveats.Value
Return value, may be blank. Interpretation depends on the Type property.
Declaration
[DataMember]
public string Value { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Many document API calls return this object, which contains both information about which document it relates to, a result string value, and a result type that defines how this result should be parsed and processed by the caller.
See the ReturnType enum for more details and some caveats.VersionId
The document plugin's version id that uniquely identifies one version of a document. If versioning is not supported, this will be blank. When versioning is supported, blank values imply the latest checked-in version.
Declaration
[DataMember]
public string VersionId { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Many document API calls return this object, which contains both information about which document it relates to, a result string value, and a result type that defines how this result should be parsed and processed by the caller.
See the ReturnType enum for more details and some caveats.