OVERVIEW
This Web service helps to uploads the images/files to the Orcanos system and returns the Orcanos application URL for the file.
This web service adds an attachment that is embedded into the editor as a URL.
Can be used in Actual results, test steps, item description, discussion, etc.
Web Service URL: https://xxxxx.orcanos.com/xxxxx/qpackserv/qpackserv.asmx?op=Qw_Add_MiscAttachment
Input:
| Parameter | Value | Is Mandatory? | Description |
| User_Name | String | Yes | Enter the valid username |
| User_Password | String | Yes | Enter the valid password |
| DirectoryName | String | No | Enter directory name or id where you want to add file |
| Attachment_Name | String | Yes | Enter the attachment name |
| Attachment64 | String | Yes | Enter string file’s base 64 format |
Output:
When invoke the Web Service, it will return results in the below format if details are correct:
<success>XML</success>
The file’s FTP URL will be displayed
For Example:
<success>https://integ.orcanos.com///QpackFTP//photo9</success>
And, if details are wrong then, it will give an error message:
<Error>
<ErroStatus></ErrorStatus>
</Error>
For Example:
<Error>
<ErrorStatus>0</ErrorStatus>
<ErrorInfo>Email / User Name or password are missing</ErrorInfo> <ErrorTrace>Qw_Add_MiscAttachment</ErrorTrace>