Responses
Rs vs. Response
You may see two types of response calls in our web services. Rs and Response. Rs contains a data structure with parameters. Response allows you to set the parameters directly. See examples.
Each export response contains a row count (named RowCount) in addition to the exported items. If the web service request allows specification of OnlyCountRows, then the service can be queried for the approximate number of rows that will be exported – without actually exporting the rows.
Each response to a service request contains a ServiceResult and an ArrayOfOpsWebError. The possible values of ServiceResult (all strings) are shown below.
ServiceResult |
Discussion |
---|---|
Ok |
The request succeeded. |
Fail |
The request failed. |
PartialFail |
Some, but not all, of the requested actions were successful. Check the ArrayOfOpsWebError element to determine the cause of the failures. |
The ArrayOfOpsWebError contains a list of zero or more OpsWebError elements, each of which contains the following elements:
Name |
Data Type |
Discussion |
---|---|---|
Severity |
string |
Informational, Warning, or Error |
DbErrorCode |
int |
This may be used by Projector technical support to aide in problem resolution. |
ErrorCode |
string |
Indentifies the source of the error. For a complete list, view the WSDL services description file on the Projector web site. |
State |
int |
Gives more specific information about the reason for the error. |
AdditionalInfo |
string |
May contain details about the error. |