Chilkat Online Tools

PHP (Extension) / New FreshBooks / Single Service

Back to Collection Items

<?php

include("chilkat_9_5_0.php");

$http->put_AuthToken('<access_token>');$success = $http->QuickGetSb('https://api.freshbooks.com/accounting/account/{{accountId}}/billable_items/{{id}}',$sbResponseBody);
?>

Curl Command

curl -X GET
	-H "Authorization: Bearer <access_token>"
https://api.freshbooks.com/accounting/account/{{accountId}}/billable_items/{{id}}

Postman Collection Item JSON

{
  "name": "Single Service",
  "request": {
    "method": "GET",
    "header": [
    ],
    "url": {
      "raw": "https://api.freshbooks.com/accounting/account/{{accountId}}/billable_items/{{id}}",
      "protocol": "https",
      "host": [
        "api",
        "freshbooks",
        "com"
      ],
      "path": [
        "accounting",
        "account",
        "{{accountId}}",
        "billable_items",
        "{{id}}"
      ]
    }
  },
  "response": [
  ]
}