Popular Articles (FAQ)

Orcanos REST API

Introduction

The Orcanos REST API enables seamless integration with test automation frameworks and other automated processes, allowing for efficient data exchange and automation of key processes.

 

Getting Started

 

Create an API User

Navigate to Admin > Users & Groups > Users.

Click the ‘+’ button in the bottom-right corner to create a new user.

Set the First Name to “API” and the Last Name to “User”, ensuring the Username is “API.User” (see example below):

For the API.User we recommend associating it with an email address from your company domain. You can use your own email address or a dedicated group email address. This way, if the API.User receives any email notifications from Orcanos, they will be properly delivered to you or your team.

 

Assign Projects and Permissions

When creating the API User, you must choose which user groups and projects to assign the new user. Please ensure the API user is assigned to all relevant projects and has the appropriate permissions. 

Please refer to our Users guide for more information on assigning users with groups and projects.

 

Generate an API Key

Navigate to Admin > System Configuration > API.

Check the checkbox next to Enable API Key to generate a unique key.

Authentication with the API Key

To authenticate API requests, include the API key in the request header:

Error Codes

What errors and status codes can a user expect?

  • 500: An error has occurred or something was wrong
  • 200: Data is OK, Success
  • 401: Unauthorized, When Authorization token is not passed.

URL:

https://app.orcanos.com/ xxxxxx /api/v2/Json

https://app.orcanos.com/ xxxxxx /api/swagger/ui/index    

Where xxxxxx is a customer account name. Users can enter their account name here.

JSON Response:

In Success:

“IsSuccess” : true ,

“Data” : Full Information of related API function will display here.

“Message” : “” ,

“HttpCode” : 200

In Failure:

“IsSuccess” : false ,

    “Data” : Error Message will display here.

    “Message” : “” ,

    “HttpCode” : 500

 

REST APIs Library is here:

  1. QW_Login
  2. QW_Add_Defect
  3. QW_Update_Defect
  4. QW_Add_Object
  5. QW_Update_Object
  6. QW_Add_Object to Add Service Calls
  7. QW_Delete_Object
  8. QW_Get_Object
  9. Get_Object
  10. QW_Get_Object_View
  11. Get_Execution_Run_Details_XML
  12. Record_Execution_Results_New
  13. QW_Get_Item_Add_Edit
  14. GetItemURL
  15. QW_Add_Step
  16. Qw_Add_MiscAttachment
  17. QW_Save_Customer
  18. QW_Get_CustomerList_FromName
  19. QW_Get_CustomerList
  20. Create_Tag_Web
  21. Delete_Tag_Web
  22. QW_Get_Object_Relations
  23. QW_Delete_Relation_Custom_Code
  24. QW_Add_Relations_Custom_Code
  25. QW_Delete_Relation
  26. QW_AddRelation
  27. QW_Get_Filter_Results
  28. Add_Test_Run_Param_Value
  29. Copy_Attachment_CopiedFrom_Item
  30. GetItemEnvironment
  31. QW_Get_Execution_Set
  32. QW_Get_RunParameter
  33. QW_Get_Section_Data
  34. QW_Delete_Attachment
  35. Generate_PDF_New
  36. QW_Get_Updated_Items_List
  37. QW_Get_Updated_Items_List_By_Date
  38. SystemTableValue_Get
  39. SysTableValue_Save
  40. SysTableValue_Delete
  41. Add Step
  42. Update Step
  43. Delete Step
Related Articles