{
  "opencollection": "1.0.0",
  "info": {
    "name": "Facilio REST Assets Service Request Comments API",
    "version": "5.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-api-key",
      "value": "{{x-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Service Request Comments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List service request comments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{region}.facilioapis.com/{app_name}/api/v5/servicerequest/:id/comments",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Record ID"
              }
            ]
          },
          "docs": "Returns all comments for the specified service request."
        },
        {
          "info": {
            "name": "Add service request comment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{region}.facilioapis.com/{app_name}/api/v5/servicerequest/:id/comments",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Record ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add service request comment"
        },
        {
          "info": {
            "name": "Update service request comment",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{region}.facilioapis.com/{app_name}/api/v5/servicerequest/:id/comments/:commentId",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Record ID"
              },
              {
                "name": "commentId",
                "value": "",
                "type": "path",
                "description": "Comment ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update service request comment"
        },
        {
          "info": {
            "name": "Delete service request comment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{region}.facilioapis.com/{app_name}/api/v5/servicerequest/:id/comments/:commentId",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Record ID"
              },
              {
                "name": "commentId",
                "value": "",
                "type": "path",
                "description": "Comment ID"
              }
            ]
          },
          "docs": "Delete service request comment"
        }
      ]
    }
  ],
  "bundled": true
}