---
updatedAt: 2025-03-11T01:45:46.000Z
agentTools:
  projectIndex: https://reportingdocs.hammertech.com/llms.txt
---

# Returns a list of PTP permits in the system.

Returns a list of ptpPermits.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "v0.1",
    "title": "HT Reporting API",
    "description": "Specification for the HammerTech reporting API. Enables users/clients to access system information and create their own reporting tools."
  },
  "paths": {
    "/v0.1/ptpPermits": {
      "get": {
        "tags": [
          "PtpPermits"
        ],
        "summary": "Returns a list of PTP permits in the system.",
        "description": "Returns a list of ptpPermits.",
        "operationId": "M:HammerTech.SafetyManager.Reporting.Api.Controllers.v0._1.Ptpsv01Controller.GetPtpPermits(System.Web.OData.Query.ODataQueryOptions{HammerTech.SafetyManager.Reporting.Api.Models.v0._2.PtpPermitListItemv02})",
        "parameters": [
          {
            "name": "$expand",
            "in": "query",
            "description": "Expands related entities inline",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter the results using OData filter syntax.\r\nFilterable Properties: PtpId, PermitId.\r\nExample: $filter=PtpId eq 'value'\r\n",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Selects which properties to include in the response",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sorts the results",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Returns only the first N results",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skips the first N results",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Includes a count of the matching results in the response",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$format",
            "in": "query",
            "description": "Returns data in the specified format",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "csv"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataResponseListOfPtpPermitListItemv02"
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "servers": [
    {
      "url": "https://example.hammertechonline.com"
    }
  ],
  "components": {
    "schemas": {
      "ODataResponseListOfPtpPermitListItemv02": {
        "description": "Default OData response wrapper",
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string"
          },
          "value": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "PtpId": {
                  "format": "uuid",
                  "type": "string"
                },
                "PermitId": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}
```