{
  "opencollection": "1.0.0",
  "info": {
    "name": "Limble API V2 Assets Comments API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Comments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Task Comments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.limblecmms.com/v2/tasks/:taskID/comments",
            "params": [
              {
                "name": "taskID",
                "value": "19696",
                "type": "path",
                "description": "taskID of the task you are adding a comment to."
              },
              {
                "name": "cursor",
                "value": "0",
                "type": "query",
                "description": "This parameter is a cursor that selects what commentID you want to start receiving results at. e.g. passing 137 here will only get you parts with an id greater than 137."
              },
              {
                "name": "limit",
                "value": "100",
                "type": "query",
                "description": "This parameter is a result limiter. The default is set to return no more than 100 results at one time."
              }
            ]
          },
          "docs": "This request gets all Task Comments associated with a Task.\n\nReturn data description\n\ncommentID | This is the commentID of comment.\ncomment | The text comment that was entered by the user.\ntimestamp | The date this comment was created. This is a unix timestamp.\nuserID | The ID of the user that made the comment.\ncommentEmailAddress | The email address of the external user that made this comment. This is only populated if the comment was made by an external user via the comment reply system.\nshowE"
        },
        {
          "info": {
            "name": "Add Task Comments",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.limblecmms.com/v2/tasks/:taskID/comments",
            "params": [
              {
                "name": "taskID",
                "value": "19696",
                "type": "path",
                "description": "taskID of the task you are adding a comment to."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This request adds a comment to a task.\n\ncomment | String | Required | The comment to be added.\nshowExternalUsers | Boolean | Optional | This will show the comment to external users. The default value is true."
        },
        {
          "info": {
            "name": "PO Comments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.limblecmms.com/v2/po/:poID/comments",
            "params": [
              {
                "name": "poID",
                "value": "1234",
                "type": "path"
              },
              {
                "name": "cursor",
                "value": "0",
                "type": "query",
                "description": "This parameter is a cursor that selects what commentID you want to start receiving results at. e.g. passing 137 here will only get you comments with an id greater than 137."
              },
              {
                "name": "limit",
                "value": "100",
                "type": "query",
                "description": "This parameter is a result limiter. The default is set to return no more than 100 results at one time."
              }
            ]
          },
          "docs": "This request gets all PO Comments associated with a PO.\n\nReturn data description\n\ncommentID | This is the commentID of comment.\ncomment | The text comment that was entered by the user.\ntimestamp | The date this comment was created. This is a unix timestamp.\nuserID | The ID of the user that made the comment.\ncommentEmailAddress | The email address of the external user that made this comment. This is only populated if the comment was made by an external user via the comment reply system.\ncommentFi"
        },
        {
          "info": {
            "name": "Create PO Comment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.limblecmms.com/v2/po/:poID/comments",
            "params": [
              {
                "name": "poID",
                "value": "1234",
                "type": "path"
              }
            ]
          },
          "docs": "Adds a comment to the specified PO.\n\nParameters:\n\n| Parameter | In | Type | Required | Default | Description |\n|---|---|---|---|---|---|\n| poID | path | integer | yes |  | Purchase Order identifier |\n| comment | body | string | yes |  | Comment text |\n| showExternalUsers | body | boolean | no | true | Visible to external users |\n\nResponses:\n- 201 Created: Returns commentID."
        },
        {
          "info": {
            "name": "Upload PO Comment File",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.limblecmms.com/v2/po/:poID/comments/:commentID/file",
            "params": [
              {
                "name": "poID",
                "value": "1234",
                "type": "path"
              },
              {
                "name": "commentID",
                "value": "5678",
                "type": "path"
              }
            ]
          },
          "docs": "Uploads a file to a PO comment.\n\nParameters:\n\n| Parameter | In | Type | Required | Default | Description |\n|---|---|---|---|---|---|\n| poID | path | integer | yes |  | Purchase Order identifier |\n| commentID | path | integer | yes |  | Comment identifier |\n| file | form-data | file | yes |  | File to upload (max 50MB). Types: PDF, PNG, JPEG, GIF, TIFF, SVG, DOC, DOCX, XLS, XLSX, ZIP, RAR, RFC822, octet-stream |"
        },
        {
          "info": {
            "name": "Delete PO Comment File",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.limblecmms.com/v2/po/:poID/comments/:commentID/file",
            "params": [
              {
                "name": "poID",
                "value": "1234",
                "type": "path"
              },
              {
                "name": "commentID",
                "value": "5678",
                "type": "path"
              },
              {
                "name": "filename",
                "value": "invoice.pdf",
                "type": "query"
              }
            ]
          },
          "docs": "Deletes a file from a PO comment.\n\nParameters:\n\n| Parameter | In | Type | Required | Default | Description |\n|---|---|---|---|---|---|\n| poID | path | integer | yes |  | Purchase Order identifier |\n| commentID | path | integer | yes |  | Comment identifier |\n| filename | query | string | yes |  | Exact filename to remove |\n\nResponses:\n- 200 OK: Deleted.\n- 404 Not Found: File not found."
        },
        {
          "info": {
            "name": "Delete PO Comment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.limblecmms.com/v2/po/:poID/comments/:commentID",
            "params": [
              {
                "name": "poID",
                "value": "1",
                "type": "path"
              },
              {
                "name": "commentID",
                "value": "5678",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes a PO comment.\n\nParameters:\n\n| Parameter | In | Type | Required | Default | Description |\n|---|---|---|---|---|---|\n| poID | path | integer | yes |  | Purchase Order identifier |\n| commentID | path | integer | yes |  | Comment identifier |\n\nResponses:\n- 200 OK: Deleted.\n- 404 Not Found: Comment not found."
        },
        {
          "info": {
            "name": "Bill Comments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.limblecmms.com/v2/bills/:billID/comments",
            "params": [
              {
                "name": "billID",
                "value": "2001",
                "type": "path"
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "This parameter is a cursor that selects what commentID you want to start receiving results at. e.g. passing 100 here will only get you comments with an id greater than 100"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "This parameter is a result limiter. The default is set to return no more than 100 results at one time."
              }
            ]
          },
          "docs": "This request gets all Bill Comments associated with a Bill.\n\nReturn data description\n\ncommentID | This is the commentID of comment.\ncomment | The text comment that was entered by the user.\ntimestamp | The date this comment was created. This is a unix timestamp.\nuserID | The ID of the user that made the comment.\ncommentEmailAddress | The email address of the external user that made this comment. This is only populated if the comment was made by an external user via the comment reply system.\ncomme"
        },
        {
          "info": {
            "name": "Create Bill Comment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.limblecmms.com/v2/bills/:billID/comments",
            "params": [
              {
                "name": "billID",
                "value": "2001",
                "type": "path"
              }
            ]
          },
          "docs": "Adds a comment to a Bill.\n\nParameters:\n\n| Parameter | In | Type | Required | Default | Description |\n|---|---|---|---|---|---|\n| billID | path | integer | yes |  | Bill identifier |\n| comment | body | string | yes |  | Comment text |\n| showExternalUsers | body | boolean | no | true | Visible to external users |\n\nResponses:\n- 201 Created: Returns commentID."
        },
        {
          "info": {
            "name": "Upload Bill Comment File",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.limblecmms.com/v2/bills/:billID/comments/:commentID/file",
            "params": [
              {
                "name": "billID",
                "value": "2001",
                "type": "path"
              },
              {
                "name": "commentID",
                "value": "12",
                "type": "path"
              }
            ]
          },
          "docs": "Uploads a file to a Bill comment.\n\nParameters:\n\n| Parameter | In | Type | Required | Default | Description |\n|---|---|---|---|---|---|\n| billID | path | integer | yes |  | Bill identifier |\n| commentID | path | integer | yes |  | Comment identifier |\n| file | form-data | file | yes |  | File to upload (max 50MB). Same types as PO comment files |"
        },
        {
          "info": {
            "name": "Delete Bill Comment File",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.limblecmms.com/v2/bills/:billID/comments/:commentID/file",
            "params": [
              {
                "name": "billID",
                "value": "2001",
                "type": "path"
              },
              {
                "name": "commentID",
                "value": "12",
                "type": "path"
              },
              {
                "name": "filename",
                "value": "receipt.png",
                "type": "query"
              }
            ]
          },
          "docs": "Deletes a file from a Bill comment.\n\nParameters:\n\n| Parameter | In | Type | Required | Default | Description |\n|---|---|---|---|---|---|\n| billID | path | integer | yes |  | Bill identifier |\n| commentID | path | integer | yes |  | Comment identifier |\n| filename | query | string | yes |  | Exact filename to remove |\n\nResponses:\n- 200 OK: Deleted.\n- 404 Not Found: File not found."
        },
        {
          "info": {
            "name": "Delete Bill Comment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.limblecmms.com/v2/bills/:billID/comments/:commentID",
            "params": [
              {
                "name": "billID",
                "value": "2001",
                "type": "path"
              },
              {
                "name": "commentID",
                "value": "12",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes a Bill comment.\n\nParameters:\n\n| Parameter | In | Type | Required | Default | Description |\n|---|---|---|---|---|---|\n| billID | path | integer | yes |  | Bill identifier |\n| commentID | path | integer | yes |  | Comment identifier |\n\nResponses:\n- 200 OK: Deleted.\n- 404 Not Found: Comment not found."
        }
      ]
    }
  ],
  "bundled": true
}