V2

Get Project

API getProjectList
Purpose: To
API URL: http://<APIURL>:<APIPort>/v2/ansibleAWX/getProject/orgentityid/{orgentityid}?toolId={toolid}
Authentication Type: Basic
Method Type: Get

Parameters Required for Request Body

Column Column Type Mandatory Expected/Sample Value Remarks
toolId Integer Yes 4 This field contains Runbook Tool Id, we will get configuration information based on tool id
Output:
{
  "Count": 1,
  "Result": {
    "count": 65,
    "next": null,
    "previous": null,
    "results": [
      {
        "id": 28,
        "name": "Demo"
      },
      {
        "id": 9,
        "name": "project"
      },......
	  ]
	  }}

Parameters Returned from Response of API

Column Column type Value Remarks
Count Integer 1 This field provide 1 for success and 0 for Fail
Result-count Integer 65 Count of total credentials
Result-next Integer 1 This field provide how many next page is available
Result-previous Integer 1 This field provide how many previous page is available
Result-results Object
{
        "id": 9,
        "name": "Attachment Project"
 }
It contains the list of id and Project