{
  "CurrentRequestName": "RetrieveTypes",
  "CurrentPath": "IncidentType.rest",
  "Name": "IncidentType",
  "Requests": [
    {
      "Name": "RetrieveTypes",
      "Url": "https://api.inflectra.com/Spira/Services/v7_0/RestService.svc/project-templates/{project_template_id}/incidents/types",
      "Method": "GET",
      "Body": "",

      "Headers": [
        {
          "Name": "Accept",
          "Value": "application/json"
        },
        {
          "Name": "Content-Type",
          "Value": "application/json"
        }
      ],
      "Parameters": [
        {
          "Name": "project_template_id",
          "TokenName": "{project_template_id}",
          "Value": ""
        }
      ]
    },
    {
      "Name": "AddType",
      "Url": "https://api.inflectra.com/Spira/Services/v7_0/RestService.svc/project-templates/{project_template_id}/incidents/types",
      "Method": "POST",
      "Body": "",

      "Headers": [
        {
          "Name": "Accept",
          "Value": "application/json"
        },
        {
          "Name": "Content-Type",
          "Value": "application/json"
        }
      ],
      "Parameters": [
        {
          "Name": "project_template_id",
          "TokenName": "{project_template_id}",
          "Value": ""
        }
      ]
    },
    {
      "Name": "UpdateType",
      "Url": "https://api.inflectra.com/Spira/Services/v7_0/RestService.svc/project-templates/{project_template_id}/incidents/types",
      "Method": "PUT",
      "Body": "",

      "Headers": [
        {
          "Name": "Accept",
          "Value": "application/json"
        },
        {
          "Name": "Content-Type",
          "Value": "application/json"
        }
      ],
      "Parameters": [
        {
          "Name": "project_template_id",
          "TokenName": "{project_template_id}",
          "Value": ""
        }
      ]
    },
    {
      "Name": "RetrieveDefaultType",
      "Url": "https://api.inflectra.com/Spira/Services/v7_0/RestService.svc/project-templates/{project_template_id}/incidents/types/default",
      "Method": "GET",
      "Body": "",

      "Headers": [
        {
          "Name": "Accept",
          "Value": "application/json"
        },
        {
          "Name": "Content-Type",
          "Value": "application/json"
        }
      ],
      "Parameters": [
        {
          "Name": "project_template_id",
          "TokenName": "{project_template_id}",
          "Value": ""
        }
      ]
    },
    {
      "Name": "RetrieveWorkflowTransitionsForUser",
      "Url": "https://api.inflectra.com/Spira/Services/v7_0/RestService.svc/projects/{project_id}/incidents/types/{incident_type_id}/workflow/transitions?status_id={incident_status_id}&is_creator={is_creator}&isOwner={is_owner}",
      "Method": "GET",
      "Body": "",

      "Headers": [
        {
          "Name": "Accept",
          "Value": "application/json"
        },
        {
          "Name": "Content-Type",
          "Value": "application/json"
        }
      ],
      "Parameters": [
        {
          "Name": "project_id",
          "TokenName": "{project_id}",
          "Value": ""
        },
        {
          "Name": "incident_type_id",
          "TokenName": "{incident_type_id}",
          "Value": ""
        },
        {
          "Name": "incident_status_id",
          "TokenName": "{incident_status_id}",
          "Value": ""
        },
        {
          "Name": "is_creator",
          "TokenName": "{is_creator}",
          "Value": ""
        },
        {
          "Name": "is_owner",
          "TokenName": "{is_owner}",
          "Value": ""
        }
      ]
    },
    {
      "Name": "RetrieveWorkflowFieldsByType",
      "Url": "https://api.inflectra.com/Spira/Services/v7_0/RestService.svc/project-templates/{project_template_id}/incidents/types/{incident_type_id}/workflow/fields?status_id={incident_status_id}",
      "Method": "GET",
      "Body": "",

      "Headers": [
        {
          "Name": "Accept",
          "Value": "application/json"
        },
        {
          "Name": "Content-Type",
          "Value": "application/json"
        }
      ],
      "Parameters": [
        {
          "Name": "project_template_id",
          "TokenName": "{project_template_id}",
          "Value": ""
        },
        {
          "Name": "incident_type_id",
          "TokenName": "{incident_type_id}",
          "Value": ""
        },
        {
          "Name": "incident_status_id",
          "TokenName": "{incident_status_id}",
          "Value": ""
        }
      ]
    },
    {
      "Name": "RetrieveWorkflowCustomPropertiesByType",
      "Url": "https://api.inflectra.com/Spira/Services/v7_0/RestService.svc/project-templates/{project_template_id}/incidents/types/{incident_type_id}/workflow/custom-properties?status_id={incident_status_id}",
      "Method": "GET",
      "Body": "",

      "Headers": [
        {
          "Name": "Accept",
          "Value": "application/json"
        },
        {
          "Name": "Content-Type",
          "Value": "application/json"
        }
      ],
      "Parameters": [
        {
          "Name": "project_template_id",
          "TokenName": "{project_template_id}",
          "Value": ""
        },
        {
          "Name": "incident_type_id",
          "TokenName": "{incident_type_id}",
          "Value": ""
        },
        {
          "Name": "incident_status_id",
          "TokenName": "{incident_status_id}",
          "Value": ""
        }
      ]
    }
  ]
}
