{"_id":"55651711b893840d00444723","user":"555a5da8bcb32e19006f816f","__v":16,"parentDoc":null,"category":{"_id":"5565162e03b6710d00916942","__v":6,"pages":["55651711b893840d00444723","556517a965a1130d00400c22","55651800b893840d00444728","5565190e65a1130d00400c24","5565194db893840d0044472c","55651a00b893840d00444732"],"project":"5548466bd2c8410d006c2143","version":"5548466bd2c8410d006c2146","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-05-27T00:56:14.105Z","from_sync":false,"order":3,"slug":"resources","title":"Resources"},"project":"5548466bd2c8410d006c2143","version":{"_id":"5548466bd2c8410d006c2146","project":"5548466bd2c8410d006c2143","__v":8,"createdAt":"2015-05-05T04:26:19.796Z","releaseDate":"2015-05-05T04:26:19.796Z","categories":["5548466cd2c8410d006c2147","554a69ba0b54d30d007fe128","554a7f3338e3620d0082192e","5565162e03b6710d00916942","55651a0c65a1130d00400c2b","55651d4565a1130d00400c2f","55651e0165a1130d00400c32","5565217903b6710d0091695f"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-05-27T01:00:01.124Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"method":"get","results":{"codes":[{"status":200,"name":"","code":"{\n    \"status\": \"Okay\",\n    \"resources\": [\n        {\n            \"hourRate\": 52.00,\n            \"shortName\": \"A\",\n            \"id\": 932618,\n            \"name\": \"A. Posey\"\n        },\n        {\n            \"hourRate\": null,\n            \"shortName\": \"Adnan\",\n            \"id\": 1259392,\n            \"name\": \"Adnan Ali\"\n        },\n        {\n            \"hourRate\": null,\n            \"shortName\": \"Aida\",\n            \"id\": 1259380,\n            \"name\": \"Aida Tavakkolie\"\n        }]\n}\n","language":"json"}]},"settings":"","examples":{"codes":[{"code":"$.ajax({\n    type: \"GET\", \n    url: \"/api/v1/resources.json\", \n    contentType: 'application/json', \n    dataType: \"json\", \n    success: worked,\n    headers: { apiKey: apiKey }\n});","language":"javascript"},{"code":"<?\n$context = stream_context_create(array(\n  'http'=>array(\n    'method'=>\"GET\",\n    'header'=>\"apiKey: [yourApiKey]\")\n));\n$data = file_get_contents('https://api.projectmanager.com/api/v1/resources.json', false, $context);\nprint_r(json_decode($data));\n?>","language":"php"}]},"auth":"required","params":[],"url":"/resources.json"},"isReference":false,"order":0,"body":"A Resource is represented by the following properties:\n\n\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Property\",\n    \"h-1\": \"Description\",\n    \"0-0\": \"HourlyRate\",\n    \"1-0\": \"ShortName\",\n    \"2-0\": \"Name\",\n    \"3-0\": \"Id\",\n    \"0-1\": \"The hourly rate of the resource.\",\n    \"1-1\": \"The short name of the resource.\",\n    \"2-1\": \"The name of the resource.\",\n    \"3-1\": \"The unique identifier of the resource.\"\n  },\n  \"cols\": 2,\n  \"rows\": 4\n}\n[/block]","excerpt":"A Resource instance represents a resource created for a particular business account. This may be a resource associated with a particular user, or an inanimate resource.\n\nUse this API to retrieve all active resources set up against a business account.\n\nNOTE: The API instructions use the term \"Resource\" in both the Code and in these Developer instructions to reference Resourceid. However, in the live Product, the term \"Resource\" has been globally changed to \"People\" or \"Person\" to indicate a resource.","slug":"retrieve-resources","type":"endpoint","title":"All Resources"}

getAll Resources

A Resource instance represents a resource created for a particular business account. This may be a resource associated with a particular user, or an inanimate resource. Use this API to retrieve all active resources set up against a business account. NOTE: The API instructions use the term "Resource" in both the Code and in these Developer instructions to reference Resourceid. However, in the live Product, the term "Resource" has been globally changed to "People" or "Person" to indicate a resource.

Definition

{{ api_url }}{{ page_api_url }}

Examples


Result Format


Documentation

A Resource is represented by the following properties: [block:parameters] { "data": { "h-0": "Property", "h-1": "Description", "0-0": "HourlyRate", "1-0": "ShortName", "2-0": "Name", "3-0": "Id", "0-1": "The hourly rate of the resource.", "1-1": "The short name of the resource.", "2-1": "The name of the resource.", "3-1": "The unique identifier of the resource." }, "cols": 2, "rows": 4 } [/block]