{ "uuid": "4c0ea93f-b304-460b-8757-4b1cb9ac3c9a", "lastMigration": 29, "name": "HRIS API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "404374f5-d242-46a6-acff-9af4332838bb", "documentation": "List Companies", "method": "get", "endpoint": "hris/companies", "responses": [ { "uuid": "3500f664-a754-4d0b-b59a-6411bf110494", "body": "{\n \"data\": [\n {\n \"addresses\": [\n {\n \"city\": \"San Francisco\",\n \"contact_name\": \"Elon Musk\",\n \"country\": \"US\",\n \"county\": \"Santa Clara\",\n \"email\": \"elon@musk.com\",\n \"fax\": \"122-111-1111\",\n \"id\": \"123\",\n \"latitude\": \"40.759211\",\n \"line1\": \"Main street\",\n \"line2\": \"apt #\",\n \"line3\": \"Suite #\",\n \"line4\": \"delivery instructions\",\n \"longitude\": \"-73.984638\",\n \"name\": \"HQ US\",\n \"phone_number\": \"111-111-1111\",\n \"postal_code\": \"94104\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"state\": \"CA\",\n \"street_number\": \"25\",\n \"string\": \"25 Spring Street, Blackburn, VIC 3130\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'office' 'shipping' 'billing' 'other')}}\",\n \"website\": \"https://elonmusk.com\"\n }\n ],\n \"company_number\": \"123456-AB\",\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"debtor_id\": \"12345\",\n \"deleted\": {{faker 'datatype.boolean'}},\n \"display_name\": \"SpaceX\",\n \"emails\": [\n {\n \"email\": \"elon@musk.com\",\n \"id\": \"123\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'work' 'personal' 'billing' 'other')}}\"\n }\n ],\n \"id\": \"12345\",\n \"legal_name\": \"SpaceX\",\n \"phone_numbers\": [\n {\n \"area_code\": \"323\",\n \"country_code\": \"1\",\n \"extension\": \"105\",\n \"id\": \"12345\",\n \"number\": \"111-111-1111\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'work' 'office' 'mobile' 'assistant' 'fax' 'direct-dial-in' 'personal' 'other')}}\"\n }\n ],\n \"status\": \"{{oneOf (array 'active' 'inactive' 'trial' 'other')}}\",\n \"subdomain\": \"company\",\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\",\n \"websites\": [\n {\n \"id\": \"12345\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'work' 'personal' 'other')}}\",\n \"url\": \"http://example.com\"\n }\n ]\n }\n ],\n \"links\": {\n \"current\": \"https://unify.apideck.com/crm/companies\",\n \"next\": \"https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM\",\n \"previous\": \"https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D\"\n },\n \"meta\": {\n \"cursors\": {\n \"current\": \"em9oby1jcm06OnBhZ2U6OjI=\",\n \"next\": \"em9oby1jcm06OnBhZ2U6OjM=\",\n \"previous\": \"em9oby1jcm06OnBhZ2U6OjE=\"\n },\n \"items_on_page\": 50\n },\n \"operation\": \"all\",\n \"resource\": \"Companies\",\n \"service\": \"undefined\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Companies", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7d3be0bb-ae96-4ff5-bcf9-3647d6c853c2", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "bf186f27-9b59-49d6-8915-f66804179a3f", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c33dad71-5f50-4d26-ad16-55f002d2bfaa", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cfcd5543-a9e9-401d-ad30-8644dd646ef9", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cdb4e025-74c8-452e-aea1-6d853ecdec1a", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cbd0d379-b084-4808-a38e-163d1b7dc314", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a21bba3b-f4b2-41ed-82ed-0e97112130e8", "documentation": "Create Company", "method": "post", "endpoint": "hris/companies", "responses": [ { "uuid": "3b9fea77-2502-4801-9789-e9d7992ec28c", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"add\",\n \"resource\": \"Companies\",\n \"service\": \"undefined\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 201, "label": "Companies", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "dd649044-c39b-4711-8ccc-e928d945ae88", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "49f4e32b-f84b-45a7-9bd9-50efd190ba25", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7ed9e944-22a6-4e3b-8925-a2f76408f677", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d155946f-9b79-448f-96ee-a29ecdcbb8d7", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "07609b4a-b6db-457b-b3e6-046cfeda4701", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a40c6642-51e3-4bd3-bbd1-72230f584816", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a4dfd27c-c585-4628-9ce6-b4a474f6597c", "documentation": "Delete Company", "method": "delete", "endpoint": "hris/companies/:id", "responses": [ { "uuid": "c9f12f8f-b95c-4ad5-958d-3fce60823f63", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"delete\",\n \"resource\": \"Companies\",\n \"service\": \"undefined\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Companies", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "da0b7357-982d-4675-bcf9-a52dae91ac2c", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c59adccf-e472-45c6-a882-fbbaf9c3bec9", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f5ff4d7f-1c91-47ba-977e-943699ddc920", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5f81072a-7e38-4f1a-b825-4f9378f18d10", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "298d51af-9cdd-42b6-8a01-94d2983f4f31", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "15d62c00-858e-43f2-83fa-2cdcdaa2c86d", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6167e947-1369-414c-bce9-157fc23b8b3a", "documentation": "Get Company", "method": "get", "endpoint": "hris/companies/:id", "responses": [ { "uuid": "d8bc257a-d3f5-4e31-8e93-c6738cc3430f", "body": "{\n \"data\": {\n \"addresses\": [\n {\n \"city\": \"San Francisco\",\n \"contact_name\": \"Elon Musk\",\n \"country\": \"US\",\n \"county\": \"Santa Clara\",\n \"email\": \"elon@musk.com\",\n \"fax\": \"122-111-1111\",\n \"id\": \"123\",\n \"latitude\": \"40.759211\",\n \"line1\": \"Main street\",\n \"line2\": \"apt #\",\n \"line3\": \"Suite #\",\n \"line4\": \"delivery instructions\",\n \"longitude\": \"-73.984638\",\n \"name\": \"HQ US\",\n \"phone_number\": \"111-111-1111\",\n \"postal_code\": \"94104\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"state\": \"CA\",\n \"street_number\": \"25\",\n \"string\": \"25 Spring Street, Blackburn, VIC 3130\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'office' 'shipping' 'billing' 'other')}}\",\n \"website\": \"https://elonmusk.com\"\n }\n ],\n \"company_number\": \"123456-AB\",\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"debtor_id\": \"12345\",\n \"deleted\": {{faker 'datatype.boolean'}},\n \"display_name\": \"SpaceX\",\n \"emails\": [\n {\n \"email\": \"elon@musk.com\",\n \"id\": \"123\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'work' 'personal' 'billing' 'other')}}\"\n }\n ],\n \"id\": \"12345\",\n \"legal_name\": \"SpaceX\",\n \"phone_numbers\": [\n {\n \"area_code\": \"323\",\n \"country_code\": \"1\",\n \"extension\": \"105\",\n \"id\": \"12345\",\n \"number\": \"111-111-1111\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'work' 'office' 'mobile' 'assistant' 'fax' 'direct-dial-in' 'personal' 'other')}}\"\n }\n ],\n \"status\": \"{{oneOf (array 'active' 'inactive' 'trial' 'other')}}\",\n \"subdomain\": \"company\",\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\",\n \"websites\": [\n {\n \"id\": \"12345\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'work' 'personal' 'other')}}\",\n \"url\": \"http://example.com\"\n }\n ]\n },\n \"operation\": \"one\",\n \"resource\": \"Companies\",\n \"service\": \"undefined\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Company", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d12cf137-468c-4d2e-9376-8b1e31ab3c94", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c6360587-7403-4f04-bf1e-6ae323f839af", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "42f86d34-db7e-4ec6-8b84-de378b8b1026", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "004a5c82-6913-4ee7-beaf-2168b0206167", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "83e759a1-6c31-4eec-b357-c907aea6c304", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "967bead5-ea14-416a-af48-1d60c0639ddc", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8eb7751b-3955-4a34-862c-ad235ef2a3ea", "documentation": "Update Company", "method": "patch", "endpoint": "hris/companies/:id", "responses": [ { "uuid": "3673b56f-5e7e-4239-9f67-1f9903eb71be", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"update\",\n \"resource\": \"Companies\",\n \"service\": \"undefined\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Companies", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a3f752ab-71ac-4a47-82fb-d5a729f7c0c7", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "199298de-a264-4f94-84b3-cbca49f0db09", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9912a39a-cc66-4035-8d14-e30ea4ef9aa8", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6d6d8a72-8495-4fd4-ae5b-7ca0e505b82b", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0b781ece-7320-4ec0-afb1-4efe1a46cfe9", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ba940917-0755-47a2-8597-666cb0fb3294", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bb3bdb67-7baa-4326-83e9-f474134abd8e", "documentation": "List Departments", "method": "get", "endpoint": "hris/departments", "responses": [ { "uuid": "22df06b8-274b-4b3c-8208-fc698dd03ec9", "body": "{\n \"data\": [\n {\n \"code\": \"2\",\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"description\": \"R&D\",\n \"id\": \"12345\",\n \"name\": \"R&D\",\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\"\n }\n ],\n \"links\": {\n \"current\": \"https://unify.apideck.com/crm/companies\",\n \"next\": \"https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM\",\n \"previous\": \"https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D\"\n },\n \"meta\": {\n \"cursors\": {\n \"current\": \"em9oby1jcm06OnBhZ2U6OjI=\",\n \"next\": \"em9oby1jcm06OnBhZ2U6OjM=\",\n \"previous\": \"em9oby1jcm06OnBhZ2U6OjE=\"\n },\n \"items_on_page\": 50\n },\n \"operation\": \"all\",\n \"resource\": \"Departments\",\n \"service\": \"workday\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Departments", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "131c283c-70f8-4325-bb65-af187f204f3f", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0cc3b5dd-be5e-4128-913d-c2d5f77ac212", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "811fa544-ed0c-46cd-b614-c57cc5fd9f2c", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fc4659c3-a2bf-412a-b567-9a5944c7689c", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "82bc8978-26fe-47b0-9ae6-02bc64d3148b", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "99efa0fb-67d7-402c-bfab-ba0b4b16ced1", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "18bb2759-4c97-416c-b9a1-3a91b355a521", "documentation": "Create Department", "method": "post", "endpoint": "hris/departments", "responses": [ { "uuid": "fdf35beb-59dd-4e5b-abd9-b87645f55db8", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"add\",\n \"resource\": \"Departments\",\n \"service\": \"workday\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 201, "label": "Departments", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "47a5d5e3-bd74-4dc2-8a9b-da75a84bb5f4", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "068cc2e6-2712-4b42-be06-fd3d98bbb6bd", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9d0cad7e-2446-42a7-a6fb-d20478b20fe9", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "926c3b32-0dc7-465e-bc5a-5eb0be209ce7", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c41526f4-8de4-4977-b3ef-e76de2329ed4", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ee84ce86-daa8-4ba4-95c6-8b9ae5d2eec8", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "63a42763-0efb-42e8-90a2-e52de05d69da", "documentation": "Delete Department", "method": "delete", "endpoint": "hris/departments/:id", "responses": [ { "uuid": "c267b692-1d72-42a2-bdb8-02436c38eb1d", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"delete\",\n \"resource\": \"Departments\",\n \"service\": \"workday\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Departments", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4805b56d-9ff7-4fd3-8615-da7303ec2696", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3fb8b4d0-13c3-4749-8a64-01b3399bac39", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "061275e0-2336-46d0-9159-1ec1dab578b5", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9bb05a06-fa26-499b-bb7b-9350d1905f46", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2eb51e5e-0785-406e-9dfb-46cee16c1596", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a2f669c5-011a-4b3d-a0ba-47fa54a047e1", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "68dec7a3-c755-42ef-8ac5-9bf7b0e78069", "documentation": "Get Department", "method": "get", "endpoint": "hris/departments/:id", "responses": [ { "uuid": "e5bf098e-936f-46b0-a54e-62a154b61881", "body": "{\n \"data\": {\n \"code\": \"2\",\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"description\": \"R&D\",\n \"id\": \"12345\",\n \"name\": \"R&D\",\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\"\n },\n \"operation\": \"one\",\n \"resource\": \"Departments\",\n \"service\": \"workday\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Departments", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "3e41d1ff-74e8-440e-b49a-e41c0a690a90", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6e0c6710-c670-4f5c-9a0f-f3528b0a1588", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f9e0eb03-c966-411d-bb4c-b5398cfe0db2", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "26f1093b-c45f-43d4-aed3-fbf9adce71b6", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c3a7ad4c-455f-44c1-babe-9d49ac767c3c", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "195455e9-0d2d-4643-a7ae-2687a30635b2", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "793e946e-1d47-4872-9bee-0e38591d985a", "documentation": "Update Department", "method": "patch", "endpoint": "hris/departments/:id", "responses": [ { "uuid": "36ccd05d-11a9-4397-8ca3-ce2c7918abd9", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"update\",\n \"resource\": \"Departments\",\n \"service\": \"workday\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Departments", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "2599b06d-5e43-4ecb-86ee-a230b1b329e2", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3945fced-8328-4985-beaa-d59f4b0b7daf", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6cdefbfe-e906-4b15-a8e5-978e2551de13", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "90419008-c15a-48b1-a491-797c9af1803a", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3b23d83b-5b00-4ac6-8582-3f55aff6556f", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "76e21c51-2c1a-4852-a5c9-c025792e670c", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "601e46a6-76a9-4d1e-b382-30745fa11013", "documentation": "List Employees", "method": "get", "endpoint": "hris/employees", "responses": [ { "uuid": "666872ab-9cdf-4456-93bc-e1ffad1bd8bc", "body": "{\n \"data\": [\n {\n \"addresses\": [\n {\n \"city\": \"San Francisco\",\n \"contact_name\": \"Elon Musk\",\n \"country\": \"US\",\n \"county\": \"Santa Clara\",\n \"email\": \"elon@musk.com\",\n \"fax\": \"122-111-1111\",\n \"id\": \"123\",\n \"latitude\": \"40.759211\",\n \"line1\": \"Main street\",\n \"line2\": \"apt #\",\n \"line3\": \"Suite #\",\n \"line4\": \"delivery instructions\",\n \"longitude\": \"-73.984638\",\n \"name\": \"HQ US\",\n \"phone_number\": \"111-111-1111\",\n \"postal_code\": \"94104\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"state\": \"CA\",\n \"street_number\": \"25\",\n \"string\": \"25 Spring Street, Blackburn, VIC 3130\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'office' 'shipping' 'billing' 'other')}}\",\n \"website\": \"https://elonmusk.com\"\n }\n ],\n \"birthday\": \"2000-08-12\",\n \"company_id\": \"23456\",\n \"company_name\": \"SpaceX\",\n \"compensations\": [\n {\n \"effective_date\": \"2021-06-11\",\n \"flsa_status\": \"nonexempt\",\n \"id\": \"3404301363494309004\",\n \"job_id\": \"3490439050957906679\",\n \"payment_unit\": \"hour\",\n \"rate\": 50\n }\n ],\n \"country_of_birth\": \"US\",\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"custom_fields\": [\n {\n \"description\": \"Employee Level\",\n \"id\": \"2389328923893298\",\n \"name\": \"employee_level\",\n \"value\": \"\"\n }\n ],\n \"deceased_on\": \"2000-08-12\",\n \"deleted\": true,\n \"department\": \"R&D\",\n \"department_id\": \"12345\",\n \"description\": \"A description\",\n \"dietary_preference\": \"Veggie\",\n \"direct_reports\": [\n \"a0d636c6-43b3-4bde-8c70-85b707d992f4\",\n \"a98lfd96-43b3-4bde-8c70-85b707d992e6\"\n ],\n \"display_name\": \"Technoking\",\n \"division\": \"Europe\",\n \"emails\": [\n {\n \"email\": \"elon@musk.com\",\n \"id\": \"123\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'work' 'personal' 'billing' 'other')}}\"\n }\n ],\n \"employee_number\": \"123456-AB\",\n \"employment_end_date\": \"2028-10-26\",\n \"employment_role\": {\n \"sub_type\": \"{{oneOf (array 'full_time' 'part_time' 'hourly')}}\",\n \"type\": \"{{oneOf (array 'contractor' 'employee' 'freelance' 'temp' 'intership' 'other')}}\"\n },\n \"employment_start_date\": \"2021-10-26\",\n \"employment_status\": \"{{oneOf (array 'active' 'inactive' 'terminated' 'other')}}\",\n \"first_name\": \"Elon\",\n \"food_allergies\": [\n \"No allergies\"\n ],\n \"gender\": \"{{oneOf (array 'male' 'female' 'unisex' 'other' 'not_specified')}}\",\n \"id\": \"12345\",\n \"initials\": \"EM\",\n \"jobs\": [\n {\n \"compensation_rate\": 72000,\n \"currency\": \"{{oneOf (array 'UNKNOWN_CURRENCY' 'AED' 'AFN' 'ALL' 'AMD' 'ANG' 'AOA' 'ARS' 'AUD' 'AWG' 'AZN' 'BAM' 'BBD' 'BDT' 'BGN' 'BHD' 'BIF' 'BMD' 'BND' 'BOB' 'BOV' 'BRL' 'BSD' 'BTN' 'BWP' 'BYR' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' 'SLL' 'SOS' 'SRD' 'SSP' 'STD' 'SVC' 'SYP' 'SZL' 'THB' 'TJS' 'TMT' 'TND' 'TOP' 'TRC' 'TRY' 'TTD' 'TWD' 'TZS' 'UAH' 'UGX' 'USD' 'USN' 'USS' 'UYI' 'UYU' 'UZS' 'VEF' 'VND' 'VUV' 'WST' 'XAF' 'XAG' 'XAU' 'XBA' 'XBB' 'XBC' 'XBD' 'XCD' 'XDR' 'XOF' 'XPD' 'XPF' 'XPT' 'XTS' 'XXX' 'YER' 'ZAR' 'ZMK' 'ZMW' 'BTC')}}\",\n \"employee_id\": \"12345\",\n \"end_date\": \"2020-08-12\",\n \"hired_at\": \"2020-08-12\",\n \"id\": \"12345\",\n \"is_primary\": true,\n \"location\": {\n \"city\": \"San Francisco\",\n \"contact_name\": \"Elon Musk\",\n \"country\": \"US\",\n \"county\": \"Santa Clara\",\n \"email\": \"elon@musk.com\",\n \"fax\": \"122-111-1111\",\n \"id\": \"123\",\n \"latitude\": \"40.759211\",\n \"line1\": \"Main street\",\n \"line2\": \"apt #\",\n \"line3\": \"Suite #\",\n \"line4\": \"delivery instructions\",\n \"longitude\": \"-73.984638\",\n \"name\": \"HQ US\",\n \"phone_number\": \"111-111-1111\",\n \"postal_code\": \"94104\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"state\": \"CA\",\n \"street_number\": \"25\",\n \"string\": \"25 Spring Street, Blackburn, VIC 3130\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'office' 'shipping' 'billing' 'other')}}\",\n \"website\": \"https://elonmusk.com\"\n },\n \"payment_unit\": \"{{oneOf (array 'hour' 'week' 'month' 'year' 'paycheck')}}\",\n \"role\": \"Sales\",\n \"start_date\": \"2020-08-12\",\n \"title\": \"CEO\"\n }\n ],\n \"languages\": [\n \"EN\"\n ],\n \"last_name\": \"Musk\",\n \"manager\": {\n \"email\": \"elon@musk.com\",\n \"first_name\": \"Elon\",\n \"id\": \"12345\",\n \"last_name\": \"Musk\",\n \"name\": \"Elon Musk\"\n },\n \"marital_status\": \"married\",\n \"middle_name\": \"D.\",\n \"nationalities\": [\n \"US\"\n ],\n \"partner\": {\n \"birthday\": \"2000-08-12\",\n \"deceased_on\": \"2000-08-12\",\n \"first_name\": \"Elon\",\n \"gender\": \"{{oneOf (array 'male' 'female' 'unisex' 'other' 'not_specified')}}\",\n \"id\": \"12345\",\n \"initials\": \"EM\",\n \"last_name\": \"Musk\",\n \"middle_name\": \"D.\"\n },\n \"phone_numbers\": [\n {\n \"area_code\": \"323\",\n \"country_code\": \"1\",\n \"extension\": \"105\",\n \"id\": \"12345\",\n \"number\": \"111-111-1111\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'work' 'office' 'mobile' 'assistant' 'fax' 'direct-dial-in' 'personal' 'other')}}\"\n }\n ],\n \"photo_url\": \"https://unavatar.io/elon-musk\",\n \"preferred_language\": \"EN\",\n \"preferred_name\": \"Elon Musk\",\n \"pronouns\": \"she,her\",\n \"record_url\": \"https://app.intercom.io/contacts/12345\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"social_links\": [\n {\n \"id\": \"12345\",\n \"type\": \"twitter\",\n \"url\": \"https://www.twitter.com/apideck-io\"\n }\n ],\n \"social_security_number\": \"123456789\",\n \"source\": \"lever\",\n \"source_id\": \"12345\",\n \"tags\": [\n \"New\"\n ],\n \"tax_code\": \"1111\",\n \"tax_id\": \"234-32-0000\",\n \"team\": {\n \"id\": \"1234\",\n \"name\": \"Full Stack Engineers\"\n },\n \"timezone\": \"Europe/London\",\n \"title\": \"CEO\",\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\",\n \"works_remote\": true\n }\n ],\n \"links\": {\n \"current\": \"https://unify.apideck.com/crm/companies\",\n \"next\": \"https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM\",\n \"previous\": \"https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D\"\n },\n \"meta\": {\n \"cursors\": {\n \"current\": \"em9oby1jcm06OnBhZ2U6OjI=\",\n \"next\": \"em9oby1jcm06OnBhZ2U6OjM=\",\n \"previous\": \"em9oby1jcm06OnBhZ2U6OjE=\"\n },\n \"items_on_page\": 50\n },\n \"operation\": \"all\",\n \"resource\": \"Employees\",\n \"service\": \"sage-hr\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Employees", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8668569b-5112-47bb-9282-8201ebfee87c", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8b5abc14-25ee-4608-aba0-605b08bd8201", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c762ac81-325e-406f-91fe-0cd71c598282", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "42599731-b271-4e35-b90d-57f5dc92237d", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1b6dd2ae-6981-4276-ac4f-e1c5eb90844b", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3d9f2d24-50ac-464c-95c0-e2833beb3eec", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "47cfa16e-6cea-4408-89e9-c386cd45d246", "documentation": "Create Employee", "method": "post", "endpoint": "hris/employees", "responses": [ { "uuid": "65f550aa-532b-4ce1-bf17-8876bd1a3b90", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"add\",\n \"resource\": \"Employees\",\n \"service\": \"sage-hr\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 201, "label": "Employees", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "06f9b9d2-6219-4ac1-a46b-16b57c630355", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d84f9c0a-6349-43e6-8d48-03a1153812cd", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ceed0f32-6f0d-49fd-9c01-49309480b807", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cde37565-9971-418a-851c-ac118bd1184d", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "10d49c48-f72f-4baa-827a-63e4268cd299", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "26be6e9c-785f-498b-8765-a1faa5af8993", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0c9ff955-3c59-4424-aa63-a2b66da5c23c", "documentation": "Delete Employee", "method": "delete", "endpoint": "hris/employees/:id", "responses": [ { "uuid": "a1f4e1e0-bee6-471b-a2b6-5292ece8e5c1", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"delete\",\n \"resource\": \"Employees\",\n \"service\": \"sage-hr\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Employees", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5c04b91e-83a5-4fdc-99e5-3cf02dd31382", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "73f97083-14ba-46c6-be65-105b72ba2fae", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "41ab3013-06ef-46a5-bb5d-fc4b8cef859a", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "54c3d4cd-d3c7-485a-ace9-d3ee0ecee6e0", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3e66072d-1076-4170-9d1a-a16d5687d587", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f0d9a34b-5a84-4031-b02d-c2f3fc7e92e3", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "438555cb-9d5c-45f7-86e6-5665ea8edd41", "documentation": "Get Employee", "method": "get", "endpoint": "hris/employees/:id", "responses": [ { "uuid": "1035297e-870f-4f4e-810f-2a8f2ea3b2f4", "body": "{\n \"data\": {\n \"addresses\": [\n {\n \"city\": \"San Francisco\",\n \"contact_name\": \"Elon Musk\",\n \"country\": \"US\",\n \"county\": \"Santa Clara\",\n \"email\": \"elon@musk.com\",\n \"fax\": \"122-111-1111\",\n \"id\": \"123\",\n \"latitude\": \"40.759211\",\n \"line1\": \"Main street\",\n \"line2\": \"apt #\",\n \"line3\": \"Suite #\",\n \"line4\": \"delivery instructions\",\n \"longitude\": \"-73.984638\",\n \"name\": \"HQ US\",\n \"phone_number\": \"111-111-1111\",\n \"postal_code\": \"94104\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"state\": \"CA\",\n \"street_number\": \"25\",\n \"string\": \"25 Spring Street, Blackburn, VIC 3130\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'office' 'shipping' 'billing' 'other')}}\",\n \"website\": \"https://elonmusk.com\"\n }\n ],\n \"birthday\": \"2000-08-12\",\n \"company_id\": \"23456\",\n \"company_name\": \"SpaceX\",\n \"compensations\": [\n {\n \"effective_date\": \"2021-06-11\",\n \"flsa_status\": \"nonexempt\",\n \"id\": \"3404301363494309004\",\n \"job_id\": \"3490439050957906679\",\n \"payment_unit\": \"hour\",\n \"rate\": 50\n }\n ],\n \"country_of_birth\": \"US\",\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"custom_fields\": [\n {\n \"description\": \"Employee Level\",\n \"id\": \"2389328923893298\",\n \"name\": \"employee_level\",\n \"value\": \"\"\n }\n ],\n \"deceased_on\": \"2000-08-12\",\n \"deleted\": true,\n \"department\": \"R&D\",\n \"department_id\": \"12345\",\n \"description\": \"A description\",\n \"dietary_preference\": \"Veggie\",\n \"direct_reports\": [\n \"a0d636c6-43b3-4bde-8c70-85b707d992f4\",\n \"a98lfd96-43b3-4bde-8c70-85b707d992e6\"\n ],\n \"display_name\": \"Technoking\",\n \"division\": \"Europe\",\n \"emails\": [\n {\n \"email\": \"elon@musk.com\",\n \"id\": \"123\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'work' 'personal' 'billing' 'other')}}\"\n }\n ],\n \"employee_number\": \"123456-AB\",\n \"employment_end_date\": \"2028-10-26\",\n \"employment_role\": {\n \"sub_type\": \"{{oneOf (array 'full_time' 'part_time' 'hourly')}}\",\n \"type\": \"{{oneOf (array 'contractor' 'employee' 'freelance' 'temp' 'intership' 'other')}}\"\n },\n \"employment_start_date\": \"2021-10-26\",\n \"employment_status\": \"{{oneOf (array 'active' 'inactive' 'terminated' 'other')}}\",\n \"first_name\": \"Elon\",\n \"food_allergies\": [\n \"No allergies\"\n ],\n \"gender\": \"{{oneOf (array 'male' 'female' 'unisex' 'other' 'not_specified')}}\",\n \"id\": \"12345\",\n \"initials\": \"EM\",\n \"jobs\": [\n {\n \"compensation_rate\": 72000,\n \"currency\": \"{{oneOf (array 'UNKNOWN_CURRENCY' 'AED' 'AFN' 'ALL' 'AMD' 'ANG' 'AOA' 'ARS' 'AUD' 'AWG' 'AZN' 'BAM' 'BBD' 'BDT' 'BGN' 'BHD' 'BIF' 'BMD' 'BND' 'BOB' 'BOV' 'BRL' 'BSD' 'BTN' 'BWP' 'BYR' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' 'SLL' 'SOS' 'SRD' 'SSP' 'STD' 'SVC' 'SYP' 'SZL' 'THB' 'TJS' 'TMT' 'TND' 'TOP' 'TRC' 'TRY' 'TTD' 'TWD' 'TZS' 'UAH' 'UGX' 'USD' 'USN' 'USS' 'UYI' 'UYU' 'UZS' 'VEF' 'VND' 'VUV' 'WST' 'XAF' 'XAG' 'XAU' 'XBA' 'XBB' 'XBC' 'XBD' 'XCD' 'XDR' 'XOF' 'XPD' 'XPF' 'XPT' 'XTS' 'XXX' 'YER' 'ZAR' 'ZMK' 'ZMW' 'BTC')}}\",\n \"employee_id\": \"12345\",\n \"end_date\": \"2020-08-12\",\n \"hired_at\": \"2020-08-12\",\n \"id\": \"12345\",\n \"is_primary\": true,\n \"location\": {\n \"city\": \"San Francisco\",\n \"contact_name\": \"Elon Musk\",\n \"country\": \"US\",\n \"county\": \"Santa Clara\",\n \"email\": \"elon@musk.com\",\n \"fax\": \"122-111-1111\",\n \"id\": \"123\",\n \"latitude\": \"40.759211\",\n \"line1\": \"Main street\",\n \"line2\": \"apt #\",\n \"line3\": \"Suite #\",\n \"line4\": \"delivery instructions\",\n \"longitude\": \"-73.984638\",\n \"name\": \"HQ US\",\n \"phone_number\": \"111-111-1111\",\n \"postal_code\": \"94104\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"state\": \"CA\",\n \"street_number\": \"25\",\n \"string\": \"25 Spring Street, Blackburn, VIC 3130\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'office' 'shipping' 'billing' 'other')}}\",\n \"website\": \"https://elonmusk.com\"\n },\n \"payment_unit\": \"{{oneOf (array 'hour' 'week' 'month' 'year' 'paycheck')}}\",\n \"role\": \"Sales\",\n \"start_date\": \"2020-08-12\",\n \"title\": \"CEO\"\n }\n ],\n \"languages\": [\n \"EN\"\n ],\n \"last_name\": \"Musk\",\n \"manager\": {\n \"email\": \"elon@musk.com\",\n \"first_name\": \"Elon\",\n \"id\": \"12345\",\n \"last_name\": \"Musk\",\n \"name\": \"Elon Musk\"\n },\n \"marital_status\": \"married\",\n \"middle_name\": \"D.\",\n \"nationalities\": [\n \"US\"\n ],\n \"partner\": {\n \"birthday\": \"2000-08-12\",\n \"deceased_on\": \"2000-08-12\",\n \"first_name\": \"Elon\",\n \"gender\": \"{{oneOf (array 'male' 'female' 'unisex' 'other' 'not_specified')}}\",\n \"id\": \"12345\",\n \"initials\": \"EM\",\n \"last_name\": \"Musk\",\n \"middle_name\": \"D.\"\n },\n \"phone_numbers\": [\n {\n \"area_code\": \"323\",\n \"country_code\": \"1\",\n \"extension\": \"105\",\n \"id\": \"12345\",\n \"number\": \"111-111-1111\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'work' 'office' 'mobile' 'assistant' 'fax' 'direct-dial-in' 'personal' 'other')}}\"\n }\n ],\n \"photo_url\": \"https://unavatar.io/elon-musk\",\n \"preferred_language\": \"EN\",\n \"preferred_name\": \"Elon Musk\",\n \"pronouns\": \"she,her\",\n \"record_url\": \"https://app.intercom.io/contacts/12345\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"social_links\": [\n {\n \"id\": \"12345\",\n \"type\": \"twitter\",\n \"url\": \"https://www.twitter.com/apideck-io\"\n }\n ],\n \"social_security_number\": \"123456789\",\n \"source\": \"lever\",\n \"source_id\": \"12345\",\n \"tags\": [\n \"New\"\n ],\n \"tax_code\": \"1111\",\n \"tax_id\": \"234-32-0000\",\n \"team\": {\n \"id\": \"1234\",\n \"name\": \"Full Stack Engineers\"\n },\n \"timezone\": \"Europe/London\",\n \"title\": \"CEO\",\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\",\n \"works_remote\": true\n },\n \"operation\": \"one\",\n \"resource\": \"Employees\",\n \"service\": \"sage-hr\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Employees", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "76f82e35-53ac-408a-b4a1-ae939955d02d", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a6a52308-e4b9-4d61-b860-726ff80f9aa5", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5b6c7c71-8a02-4b75-805f-24d1403b89cb", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2b2592a8-84f4-48b5-bb2e-f15946aa775c", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "269b1895-081c-48ed-827d-be58ee16ceb5", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f31898f4-af4e-4b4f-b299-0f8f81d9fe52", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "99016dfd-7059-43fb-99d8-bc53615e9e6a", "documentation": "Update Employee", "method": "patch", "endpoint": "hris/employees/:id", "responses": [ { "uuid": "fa712b60-d8b6-47be-800c-52db9b485bfa", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"update\",\n \"resource\": \"Employees\",\n \"service\": \"sage-hr\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Employees", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "998da43e-9b3f-47b6-b747-5bd01046ad8a", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8128dd19-d99c-4c4e-82b6-3d5021a9008a", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4d3bc1b9-200d-4594-8d8b-70859eadf9f6", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2fa32ffb-59fb-4a1a-97ec-6550f4dd208f", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "12fe717c-d321-498f-8a6f-f0364d097e8c", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a6c8755c-04f9-44ba-ac65-48921b98edea", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "655646b3-936f-48ca-8241-92472425d474", "documentation": "List Jobs", "method": "get", "endpoint": "hris/jobs/employees/:employee_id", "responses": [ { "uuid": "fd6c18dc-5aaa-4776-ad7e-44240e08693f", "body": "{\n \"data\": {\n \"employee\": {\n \"addresses\": [\n {\n \"city\": \"San Francisco\",\n \"contact_name\": \"Elon Musk\",\n \"country\": \"US\",\n \"county\": \"Santa Clara\",\n \"email\": \"elon@musk.com\",\n \"fax\": \"122-111-1111\",\n \"id\": \"123\",\n \"latitude\": \"40.759211\",\n \"line1\": \"Main street\",\n \"line2\": \"apt #\",\n \"line3\": \"Suite #\",\n \"line4\": \"delivery instructions\",\n \"longitude\": \"-73.984638\",\n \"name\": \"HQ US\",\n \"phone_number\": \"111-111-1111\",\n \"postal_code\": \"94104\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"state\": \"CA\",\n \"street_number\": \"25\",\n \"string\": \"25 Spring Street, Blackburn, VIC 3130\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'office' 'shipping' 'billing' 'other')}}\",\n \"website\": \"https://elonmusk.com\"\n }\n ],\n \"birthday\": \"2000-08-12\",\n \"company_id\": \"23456\",\n \"company_name\": \"SpaceX\",\n \"compensations\": [\n {\n \"effective_date\": \"2021-06-11\",\n \"flsa_status\": \"nonexempt\",\n \"id\": \"3404301363494309004\",\n \"job_id\": \"3490439050957906679\",\n \"payment_unit\": \"hour\",\n \"rate\": 50\n }\n ],\n \"country_of_birth\": \"US\",\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"custom_fields\": [\n {\n \"description\": \"Employee Level\",\n \"id\": \"2389328923893298\",\n \"name\": \"employee_level\",\n \"value\": \"\"\n }\n ],\n \"deceased_on\": \"2000-08-12\",\n \"deleted\": true,\n \"department\": \"R&D\",\n \"department_id\": \"12345\",\n \"description\": \"A description\",\n \"dietary_preference\": \"Veggie\",\n \"direct_reports\": [\n \"a0d636c6-43b3-4bde-8c70-85b707d992f4\",\n \"a98lfd96-43b3-4bde-8c70-85b707d992e6\"\n ],\n \"display_name\": \"Technoking\",\n \"division\": \"Europe\",\n \"emails\": [\n {\n \"email\": \"elon@musk.com\",\n \"id\": \"123\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'work' 'personal' 'billing' 'other')}}\"\n }\n ],\n \"employee_number\": \"123456-AB\",\n \"employment_end_date\": \"2028-10-26\",\n \"employment_role\": {\n \"sub_type\": \"{{oneOf (array 'full_time' 'part_time' 'hourly')}}\",\n \"type\": \"{{oneOf (array 'contractor' 'employee' 'freelance' 'temp' 'intership' 'other')}}\"\n },\n \"employment_start_date\": \"2021-10-26\",\n \"employment_status\": \"{{oneOf (array 'active' 'inactive' 'terminated' 'other')}}\",\n \"first_name\": \"Elon\",\n \"food_allergies\": [\n \"No allergies\"\n ],\n \"gender\": \"{{oneOf (array 'male' 'female' 'unisex' 'other' 'not_specified')}}\",\n \"id\": \"12345\",\n \"initials\": \"EM\",\n \"jobs\": [\n {\n \"compensation_rate\": 72000,\n \"currency\": \"{{oneOf (array 'UNKNOWN_CURRENCY' 'AED' 'AFN' 'ALL' 'AMD' 'ANG' 'AOA' 'ARS' 'AUD' 'AWG' 'AZN' 'BAM' 'BBD' 'BDT' 'BGN' 'BHD' 'BIF' 'BMD' 'BND' 'BOB' 'BOV' 'BRL' 'BSD' 'BTN' 'BWP' 'BYR' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' 'SLL' 'SOS' 'SRD' 'SSP' 'STD' 'SVC' 'SYP' 'SZL' 'THB' 'TJS' 'TMT' 'TND' 'TOP' 'TRC' 'TRY' 'TTD' 'TWD' 'TZS' 'UAH' 'UGX' 'USD' 'USN' 'USS' 'UYI' 'UYU' 'UZS' 'VEF' 'VND' 'VUV' 'WST' 'XAF' 'XAG' 'XAU' 'XBA' 'XBB' 'XBC' 'XBD' 'XCD' 'XDR' 'XOF' 'XPD' 'XPF' 'XPT' 'XTS' 'XXX' 'YER' 'ZAR' 'ZMK' 'ZMW' 'BTC')}}\",\n \"employee_id\": \"12345\",\n \"end_date\": \"2020-08-12\",\n \"hired_at\": \"2020-08-12\",\n \"id\": \"12345\",\n \"is_primary\": true,\n \"location\": {\n \"city\": \"San Francisco\",\n \"contact_name\": \"Elon Musk\",\n \"country\": \"US\",\n \"county\": \"Santa Clara\",\n \"email\": \"elon@musk.com\",\n \"fax\": \"122-111-1111\",\n \"id\": \"123\",\n \"latitude\": \"40.759211\",\n \"line1\": \"Main street\",\n \"line2\": \"apt #\",\n \"line3\": \"Suite #\",\n \"line4\": \"delivery instructions\",\n \"longitude\": \"-73.984638\",\n \"name\": \"HQ US\",\n \"phone_number\": \"111-111-1111\",\n \"postal_code\": \"94104\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"state\": \"CA\",\n \"street_number\": \"25\",\n \"string\": \"25 Spring Street, Blackburn, VIC 3130\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'office' 'shipping' 'billing' 'other')}}\",\n \"website\": \"https://elonmusk.com\"\n },\n \"payment_unit\": \"{{oneOf (array 'hour' 'week' 'month' 'year' 'paycheck')}}\",\n \"role\": \"Sales\",\n \"start_date\": \"2020-08-12\",\n \"title\": \"CEO\"\n }\n ],\n \"languages\": [\n \"EN\"\n ],\n \"last_name\": \"Musk\",\n \"manager\": {\n \"email\": \"elon@musk.com\",\n \"first_name\": \"Elon\",\n \"id\": \"12345\",\n \"last_name\": \"Musk\",\n \"name\": \"Elon Musk\"\n },\n \"marital_status\": \"married\",\n \"middle_name\": \"D.\",\n \"nationalities\": [\n \"US\"\n ],\n \"partner\": {\n \"birthday\": \"2000-08-12\",\n \"deceased_on\": \"2000-08-12\",\n \"first_name\": \"Elon\",\n \"gender\": \"{{oneOf (array 'male' 'female' 'unisex' 'other' 'not_specified')}}\",\n \"id\": \"12345\",\n \"initials\": \"EM\",\n \"last_name\": \"Musk\",\n \"middle_name\": \"D.\"\n },\n \"phone_numbers\": [\n {\n \"area_code\": \"323\",\n \"country_code\": \"1\",\n \"extension\": \"105\",\n \"id\": \"12345\",\n \"number\": \"111-111-1111\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'work' 'office' 'mobile' 'assistant' 'fax' 'direct-dial-in' 'personal' 'other')}}\"\n }\n ],\n \"photo_url\": \"https://unavatar.io/elon-musk\",\n \"preferred_language\": \"EN\",\n \"preferred_name\": \"Elon Musk\",\n \"pronouns\": \"she,her\",\n \"record_url\": \"https://app.intercom.io/contacts/12345\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"social_links\": [\n {\n \"id\": \"12345\",\n \"type\": \"twitter\",\n \"url\": \"https://www.twitter.com/apideck-io\"\n }\n ],\n \"social_security_number\": \"123456789\",\n \"source\": \"lever\",\n \"source_id\": \"12345\",\n \"tags\": [\n \"New\"\n ],\n \"tax_code\": \"1111\",\n \"tax_id\": \"234-32-0000\",\n \"team\": {\n \"id\": \"1234\",\n \"name\": \"Full Stack Engineers\"\n },\n \"timezone\": \"Europe/London\",\n \"title\": \"CEO\",\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\",\n \"works_remote\": true\n },\n \"jobs\": [\n {\n \"department\": \"Brussels Office\",\n \"employee_id\": \"\",\n \"employment_status\": \"{{oneOf (array 'active' 'inactive' 'terminated' 'other')}}\",\n \"end_date\": \"2020-08-12\",\n \"id\": \"12345\",\n \"location\": {\n \"name\": \"HQ US\"\n },\n \"start_date\": \"2020-08-12\",\n \"title\": \"CEO\"\n }\n ]\n },\n \"operation\": \"all\",\n \"resource\": \"Employees\",\n \"service\": \"sage-hr\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Jobs", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "397f5ea1-9b74-4443-b976-c3757cdefd7a", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b9b42805-6829-4657-b6d7-db9db561b943", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0bb06788-93ef-4199-820f-6420d9364e7d", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e01303d0-9520-4f74-9d50-85a1b99f6b59", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8dcfbb19-2e8b-4142-b764-16ebfe1f1170", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "49de7fc7-50a2-4985-a10e-cc6c31837dfa", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d6c7a869-3a50-4280-88ec-007335893b78", "documentation": "One Job", "method": "get", "endpoint": "hris/jobs/employees/:employee_id/jobs/:job_id", "responses": [ { "uuid": "ab440d52-e665-404e-bac0-14f8a0dd8b10", "body": "{\n \"data\": {\n \"department\": \"Brussels Office\",\n \"employee_id\": \"\",\n \"employment_status\": \"{{oneOf (array 'active' 'inactive' 'terminated' 'other')}}\",\n \"end_date\": \"2020-08-12\",\n \"id\": \"12345\",\n \"location\": {\n \"name\": \"HQ US\"\n },\n \"start_date\": \"2020-08-12\",\n \"title\": \"CEO\"\n },\n \"operation\": \"one\",\n \"resource\": \"Employees\",\n \"service\": \"sage-hr\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Job", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7def800a-ac5b-4103-a4d3-3d33a79f8529", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a8d3ff42-0421-473d-8ea7-ffad983f35dd", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "bc77b899-a686-4b42-8056-0af7d5609a5d", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "29b66853-9c53-47d0-9e2d-f30669fc9bb2", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "58279567-f330-4e00-b94b-584431d9f457", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "646ecc9d-834c-4f7c-b8dc-1687e4ec4362", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "72097057-60ff-43d8-bd69-bf712b2bb11c", "documentation": "List Payroll", "method": "get", "endpoint": "hris/payrolls", "responses": [ { "uuid": "65b7cdfa-b483-4708-8502-495dbd3434a0", "body": "{\n \"data\": [\n {\n \"check_date\": \"2022-04-08\",\n \"company_id\": \"23456\",\n \"compensations\": [\n {\n \"benefits\": [\n {\n \"employee_deduction\": 142.94,\n \"employer_contribution\": 141.14,\n \"name\": \"Health Insurance\"\n }\n ],\n \"deductions\": [\n {\n \"amount\": 10.97,\n \"name\": \"Company Car\"\n }\n ],\n \"employee_id\": \"12345\",\n \"gross_pay\": 3000,\n \"net_pay\": 2199.93,\n \"taxes\": [\n {\n \"amount\": 1.97,\n \"employer\": {{faker 'datatype.boolean'}},\n \"name\": \"CA State Income Tax\"\n }\n ]\n }\n ],\n \"end_date\": \"2022-04-21\",\n \"id\": \"12345\",\n \"processed\": {{faker 'datatype.boolean'}},\n \"processed_date\": \"2022-04-08\",\n \"start_date\": \"2022-04-08\",\n \"totals\": {\n \"check_amount\": 27966.23,\n \"company_debit\": 27992.49,\n \"employee_benefit_deductions\": {{faker 'number.int' max=99999}},\n \"employee_taxes\": 6616.39,\n \"employer_benefit_contributions\": {{faker 'number.int' max=99999}},\n \"employer_taxes\": 2038.93,\n \"gross_pay\": 27966.23,\n \"net_pay\": 19337.17,\n \"tax_debit\": 8655.32\n }\n }\n ],\n \"operation\": \"all\",\n \"resource\": \"Employees\",\n \"service\": \"sage-hr\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Payrolls", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5fd4b892-f0a4-4b3d-abf7-abb988765f88", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c4bed723-58c0-4dfb-a7ed-98e61d7c1f60", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "12f4a4f0-7fa3-4b16-a750-d9eab140a596", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c9f6e424-c64e-4f87-892d-a405e19a5477", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b534c373-d4ec-413a-b9c9-2b5efb28434c", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "eeb5ce27-7098-4ccb-92d7-105cd4e713b9", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7dce9277-bafb-4de2-bef4-13d8c819b3b7", "documentation": "List Employee Payrolls", "method": "get", "endpoint": "hris/payrolls/employees/:employee_id", "responses": [ { "uuid": "e5177d1e-c02c-4269-b979-31ec7e9eef53", "body": "{\n \"data\": {\n \"employee\": {\n \"addresses\": [\n {\n \"city\": \"San Francisco\",\n \"contact_name\": \"Elon Musk\",\n \"country\": \"US\",\n \"county\": \"Santa Clara\",\n \"email\": \"elon@musk.com\",\n \"fax\": \"122-111-1111\",\n \"id\": \"123\",\n \"latitude\": \"40.759211\",\n \"line1\": \"Main street\",\n \"line2\": \"apt #\",\n \"line3\": \"Suite #\",\n \"line4\": \"delivery instructions\",\n \"longitude\": \"-73.984638\",\n \"name\": \"HQ US\",\n \"phone_number\": \"111-111-1111\",\n \"postal_code\": \"94104\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"state\": \"CA\",\n \"street_number\": \"25\",\n \"string\": \"25 Spring Street, Blackburn, VIC 3130\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'office' 'shipping' 'billing' 'other')}}\",\n \"website\": \"https://elonmusk.com\"\n }\n ],\n \"birthday\": \"2000-08-12\",\n \"company_id\": \"23456\",\n \"company_name\": \"SpaceX\",\n \"compensations\": [\n {\n \"effective_date\": \"2021-06-11\",\n \"flsa_status\": \"nonexempt\",\n \"id\": \"3404301363494309004\",\n \"job_id\": \"3490439050957906679\",\n \"payment_unit\": \"hour\",\n \"rate\": 50\n }\n ],\n \"country_of_birth\": \"US\",\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"custom_fields\": [\n {\n \"description\": \"Employee Level\",\n \"id\": \"2389328923893298\",\n \"name\": \"employee_level\",\n \"value\": \"\"\n }\n ],\n \"deceased_on\": \"2000-08-12\",\n \"deleted\": true,\n \"department\": \"R&D\",\n \"department_id\": \"12345\",\n \"description\": \"A description\",\n \"dietary_preference\": \"Veggie\",\n \"direct_reports\": [\n \"a0d636c6-43b3-4bde-8c70-85b707d992f4\",\n \"a98lfd96-43b3-4bde-8c70-85b707d992e6\"\n ],\n \"display_name\": \"Technoking\",\n \"division\": \"Europe\",\n \"emails\": [\n {\n \"email\": \"elon@musk.com\",\n \"id\": \"123\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'work' 'personal' 'billing' 'other')}}\"\n }\n ],\n \"employee_number\": \"123456-AB\",\n \"employment_end_date\": \"2028-10-26\",\n \"employment_role\": {\n \"sub_type\": \"{{oneOf (array 'full_time' 'part_time' 'hourly')}}\",\n \"type\": \"{{oneOf (array 'contractor' 'employee' 'freelance' 'temp' 'intership' 'other')}}\"\n },\n \"employment_start_date\": \"2021-10-26\",\n \"employment_status\": \"{{oneOf (array 'active' 'inactive' 'terminated' 'other')}}\",\n \"first_name\": \"Elon\",\n \"food_allergies\": [\n \"No allergies\"\n ],\n \"gender\": \"{{oneOf (array 'male' 'female' 'unisex' 'other' 'not_specified')}}\",\n \"id\": \"12345\",\n \"initials\": \"EM\",\n \"jobs\": [\n {\n \"compensation_rate\": 72000,\n \"currency\": \"{{oneOf (array 'UNKNOWN_CURRENCY' 'AED' 'AFN' 'ALL' 'AMD' 'ANG' 'AOA' 'ARS' 'AUD' 'AWG' 'AZN' 'BAM' 'BBD' 'BDT' 'BGN' 'BHD' 'BIF' 'BMD' 'BND' 'BOB' 'BOV' 'BRL' 'BSD' 'BTN' 'BWP' 'BYR' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' 'SLL' 'SOS' 'SRD' 'SSP' 'STD' 'SVC' 'SYP' 'SZL' 'THB' 'TJS' 'TMT' 'TND' 'TOP' 'TRC' 'TRY' 'TTD' 'TWD' 'TZS' 'UAH' 'UGX' 'USD' 'USN' 'USS' 'UYI' 'UYU' 'UZS' 'VEF' 'VND' 'VUV' 'WST' 'XAF' 'XAG' 'XAU' 'XBA' 'XBB' 'XBC' 'XBD' 'XCD' 'XDR' 'XOF' 'XPD' 'XPF' 'XPT' 'XTS' 'XXX' 'YER' 'ZAR' 'ZMK' 'ZMW' 'BTC')}}\",\n \"employee_id\": \"12345\",\n \"end_date\": \"2020-08-12\",\n \"hired_at\": \"2020-08-12\",\n \"id\": \"12345\",\n \"is_primary\": true,\n \"location\": {\n \"city\": \"San Francisco\",\n \"contact_name\": \"Elon Musk\",\n \"country\": \"US\",\n \"county\": \"Santa Clara\",\n \"email\": \"elon@musk.com\",\n \"fax\": \"122-111-1111\",\n \"id\": \"123\",\n \"latitude\": \"40.759211\",\n \"line1\": \"Main street\",\n \"line2\": \"apt #\",\n \"line3\": \"Suite #\",\n \"line4\": \"delivery instructions\",\n \"longitude\": \"-73.984638\",\n \"name\": \"HQ US\",\n \"phone_number\": \"111-111-1111\",\n \"postal_code\": \"94104\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"state\": \"CA\",\n \"street_number\": \"25\",\n \"string\": \"25 Spring Street, Blackburn, VIC 3130\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'office' 'shipping' 'billing' 'other')}}\",\n \"website\": \"https://elonmusk.com\"\n },\n \"payment_unit\": \"{{oneOf (array 'hour' 'week' 'month' 'year' 'paycheck')}}\",\n \"role\": \"Sales\",\n \"start_date\": \"2020-08-12\",\n \"title\": \"CEO\"\n }\n ],\n \"languages\": [\n \"EN\"\n ],\n \"last_name\": \"Musk\",\n \"manager\": {\n \"email\": \"elon@musk.com\",\n \"first_name\": \"Elon\",\n \"id\": \"12345\",\n \"last_name\": \"Musk\",\n \"name\": \"Elon Musk\"\n },\n \"marital_status\": \"married\",\n \"middle_name\": \"D.\",\n \"nationalities\": [\n \"US\"\n ],\n \"partner\": {\n \"birthday\": \"2000-08-12\",\n \"deceased_on\": \"2000-08-12\",\n \"first_name\": \"Elon\",\n \"gender\": \"{{oneOf (array 'male' 'female' 'unisex' 'other' 'not_specified')}}\",\n \"id\": \"12345\",\n \"initials\": \"EM\",\n \"last_name\": \"Musk\",\n \"middle_name\": \"D.\"\n },\n \"phone_numbers\": [\n {\n \"area_code\": \"323\",\n \"country_code\": \"1\",\n \"extension\": \"105\",\n \"id\": \"12345\",\n \"number\": \"111-111-1111\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'work' 'office' 'mobile' 'assistant' 'fax' 'direct-dial-in' 'personal' 'other')}}\"\n }\n ],\n \"photo_url\": \"https://unavatar.io/elon-musk\",\n \"preferred_language\": \"EN\",\n \"preferred_name\": \"Elon Musk\",\n \"pronouns\": \"she,her\",\n \"record_url\": \"https://app.intercom.io/contacts/12345\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"social_links\": [\n {\n \"id\": \"12345\",\n \"type\": \"twitter\",\n \"url\": \"https://www.twitter.com/apideck-io\"\n }\n ],\n \"social_security_number\": \"123456789\",\n \"source\": \"lever\",\n \"source_id\": \"12345\",\n \"tags\": [\n \"New\"\n ],\n \"tax_code\": \"1111\",\n \"tax_id\": \"234-32-0000\",\n \"team\": {\n \"id\": \"1234\",\n \"name\": \"Full Stack Engineers\"\n },\n \"timezone\": \"Europe/London\",\n \"title\": \"CEO\",\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\",\n \"works_remote\": true\n },\n \"payrolls\": [\n {\n \"check_date\": \"2022-04-08\",\n \"company_id\": \"23456\",\n \"compensations\": [\n {\n \"benefits\": [\n {\n \"employee_deduction\": 142.94,\n \"employer_contribution\": 141.14,\n \"name\": \"Health Insurance\"\n }\n ],\n \"deductions\": [\n {\n \"amount\": 10.97,\n \"name\": \"Company Car\"\n }\n ],\n \"employee_id\": \"12345\",\n \"gross_pay\": 3000,\n \"net_pay\": 2199.93,\n \"taxes\": [\n {\n \"amount\": 1.97,\n \"employer\": {{faker 'datatype.boolean'}},\n \"name\": \"CA State Income Tax\"\n }\n ]\n }\n ],\n \"end_date\": \"2022-04-21\",\n \"id\": \"12345\",\n \"processed\": {{faker 'datatype.boolean'}},\n \"processed_date\": \"2022-04-08\",\n \"start_date\": \"2022-04-08\",\n \"totals\": {\n \"check_amount\": 27966.23,\n \"company_debit\": 27992.49,\n \"employee_benefit_deductions\": {{faker 'number.int' max=99999}},\n \"employee_taxes\": 6616.39,\n \"employer_benefit_contributions\": {{faker 'number.int' max=99999}},\n \"employer_taxes\": 2038.93,\n \"gross_pay\": 27966.23,\n \"net_pay\": 19337.17,\n \"tax_debit\": 8655.32\n }\n }\n ]\n },\n \"operation\": \"all\",\n \"resource\": \"Employees\",\n \"service\": \"sage-hr\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "EmployeePayrolls", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "21c41604-4a0a-41cf-b1c8-7708a4eb3b6f", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "231fe985-9793-43da-9c0f-e23a9379d5ea", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f358678e-5aa6-4f3e-8ab2-e198b565dfa1", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "81204ea5-6280-4df3-87ba-c7a307e44187", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "24ea9556-a23b-4095-8482-67fafbde122c", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1819e14d-68e4-40e1-937a-778dc731ecfd", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "660dc1cb-b491-4f22-9cf4-ed33c209040b", "documentation": "Get Employee Payroll", "method": "get", "endpoint": "hris/payrolls/employees/:employee_id/payrolls/:payroll_id", "responses": [ { "uuid": "3a410559-7a70-4fbd-838f-1e8fa780d7e3", "body": "{\n \"data\": {\n \"employee\": {\n \"addresses\": [\n {\n \"city\": \"San Francisco\",\n \"contact_name\": \"Elon Musk\",\n \"country\": \"US\",\n \"county\": \"Santa Clara\",\n \"email\": \"elon@musk.com\",\n \"fax\": \"122-111-1111\",\n \"id\": \"123\",\n \"latitude\": \"40.759211\",\n \"line1\": \"Main street\",\n \"line2\": \"apt #\",\n \"line3\": \"Suite #\",\n \"line4\": \"delivery instructions\",\n \"longitude\": \"-73.984638\",\n \"name\": \"HQ US\",\n \"phone_number\": \"111-111-1111\",\n \"postal_code\": \"94104\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"state\": \"CA\",\n \"street_number\": \"25\",\n \"string\": \"25 Spring Street, Blackburn, VIC 3130\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'office' 'shipping' 'billing' 'other')}}\",\n \"website\": \"https://elonmusk.com\"\n }\n ],\n \"birthday\": \"2000-08-12\",\n \"company_id\": \"23456\",\n \"company_name\": \"SpaceX\",\n \"compensations\": [\n {\n \"effective_date\": \"2021-06-11\",\n \"flsa_status\": \"nonexempt\",\n \"id\": \"3404301363494309004\",\n \"job_id\": \"3490439050957906679\",\n \"payment_unit\": \"hour\",\n \"rate\": 50\n }\n ],\n \"country_of_birth\": \"US\",\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"custom_fields\": [\n {\n \"description\": \"Employee Level\",\n \"id\": \"2389328923893298\",\n \"name\": \"employee_level\",\n \"value\": \"\"\n }\n ],\n \"deceased_on\": \"2000-08-12\",\n \"deleted\": true,\n \"department\": \"R&D\",\n \"department_id\": \"12345\",\n \"description\": \"A description\",\n \"dietary_preference\": \"Veggie\",\n \"direct_reports\": [\n \"a0d636c6-43b3-4bde-8c70-85b707d992f4\",\n \"a98lfd96-43b3-4bde-8c70-85b707d992e6\"\n ],\n \"display_name\": \"Technoking\",\n \"division\": \"Europe\",\n \"emails\": [\n {\n \"email\": \"elon@musk.com\",\n \"id\": \"123\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'work' 'personal' 'billing' 'other')}}\"\n }\n ],\n \"employee_number\": \"123456-AB\",\n \"employment_end_date\": \"2028-10-26\",\n \"employment_role\": {\n \"sub_type\": \"{{oneOf (array 'full_time' 'part_time' 'hourly')}}\",\n \"type\": \"{{oneOf (array 'contractor' 'employee' 'freelance' 'temp' 'intership' 'other')}}\"\n },\n \"employment_start_date\": \"2021-10-26\",\n \"employment_status\": \"{{oneOf (array 'active' 'inactive' 'terminated' 'other')}}\",\n \"first_name\": \"Elon\",\n \"food_allergies\": [\n \"No allergies\"\n ],\n \"gender\": \"{{oneOf (array 'male' 'female' 'unisex' 'other' 'not_specified')}}\",\n \"id\": \"12345\",\n \"initials\": \"EM\",\n \"jobs\": [\n {\n \"compensation_rate\": 72000,\n \"currency\": \"{{oneOf (array 'UNKNOWN_CURRENCY' 'AED' 'AFN' 'ALL' 'AMD' 'ANG' 'AOA' 'ARS' 'AUD' 'AWG' 'AZN' 'BAM' 'BBD' 'BDT' 'BGN' 'BHD' 'BIF' 'BMD' 'BND' 'BOB' 'BOV' 'BRL' 'BSD' 'BTN' 'BWP' 'BYR' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' 'SLL' 'SOS' 'SRD' 'SSP' 'STD' 'SVC' 'SYP' 'SZL' 'THB' 'TJS' 'TMT' 'TND' 'TOP' 'TRC' 'TRY' 'TTD' 'TWD' 'TZS' 'UAH' 'UGX' 'USD' 'USN' 'USS' 'UYI' 'UYU' 'UZS' 'VEF' 'VND' 'VUV' 'WST' 'XAF' 'XAG' 'XAU' 'XBA' 'XBB' 'XBC' 'XBD' 'XCD' 'XDR' 'XOF' 'XPD' 'XPF' 'XPT' 'XTS' 'XXX' 'YER' 'ZAR' 'ZMK' 'ZMW' 'BTC')}}\",\n \"employee_id\": \"12345\",\n \"end_date\": \"2020-08-12\",\n \"hired_at\": \"2020-08-12\",\n \"id\": \"12345\",\n \"is_primary\": true,\n \"location\": {\n \"city\": \"San Francisco\",\n \"contact_name\": \"Elon Musk\",\n \"country\": \"US\",\n \"county\": \"Santa Clara\",\n \"email\": \"elon@musk.com\",\n \"fax\": \"122-111-1111\",\n \"id\": \"123\",\n \"latitude\": \"40.759211\",\n \"line1\": \"Main street\",\n \"line2\": \"apt #\",\n \"line3\": \"Suite #\",\n \"line4\": \"delivery instructions\",\n \"longitude\": \"-73.984638\",\n \"name\": \"HQ US\",\n \"phone_number\": \"111-111-1111\",\n \"postal_code\": \"94104\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"state\": \"CA\",\n \"street_number\": \"25\",\n \"string\": \"25 Spring Street, Blackburn, VIC 3130\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'office' 'shipping' 'billing' 'other')}}\",\n \"website\": \"https://elonmusk.com\"\n },\n \"payment_unit\": \"{{oneOf (array 'hour' 'week' 'month' 'year' 'paycheck')}}\",\n \"role\": \"Sales\",\n \"start_date\": \"2020-08-12\",\n \"title\": \"CEO\"\n }\n ],\n \"languages\": [\n \"EN\"\n ],\n \"last_name\": \"Musk\",\n \"manager\": {\n \"email\": \"elon@musk.com\",\n \"first_name\": \"Elon\",\n \"id\": \"12345\",\n \"last_name\": \"Musk\",\n \"name\": \"Elon Musk\"\n },\n \"marital_status\": \"married\",\n \"middle_name\": \"D.\",\n \"nationalities\": [\n \"US\"\n ],\n \"partner\": {\n \"birthday\": \"2000-08-12\",\n \"deceased_on\": \"2000-08-12\",\n \"first_name\": \"Elon\",\n \"gender\": \"{{oneOf (array 'male' 'female' 'unisex' 'other' 'not_specified')}}\",\n \"id\": \"12345\",\n \"initials\": \"EM\",\n \"last_name\": \"Musk\",\n \"middle_name\": \"D.\"\n },\n \"phone_numbers\": [\n {\n \"area_code\": \"323\",\n \"country_code\": \"1\",\n \"extension\": \"105\",\n \"id\": \"12345\",\n \"number\": \"111-111-1111\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'work' 'office' 'mobile' 'assistant' 'fax' 'direct-dial-in' 'personal' 'other')}}\"\n }\n ],\n \"photo_url\": \"https://unavatar.io/elon-musk\",\n \"preferred_language\": \"EN\",\n \"preferred_name\": \"Elon Musk\",\n \"pronouns\": \"she,her\",\n \"record_url\": \"https://app.intercom.io/contacts/12345\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"social_links\": [\n {\n \"id\": \"12345\",\n \"type\": \"twitter\",\n \"url\": \"https://www.twitter.com/apideck-io\"\n }\n ],\n \"social_security_number\": \"123456789\",\n \"source\": \"lever\",\n \"source_id\": \"12345\",\n \"tags\": [\n \"New\"\n ],\n \"tax_code\": \"1111\",\n \"tax_id\": \"234-32-0000\",\n \"team\": {\n \"id\": \"1234\",\n \"name\": \"Full Stack Engineers\"\n },\n \"timezone\": \"Europe/London\",\n \"title\": \"CEO\",\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\",\n \"works_remote\": true\n },\n \"payroll\": {\n \"check_date\": \"2022-04-08\",\n \"company_id\": \"23456\",\n \"compensations\": [\n {\n \"benefits\": [\n {\n \"employee_deduction\": 142.94,\n \"employer_contribution\": 141.14,\n \"name\": \"Health Insurance\"\n }\n ],\n \"deductions\": [\n {\n \"amount\": 10.97,\n \"name\": \"Company Car\"\n }\n ],\n \"employee_id\": \"12345\",\n \"gross_pay\": 3000,\n \"net_pay\": 2199.93,\n \"taxes\": [\n {\n \"amount\": 1.97,\n \"employer\": {{faker 'datatype.boolean'}},\n \"name\": \"CA State Income Tax\"\n }\n ]\n }\n ],\n \"end_date\": \"2022-04-21\",\n \"id\": \"12345\",\n \"processed\": {{faker 'datatype.boolean'}},\n \"processed_date\": \"2022-04-08\",\n \"start_date\": \"2022-04-08\",\n \"totals\": {\n \"check_amount\": 27966.23,\n \"company_debit\": 27992.49,\n \"employee_benefit_deductions\": {{faker 'number.int' max=99999}},\n \"employee_taxes\": 6616.39,\n \"employer_benefit_contributions\": {{faker 'number.int' max=99999}},\n \"employer_taxes\": 2038.93,\n \"gross_pay\": 27966.23,\n \"net_pay\": 19337.17,\n \"tax_debit\": 8655.32\n }\n }\n },\n \"operation\": \"one\",\n \"resource\": \"Companies\",\n \"service\": \"undefined\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Payrolls", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8d3333d7-6986-46e3-813b-44e03a456064", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cdcaf83c-09e9-4a73-8184-0073c535ab2e", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "694f12b8-35e3-4489-a368-ad73bb030c54", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "60838ca5-834f-4ddc-a3e8-d158d4c8bcac", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2b18b606-40a7-41fa-8b78-56d4b83d4a97", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6f0eb9c6-26e4-4816-a5e6-2e08cd2e5758", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bea784f8-7560-4771-a97d-3c7f89f4556c", "documentation": "Get Payroll", "method": "get", "endpoint": "hris/payrolls/:payroll_id", "responses": [ { "uuid": "1a1d9f85-5245-4eca-bcaf-57d75e38be0b", "body": "{\n \"data\": {\n \"check_date\": \"2022-04-08\",\n \"company_id\": \"23456\",\n \"compensations\": [\n {\n \"benefits\": [\n {\n \"employee_deduction\": 142.94,\n \"employer_contribution\": 141.14,\n \"name\": \"Health Insurance\"\n }\n ],\n \"deductions\": [\n {\n \"amount\": 10.97,\n \"name\": \"Company Car\"\n }\n ],\n \"employee_id\": \"12345\",\n \"gross_pay\": 3000,\n \"net_pay\": 2199.93,\n \"taxes\": [\n {\n \"amount\": 1.97,\n \"employer\": {{faker 'datatype.boolean'}},\n \"name\": \"CA State Income Tax\"\n }\n ]\n }\n ],\n \"end_date\": \"2022-04-21\",\n \"id\": \"12345\",\n \"processed\": {{faker 'datatype.boolean'}},\n \"processed_date\": \"2022-04-08\",\n \"start_date\": \"2022-04-08\",\n \"totals\": {\n \"check_amount\": 27966.23,\n \"company_debit\": 27992.49,\n \"employee_benefit_deductions\": {{faker 'number.int' max=99999}},\n \"employee_taxes\": 6616.39,\n \"employer_benefit_contributions\": {{faker 'number.int' max=99999}},\n \"employer_taxes\": 2038.93,\n \"gross_pay\": 27966.23,\n \"net_pay\": 19337.17,\n \"tax_debit\": 8655.32\n }\n },\n \"operation\": \"one\",\n \"resource\": \"Companies\",\n \"service\": \"undefined\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Payrolls", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b3ac5f67-1b63-457c-8aec-4bd8cdd0f2f5", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1b72b535-e701-41db-97ba-729642fdec5b", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e7c2668a-ebb5-429d-9cd5-334080766fff", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "65568c14-95a2-4024-be63-b1b877de1469", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "abcfd45f-653d-479d-af62-3cd0e9682cfe", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0568cbc4-878c-48fd-9db2-071adeaed46a", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fae2aea3-569f-4c60-bd3e-226ef3830be4", "documentation": "List Employee Schedules", "method": "get", "endpoint": "hris/schedules/employees/:employee_id", "responses": [ { "uuid": "2b521be8-35ac-4916-b520-3c45d4d1c698", "body": "{\n \"data\": {\n \"employee\": {\n \"addresses\": [\n {\n \"city\": \"San Francisco\",\n \"contact_name\": \"Elon Musk\",\n \"country\": \"US\",\n \"county\": \"Santa Clara\",\n \"email\": \"elon@musk.com\",\n \"fax\": \"122-111-1111\",\n \"id\": \"123\",\n \"latitude\": \"40.759211\",\n \"line1\": \"Main street\",\n \"line2\": \"apt #\",\n \"line3\": \"Suite #\",\n \"line4\": \"delivery instructions\",\n \"longitude\": \"-73.984638\",\n \"name\": \"HQ US\",\n \"phone_number\": \"111-111-1111\",\n \"postal_code\": \"94104\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"state\": \"CA\",\n \"street_number\": \"25\",\n \"string\": \"25 Spring Street, Blackburn, VIC 3130\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'office' 'shipping' 'billing' 'other')}}\",\n \"website\": \"https://elonmusk.com\"\n }\n ],\n \"birthday\": \"2000-08-12\",\n \"company_id\": \"23456\",\n \"company_name\": \"SpaceX\",\n \"compensations\": [\n {\n \"effective_date\": \"2021-06-11\",\n \"flsa_status\": \"nonexempt\",\n \"id\": \"3404301363494309004\",\n \"job_id\": \"3490439050957906679\",\n \"payment_unit\": \"hour\",\n \"rate\": 50\n }\n ],\n \"country_of_birth\": \"US\",\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"custom_fields\": [\n {\n \"description\": \"Employee Level\",\n \"id\": \"2389328923893298\",\n \"name\": \"employee_level\",\n \"value\": \"\"\n }\n ],\n \"deceased_on\": \"2000-08-12\",\n \"deleted\": true,\n \"department\": \"R&D\",\n \"department_id\": \"12345\",\n \"description\": \"A description\",\n \"dietary_preference\": \"Veggie\",\n \"direct_reports\": [\n \"a0d636c6-43b3-4bde-8c70-85b707d992f4\",\n \"a98lfd96-43b3-4bde-8c70-85b707d992e6\"\n ],\n \"display_name\": \"Technoking\",\n \"division\": \"Europe\",\n \"emails\": [\n {\n \"email\": \"elon@musk.com\",\n \"id\": \"123\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'work' 'personal' 'billing' 'other')}}\"\n }\n ],\n \"employee_number\": \"123456-AB\",\n \"employment_end_date\": \"2028-10-26\",\n \"employment_role\": {\n \"sub_type\": \"{{oneOf (array 'full_time' 'part_time' 'hourly')}}\",\n \"type\": \"{{oneOf (array 'contractor' 'employee' 'freelance' 'temp' 'intership' 'other')}}\"\n },\n \"employment_start_date\": \"2021-10-26\",\n \"employment_status\": \"{{oneOf (array 'active' 'inactive' 'terminated' 'other')}}\",\n \"first_name\": \"Elon\",\n \"food_allergies\": [\n \"No allergies\"\n ],\n \"gender\": \"{{oneOf (array 'male' 'female' 'unisex' 'other' 'not_specified')}}\",\n \"id\": \"12345\",\n \"initials\": \"EM\",\n \"jobs\": [\n {\n \"compensation_rate\": 72000,\n \"currency\": \"{{oneOf (array 'UNKNOWN_CURRENCY' 'AED' 'AFN' 'ALL' 'AMD' 'ANG' 'AOA' 'ARS' 'AUD' 'AWG' 'AZN' 'BAM' 'BBD' 'BDT' 'BGN' 'BHD' 'BIF' 'BMD' 'BND' 'BOB' 'BOV' 'BRL' 'BSD' 'BTN' 'BWP' 'BYR' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' 'SLL' 'SOS' 'SRD' 'SSP' 'STD' 'SVC' 'SYP' 'SZL' 'THB' 'TJS' 'TMT' 'TND' 'TOP' 'TRC' 'TRY' 'TTD' 'TWD' 'TZS' 'UAH' 'UGX' 'USD' 'USN' 'USS' 'UYI' 'UYU' 'UZS' 'VEF' 'VND' 'VUV' 'WST' 'XAF' 'XAG' 'XAU' 'XBA' 'XBB' 'XBC' 'XBD' 'XCD' 'XDR' 'XOF' 'XPD' 'XPF' 'XPT' 'XTS' 'XXX' 'YER' 'ZAR' 'ZMK' 'ZMW' 'BTC')}}\",\n \"employee_id\": \"12345\",\n \"end_date\": \"2020-08-12\",\n \"hired_at\": \"2020-08-12\",\n \"id\": \"12345\",\n \"is_primary\": true,\n \"location\": {\n \"city\": \"San Francisco\",\n \"contact_name\": \"Elon Musk\",\n \"country\": \"US\",\n \"county\": \"Santa Clara\",\n \"email\": \"elon@musk.com\",\n \"fax\": \"122-111-1111\",\n \"id\": \"123\",\n \"latitude\": \"40.759211\",\n \"line1\": \"Main street\",\n \"line2\": \"apt #\",\n \"line3\": \"Suite #\",\n \"line4\": \"delivery instructions\",\n \"longitude\": \"-73.984638\",\n \"name\": \"HQ US\",\n \"phone_number\": \"111-111-1111\",\n \"postal_code\": \"94104\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"state\": \"CA\",\n \"street_number\": \"25\",\n \"string\": \"25 Spring Street, Blackburn, VIC 3130\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'office' 'shipping' 'billing' 'other')}}\",\n \"website\": \"https://elonmusk.com\"\n },\n \"payment_unit\": \"{{oneOf (array 'hour' 'week' 'month' 'year' 'paycheck')}}\",\n \"role\": \"Sales\",\n \"start_date\": \"2020-08-12\",\n \"title\": \"CEO\"\n }\n ],\n \"languages\": [\n \"EN\"\n ],\n \"last_name\": \"Musk\",\n \"manager\": {\n \"email\": \"elon@musk.com\",\n \"first_name\": \"Elon\",\n \"id\": \"12345\",\n \"last_name\": \"Musk\",\n \"name\": \"Elon Musk\"\n },\n \"marital_status\": \"married\",\n \"middle_name\": \"D.\",\n \"nationalities\": [\n \"US\"\n ],\n \"partner\": {\n \"birthday\": \"2000-08-12\",\n \"deceased_on\": \"2000-08-12\",\n \"first_name\": \"Elon\",\n \"gender\": \"{{oneOf (array 'male' 'female' 'unisex' 'other' 'not_specified')}}\",\n \"id\": \"12345\",\n \"initials\": \"EM\",\n \"last_name\": \"Musk\",\n \"middle_name\": \"D.\"\n },\n \"phone_numbers\": [\n {\n \"area_code\": \"323\",\n \"country_code\": \"1\",\n \"extension\": \"105\",\n \"id\": \"12345\",\n \"number\": \"111-111-1111\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'work' 'office' 'mobile' 'assistant' 'fax' 'direct-dial-in' 'personal' 'other')}}\"\n }\n ],\n \"photo_url\": \"https://unavatar.io/elon-musk\",\n \"preferred_language\": \"EN\",\n \"preferred_name\": \"Elon Musk\",\n \"pronouns\": \"she,her\",\n \"record_url\": \"https://app.intercom.io/contacts/12345\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"social_links\": [\n {\n \"id\": \"12345\",\n \"type\": \"twitter\",\n \"url\": \"https://www.twitter.com/apideck-io\"\n }\n ],\n \"social_security_number\": \"123456789\",\n \"source\": \"lever\",\n \"source_id\": \"12345\",\n \"tags\": [\n \"New\"\n ],\n \"tax_code\": \"1111\",\n \"tax_id\": \"234-32-0000\",\n \"team\": {\n \"id\": \"1234\",\n \"name\": \"Full Stack Engineers\"\n },\n \"timezone\": \"Europe/London\",\n \"title\": \"CEO\",\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\",\n \"works_remote\": true\n },\n \"schedules\": [\n {\n \"end_date\": \"2022-04-21\",\n \"id\": \"12345\",\n \"start_date\": \"2022-04-08\",\n \"work_pattern\": {\n \"even_weeks\": {\n \"hours_friday\": 4,\n \"hours_monday\": 8,\n \"hours_saturday\": {{faker 'number.float'}},\n \"hours_sunday\": {{faker 'number.float'}},\n \"hours_thursday\": 7.5,\n \"hours_tuesday\": 8,\n \"hours_wednesday\": 4\n },\n \"odd_weeks\": {\n \"hours_friday\": 4,\n \"hours_monday\": 8,\n \"hours_saturday\": {{faker 'number.float'}},\n \"hours_sunday\": {{faker 'number.float'}},\n \"hours_thursday\": 7.5,\n \"hours_tuesday\": 8,\n \"hours_wednesday\": 4\n }\n }\n }\n ]\n },\n \"operation\": \"all\",\n \"resource\": \"Employees\",\n \"service\": \"sage-hr\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "EmployeeSchedules", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "adb626b5-1c80-47d7-8498-630b971bf20f", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2f9dc833-9fce-4383-9172-f83a51a475a1", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9d8556b8-c5d1-4e8c-ab51-ae977b5da520", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "24feb5e4-3ae1-447d-85ef-50d8d83571ed", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "373de9db-0e0b-4847-93da-111ed039900a", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9bb5a5ff-18e2-4d1e-a3f4-08d77b88ca8d", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d1126b9e-38ae-4927-9d99-7ac99b31c2f2", "documentation": "List Time Off Requests", "method": "get", "endpoint": "hris/time-off-requests", "responses": [ { "uuid": "f28542a8-4f8a-4778-aaed-6e4964ab9133", "body": "{\n \"data\": [\n {\n \"amount\": 3.5,\n \"approval_date\": \"2022-03-21\",\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"description\": \"Enjoying some sun.\",\n \"employee_id\": \"12345\",\n \"end_date\": \"2022-04-01\",\n \"id\": \"12345\",\n \"notes\": {\n \"employee\": \"Relaxing on the beach for a few hours.\",\n \"manager\": \"Enjoy!\"\n },\n \"policy_id\": \"12345\",\n \"request_date\": \"2022-03-21\",\n \"request_type\": \"{{oneOf (array 'vacaction' 'sick' 'personal' 'jury_duty' 'volunteer' 'bereavement' 'other')}}\",\n \"start_date\": \"2022-04-01\",\n \"status\": \"{{oneOf (array 'requested' 'approved' 'declined' 'cancelled' 'deleted' 'other')}}\",\n \"units\": \"{{oneOf (array 'days' 'hours' 'other')}}\",\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\"\n }\n ],\n \"links\": {\n \"current\": \"https://unify.apideck.com/crm/companies\",\n \"next\": \"https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM\",\n \"previous\": \"https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D\"\n },\n \"meta\": {\n \"cursors\": {\n \"current\": \"em9oby1jcm06OnBhZ2U6OjI=\",\n \"next\": \"em9oby1jcm06OnBhZ2U6OjM=\",\n \"previous\": \"em9oby1jcm06OnBhZ2U6OjE=\"\n },\n \"items_on_page\": 50\n },\n \"operation\": \"all\",\n \"resource\": \"TimeOffRequests\",\n \"service\": \"bamboohr\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "TimeOffRequests", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c29ef9a8-25f1-4ef3-bcc9-b8b472e38af4", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "879c315e-8166-451a-8728-0c0a608fad91", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9635347b-2188-4fe6-a26d-01f0be579923", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5ef8f442-1d53-41a1-a081-c62b98136f51", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2052c09f-7249-4088-b2f9-cc4fa4ba5156", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0c32cd1c-e99e-4161-8135-16edaba704fd", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "929bed04-d014-429f-ac6d-5ae18e5d7024", "documentation": "Create Time Off Request", "method": "post", "endpoint": "hris/time-off-requests", "responses": [ { "uuid": "b665ce5e-5262-4e61-bc83-55e92e82d884", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"add\",\n \"resource\": \"TimeOffRequests\",\n \"service\": \"bamboohr\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 201, "label": "TimeOffRequests", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "39a512b4-1f2b-4b3e-a571-4a94153704de", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "55bcca29-46d9-423c-a3d2-38e8ee9c2259", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "456b9962-6085-4476-bfdb-8a71bb93bea3", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "60e78fc2-6a2b-4a46-a985-17c717548f44", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1d8da649-17b4-4484-ac01-4416ff623fab", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ef8464fb-13ca-473a-9b61-69892da5f7ec", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e7f330f1-2d38-4c95-abad-f1559f067dd4", "documentation": "Delete Time Off Request", "method": "delete", "endpoint": "hris/time-off-requests/:id", "responses": [ { "uuid": "2ec6005f-f1fe-409f-8325-cea591cce211", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"delete\",\n \"resource\": \"TimeOffRequests\",\n \"service\": \"bamboohr\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "TimeOffRequests", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "78d94ab9-5908-4358-bc21-9c4e234d6b33", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f28e3bd5-ad96-476a-98a7-62f8d7845e26", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f717b56e-9f7e-47f5-931e-6e1dda082a70", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "847a2669-c087-4eb7-a22e-4ddf7349afc7", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a45a14f9-9927-460f-9ba6-6b1e0186cede", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cdfa17d8-9b42-416c-b8dc-7ecd9b051daf", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b6b5cada-e62c-44b4-9556-29a70159bff3", "documentation": "Get Time Off Request", "method": "get", "endpoint": "hris/time-off-requests/:id", "responses": [ { "uuid": "7c3e85a4-b1b2-489d-97a3-0baf2636761b", "body": "{\n \"data\": {\n \"amount\": 3.5,\n \"approval_date\": \"2022-03-21\",\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"description\": \"Enjoying some sun.\",\n \"employee_id\": \"12345\",\n \"end_date\": \"2022-04-01\",\n \"id\": \"12345\",\n \"notes\": {\n \"employee\": \"Relaxing on the beach for a few hours.\",\n \"manager\": \"Enjoy!\"\n },\n \"policy_id\": \"12345\",\n \"request_date\": \"2022-03-21\",\n \"request_type\": \"{{oneOf (array 'vacaction' 'sick' 'personal' 'jury_duty' 'volunteer' 'bereavement' 'other')}}\",\n \"start_date\": \"2022-04-01\",\n \"status\": \"{{oneOf (array 'requested' 'approved' 'declined' 'cancelled' 'deleted' 'other')}}\",\n \"units\": \"{{oneOf (array 'days' 'hours' 'other')}}\",\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\"\n },\n \"operation\": \"one\",\n \"resource\": \"TimeOffRequests\",\n \"service\": \"bamboohr\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "TimeOffRequests", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "62d6ff6d-53b0-4eb7-b3a4-42a1ce599e36", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3947b201-d878-43b5-a7de-742bf9ab2425", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c433e55b-cf57-4c22-bda1-c4bd03625ec3", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c322aa5c-21c7-48d4-b32a-56826d0b77a0", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "bb6215e4-092a-4330-a190-03fe033aa9ca", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b53428ed-a6c7-4b4e-b8e6-2ba35273e9b2", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "53d42a38-45f1-454a-badd-e898e3375170", "documentation": "Update Time Off Request", "method": "patch", "endpoint": "hris/time-off-requests/:id", "responses": [ { "uuid": "215539bd-75d8-42af-97cd-1599a7e4ee7c", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"update\",\n \"resource\": \"TimeOffRequests\",\n \"service\": \"bamboohr\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "TimeOffRequests", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "df59699c-8fef-4ba8-9b94-b08158a0a54f", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "07856e51-a471-4d9a-8bea-4db5fe8cb87f", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "08247337-85b8-4425-b06c-4a4a28d7364d", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "47e2a101-e720-4fbe-a56a-f0c82016fda5", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a1c5163d-03e5-4aea-a852-208b2991f1a7", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b87cf25c-80ea-4d80-8303-b9b2c970da0f", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "404374f5-d242-46a6-acff-9af4332838bb" }, { "type": "route", "uuid": "a21bba3b-f4b2-41ed-82ed-0e97112130e8" }, { "type": "route", "uuid": "a4dfd27c-c585-4628-9ce6-b4a474f6597c" }, { "type": "route", "uuid": "6167e947-1369-414c-bce9-157fc23b8b3a" }, { "type": "route", "uuid": "8eb7751b-3955-4a34-862c-ad235ef2a3ea" }, { "type": "route", "uuid": "bb3bdb67-7baa-4326-83e9-f474134abd8e" }, { "type": "route", "uuid": "18bb2759-4c97-416c-b9a1-3a91b355a521" }, { "type": "route", "uuid": "63a42763-0efb-42e8-90a2-e52de05d69da" }, { "type": "route", "uuid": "68dec7a3-c755-42ef-8ac5-9bf7b0e78069" }, { "type": "route", "uuid": "793e946e-1d47-4872-9bee-0e38591d985a" }, { "type": "route", "uuid": "601e46a6-76a9-4d1e-b382-30745fa11013" }, { "type": "route", "uuid": "47cfa16e-6cea-4408-89e9-c386cd45d246" }, { "type": "route", "uuid": "0c9ff955-3c59-4424-aa63-a2b66da5c23c" }, { "type": "route", "uuid": "438555cb-9d5c-45f7-86e6-5665ea8edd41" }, { "type": "route", "uuid": "99016dfd-7059-43fb-99d8-bc53615e9e6a" }, { "type": "route", "uuid": "655646b3-936f-48ca-8241-92472425d474" }, { "type": "route", "uuid": "d6c7a869-3a50-4280-88ec-007335893b78" }, { "type": "route", "uuid": "72097057-60ff-43d8-bd69-bf712b2bb11c" }, { "type": "route", "uuid": "7dce9277-bafb-4de2-bef4-13d8c819b3b7" }, { "type": "route", "uuid": "660dc1cb-b491-4f22-9cf4-ed33c209040b" }, { "type": "route", "uuid": "bea784f8-7560-4771-a97d-3c7f89f4556c" }, { "type": "route", "uuid": "fae2aea3-569f-4c60-bd3e-226ef3830be4" }, { "type": "route", "uuid": "d1126b9e-38ae-4927-9d99-7ac99b31c2f2" }, { "type": "route", "uuid": "929bed04-d014-429f-ac6d-5ae18e5d7024" }, { "type": "route", "uuid": "e7f330f1-2d38-4c95-abad-f1559f067dd4" }, { "type": "route", "uuid": "b6b5cada-e62c-44b4-9556-29a70159bff3" }, { "type": "route", "uuid": "53d42a38-45f1-454a-badd-e898e3375170" } ] }