{
  "opencollection": "1.0.0",
  "info": {
    "name": "Facilio REST Assets Services API",
    "version": "5.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-api-key",
      "value": "{{x-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Services",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List services",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{region}.facilioapis.com/{app_name}/api/v5/service",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number (1-based)"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Records per page (max 200)"
              },
              {
                "name": "select",
                "value": "",
                "type": "query",
                "description": "Comma-separated field names to include in the response"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Free-text search on the primary field (subject, name, etc.)"
              },
              {
                "name": "count",
                "value": "",
                "type": "query",
                "description": "Include total record count in response"
              },
              {
                "name": "changed",
                "value": "",
                "type": "query",
                "description": "Delta sync: returns records created/modified after this UTC timestamp"
              },
              {
                "name": "sortBy",
                "value": "",
                "type": "query"
              },
              {
                "name": "sortOrder",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List services"
        },
        {
          "info": {
            "name": "Create a service",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{region}.facilioapis.com/{app_name}/api/v5/service",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a service"
        },
        {
          "info": {
            "name": "Get a service",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{region}.facilioapis.com/{app_name}/api/v5/service/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Record ID"
              },
              {
                "name": "select",
                "value": "",
                "type": "query",
                "description": "Comma-separated field names to include in the response"
              }
            ]
          },
          "docs": "Get a service"
        },
        {
          "info": {
            "name": "Update a service",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{region}.facilioapis.com/{app_name}/api/v5/service/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Record ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a service"
        },
        {
          "info": {
            "name": "Delete a service",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{region}.facilioapis.com/{app_name}/api/v5/service/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Record ID"
              }
            ]
          },
          "docs": "Delete a service"
        },
        {
          "info": {
            "name": "Get service field schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{region}.facilioapis.com/{app_name}/api/v5/service/metadata",
            "params": [
              {
                "name": "includeAllowedValues",
                "value": "",
                "type": "query",
                "description": "When `true`, the metadata response adds `allowed_values` ([{label, value}]) on every picklist-capable field — `ENUM`, `SYSTEM_ENUM`, `MULTI_ENUM`, `STRING_SYSTEM_ENUM`, and `LOOKUP` fields targeting system picklist modules (status, priority, category, type, ...).\nDefault `false` keeps the original metadata payload (no enrichment, no extra DB calls).\nUse this to discover acceptable write values without round-tripping `GET /picklist/{moduleName}/{fieldName}` for every picklist field.\n"
              }
            ]
          },
          "docs": "Returns the field schema for the service module, including all declared system fields and any org-specific custom fields with their data type, required/readOnly flags, and lookup targets."
        }
      ]
    }
  ],
  "bundled": true
}