{ "uuid": "95723b79-93dc-4ffb-aad3-656e2cfe4408", "lastMigration": 29, "name": "Avaza API Documentation", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "402bed32-0c1d-4b5d-9fab-d0a34785d9a3", "documentation": "Create new Schedule Booking", "method": "post", "endpoint": "ScheduleSeries/AddBooking", "responses": [ { "uuid": "ea82ded2-3ce0-42d8-ac2a-56206da096a5", "body": "{\n \"AccountIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"EndDate\": \"{{faker 'date.recent' 365}}\",\n \"Firstname\": \"\",\n \"HoursPerDay\": {{faker 'number.float'}},\n \"Lastname\": \"\",\n \"LeaveTypeIDFK\": {{faker 'number.int' max=99999}},\n \"LeaveTypeName\": \"\",\n \"Notes\": \"\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectTitle\": \"\",\n \"ScheduleOnDaysOff\": {{faker 'datatype.boolean'}},\n \"ScheduleSeriesID\": {{faker 'number.int' max=99999}},\n \"StartDate\": \"{{faker 'date.recent' 365}}\",\n \"TaskIDFK\": {{faker 'number.int' max=99999}},\n \"TaskTitle\": \"\",\n \"TimeSheetCategoryIDFK\": {{faker 'number.int' max=99999}},\n \"TimeSheetCategoryName\": \"\",\n \"TotalDuration\": {{faker 'number.float'}},\n \"UpdatedByUserIDFK\": {{faker 'number.int' max=99999}},\n \"UserIDFK\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d870a516-4efd-4611-aca9-88a809fdfe7d", "documentation": "Create new Leave Booking", "method": "post", "endpoint": "ScheduleSeries/AddLeave", "responses": [ { "uuid": "57e99c67-5ef6-4bed-9452-3ad1cac3b98d", "body": "{\n \"AccountIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"EndDate\": \"{{faker 'date.recent' 365}}\",\n \"Firstname\": \"\",\n \"HoursPerDay\": {{faker 'number.float'}},\n \"Lastname\": \"\",\n \"LeaveTypeIDFK\": {{faker 'number.int' max=99999}},\n \"LeaveTypeName\": \"\",\n \"Notes\": \"\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectTitle\": \"\",\n \"ScheduleOnDaysOff\": {{faker 'datatype.boolean'}},\n \"ScheduleSeriesID\": {{faker 'number.int' max=99999}},\n \"StartDate\": \"{{faker 'date.recent' 365}}\",\n \"TaskIDFK\": {{faker 'number.int' max=99999}},\n \"TaskTitle\": \"\",\n \"TimeSheetCategoryIDFK\": {{faker 'number.int' max=99999}},\n \"TimeSheetCategoryName\": \"\",\n \"TotalDuration\": {{faker 'number.float'}},\n \"UpdatedByUserIDFK\": {{faker 'number.int' max=99999}},\n \"UserIDFK\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a40ce040-b6ee-4cfc-a773-e7123ebee8d6", "documentation": "Edit Booking", "method": "put", "endpoint": "ScheduleSeries/EditBooking", "responses": [ { "uuid": "5a613a1d-d0bf-4257-90fe-e332cac9acf7", "body": "{\n \"AccountIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"EndDate\": \"{{faker 'date.recent' 365}}\",\n \"Firstname\": \"\",\n \"HoursPerDay\": {{faker 'number.float'}},\n \"Lastname\": \"\",\n \"LeaveTypeIDFK\": {{faker 'number.int' max=99999}},\n \"LeaveTypeName\": \"\",\n \"Notes\": \"\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectTitle\": \"\",\n \"ScheduleOnDaysOff\": {{faker 'datatype.boolean'}},\n \"ScheduleSeriesID\": {{faker 'number.int' max=99999}},\n \"StartDate\": \"{{faker 'date.recent' 365}}\",\n \"TaskIDFK\": {{faker 'number.int' max=99999}},\n \"TaskTitle\": \"\",\n \"TimeSheetCategoryIDFK\": {{faker 'number.int' max=99999}},\n \"TimeSheetCategoryName\": \"\",\n \"TotalDuration\": {{faker 'number.float'}},\n \"UpdatedByUserIDFK\": {{faker 'number.int' max=99999}},\n \"UserIDFK\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9d598418-5a5a-49fd-86c1-57ca68fe95e5", "documentation": "Edit Leave Booking", "method": "put", "endpoint": "ScheduleSeries/EditLeave", "responses": [ { "uuid": "c863bf1b-f7e1-4767-b9dd-c357bb5db67c", "body": "{\n \"AccountIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"EndDate\": \"{{faker 'date.recent' 365}}\",\n \"Firstname\": \"\",\n \"HoursPerDay\": {{faker 'number.float'}},\n \"Lastname\": \"\",\n \"LeaveTypeIDFK\": {{faker 'number.int' max=99999}},\n \"LeaveTypeName\": \"\",\n \"Notes\": \"\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectTitle\": \"\",\n \"ScheduleOnDaysOff\": {{faker 'datatype.boolean'}},\n \"ScheduleSeriesID\": {{faker 'number.int' max=99999}},\n \"StartDate\": \"{{faker 'date.recent' 365}}\",\n \"TaskIDFK\": {{faker 'number.int' max=99999}},\n \"TaskTitle\": \"\",\n \"TimeSheetCategoryIDFK\": {{faker 'number.int' max=99999}},\n \"TimeSheetCategoryName\": \"\",\n \"TotalDuration\": {{faker 'number.float'}},\n \"UpdatedByUserIDFK\": {{faker 'number.int' max=99999}},\n \"UserIDFK\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ba314874-252a-4e5b-a9d3-c8459618af2c", "documentation": "Account Details", "method": "get", "endpoint": "api/Account", "responses": [ { "uuid": "fe9acbb0-cc98-4217-be20-24ceb947ca18", "body": "{\n \"AccountEmail\": \"\",\n \"AccountID\": {{faker 'number.int' max=99999}},\n \"AllowHidingCompletedTasksOnTimesheet\": {{faker 'datatype.boolean'}},\n \"CompanyName\": \"\",\n \"CurrentServerTimeISO\": \"\",\n \"DefaultCurrencyCode\": \"\",\n \"ExpenseApprovalRequired\": {{faker 'datatype.boolean'}},\n \"LockApprovedExpenses\": {{faker 'datatype.boolean'}},\n \"LockApprovedTimesheets\": {{faker 'datatype.boolean'}},\n \"SC\": \"\",\n \"Subdomain\": \"\",\n \"TimesheetDayOfWeek\": {{faker 'number.int' max=99999}},\n \"TimesheetDisplayFormatCode\": \"\",\n \"WeeklyTimesheetReminder\": {{faker 'datatype.boolean'}},\n \"has24HourTimesheetFormat\": {{faker 'datatype.boolean'}},\n \"hasStartEndTimesheets\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "741d85b2-79bb-4675-983b-9811d85e3170", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "70069956-913f-41d0-aeeb-ad42d9a53d3c", "documentation": "Gets list of Companies", "method": "get", "endpoint": "api/Company", "responses": [ { "uuid": "452519c4-4f4c-497d-bb00-9cfae997619b", "body": "{\n \"Companies\": [\n {\n \"BillingAddress\": \"\",\n \"BillingAddressCity\": \"\",\n \"BillingAddressLine\": \"\",\n \"BillingAddressPostCode\": \"\",\n \"BillingAddressState\": \"\",\n \"BillingCountryCode\": \"\",\n \"Comments\": \"\",\n \"CompanyID\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"Contacts\": [\n {\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"ContactID\": {{faker 'number.int' max=99999}},\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Email\": \"\",\n \"Firstname\": \"\",\n \"Lastname\": \"\",\n \"Mobile\": \"\",\n \"Phone\": \"\",\n \"PositionTitle\": \"\",\n \"TimeZone\": \"\"\n }\n ],\n \"CurrencyCode\": \"\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"DefaultTradingTermIDFK\": {{faker 'number.int' max=99999}},\n \"Fax\": \"\",\n \"Phone\": \"\",\n \"TaxNumber\": \"\",\n \"website\": \"\"\n }\n ],\n \"PageNumber\": {{faker 'number.int' max=99999}},\n \"PageSize\": {{faker 'number.int' max=99999}},\n \"TotalCount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "f9030a97-3c46-4e4f-9447-3bbb5a7938d4", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3132eedb-3776-497d-85ff-85128e3ba1a7", "documentation": "Create a Company", "method": "post", "endpoint": "api/Company", "responses": [ { "uuid": "076db806-d6a5-4ede-9dcd-54b701c73975", "body": "{\n \"BillingAddress\": \"\",\n \"BillingAddressCity\": \"\",\n \"BillingAddressLine\": \"\",\n \"BillingAddressPostCode\": \"\",\n \"BillingAddressState\": \"\",\n \"BillingCountryCode\": \"\",\n \"Comments\": \"\",\n \"CompanyID\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"Contacts\": [\n {\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"ContactID\": {{faker 'number.int' max=99999}},\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Email\": \"\",\n \"Firstname\": \"\",\n \"Lastname\": \"\",\n \"Mobile\": \"\",\n \"Phone\": \"\",\n \"PositionTitle\": \"\",\n \"TimeZone\": \"\"\n }\n ],\n \"CurrencyCode\": \"\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"DefaultTradingTermIDFK\": {{faker 'number.int' max=99999}},\n \"Fax\": \"\",\n \"Phone\": \"\",\n \"TaxNumber\": \"\",\n \"website\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "3ed9bb1d-abfc-49fb-89d6-24d1d687889b", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "23266443-b0dd-4a81-8847-370875a56d11", "documentation": "Update a Company record.", "method": "put", "endpoint": "api/Company", "responses": [ { "uuid": "90e69c3c-0cd1-46f5-8731-5aea3397566b", "body": "{\n \"BillingAddress\": \"\",\n \"BillingAddressCity\": \"\",\n \"BillingAddressLine\": \"\",\n \"BillingAddressPostCode\": \"\",\n \"BillingAddressState\": \"\",\n \"BillingCountryCode\": \"\",\n \"Comments\": \"\",\n \"CompanyID\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"Contacts\": [\n {\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"ContactID\": {{faker 'number.int' max=99999}},\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Email\": \"\",\n \"Firstname\": \"\",\n \"Lastname\": \"\",\n \"Mobile\": \"\",\n \"Phone\": \"\",\n \"PositionTitle\": \"\",\n \"TimeZone\": \"\"\n }\n ],\n \"CurrencyCode\": \"\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"DefaultTradingTermIDFK\": {{faker 'number.int' max=99999}},\n \"Fax\": \"\",\n \"Phone\": \"\",\n \"TaxNumber\": \"\",\n \"website\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "86567e3d-b7a7-45aa-b83c-f788e6ec909c", "documentation": "Gets minimal list of Companies.", "method": "get", "endpoint": "api/Company/Lookup", "responses": [ { "uuid": "5b467d88-732d-4de3-94e1-860ff77c8bda", "body": "{\n \"Companies\": [\n {\n \"CompanyID\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\"\n }\n ],\n \"PageNumber\": {{faker 'number.int' max=99999}},\n \"PageSize\": {{faker 'number.int' max=99999}},\n \"TotalCount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4d67d5d4-71f5-40df-a5cc-8cdaefdd9222", "documentation": "Gets Company by Company ID", "method": "get", "endpoint": "api/Company/:id", "responses": [ { "uuid": "6d51e08d-c245-4ce7-ad7e-2158ffc662f9", "body": "{\n \"BillingAddress\": \"\",\n \"BillingAddressCity\": \"\",\n \"BillingAddressLine\": \"\",\n \"BillingAddressPostCode\": \"\",\n \"BillingAddressState\": \"\",\n \"BillingCountryCode\": \"\",\n \"Comments\": \"\",\n \"CompanyID\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"Contacts\": [\n {\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"ContactID\": {{faker 'number.int' max=99999}},\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Email\": \"\",\n \"Firstname\": \"\",\n \"Lastname\": \"\",\n \"Mobile\": \"\",\n \"Phone\": \"\",\n \"PositionTitle\": \"\",\n \"TimeZone\": \"\"\n }\n ],\n \"CurrencyCode\": \"\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"DefaultTradingTermIDFK\": {{faker 'number.int' max=99999}},\n \"Fax\": \"\",\n \"Phone\": \"\",\n \"TaxNumber\": \"\",\n \"website\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "be22d86c-66d5-4578-8c78-5cbfb3d21988", "body": "", "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": "2b170c37-5c53-4e1c-b617-c950494732b0", "body": "", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5ac1cce8-0814-42e6-873d-7c135f5a382c", "documentation": "Gets list of Contacts", "method": "get", "endpoint": "api/Contact", "responses": [ { "uuid": "61ee1331-ca18-4250-b456-78449218139a", "body": "{\n \"Contacts\": [\n {\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"ContactID\": {{faker 'number.int' max=99999}},\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Email\": \"\",\n \"Firstname\": \"\",\n \"Lastname\": \"\",\n \"Mobile\": \"\",\n \"Phone\": \"\",\n \"PositionTitle\": \"\",\n \"TimeZone\": \"\"\n }\n ],\n \"PageNumber\": {{faker 'number.int' max=99999}},\n \"PageSize\": {{faker 'number.int' max=99999}},\n \"TotalCount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "9eca6325-80a9-4173-8714-ac50b207b8c1", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "863c6e0c-1ca0-474b-b04e-3cd6cee0ec98", "documentation": "Create a Contact", "method": "post", "endpoint": "api/Contact", "responses": [ { "uuid": "5fd8cd8c-ea16-466d-90e8-9eda64a03205", "body": "{\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"ContactID\": {{faker 'number.int' max=99999}},\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Email\": \"\",\n \"Firstname\": \"\",\n \"Lastname\": \"\",\n \"Mobile\": \"\",\n \"Phone\": \"\",\n \"PositionTitle\": \"\",\n \"TimeZone\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "7ed711e5-effd-49bc-beb2-9887e2db0b65", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a6a483c2-0e86-40f6-b299-4f6ae2be82c0", "documentation": "Gets Contact by Contact ID", "method": "get", "endpoint": "api/Contact/:id", "responses": [ { "uuid": "370c0c2e-9237-4c3f-82b9-c5d6ef908790", "body": "{\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"ContactID\": {{faker 'number.int' max=99999}},\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Email\": \"\",\n \"Firstname\": \"\",\n \"Lastname\": \"\",\n \"Mobile\": \"\",\n \"Phone\": \"\",\n \"PositionTitle\": \"\",\n \"TimeZone\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "f90d50a5-e563-44fa-9f82-c8a7bb673d44", "body": "", "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": "3c753f23-a6a0-45e5-bc44-1309d25a660b", "body": "", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "69c2c8c6-15bf-41ce-a9bd-a58eac916326", "documentation": "Gets list of CreditNotes", "method": "get", "endpoint": "api/CreditNote", "responses": [ { "uuid": "fdfed2bb-a1f1-4208-a3b4-681fb3d28281", "body": "{\n \"CreditNotes\": [\n {\n \"Balance\": {{faker 'number.float'}},\n \"CreditNoteAllocations\": [\n {\n \"AllocationAmount\": {{faker 'number.float'}},\n \"AllocationDate\": \"{{faker 'date.recent' 365}}\",\n \"CreditNoteTransactionIDFK\": {{faker 'number.int' max=99999}},\n \"InvoiceTransactionIDFK\": {{faker 'number.int' max=99999}},\n \"TransactionAllocationID\": {{faker 'number.int' max=99999}}\n }\n ],\n \"CreditNoteLineItems\": [\n {\n \"Amount\": {{faker 'number.float'}},\n \"Description\": \"\",\n \"Discount\": {{faker 'number.float'}},\n \"Quantity\": {{faker 'number.float'}},\n \"TaxAmount\": {{faker 'number.float'}},\n \"TaxIDFK\": {{faker 'number.int' max=99999}},\n \"TransactionLineItemID\": {{faker 'number.int' max=99999}},\n \"UnitPrice\": {{faker 'number.float'}}\n }\n ],\n \"CreditNoteNumber\": \"\",\n \"CurrencyCode\": \"\",\n \"CustomerIDFK\": {{faker 'number.int' max=99999}},\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateIssued\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Notes\": \"\",\n \"TotalAmount\": {{faker 'number.float'}},\n \"TransactionID\": {{faker 'number.int' max=99999}},\n \"TransactionPrefix\": \"\",\n \"TransactionStatusCode\": \"\"\n }\n ],\n \"PageNumber\": {{faker 'number.int' max=99999}},\n \"PageSize\": {{faker 'number.int' max=99999}},\n \"TotalCount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "3268f20f-f755-4596-8478-b3c42aff88cf", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d78ec6bd-7e58-44d6-ac7d-83e6094915a2", "documentation": "Gets Credit Note by CreditNoteID", "method": "get", "endpoint": "api/CreditNote/:id", "responses": [ { "uuid": "6a9cc220-f8ec-4b98-bcec-bc86c223d550", "body": "{\n \"Balance\": {{faker 'number.float'}},\n \"CreditNoteAllocations\": [\n {\n \"AllocationAmount\": {{faker 'number.float'}},\n \"AllocationDate\": \"{{faker 'date.recent' 365}}\",\n \"CreditNoteTransactionIDFK\": {{faker 'number.int' max=99999}},\n \"InvoiceTransactionIDFK\": {{faker 'number.int' max=99999}},\n \"TransactionAllocationID\": {{faker 'number.int' max=99999}}\n }\n ],\n \"CreditNoteLineItems\": [\n {\n \"Amount\": {{faker 'number.float'}},\n \"Description\": \"\",\n \"Discount\": {{faker 'number.float'}},\n \"Quantity\": {{faker 'number.float'}},\n \"TaxAmount\": {{faker 'number.float'}},\n \"TaxIDFK\": {{faker 'number.int' max=99999}},\n \"TransactionLineItemID\": {{faker 'number.int' max=99999}},\n \"UnitPrice\": {{faker 'number.float'}}\n }\n ],\n \"CreditNoteNumber\": \"\",\n \"CurrencyCode\": \"\",\n \"CustomerIDFK\": {{faker 'number.int' max=99999}},\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateIssued\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Notes\": \"\",\n \"TotalAmount\": {{faker 'number.float'}},\n \"TransactionID\": {{faker 'number.int' max=99999}},\n \"TransactionPrefix\": \"\",\n \"TransactionStatusCode\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "00d73257-d7bf-4189-a529-a4ec577f76f0", "body": "", "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": "f8c69375-c9e5-4e54-beb6-6a9bdb721f33", "body": "", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "90c182c7-c293-4859-a924-c3a46230831a", "documentation": "Gets list of Currencies", "method": "get", "endpoint": "api/Currency", "responses": [ { "uuid": "e3faee7c-37b7-4fc7-a5bd-cf0d29ce9284", "body": "{\n \"Currencies\": [\n {\n \"CurrencyCode\": \"\",\n \"DecimalPlaces\": {{faker 'number.int' max=99999}},\n \"Name\": \"\",\n \"Symbol\": \"\",\n \"Symbol2\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0826d8b5-a482-42a5-b7db-6ba38347ed22", "documentation": "Gets list of Estimates", "method": "get", "endpoint": "api/Estimate", "responses": [ { "uuid": "df9bb3db-41e6-4cdf-bd79-5297dea4c938", "body": "{\n \"Estimates\": [\n {\n \"AccountIDFK\": {{faker 'number.int' max=99999}},\n \"Balance\": {{faker 'number.float'}},\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"CurrencyCode\": \"\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateIssued\": \"{{faker 'date.recent' 365}}\",\n \"DateSent\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"DueDate\": \"{{faker 'date.recent' 365}}\",\n \"EstimateID\": {{faker 'number.int' max=99999}},\n \"EstimateItemNumber\": \"\",\n \"EstimatePrefix\": \"\",\n \"EstimateStatusCode\": \"\",\n \"EstimateTaxConfigCode\": \"\",\n \"ExchangeRate\": {{faker 'number.float'}},\n \"Issuer\": {\n \"BillingAddress\": \"\",\n \"BillingAddressCity\": \"\",\n \"BillingAddressLine\": \"\",\n \"BillingAddressPostCode\": \"\",\n \"BillingAddressState\": \"\",\n \"BillingCountryCode\": \"\",\n \"TaxNumber\": \"\"\n },\n \"LineItems\": [\n {\n \"Amount\": {{faker 'number.float'}},\n \"Description\": \"\",\n \"Discount\": {{faker 'number.float'}},\n \"EstimateLineItemID\": {{faker 'number.int' max=99999}},\n \"InventoryItemIDFK\": {{faker 'number.int' max=99999}},\n \"InventoryItemName\": \"\",\n \"InventoryItemSKU\": \"\",\n \"Quantity\": {{faker 'number.float'}},\n \"TaxAmount\": {{faker 'number.float'}},\n \"TaxCode\": \"\",\n \"TaxIDFK\": {{faker 'number.int' max=99999}},\n \"TaxName\": \"\",\n \"UnitPrice\": {{faker 'number.float'}}\n }\n ],\n \"Links\": {\n \"ClientView\": \"\",\n \"Edit\": \"\",\n \"View\": \"\"\n },\n \"Notes\": \"\",\n \"Recipient\": {\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"RecipientBillingAddressCity\": \"\",\n \"RecipientBillingAddressCountryCode\": \"\",\n \"RecipientBillingAddressLine\": \"\",\n \"RecipientBillingAddressPostCode\": \"\",\n \"RecipientBillingAddressState\": \"\",\n \"RecipientFormattedBillingAddress\": \"\"\n },\n \"Subject\": \"\",\n \"TaxAmount\": {{faker 'number.float'}},\n \"TotalAmount\": {{faker 'number.float'}}\n }\n ],\n \"PageNumber\": {{faker 'number.int' max=99999}},\n \"PageSize\": {{faker 'number.int' max=99999}},\n \"TotalCount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "f2f7275b-3f8d-4cc4-a94b-650b475d001f", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "cf9f376f-8852-4a22-93a1-afa2d217643b", "documentation": "Create a new draft Estimate", "method": "post", "endpoint": "api/Estimate", "responses": [ { "uuid": "1c60bb39-a259-4327-94b3-2cfeb1297d02", "body": "{\n \"AccountIDFK\": {{faker 'number.int' max=99999}},\n \"Balance\": {{faker 'number.float'}},\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"CurrencyCode\": \"\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateIssued\": \"{{faker 'date.recent' 365}}\",\n \"DateSent\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"DueDate\": \"{{faker 'date.recent' 365}}\",\n \"EstimateID\": {{faker 'number.int' max=99999}},\n \"EstimateItemNumber\": \"\",\n \"EstimatePrefix\": \"\",\n \"EstimateStatusCode\": \"\",\n \"EstimateTaxConfigCode\": \"\",\n \"ExchangeRate\": {{faker 'number.float'}},\n \"Issuer\": {\n \"BillingAddress\": \"\",\n \"BillingAddressCity\": \"\",\n \"BillingAddressLine\": \"\",\n \"BillingAddressPostCode\": \"\",\n \"BillingAddressState\": \"\",\n \"BillingCountryCode\": \"\",\n \"TaxNumber\": \"\"\n },\n \"LineItems\": [\n {\n \"Amount\": {{faker 'number.float'}},\n \"Description\": \"\",\n \"Discount\": {{faker 'number.float'}},\n \"EstimateLineItemID\": {{faker 'number.int' max=99999}},\n \"InventoryItemIDFK\": {{faker 'number.int' max=99999}},\n \"InventoryItemName\": \"\",\n \"InventoryItemSKU\": \"\",\n \"Quantity\": {{faker 'number.float'}},\n \"TaxAmount\": {{faker 'number.float'}},\n \"TaxCode\": \"\",\n \"TaxIDFK\": {{faker 'number.int' max=99999}},\n \"TaxName\": \"\",\n \"UnitPrice\": {{faker 'number.float'}}\n }\n ],\n \"Links\": {\n \"ClientView\": \"\",\n \"Edit\": \"\",\n \"View\": \"\"\n },\n \"Notes\": \"\",\n \"Recipient\": {\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"RecipientBillingAddressCity\": \"\",\n \"RecipientBillingAddressCountryCode\": \"\",\n \"RecipientBillingAddressLine\": \"\",\n \"RecipientBillingAddressPostCode\": \"\",\n \"RecipientBillingAddressState\": \"\",\n \"RecipientFormattedBillingAddress\": \"\"\n },\n \"Subject\": \"\",\n \"TaxAmount\": {{faker 'number.float'}},\n \"TotalAmount\": {{faker 'number.float'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "aa211939-f4ad-47eb-a7a3-f3b2fe8f0613", "documentation": "Gets Estimate by Estimate ID", "method": "get", "endpoint": "api/Estimate/:id", "responses": [ { "uuid": "e97689c2-6af5-478c-8270-4720258bb477", "body": "", "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": true, "crudKey": "id" }, { "uuid": "6af05fd1-ffd7-49d5-8c5e-9b5cbb368bef", "body": "", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bc176787-bbd2-41fe-8e83-bb26b602cbf1", "documentation": "Delete a Timesheet Entry", "method": "delete", "endpoint": "api/Expense", "responses": [ { "uuid": "e4ccd02d-89e4-4397-b19f-ab08f11869d7", "body": "{\n \"Results\": [\n {\n \"ErrorMessage\": \"\",\n \"ExpenseID\": {{faker 'number.int' max=99999}},\n \"Success\": {{faker 'datatype.boolean'}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6309dd13-4821-471d-8f18-e33c466c0aea", "documentation": "Gets list of Expenses", "method": "get", "endpoint": "api/Expense", "responses": [ { "uuid": "23f9e2c5-0fc1-4ae9-bd27-0642f41e8219", "body": "{\n \"Expenses\": [\n {\n \"Amount\": {{faker 'number.float'}},\n \"AttachmentPreviewURL\": \"\",\n \"AttachmentURL\": \"\",\n \"ChargeableStatusCode\": \"\",\n \"CurrencyCode\": \"\",\n \"CustomerIDFK\": {{faker 'number.int' max=99999}},\n \"CustomerName\": \"\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Email\": \"\",\n \"ExchangeRate\": {{faker 'number.float'}},\n \"ExpenseApprovalStatusCode\": \"\",\n \"ExpenseCategoryHasUnitPrice\": {{faker 'datatype.boolean'}},\n \"ExpenseCategoryIDFK\": {{faker 'number.int' max=99999}},\n \"ExpenseCategoryName\": \"\",\n \"ExpenseCategoryUnitName\": \"\",\n \"ExpenseCategoryUnitPrice\": {{faker 'number.float'}},\n \"ExpenseDate\": \"{{faker 'date.recent' 365}}\",\n \"ExpenseID\": {{faker 'number.int' max=99999}},\n \"ExpensePaymentMethodIDFK\": {{faker 'number.int' max=99999}},\n \"ExpensePaymentMethodName\": \"\",\n \"ExpenseReimbursementIDFK\": {{faker 'number.int' max=99999}},\n \"ExpenseReimbursementStatusCode\": \"\",\n \"ExpenseReportIDFK\": {{faker 'number.int' max=99999}},\n \"ExpenseReportName\": \"\",\n \"FileAttachmentIDFK\": {{faker 'number.int' max=99999}},\n \"Firstname\": \"\",\n \"Lastname\": \"\",\n \"Merchant\": \"\",\n \"MerchantTaxNumber\": \"\",\n \"Notes\": \"\",\n \"ProjectCode\": \"\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectTitle\": \"\",\n \"Quantity\": {{faker 'number.float'}},\n \"TaskIDFK\": {{faker 'number.int' max=99999}},\n \"TaskTitle\": \"\",\n \"TaxAmount\": {{faker 'number.float'}},\n \"TaxIDFK\": {{faker 'number.int' max=99999}},\n \"TaxName\": \"\",\n \"TransactionTaxConfigCode\": \"\",\n \"TransactionTaxConfigName\": \"\",\n \"UserIDFK\": {{faker 'number.int' max=99999}},\n \"isChargeable\": {{faker 'datatype.boolean'}},\n \"isOfficialExchangeRate\": {{faker 'datatype.boolean'}},\n \"isReimbursable\": {{faker 'datatype.boolean'}}\n }\n ],\n \"PageNumber\": {{faker 'number.int' max=99999}},\n \"PageSize\": {{faker 'number.int' max=99999}},\n \"TotalCount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "a2f2ef5a-1448-45c3-8f3b-8a5e593df863", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b778e15c-2f86-4b36-949a-e28b7b85878e", "documentation": "Create an Expense", "method": "post", "endpoint": "api/Expense", "responses": [ { "uuid": "5ef88d73-1330-4023-b734-1dc1b60a6fc4", "body": "{\n \"Amount\": {{faker 'number.float'}},\n \"AttachmentPreviewURL\": \"\",\n \"AttachmentURL\": \"\",\n \"ChargeableStatusCode\": \"\",\n \"CurrencyCode\": \"\",\n \"CustomerIDFK\": {{faker 'number.int' max=99999}},\n \"CustomerName\": \"\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Email\": \"\",\n \"ExchangeRate\": {{faker 'number.float'}},\n \"ExpenseApprovalStatusCode\": \"\",\n \"ExpenseCategoryHasUnitPrice\": {{faker 'datatype.boolean'}},\n \"ExpenseCategoryIDFK\": {{faker 'number.int' max=99999}},\n \"ExpenseCategoryName\": \"\",\n \"ExpenseCategoryUnitName\": \"\",\n \"ExpenseCategoryUnitPrice\": {{faker 'number.float'}},\n \"ExpenseDate\": \"{{faker 'date.recent' 365}}\",\n \"ExpenseID\": {{faker 'number.int' max=99999}},\n \"ExpensePaymentMethodIDFK\": {{faker 'number.int' max=99999}},\n \"ExpensePaymentMethodName\": \"\",\n \"ExpenseReimbursementIDFK\": {{faker 'number.int' max=99999}},\n \"ExpenseReimbursementStatusCode\": \"\",\n \"ExpenseReportIDFK\": {{faker 'number.int' max=99999}},\n \"ExpenseReportName\": \"\",\n \"FileAttachmentIDFK\": {{faker 'number.int' max=99999}},\n \"Firstname\": \"\",\n \"Lastname\": \"\",\n \"Merchant\": \"\",\n \"MerchantTaxNumber\": \"\",\n \"Notes\": \"\",\n \"ProjectCode\": \"\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectTitle\": \"\",\n \"Quantity\": {{faker 'number.float'}},\n \"TaskIDFK\": {{faker 'number.int' max=99999}},\n \"TaskTitle\": \"\",\n \"TaxAmount\": {{faker 'number.float'}},\n \"TaxIDFK\": {{faker 'number.int' max=99999}},\n \"TaxName\": \"\",\n \"TransactionTaxConfigCode\": \"\",\n \"TransactionTaxConfigName\": \"\",\n \"UserIDFK\": {{faker 'number.int' max=99999}},\n \"isChargeable\": {{faker 'datatype.boolean'}},\n \"isOfficialExchangeRate\": {{faker 'datatype.boolean'}},\n \"isReimbursable\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d1ad7436-d061-4582-9a10-c0369c813e63", "documentation": "Update an Expense", "method": "put", "endpoint": "api/Expense", "responses": [ { "uuid": "46cfaaa2-584b-4e00-846c-0b171d309e66", "body": "{\n \"Amount\": {{faker 'number.float'}},\n \"AttachmentPreviewURL\": \"\",\n \"AttachmentURL\": \"\",\n \"ChargeableStatusCode\": \"\",\n \"CurrencyCode\": \"\",\n \"CustomerIDFK\": {{faker 'number.int' max=99999}},\n \"CustomerName\": \"\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Email\": \"\",\n \"ExchangeRate\": {{faker 'number.float'}},\n \"ExpenseApprovalStatusCode\": \"\",\n \"ExpenseCategoryHasUnitPrice\": {{faker 'datatype.boolean'}},\n \"ExpenseCategoryIDFK\": {{faker 'number.int' max=99999}},\n \"ExpenseCategoryName\": \"\",\n \"ExpenseCategoryUnitName\": \"\",\n \"ExpenseCategoryUnitPrice\": {{faker 'number.float'}},\n \"ExpenseDate\": \"{{faker 'date.recent' 365}}\",\n \"ExpenseID\": {{faker 'number.int' max=99999}},\n \"ExpensePaymentMethodIDFK\": {{faker 'number.int' max=99999}},\n \"ExpensePaymentMethodName\": \"\",\n \"ExpenseReimbursementIDFK\": {{faker 'number.int' max=99999}},\n \"ExpenseReimbursementStatusCode\": \"\",\n \"ExpenseReportIDFK\": {{faker 'number.int' max=99999}},\n \"ExpenseReportName\": \"\",\n \"FileAttachmentIDFK\": {{faker 'number.int' max=99999}},\n \"Firstname\": \"\",\n \"Lastname\": \"\",\n \"Merchant\": \"\",\n \"MerchantTaxNumber\": \"\",\n \"Notes\": \"\",\n \"ProjectCode\": \"\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectTitle\": \"\",\n \"Quantity\": {{faker 'number.float'}},\n \"TaskIDFK\": {{faker 'number.int' max=99999}},\n \"TaskTitle\": \"\",\n \"TaxAmount\": {{faker 'number.float'}},\n \"TaxIDFK\": {{faker 'number.int' max=99999}},\n \"TaxName\": \"\",\n \"TransactionTaxConfigCode\": \"\",\n \"TransactionTaxConfigName\": \"\",\n \"UserIDFK\": {{faker 'number.int' max=99999}},\n \"isChargeable\": {{faker 'datatype.boolean'}},\n \"isOfficialExchangeRate\": {{faker 'datatype.boolean'}},\n \"isReimbursable\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8b53d027-391b-4dc4-bd7c-5e40f21bdb85", "documentation": "", "method": "post", "endpoint": "api/Expense/Attachment", "responses": [ { "uuid": "d046f4af-9553-4d9e-8d47-0beb7df1b799", "body": "{\n \"FileAttachments\": [\n {\n \"FileAttachmentID\": {{faker 'number.int' max=99999}},\n \"OriginalFilename\": \"\",\n \"PreviewBaseURL\": \"\",\n \"PublicFileURL\": \"\",\n \"SizeBytes\": {{faker 'number.int' max=99999}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a7149f58-746c-422d-91ee-5506c50f4033", "documentation": "Gets an Expense Entry by Expense ID", "method": "get", "endpoint": "api/Expense/:id", "responses": [ { "uuid": "59850ec3-1534-44c2-bf9f-886a247d3231", "body": "{\n \"Amount\": {{faker 'number.float'}},\n \"AttachmentPreviewURL\": \"\",\n \"AttachmentURL\": \"\",\n \"ChargeableStatusCode\": \"\",\n \"CurrencyCode\": \"\",\n \"CustomerIDFK\": {{faker 'number.int' max=99999}},\n \"CustomerName\": \"\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Email\": \"\",\n \"ExchangeRate\": {{faker 'number.float'}},\n \"ExpenseApprovalStatusCode\": \"\",\n \"ExpenseCategoryHasUnitPrice\": {{faker 'datatype.boolean'}},\n \"ExpenseCategoryIDFK\": {{faker 'number.int' max=99999}},\n \"ExpenseCategoryName\": \"\",\n \"ExpenseCategoryUnitName\": \"\",\n \"ExpenseCategoryUnitPrice\": {{faker 'number.float'}},\n \"ExpenseDate\": \"{{faker 'date.recent' 365}}\",\n \"ExpenseID\": {{faker 'number.int' max=99999}},\n \"ExpensePaymentMethodIDFK\": {{faker 'number.int' max=99999}},\n \"ExpensePaymentMethodName\": \"\",\n \"ExpenseReimbursementIDFK\": {{faker 'number.int' max=99999}},\n \"ExpenseReimbursementStatusCode\": \"\",\n \"ExpenseReportIDFK\": {{faker 'number.int' max=99999}},\n \"ExpenseReportName\": \"\",\n \"FileAttachmentIDFK\": {{faker 'number.int' max=99999}},\n \"Firstname\": \"\",\n \"Lastname\": \"\",\n \"Merchant\": \"\",\n \"MerchantTaxNumber\": \"\",\n \"Notes\": \"\",\n \"ProjectCode\": \"\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectTitle\": \"\",\n \"Quantity\": {{faker 'number.float'}},\n \"TaskIDFK\": {{faker 'number.int' max=99999}},\n \"TaskTitle\": \"\",\n \"TaxAmount\": {{faker 'number.float'}},\n \"TaxIDFK\": {{faker 'number.int' max=99999}},\n \"TaxName\": \"\",\n \"TransactionTaxConfigCode\": \"\",\n \"TransactionTaxConfigName\": \"\",\n \"UserIDFK\": {{faker 'number.int' max=99999}},\n \"isChargeable\": {{faker 'datatype.boolean'}},\n \"isOfficialExchangeRate\": {{faker 'datatype.boolean'}},\n \"isReimbursable\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "05fb9238-e08e-4bbf-b4f0-e4d0053b8484", "body": "", "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": "677488d8-5dab-450a-87c8-bf669732e985", "body": "", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f6dc393b-9f8d-438b-9498-0f0cc26f980d", "documentation": "Submit Expenses for Approval.", "method": "post", "endpoint": "api/ExpenseApproval/Submit", "responses": [ { "uuid": "596b4d0e-bcdb-433a-885d-97a72cb8510f", "body": "{}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "20cee5a6-1872-477b-b503-2afbf6831b94", "documentation": "Gets list of Expense Categories", "method": "get", "endpoint": "api/ExpenseCategory", "responses": [ { "uuid": "e68e10b1-d0fb-4021-a32f-d79dc02445bc", "body": "{\n \"Categories\": [\n {\n \"Enabled\": {{faker 'datatype.boolean'}},\n \"ExpenseCategoryID\": {{faker 'number.int' max=99999}},\n \"Name\": \"\",\n \"UnitName\": \"\",\n \"UnitPrice\": {{faker 'number.float'}},\n \"hasUnitPrice\": {{faker 'datatype.boolean'}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "2657421a-8c53-435e-b24a-1ecb3c4a8977", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8d32cefe-2de3-47b3-865d-17ba0ebe0b89", "documentation": "Gets minimal list of Expense Groups.", "method": "get", "endpoint": "api/ExpenseGroup/Lookup", "responses": [ { "uuid": "705aa7db-36ae-4b87-a897-94343f6b3787", "body": "{\n \"ExpenseGroups\": [\n {\n \"ExpenseGroupID\": {{faker 'number.int' max=99999}},\n \"Name\": \"\"\n }\n ],\n \"PageNumber\": {{faker 'number.int' max=99999}},\n \"PageSize\": {{faker 'number.int' max=99999}},\n \"TotalCount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "28de472e-8cc7-46af-945e-02d218cfb82b", "documentation": "Gets minimal list of Expense Merchants.", "method": "get", "endpoint": "api/ExpenseMerchant/Lookup", "responses": [ { "uuid": "813da830-359e-42c5-9f90-da8823cc7cf4", "body": "{\n \"ExpenseMerchants\": [\n {\n \"MerchantName\": \"\"\n }\n ],\n \"PageNumber\": {{faker 'number.int' max=99999}},\n \"PageSize\": {{faker 'number.int' max=99999}},\n \"TotalCount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4d129483-1c4e-4c64-850d-15f1dbe1424c", "documentation": "Gets minimal list of Expense Payment Methods.", "method": "get", "endpoint": "api/ExpensePaymentMethod/Lookup", "responses": [ { "uuid": "7bf09509-e70e-446c-a32e-14af19066038", "body": "{\n \"ExpensePaymentMethods\": [\n {\n \"ExpensePaymentMethodID\": {{faker 'number.int' max=99999}},\n \"Name\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bd54d3cc-12ba-452e-a8ae-c147d5380449", "documentation": "Gets Basic Summary of Expense Statistics", "method": "get", "endpoint": "api/ExpenseSummary", "responses": [ { "uuid": "ce014451-cb21-4448-974e-17ba71b72d9d", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "290a01f7-a43f-4668-9f37-c5dd2dde3f3d", "documentation": "Gets list of Fixed Amounts", "method": "get", "endpoint": "api/FixedAmount", "responses": [ { "uuid": "95ed33a0-e32a-4bbe-805a-2c45ef318664", "body": "{\n \"FixedAmounts\": [\n {\n \"Amount\": {{faker 'number.float'}},\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"FixedAmountID\": {{faker 'number.int' max=99999}},\n \"InventoryItemIDFK\": {{faker 'number.int' max=99999}},\n \"InventoryItemName\": \"\",\n \"Notes\": \"\",\n \"ProjectCode\": \"\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectTitle\": \"\",\n \"TaskIDFK\": {{faker 'number.int' max=99999}},\n \"TaskTitle\": \"\",\n \"UpdatedByUserIDFK\": {{faker 'number.int' max=99999}},\n \"isInvoiced\": {{faker 'datatype.boolean'}}\n }\n ],\n \"PageNumber\": {{faker 'number.int' max=99999}},\n \"PageSize\": {{faker 'number.int' max=99999}},\n \"TotalCount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "9d8673f1-4d6f-4290-bfe9-8a0511ce492f", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "774f3bb3-9512-457b-a3d9-0e56b1b0361b", "documentation": "Gets list of Inventory", "method": "get", "endpoint": "api/Inventory", "responses": [ { "uuid": "e6100e4e-fc64-41e6-907d-ee04dad3fa1e", "body": "{\n \"Inventory\": [\n {\n \"CostPrice\": {{faker 'number.float'}},\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Description\": \"\",\n \"InventoryItemID\": {{faker 'number.int' max=99999}},\n \"Name\": \"\",\n \"SKU\": \"\",\n \"SalePrice\": {{faker 'number.float'}},\n \"SaleTaxIDFK\": {{faker 'number.int' max=99999}},\n \"isHidden\": {{faker 'datatype.boolean'}}\n }\n ],\n \"PageNumber\": {{faker 'number.int' max=99999}},\n \"PageSize\": {{faker 'number.int' max=99999}},\n \"TotalCount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "7670e0e4-a3ea-4b70-89a8-42d54fb386b9", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ce7f20f8-8e8a-4024-b49d-8a55a627adc1", "documentation": "Gets InventoryItem by InventoryItem ID", "method": "get", "endpoint": "api/Inventory/:id", "responses": [ { "uuid": "2c26259a-b7cd-4780-9ce9-04e21196ba05", "body": "", "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": true, "crudKey": "id" }, { "uuid": "0ca0294e-5878-4f7e-811c-f171d9b01b56", "body": "", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "eca1e14d-aa1d-4d51-aade-40e95f8c966c", "documentation": "Gets list of Invoices", "method": "get", "endpoint": "api/Invoice", "responses": [ { "uuid": "f1eab329-7746-4ea4-8ccd-85ff1bcc6d73", "body": "{\n \"Invoices\": [\n {\n \"AccountIDFK\": {{faker 'number.int' max=99999}},\n \"Balance\": {{faker 'number.float'}},\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"CurrencyCode\": \"\",\n \"CustomerPONumber\": \"\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateIssued\": \"{{faker 'date.recent' 365}}\",\n \"DateSent\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"DueDate\": \"{{faker 'date.recent' 365}}\",\n \"ExchangeRate\": {{faker 'number.float'}},\n \"InvoiceNumber\": \"\",\n \"Issuer\": {\n \"BillingAddress\": \"\",\n \"BillingAddressCity\": \"\",\n \"BillingAddressLine\": \"\",\n \"BillingAddressPostCode\": \"\",\n \"BillingAddressState\": \"\",\n \"BillingCountryCode\": \"\",\n \"TaxNumber\": \"\"\n },\n \"LineItems\": [\n {\n \"Amount\": {{faker 'number.float'}},\n \"Description\": \"\",\n \"Discount\": {{faker 'number.float'}},\n \"InventoryItemIDFK\": {{faker 'number.int' max=99999}},\n \"InventoryItemName\": \"\",\n \"InventoryItemSKU\": \"\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectTitle\": \"\",\n \"Quantity\": {{faker 'number.float'}},\n \"TaxAmount\": {{faker 'number.float'}},\n \"TaxCode\": \"\",\n \"TaxIDFK\": {{faker 'number.int' max=99999}},\n \"TaxName\": \"\",\n \"TransactionLineItemID\": {{faker 'number.int' max=99999}},\n \"UnitPrice\": {{faker 'number.float'}}\n }\n ],\n \"Links\": {\n \"ClientView\": \"\",\n \"Edit\": \"\",\n \"View\": \"\"\n },\n \"Notes\": \"\",\n \"Recipient\": {\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"RecipientBillingAddressCity\": \"\",\n \"RecipientBillingAddressCountryCode\": \"\",\n \"RecipientBillingAddressLine\": \"\",\n \"RecipientBillingAddressPostCode\": \"\",\n \"RecipientBillingAddressState\": \"\",\n \"RecipientFormattedBillingAddress\": \"\"\n },\n \"Subject\": \"\",\n \"TaxAmount\": {{faker 'number.float'}},\n \"TotalAmount\": {{faker 'number.float'}},\n \"TransactionID\": {{faker 'number.int' max=99999}},\n \"TransactionPrefix\": \"\",\n \"TransactionStatusCode\": \"\",\n \"TransactionTaxConfigCode\": \"\"\n }\n ],\n \"PageNumber\": {{faker 'number.int' max=99999}},\n \"PageSize\": {{faker 'number.int' max=99999}},\n \"TotalCount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "a0d9d2b7-f05e-455c-9f76-676f86b608ee", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d0864933-c374-4554-936c-0a2943e14f5a", "documentation": "Create a new draft invoice", "method": "post", "endpoint": "api/Invoice", "responses": [ { "uuid": "8bd88d2e-47dc-414a-a089-9198735e8413", "body": "{\n \"AccountIDFK\": {{faker 'number.int' max=99999}},\n \"Balance\": {{faker 'number.float'}},\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"CurrencyCode\": \"\",\n \"CustomerPONumber\": \"\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateIssued\": \"{{faker 'date.recent' 365}}\",\n \"DateSent\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"DueDate\": \"{{faker 'date.recent' 365}}\",\n \"ExchangeRate\": {{faker 'number.float'}},\n \"InvoiceNumber\": \"\",\n \"Issuer\": {\n \"BillingAddress\": \"\",\n \"BillingAddressCity\": \"\",\n \"BillingAddressLine\": \"\",\n \"BillingAddressPostCode\": \"\",\n \"BillingAddressState\": \"\",\n \"BillingCountryCode\": \"\",\n \"TaxNumber\": \"\"\n },\n \"LineItems\": [\n {\n \"Amount\": {{faker 'number.float'}},\n \"Description\": \"\",\n \"Discount\": {{faker 'number.float'}},\n \"InventoryItemIDFK\": {{faker 'number.int' max=99999}},\n \"InventoryItemName\": \"\",\n \"InventoryItemSKU\": \"\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectTitle\": \"\",\n \"Quantity\": {{faker 'number.float'}},\n \"TaxAmount\": {{faker 'number.float'}},\n \"TaxCode\": \"\",\n \"TaxIDFK\": {{faker 'number.int' max=99999}},\n \"TaxName\": \"\",\n \"TransactionLineItemID\": {{faker 'number.int' max=99999}},\n \"UnitPrice\": {{faker 'number.float'}}\n }\n ],\n \"Links\": {\n \"ClientView\": \"\",\n \"Edit\": \"\",\n \"View\": \"\"\n },\n \"Notes\": \"\",\n \"Recipient\": {\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"RecipientBillingAddressCity\": \"\",\n \"RecipientBillingAddressCountryCode\": \"\",\n \"RecipientBillingAddressLine\": \"\",\n \"RecipientBillingAddressPostCode\": \"\",\n \"RecipientBillingAddressState\": \"\",\n \"RecipientFormattedBillingAddress\": \"\"\n },\n \"Subject\": \"\",\n \"TaxAmount\": {{faker 'number.float'}},\n \"TotalAmount\": {{faker 'number.float'}},\n \"TransactionID\": {{faker 'number.int' max=99999}},\n \"TransactionPrefix\": \"\",\n \"TransactionStatusCode\": \"\",\n \"TransactionTaxConfigCode\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f13759e1-764c-4d5d-a20e-e20f4dd184a2", "documentation": "Gets Invoice by Invoice ID", "method": "get", "endpoint": "api/Invoice/:id", "responses": [ { "uuid": "0c3dffc5-ef69-4a27-8219-4291f6c1afa8", "body": "", "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": true, "crudKey": "id" }, { "uuid": "ffecc36d-8df8-4c3a-bae2-4745a126ef21", "body": "", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7ef047b0-dd86-4b55-a687-681798827dd0", "documentation": "Gets list of Payments", "method": "get", "endpoint": "api/Payment", "responses": [ { "uuid": "045fbaf7-e5c5-4d4d-992a-ec618b210837", "body": "{\n \"PageNumber\": {{faker 'number.int' max=99999}},\n \"PageSize\": {{faker 'number.int' max=99999}},\n \"Payments\": [\n {\n \"AccountIDFK\": {{faker 'number.int' max=99999}},\n \"Balance\": {{faker 'number.float'}},\n \"CurrencyCode\": \"\",\n \"CustomerIDFK\": {{faker 'number.int' max=99999}},\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateIssued\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"ExchangeRate\": {{faker 'number.float'}},\n \"Notes\": \"\",\n \"PaymentAllocations\": [\n {\n \"AllocationAmount\": {{faker 'number.float'}},\n \"AllocationDate\": \"{{faker 'date.recent' 365}}\",\n \"InvoiceTransactionIDFK\": {{faker 'number.int' max=99999}},\n \"PaymentTransactionIDFK\": {{faker 'number.int' max=99999}},\n \"TransactionAllocationID\": {{faker 'number.int' max=99999}}\n }\n ],\n \"PaymentNumber\": \"\",\n \"PaymentProviderCode\": \"\",\n \"TotalAmount\": {{faker 'number.float'}},\n \"TransactionID\": {{faker 'number.int' max=99999}},\n \"TransactionPrefix\": \"\",\n \"TransactionReference\": \"\",\n \"TransactionStatusCode\": \"\"\n }\n ],\n \"TotalCount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "fc4ed4f5-4cd0-42c0-94ee-ed4a3219efee", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "aba4f763-8fc2-476a-a289-7fb48ed9826c", "documentation": "Create new Payment and optionally assign payment allocations to Invoices", "method": "post", "endpoint": "api/Payment", "responses": [ { "uuid": "c93aa92c-3e0d-48b4-bdbd-4c9e48095ad8", "body": "{\n \"AccountIDFK\": {{faker 'number.int' max=99999}},\n \"Balance\": {{faker 'number.float'}},\n \"CurrencyCode\": \"\",\n \"CustomerIDFK\": {{faker 'number.int' max=99999}},\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateIssued\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"ExchangeRate\": {{faker 'number.float'}},\n \"Notes\": \"\",\n \"PaymentAllocations\": [\n {\n \"AllocationAmount\": {{faker 'number.float'}},\n \"AllocationDate\": \"{{faker 'date.recent' 365}}\",\n \"InvoiceTransactionIDFK\": {{faker 'number.int' max=99999}},\n \"PaymentTransactionIDFK\": {{faker 'number.int' max=99999}},\n \"TransactionAllocationID\": {{faker 'number.int' max=99999}}\n }\n ],\n \"PaymentNumber\": \"\",\n \"PaymentProviderCode\": \"\",\n \"TotalAmount\": {{faker 'number.float'}},\n \"TransactionID\": {{faker 'number.int' max=99999}},\n \"TransactionPrefix\": \"\",\n \"TransactionReference\": \"\",\n \"TransactionStatusCode\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "40e6b4b2-42f6-48cf-be6a-1da16da2837c", "documentation": "Gets Payment by Payment Transaction ID", "method": "get", "endpoint": "api/Payment/:id", "responses": [ { "uuid": "4cc8c43a-0303-44ab-ab19-706e8d11f4e0", "body": "{\n \"AccountIDFK\": {{faker 'number.int' max=99999}},\n \"Balance\": {{faker 'number.float'}},\n \"CurrencyCode\": \"\",\n \"CustomerIDFK\": {{faker 'number.int' max=99999}},\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateIssued\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"ExchangeRate\": {{faker 'number.float'}},\n \"Notes\": \"\",\n \"PaymentAllocations\": [\n {\n \"AllocationAmount\": {{faker 'number.float'}},\n \"AllocationDate\": \"{{faker 'date.recent' 365}}\",\n \"InvoiceTransactionIDFK\": {{faker 'number.int' max=99999}},\n \"PaymentTransactionIDFK\": {{faker 'number.int' max=99999}},\n \"TransactionAllocationID\": {{faker 'number.int' max=99999}}\n }\n ],\n \"PaymentNumber\": \"\",\n \"PaymentProviderCode\": \"\",\n \"TotalAmount\": {{faker 'number.float'}},\n \"TransactionID\": {{faker 'number.int' max=99999}},\n \"TransactionPrefix\": \"\",\n \"TransactionReference\": \"\",\n \"TransactionStatusCode\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "dfaaa493-583c-457b-b1cf-92abc4ddb5d7", "body": "", "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": "a149927b-c534-497a-a6e3-2619b560ca3c", "body": "", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5c0bb76c-b57b-4d5f-b3eb-3b84712e5029", "documentation": "Gets list of Projects", "method": "get", "endpoint": "api/Project", "responses": [ { "uuid": "ac256376-e4b9-4121-adf5-9df02ce11d8f", "body": "{\n \"PageNumber\": {{faker 'number.int' max=99999}},\n \"PageSize\": {{faker 'number.int' max=99999}},\n \"Projects\": [\n {\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"DefaultAccountTaskTypeIDFK\": {{faker 'number.int' max=99999}},\n \"DefaultAccountTaskTypeName\": \"\",\n \"Notes\": \"\",\n \"ProjectCode\": \"\",\n \"ProjectID\": {{faker 'number.int' max=99999}},\n \"Title\": \"\",\n \"isArchived\": {{faker 'datatype.boolean'}},\n \"isTaskRequiredOnTimesheet\": {{faker 'datatype.boolean'}}\n }\n ],\n \"TotalCount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "beae7166-3eef-42c8-9f46-c72378c23dca", "documentation": "Create a Project", "method": "post", "endpoint": "api/Project", "responses": [ { "uuid": "05a81f3f-b475-4b5e-9ede-5211c17f4e62", "body": "{\n \"BudgetAmount\": {{faker 'number.float'}},\n \"BudgetHours\": {{faker 'number.float'}},\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"DefaultAccountTaskTypeIDFK\": {{faker 'number.int' max=99999}},\n \"DefaultAccountTaskTypeName\": \"\",\n \"EndDate\": \"{{faker 'date.recent' 365}}\",\n \"Members\": [\n {\n \"BudgetAmount\": {{faker 'number.float'}},\n \"CostAmount\": {{faker 'number.float'}},\n \"Email\": \"\",\n \"Firstname\": \"\",\n \"Fullname\": \"\",\n \"Lastname\": \"\",\n \"RateAmount\": {{faker 'number.float'}},\n \"UserIDFK\": {{faker 'number.int' max=99999}},\n \"canCommentOnTasks\": {{faker 'datatype.boolean'}},\n \"canCreateTasks\": {{faker 'datatype.boolean'}},\n \"canDeleteTasks\": {{faker 'datatype.boolean'}},\n \"canUpdateTasks\": {{faker 'datatype.boolean'}},\n \"isMemberDisabled\": {{faker 'datatype.boolean'}},\n \"isProjectManager\": {{faker 'datatype.boolean'}},\n \"isTimesheetAllowed\": {{faker 'datatype.boolean'}},\n \"isTimesheetApprovalRequired\": {{faker 'datatype.boolean'}},\n \"isTimesheetApprover\": {{faker 'datatype.boolean'}}\n }\n ],\n \"Notes\": \"\",\n \"ProjectBillableTypeCode\": \"\",\n \"ProjectBudgetTypeCode\": \"\",\n \"ProjectCategoryColor\": \"\",\n \"ProjectCategoryIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectCategoryName\": \"\",\n \"ProjectCode\": \"\",\n \"ProjectHourlyRate\": {{faker 'number.float'}},\n \"ProjectID\": {{faker 'number.int' max=99999}},\n \"ProjectOwnerUserIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectStatusCode\": \"\",\n \"ProjectTags\": [\n {\n \"Name\": \"\",\n \"ProjectTagID\": {{faker 'number.int' max=99999}}\n }\n ],\n \"Sections\": [\n {\n \"DisplayOrder\": {{faker 'number.int' max=99999}},\n \"EndDate\": \"{{faker 'date.recent' 365}}\",\n \"SectionID\": {{faker 'number.int' max=99999}},\n \"StartDate\": \"{{faker 'date.recent' 365}}\",\n \"Title\": \"\"\n }\n ],\n \"StartDate\": \"{{faker 'date.recent' 365}}\",\n \"Title\": \"\",\n \"isArchived\": {{faker 'datatype.boolean'}},\n \"isTaskRequiredOnTimesheet\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "b2f8ab28-95b7-419c-92a9-9f08c99aa919", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "faf0f1db-a0a4-4b8c-9df2-685f330e9779", "documentation": "Update an Project", "method": "put", "endpoint": "api/Project", "responses": [ { "uuid": "8cd11b68-e385-4f6c-b6a9-2524d7e015f8", "body": "{\n \"BudgetAmount\": {{faker 'number.float'}},\n \"BudgetHours\": {{faker 'number.float'}},\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"DefaultAccountTaskTypeIDFK\": {{faker 'number.int' max=99999}},\n \"DefaultAccountTaskTypeName\": \"\",\n \"EndDate\": \"{{faker 'date.recent' 365}}\",\n \"Members\": [\n {\n \"BudgetAmount\": {{faker 'number.float'}},\n \"CostAmount\": {{faker 'number.float'}},\n \"Email\": \"\",\n \"Firstname\": \"\",\n \"Fullname\": \"\",\n \"Lastname\": \"\",\n \"RateAmount\": {{faker 'number.float'}},\n \"UserIDFK\": {{faker 'number.int' max=99999}},\n \"canCommentOnTasks\": {{faker 'datatype.boolean'}},\n \"canCreateTasks\": {{faker 'datatype.boolean'}},\n \"canDeleteTasks\": {{faker 'datatype.boolean'}},\n \"canUpdateTasks\": {{faker 'datatype.boolean'}},\n \"isMemberDisabled\": {{faker 'datatype.boolean'}},\n \"isProjectManager\": {{faker 'datatype.boolean'}},\n \"isTimesheetAllowed\": {{faker 'datatype.boolean'}},\n \"isTimesheetApprovalRequired\": {{faker 'datatype.boolean'}},\n \"isTimesheetApprover\": {{faker 'datatype.boolean'}}\n }\n ],\n \"Notes\": \"\",\n \"ProjectBillableTypeCode\": \"\",\n \"ProjectBudgetTypeCode\": \"\",\n \"ProjectCategoryColor\": \"\",\n \"ProjectCategoryIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectCategoryName\": \"\",\n \"ProjectCode\": \"\",\n \"ProjectHourlyRate\": {{faker 'number.float'}},\n \"ProjectID\": {{faker 'number.int' max=99999}},\n \"ProjectOwnerUserIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectStatusCode\": \"\",\n \"ProjectTags\": [\n {\n \"Name\": \"\",\n \"ProjectTagID\": {{faker 'number.int' max=99999}}\n }\n ],\n \"Sections\": [\n {\n \"DisplayOrder\": {{faker 'number.int' max=99999}},\n \"EndDate\": \"{{faker 'date.recent' 365}}\",\n \"SectionID\": {{faker 'number.int' max=99999}},\n \"StartDate\": \"{{faker 'date.recent' 365}}\",\n \"Title\": \"\"\n }\n ],\n \"StartDate\": \"{{faker 'date.recent' 365}}\",\n \"Title\": \"\",\n \"isArchived\": {{faker 'datatype.boolean'}},\n \"isTaskRequiredOnTimesheet\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "410607a9-d69e-45a6-96e0-d0c7c59a3f7f", "documentation": "Gets minimal list of active Projects for the current user", "method": "get", "endpoint": "api/Project/Lookup", "responses": [ { "uuid": "ca226278-db07-4df4-8add-4200e70aa2b2", "body": "{\n \"PageSize\": {{faker 'number.int' max=99999}},\n \"companies\": [\n {\n \"CompanyID\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"projects\": [\n {\n \"ProjectCode\": \"\",\n \"ProjectID\": {{faker 'number.int' max=99999}},\n \"Title\": \"\"\n }\n ]\n }\n ],\n \"hasMore\": {{faker 'datatype.boolean'}},\n \"pageNumber\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "05efc2aa-9915-4e93-9b70-4c7d37c4203b", "documentation": "Gets Project by Project ID", "method": "get", "endpoint": "api/Project/:id", "responses": [ { "uuid": "538c7570-bc77-4713-93eb-8f4d50bd5b1f", "body": "{\n \"BudgetAmount\": {{faker 'number.float'}},\n \"BudgetHours\": {{faker 'number.float'}},\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"DefaultAccountTaskTypeIDFK\": {{faker 'number.int' max=99999}},\n \"DefaultAccountTaskTypeName\": \"\",\n \"EndDate\": \"{{faker 'date.recent' 365}}\",\n \"Members\": [\n {\n \"BudgetAmount\": {{faker 'number.float'}},\n \"CostAmount\": {{faker 'number.float'}},\n \"Email\": \"\",\n \"Firstname\": \"\",\n \"Fullname\": \"\",\n \"Lastname\": \"\",\n \"RateAmount\": {{faker 'number.float'}},\n \"UserIDFK\": {{faker 'number.int' max=99999}},\n \"canCommentOnTasks\": {{faker 'datatype.boolean'}},\n \"canCreateTasks\": {{faker 'datatype.boolean'}},\n \"canDeleteTasks\": {{faker 'datatype.boolean'}},\n \"canUpdateTasks\": {{faker 'datatype.boolean'}},\n \"isMemberDisabled\": {{faker 'datatype.boolean'}},\n \"isProjectManager\": {{faker 'datatype.boolean'}},\n \"isTimesheetAllowed\": {{faker 'datatype.boolean'}},\n \"isTimesheetApprovalRequired\": {{faker 'datatype.boolean'}},\n \"isTimesheetApprover\": {{faker 'datatype.boolean'}}\n }\n ],\n \"Notes\": \"\",\n \"ProjectBillableTypeCode\": \"\",\n \"ProjectBudgetTypeCode\": \"\",\n \"ProjectCategoryColor\": \"\",\n \"ProjectCategoryIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectCategoryName\": \"\",\n \"ProjectCode\": \"\",\n \"ProjectHourlyRate\": {{faker 'number.float'}},\n \"ProjectID\": {{faker 'number.int' max=99999}},\n \"ProjectOwnerUserIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectStatusCode\": \"\",\n \"ProjectTags\": [\n {\n \"Name\": \"\",\n \"ProjectTagID\": {{faker 'number.int' max=99999}}\n }\n ],\n \"Sections\": [\n {\n \"DisplayOrder\": {{faker 'number.int' max=99999}},\n \"EndDate\": \"{{faker 'date.recent' 365}}\",\n \"SectionID\": {{faker 'number.int' max=99999}},\n \"StartDate\": \"{{faker 'date.recent' 365}}\",\n \"Title\": \"\"\n }\n ],\n \"StartDate\": \"{{faker 'date.recent' 365}}\",\n \"Title\": \"\",\n \"isArchived\": {{faker 'datatype.boolean'}},\n \"isTaskRequiredOnTimesheet\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "28990647-ff53-47f5-b306-58a7b9f08636", "body": "", "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": "38cbee75-914b-46f0-98e5-56a621bc9dc2", "body": "", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "10d2502b-44ab-4448-bf58-0d8debbb5fcd", "documentation": "Assign a user as a Member of a Project", "method": "post", "endpoint": "api/ProjectMember", "responses": [ { "uuid": "9fa6ea3e-fec6-4b6b-82fb-082b721a0877", "body": "{\n \"BudgetAmount\": {{faker 'number.float'}},\n \"CostAmount\": {{faker 'number.float'}},\n \"Email\": \"\",\n \"Firstname\": \"\",\n \"Fullname\": \"\",\n \"Lastname\": \"\",\n \"RateAmount\": {{faker 'number.float'}},\n \"UserIDFK\": {{faker 'number.int' max=99999}},\n \"canCommentOnTasks\": {{faker 'datatype.boolean'}},\n \"canCreateTasks\": {{faker 'datatype.boolean'}},\n \"canDeleteTasks\": {{faker 'datatype.boolean'}},\n \"canUpdateTasks\": {{faker 'datatype.boolean'}},\n \"isMemberDisabled\": {{faker 'datatype.boolean'}},\n \"isProjectManager\": {{faker 'datatype.boolean'}},\n \"isTimesheetAllowed\": {{faker 'datatype.boolean'}},\n \"isTimesheetApprovalRequired\": {{faker 'datatype.boolean'}},\n \"isTimesheetApprover\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "468e6ea7-53b0-4844-8c01-ff8b98241587", "documentation": "Gets list of Project Timesheet Categories", "method": "get", "endpoint": "api/ProjectTimesheetCategory", "responses": [ { "uuid": "860f5bd0-c5ce-4ebd-9301-7c09cce72547", "body": "{\n \"Categories\": [\n {\n \"AccountIDFK\": {{faker 'number.int' max=99999}},\n \"BudgetHours\": {{faker 'number.float'}},\n \"CostAmount\": {{faker 'number.float'}},\n \"Name\": \"\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"RateAmount\": {{faker 'number.float'}},\n \"TimeSheetCategoryIDFK\": {{faker 'number.int' max=99999}},\n \"isBillable\": {{faker 'datatype.boolean'}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "6845be1e-09f6-4aaa-a25a-bda92a0cf809", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ea8986fc-e3af-4b11-9cd1-1715f0c7eb23", "documentation": "Gets list of Schedule Assignments.", "method": "get", "endpoint": "api/ScheduleAssignment", "responses": [ { "uuid": "e30c96b5-595c-44da-9dd7-a72544f81820", "body": "{\n \"PageNumber\": {{faker 'number.int' max=99999}},\n \"PageSize\": {{faker 'number.int' max=99999}},\n \"ScheduleAssignments\": [\n {\n \"AccountIDFK\": {{faker 'number.int' max=99999}},\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Duration\": {{faker 'number.float'}},\n \"ScheduleAssignmentID\": {{faker 'number.int' max=99999}},\n \"ScheduleDate\": \"{{faker 'date.recent' 365}}\",\n \"ScheduleSeriesIDFK\": {{faker 'number.int' max=99999}},\n \"UserIDFK\": {{faker 'number.int' max=99999}}\n }\n ],\n \"TotalCount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "a8a76a85-622a-4e3b-89e7-d06c8804f768", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f87c4ecc-5a7c-4203-a214-1b68d7194e65", "documentation": "Gets list of Schedule Series", "method": "get", "endpoint": "api/ScheduleSeries", "responses": [ { "uuid": "7bae3695-358c-461b-93c2-ff9b65f179c9", "body": "{\n \"PageNumber\": {{faker 'number.int' max=99999}},\n \"PageSize\": {{faker 'number.int' max=99999}},\n \"ScheduleSeries\": [\n {\n \"AccountIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"EndDate\": \"{{faker 'date.recent' 365}}\",\n \"Firstname\": \"\",\n \"HoursPerDay\": {{faker 'number.float'}},\n \"Lastname\": \"\",\n \"LeaveTypeIDFK\": {{faker 'number.int' max=99999}},\n \"LeaveTypeName\": \"\",\n \"Notes\": \"\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectTitle\": \"\",\n \"ScheduleOnDaysOff\": {{faker 'datatype.boolean'}},\n \"ScheduleSeriesID\": {{faker 'number.int' max=99999}},\n \"StartDate\": \"{{faker 'date.recent' 365}}\",\n \"TaskIDFK\": {{faker 'number.int' max=99999}},\n \"TaskTitle\": \"\",\n \"TimeSheetCategoryIDFK\": {{faker 'number.int' max=99999}},\n \"TimeSheetCategoryName\": \"\",\n \"TotalDuration\": {{faker 'number.float'}},\n \"UpdatedByUserIDFK\": {{faker 'number.int' max=99999}},\n \"UserIDFK\": {{faker 'number.int' max=99999}}\n }\n ],\n \"TotalCount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "c3a2a9e7-0645-49ad-9720-17fa3e064f5f", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6ca84970-1aca-4c36-8968-3a3ec0760c1f", "documentation": "Delete a Section", "method": "delete", "endpoint": "api/Section", "responses": [ { "uuid": "1212b8dd-2e5c-4ee7-a2b6-6754910a53c4", "body": "{}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "80723779-f1b1-434d-baaa-5aae579140d9", "documentation": "Gets list of Sections", "method": "get", "endpoint": "api/Section", "responses": [ { "uuid": "3c9f0163-2bc3-472a-a5a0-011542b40280", "body": "{\n \"Sections\": [\n {\n \"DisplayOrder\": {{faker 'number.int' max=99999}},\n \"EndDate\": \"{{faker 'date.recent' 365}}\",\n \"EndDateUTC\": \"{{faker 'date.recent' 365}}\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"SectionID\": {{faker 'number.int' max=99999}},\n \"StartDate\": \"{{faker 'date.recent' 365}}\",\n \"StartDateUTC\": \"{{faker 'date.recent' 365}}\",\n \"Title\": \"\"\n }\n ],\n \"TotalCount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "0eea0fe3-a557-49b5-a159-d644b9efcf8c", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1c649a95-f54d-40e2-b68f-0b1266e953f2", "documentation": "Create a Section", "method": "post", "endpoint": "api/Section", "responses": [ { "uuid": "a5e4bf20-a0ed-4cbf-b0e2-4e98b18124b5", "body": "{\n \"DisplayOrder\": {{faker 'number.int' max=99999}},\n \"EndDate\": \"{{faker 'date.recent' 365}}\",\n \"EndDateUTC\": \"{{faker 'date.recent' 365}}\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"SectionID\": {{faker 'number.int' max=99999}},\n \"StartDate\": \"{{faker 'date.recent' 365}}\",\n \"StartDateUTC\": \"{{faker 'date.recent' 365}}\",\n \"Title\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3cd043e3-b975-405d-990f-4a103036ff7b", "documentation": "Delete a Task", "method": "delete", "endpoint": "api/Task", "responses": [ { "uuid": "95c852bd-5bdd-4517-83e9-86f13cd0efe1", "body": "{}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3a18fae6-9832-463b-946e-ba7749392e44", "documentation": "Gets list of Tasks", "method": "get", "endpoint": "api/Task", "responses": [ { "uuid": "6213a2d9-1051-4696-a0d7-6555b349c678", "body": "{\n \"PageNumber\": {{faker 'number.int' max=99999}},\n \"PageSize\": {{faker 'number.int' max=99999}},\n \"Tasks\": [\n {\n \"AccountTaskTypeIDFK\": {{faker 'number.int' max=99999}},\n \"ActualTime\": {{faker 'number.float'}},\n \"AssignedToEmail\": \"\",\n \"AssignedToFirstname\": \"\",\n \"AssignedToLastname\": \"\",\n \"AssignedToUserIDFK\": \"\",\n \"DateCompleted\": \"{{faker 'date.recent' 365}}\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateDue\": \"{{faker 'date.recent' 365}}\",\n \"DateStart\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Description\": \"\",\n \"DescriptionNoHTML\": \"\",\n \"EstimatedEffort\": {{faker 'number.float'}},\n \"PercentComplete\": {{faker 'number.float'}},\n \"ProjectCode\": \"\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectTitle\": \"\",\n \"SectionIDFK\": {{faker 'number.int' max=99999}},\n \"SectionTitle\": \"\",\n \"Tags\": [\n {\n \"Color\": \"\",\n \"Name\": \"\",\n \"TagID\": {{faker 'number.int' max=99999}}\n }\n ],\n \"TaskID\": {{faker 'number.int' max=99999}},\n \"TaskPriorityCode\": \"\",\n \"TaskPriorityName\": \"\",\n \"TaskStatusCode\": \"\",\n \"TaskStatusName\": \"\",\n \"Title\": \"\",\n \"isCompleteStatus\": {{faker 'datatype.boolean'}}\n }\n ],\n \"TotalCount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "59ae20b6-88a3-4b85-9339-1be6e43f9806", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ad8f08f5-8964-4507-95fb-ea88d4b150bd", "documentation": "Create a Task", "method": "post", "endpoint": "api/Task", "responses": [ { "uuid": "04add49b-9ef7-4b91-816f-4bb5d5c1186f", "body": "{\n \"AccountTaskTypeIDFK\": {{faker 'number.int' max=99999}},\n \"ActualTime\": {{faker 'number.float'}},\n \"AssignedToEmail\": \"\",\n \"AssignedToFirstname\": \"\",\n \"AssignedToLastname\": \"\",\n \"AssignedToUserIDFK\": \"\",\n \"DateCompleted\": \"{{faker 'date.recent' 365}}\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateDue\": \"{{faker 'date.recent' 365}}\",\n \"DateStart\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Description\": \"\",\n \"DescriptionNoHTML\": \"\",\n \"EstimatedEffort\": {{faker 'number.float'}},\n \"PercentComplete\": {{faker 'number.float'}},\n \"ProjectCode\": \"\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectTitle\": \"\",\n \"SectionIDFK\": {{faker 'number.int' max=99999}},\n \"SectionTitle\": \"\",\n \"Tags\": [\n {\n \"Color\": \"\",\n \"Name\": \"\",\n \"TagID\": {{faker 'number.int' max=99999}}\n }\n ],\n \"TaskID\": {{faker 'number.int' max=99999}},\n \"TaskPriorityCode\": \"\",\n \"TaskPriorityName\": \"\",\n \"TaskStatusCode\": \"\",\n \"TaskStatusName\": \"\",\n \"Title\": \"\",\n \"isCompleteStatus\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6fedbe5a-ad9c-493b-9931-95079b93e69e", "documentation": "Update a Task.", "method": "put", "endpoint": "api/Task", "responses": [ { "uuid": "8cb0cf06-0c48-4525-8835-56ef8640c7b9", "body": "{\n \"AccountTaskTypeIDFK\": {{faker 'number.int' max=99999}},\n \"ActualTime\": {{faker 'number.float'}},\n \"AssignedToEmail\": \"\",\n \"AssignedToFirstname\": \"\",\n \"AssignedToLastname\": \"\",\n \"AssignedToUserIDFK\": \"\",\n \"DateCompleted\": \"{{faker 'date.recent' 365}}\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateDue\": \"{{faker 'date.recent' 365}}\",\n \"DateStart\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Description\": \"\",\n \"DescriptionNoHTML\": \"\",\n \"EstimatedEffort\": {{faker 'number.float'}},\n \"PercentComplete\": {{faker 'number.float'}},\n \"ProjectCode\": \"\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectTitle\": \"\",\n \"SectionIDFK\": {{faker 'number.int' max=99999}},\n \"SectionTitle\": \"\",\n \"Tags\": [\n {\n \"Color\": \"\",\n \"Name\": \"\",\n \"TagID\": {{faker 'number.int' max=99999}}\n }\n ],\n \"TaskID\": {{faker 'number.int' max=99999}},\n \"TaskPriorityCode\": \"\",\n \"TaskPriorityName\": \"\",\n \"TaskStatusCode\": \"\",\n \"TaskStatusName\": \"\",\n \"Title\": \"\",\n \"isCompleteStatus\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e9776129-b881-4b56-9e60-12e905555c54", "documentation": "Gets minimal list of Tasks for the current user", "method": "get", "endpoint": "api/Task/Lookup", "responses": [ { "uuid": "66ff220b-1a14-45b6-9bbd-7cfdcee05fe3", "body": "{\n \"PageSize\": {{faker 'number.int' max=99999}},\n \"hasMore\": {{faker 'datatype.boolean'}},\n \"pageNumber\": {{faker 'number.int' max=99999}},\n \"sections\": [\n {\n \"SectionTitle\": \"\",\n \"tasks\": [\n {\n \"TaskID\": \"\",\n \"Title\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "493530ce-c3a3-4202-ad7d-65cf92b53c35", "documentation": "Gets Task by Task ID", "method": "get", "endpoint": "api/Task/:id", "responses": [ { "uuid": "5094939e-2de7-47cd-a249-58ad51e6d5de", "body": "{\n \"AccountTaskTypeIDFK\": {{faker 'number.int' max=99999}},\n \"ActualTime\": {{faker 'number.float'}},\n \"AssignedToEmail\": \"\",\n \"AssignedToFirstname\": \"\",\n \"AssignedToLastname\": \"\",\n \"AssignedToUserIDFK\": \"\",\n \"DateCompleted\": \"{{faker 'date.recent' 365}}\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateDue\": \"{{faker 'date.recent' 365}}\",\n \"DateStart\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Description\": \"\",\n \"DescriptionNoHTML\": \"\",\n \"EstimatedEffort\": {{faker 'number.float'}},\n \"PercentComplete\": {{faker 'number.float'}},\n \"ProjectCode\": \"\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectTitle\": \"\",\n \"SectionIDFK\": {{faker 'number.int' max=99999}},\n \"SectionTitle\": \"\",\n \"Tags\": [\n {\n \"Color\": \"\",\n \"Name\": \"\",\n \"TagID\": {{faker 'number.int' max=99999}}\n }\n ],\n \"TaskID\": {{faker 'number.int' max=99999}},\n \"TaskPriorityCode\": \"\",\n \"TaskPriorityName\": \"\",\n \"TaskStatusCode\": \"\",\n \"TaskStatusName\": \"\",\n \"Title\": \"\",\n \"isCompleteStatus\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "8a5aa210-2ad3-44ad-906f-1ca52b7494bb", "body": "", "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": "f554553a-c5cb-48df-8b65-da253c3d80f7", "body": "", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e7f0ef80-9b4c-4259-aec7-adc4b7a0f179", "documentation": "Gets list of Task Statuses", "method": "get", "endpoint": "api/TaskStatus", "responses": [ { "uuid": "8a373fb1-2903-46f1-8035-0de2b5b0faae", "body": "{\n \"statuses\": [\n {\n \"AccountTaskTypeIDFK\": {{faker 'number.int' max=99999}},\n \"Color\": \"\",\n \"DisplayOrder\": {{faker 'number.int' max=99999}},\n \"Name\": \"\",\n \"TaskStatusCode\": \"\",\n \"TaskTypeName\": \"\",\n \"isComplete\": {{faker 'datatype.boolean'}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ee2e0614-f04a-425b-a587-27944a34f6c4", "documentation": "Gets list of Task Types", "method": "get", "endpoint": "api/TaskType", "responses": [ { "uuid": "eb83a98a-28f1-4ab5-9324-3db4eb9c1cf5", "body": "{\n \"tasktypes\": [\n {\n \"AccountTaskTypeID\": {{faker 'number.int' max=99999}},\n \"Icon\": \"\",\n \"IconType\": \"\",\n \"Name\": \"\",\n \"isDefault\": {{faker 'datatype.boolean'}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bcfd4137-efd6-4de9-9192-63a9947141c5", "documentation": "Get List of Taxes configured in the Avaza account.", "method": "get", "endpoint": "api/Tax", "responses": [ { "uuid": "29406d50-2b92-4365-b3e6-ef22b4cfab12", "body": "{\n \"Taxes\": [\n {\n \"CalculatedPercent\": {{faker 'number.float'}},\n \"Name\": \"\",\n \"TaxCode\": \"\",\n \"TaxComponents\": [\n {\n \"ComponentTaxCode\": \"\",\n \"Name\": \"\",\n \"Percentage\": {{faker 'number.float'}},\n \"TaxComponentID\": {{faker 'number.int' max=99999}},\n \"TaxIDFK\": {{faker 'number.int' max=99999}},\n \"isCompound\": {{faker 'datatype.boolean'}}\n }\n ],\n \"TaxID\": {{faker 'number.int' max=99999}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a4bc11bf-9e12-4108-9d69-0601ef0a1a76", "documentation": "Gets list of Timsheets", "method": "get", "endpoint": "api/Timesheet", "responses": [ { "uuid": "4363245b-5e7d-4959-ada5-370848761dc8", "body": "{\n \"PageNumber\": {{faker 'number.int' max=99999}},\n \"PageSize\": {{faker 'number.int' max=99999}},\n \"Timesheets\": [\n {\n \"ApprovedBy\": \"\",\n \"CategoryName\": \"\",\n \"CustomMetadata\": \"\",\n \"CustomerIDFK\": {{faker 'number.int' max=99999}},\n \"CustomerName\": \"\",\n \"DateApproved\": \"{{faker 'date.recent' 365}}\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Duration\": {{faker 'number.float'}},\n \"Email\": \"\",\n \"EndTimeLocal\": \"{{faker 'date.recent' 365}}\",\n \"EndTimeUTC\": \"{{faker 'date.recent' 365}}\",\n \"EntryDate\": \"{{faker 'date.recent' 365}}\",\n \"Firstname\": \"\",\n \"HasTimer\": {{faker 'datatype.boolean'}},\n \"InvoiceIDFK\": {{faker 'number.int' max=99999}},\n \"InvoiceLineItemIDFK\": {{faker 'number.int' max=99999}},\n \"Lastname\": \"\",\n \"Notes\": \"\",\n \"ProjectCode\": \"\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectTitle\": \"\",\n \"StartTimeLocal\": \"{{faker 'date.recent' 365}}\",\n \"StartTimeUTC\": \"{{faker 'date.recent' 365}}\",\n \"TaskIDFK\": {{faker 'number.int' max=99999}},\n \"TaskTitle\": \"\",\n \"TimerStartedAtUTC\": \"{{faker 'date.recent' 365}}\",\n \"TimesheetCategoryIDFK\": {{faker 'number.int' max=99999}},\n \"TimesheetEntryApprovalStatusCode\": \"\",\n \"TimesheetEntryID\": {{faker 'number.int' max=99999}},\n \"TimesheetUserTimeZone\": \"\",\n \"UserIDFK\": {{faker 'number.int' max=99999}},\n \"isBillable\": {{faker 'datatype.boolean'}},\n \"isInvoiced\": {{faker 'datatype.boolean'}}\n }\n ],\n \"TotalCount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "f28dd9fe-51f2-4ef9-8c76-6a4b0f8dca27", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bd7b2dca-e050-4b78-962b-af74cead6a04", "documentation": "Create a new Timesheet Entry", "method": "post", "endpoint": "api/Timesheet", "responses": [ { "uuid": "ff8001b6-0e62-4fc0-a177-29a315003812", "body": "{\n \"ApprovedBy\": \"\",\n \"CategoryName\": \"\",\n \"CustomMetadata\": \"\",\n \"CustomerIDFK\": {{faker 'number.int' max=99999}},\n \"CustomerName\": \"\",\n \"DateApproved\": \"{{faker 'date.recent' 365}}\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Duration\": {{faker 'number.float'}},\n \"Email\": \"\",\n \"EndTimeLocal\": \"{{faker 'date.recent' 365}}\",\n \"EndTimeUTC\": \"{{faker 'date.recent' 365}}\",\n \"EntryDate\": \"{{faker 'date.recent' 365}}\",\n \"Firstname\": \"\",\n \"HasTimer\": {{faker 'datatype.boolean'}},\n \"InvoiceIDFK\": {{faker 'number.int' max=99999}},\n \"InvoiceLineItemIDFK\": {{faker 'number.int' max=99999}},\n \"Lastname\": \"\",\n \"Notes\": \"\",\n \"ProjectCode\": \"\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectTitle\": \"\",\n \"StartTimeLocal\": \"{{faker 'date.recent' 365}}\",\n \"StartTimeUTC\": \"{{faker 'date.recent' 365}}\",\n \"TaskIDFK\": {{faker 'number.int' max=99999}},\n \"TaskTitle\": \"\",\n \"TimerStartedAtUTC\": \"{{faker 'date.recent' 365}}\",\n \"TimesheetCategoryIDFK\": {{faker 'number.int' max=99999}},\n \"TimesheetEntryApprovalStatusCode\": \"\",\n \"TimesheetEntryID\": {{faker 'number.int' max=99999}},\n \"TimesheetUserTimeZone\": \"\",\n \"UserIDFK\": {{faker 'number.int' max=99999}},\n \"isBillable\": {{faker 'datatype.boolean'}},\n \"isInvoiced\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b43982f3-2daa-49ec-8482-fc0c0029f1c8", "documentation": "Update a Timesheet", "method": "put", "endpoint": "api/Timesheet", "responses": [ { "uuid": "90d3f4ce-f882-4839-a06f-ec2947379173", "body": "{\n \"ApprovedBy\": \"\",\n \"CategoryName\": \"\",\n \"CustomMetadata\": \"\",\n \"CustomerIDFK\": {{faker 'number.int' max=99999}},\n \"CustomerName\": \"\",\n \"DateApproved\": \"{{faker 'date.recent' 365}}\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Duration\": {{faker 'number.float'}},\n \"Email\": \"\",\n \"EndTimeLocal\": \"{{faker 'date.recent' 365}}\",\n \"EndTimeUTC\": \"{{faker 'date.recent' 365}}\",\n \"EntryDate\": \"{{faker 'date.recent' 365}}\",\n \"Firstname\": \"\",\n \"HasTimer\": {{faker 'datatype.boolean'}},\n \"InvoiceIDFK\": {{faker 'number.int' max=99999}},\n \"InvoiceLineItemIDFK\": {{faker 'number.int' max=99999}},\n \"Lastname\": \"\",\n \"Notes\": \"\",\n \"ProjectCode\": \"\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectTitle\": \"\",\n \"StartTimeLocal\": \"{{faker 'date.recent' 365}}\",\n \"StartTimeUTC\": \"{{faker 'date.recent' 365}}\",\n \"TaskIDFK\": {{faker 'number.int' max=99999}},\n \"TaskTitle\": \"\",\n \"TimerStartedAtUTC\": \"{{faker 'date.recent' 365}}\",\n \"TimesheetCategoryIDFK\": {{faker 'number.int' max=99999}},\n \"TimesheetEntryApprovalStatusCode\": \"\",\n \"TimesheetEntryID\": {{faker 'number.int' max=99999}},\n \"TimesheetUserTimeZone\": \"\",\n \"UserIDFK\": {{faker 'number.int' max=99999}},\n \"isBillable\": {{faker 'datatype.boolean'}},\n \"isInvoiced\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4f14a45b-d8eb-42f3-ae9b-7f31d65eab30", "documentation": "Delete a Timesheet Entry", "method": "delete", "endpoint": "api/Timesheet/:id", "responses": [ { "uuid": "985b3c4e-3f61-4c99-a3c5-8f4f349a163f", "body": "{}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f046a8fe-07f4-44a8-a7a8-2b10533169c0", "documentation": "Gets a Timesheet Entry by Timesheet ID", "method": "get", "endpoint": "api/Timesheet/:id", "responses": [ { "uuid": "1d3c37a3-dc40-47b6-9e67-9aed242850b0", "body": "{\n \"ApprovedBy\": \"\",\n \"CategoryName\": \"\",\n \"CustomMetadata\": \"\",\n \"CustomerIDFK\": {{faker 'number.int' max=99999}},\n \"CustomerName\": \"\",\n \"DateApproved\": \"{{faker 'date.recent' 365}}\",\n \"DateCreated\": \"{{faker 'date.recent' 365}}\",\n \"DateUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Duration\": {{faker 'number.float'}},\n \"Email\": \"\",\n \"EndTimeLocal\": \"{{faker 'date.recent' 365}}\",\n \"EndTimeUTC\": \"{{faker 'date.recent' 365}}\",\n \"EntryDate\": \"{{faker 'date.recent' 365}}\",\n \"Firstname\": \"\",\n \"HasTimer\": {{faker 'datatype.boolean'}},\n \"InvoiceIDFK\": {{faker 'number.int' max=99999}},\n \"InvoiceLineItemIDFK\": {{faker 'number.int' max=99999}},\n \"Lastname\": \"\",\n \"Notes\": \"\",\n \"ProjectCode\": \"\",\n \"ProjectIDFK\": {{faker 'number.int' max=99999}},\n \"ProjectTitle\": \"\",\n \"StartTimeLocal\": \"{{faker 'date.recent' 365}}\",\n \"StartTimeUTC\": \"{{faker 'date.recent' 365}}\",\n \"TaskIDFK\": {{faker 'number.int' max=99999}},\n \"TaskTitle\": \"\",\n \"TimerStartedAtUTC\": \"{{faker 'date.recent' 365}}\",\n \"TimesheetCategoryIDFK\": {{faker 'number.int' max=99999}},\n \"TimesheetEntryApprovalStatusCode\": \"\",\n \"TimesheetEntryID\": {{faker 'number.int' max=99999}},\n \"TimesheetUserTimeZone\": \"\",\n \"UserIDFK\": {{faker 'number.int' max=99999}},\n \"isBillable\": {{faker 'datatype.boolean'}},\n \"isInvoiced\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "7664ba43-4ee6-4c0e-8b98-c6ae5876da1b", "body": "", "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": "1dd96877-eb56-486a-93b7-c5013c89d154", "body": "", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e4c42d94-3865-4cc4-a4a5-2aa499a29713", "documentation": "Submit Timesheets for Approval.", "method": "post", "endpoint": "api/TimesheetSubmission", "responses": [ { "uuid": "b252c35e-6a19-403b-9492-f9c778502e9a", "body": "{}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b56869c1-2362-460f-9e4b-d1e49eb2af5a", "documentation": "Gets Basic Summary of Timesheet Statistics", "method": "get", "endpoint": "api/TimesheetSummary", "responses": [ { "uuid": "c6493346-46d3-43db-9191-33d34acfa222", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bd18ac92-5a91-4513-84fc-129efc47576c", "documentation": "Gets the Running Timer if there is one for a user.", "method": "get", "endpoint": "api/TimesheetTimer", "responses": [ { "uuid": "ca2663d9-3f5f-45f2-94df-926a9e482778", "body": "{}", "latency": 0, "statusCode": 200, "label": "Success", "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": "8a76c989-edab-4ef1-b983-9b0859ee5782", "body": "", "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": "9a27e836-bbc0-4cfa-b12e-f0e78ac40fa1", "body": "", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5a6dda0b-6b5c-4188-86c6-4a23e6a1f581", "documentation": "Stop the timer running on an existing Timesheet Entry", "method": "delete", "endpoint": "api/TimesheetTimer/:id", "responses": [ { "uuid": "c17e3bfb-1ff7-4668-b29b-85e688198bfa", "body": "{}", "latency": 0, "statusCode": 200, "label": "Success", "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": "e202222b-ddd7-42fc-97f4-6091e51cfd39", "body": "", "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": "664a0fc0-f255-45df-b273-9ea88e4e2acb", "body": "", "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": "ee0ee83c-96cc-43ca-b64a-2a4ab5dabf21", "body": "", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dcf82209-ecb7-47a7-bab3-8b95054a12cb", "documentation": "Starts a Timer running on an existing Timesheet Entry", "method": "post", "endpoint": "api/TimesheetTimer/:id", "responses": [ { "uuid": "6dac64e9-6a32-4b08-8a25-4192baa47ff9", "body": "{}", "latency": 0, "statusCode": 200, "label": "Success", "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": "eba84b5d-7bff-4a37-8e38-c111425afe6b", "body": "", "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": "c1162916-712c-4909-bf08-aa90620e90bc", "body": "", "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": "b3c4d0dd-2415-4fb6-88cb-e29f892c3a58", "body": "", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f3bc9c2e-3b0d-48da-ad78-2172f371b9cf", "documentation": "Get Collection of Users who have roles in the current Avaza account.", "method": "get", "endpoint": "api/UserProfile", "responses": [ { "uuid": "3dc4e71e-5d10-4585-9302-1b5137377f50", "body": "{\n \"Users\": [\n {\n \"AccountIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyIDFK\": {{faker 'number.int' max=99999}},\n \"CompanyName\": \"\",\n \"DefaultBillableRate\": {{faker 'number.float'}},\n \"DefaultCostRate\": {{faker 'number.float'}},\n \"Email\": \"\",\n \"Firstname\": \"\",\n \"FridayAvailableHours\": {{faker 'number.float'}},\n \"IANATimezone\": \"\",\n \"Lastname\": \"\",\n \"Mobile\": \"\",\n \"MondayAvailableHours\": {{faker 'number.float'}},\n \"Phone\": \"\",\n \"PositionTitle\": \"\",\n \"Roles\": [\n {\n \"RoleCode\": \"\",\n \"RoleName\": \"\"\n }\n ],\n \"SaturdayAvailableHours\": {{faker 'number.float'}},\n \"SundayAvailableHours\": {{faker 'number.float'}},\n \"Tags\": [\n {\n \"UserTagID\": {{faker 'number.int' max=99999}},\n \"UserTagName\": \"\"\n }\n ],\n \"ThursdayAvailableHours\": {{faker 'number.float'}},\n \"TimeZone\": \"\",\n \"TuesdayAvailableHours\": {{faker 'number.float'}},\n \"UserID\": {{faker 'number.int' max=99999}},\n \"WednesdayAvailableHours\": {{faker 'number.float'}},\n \"isTeamMember\": {{faker 'datatype.boolean'}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f26ef05b-3d1e-4b12-94cc-b33729a0b756", "documentation": "Delete webhook subscription by URL", "method": "delete", "endpoint": "api/Webhook", "responses": [ { "uuid": "26825f44-67e5-4f66-a89b-36f46f690201", "body": "{}", "latency": 0, "statusCode": 200, "label": "Subscription Deleted OK", "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": "63b0de6c-8b4f-443d-b289-250059f1886f", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e3865160-d45e-4141-b0fd-f9cdb2d98e30", "documentation": "Get list of Webhook Subscriptions", "method": "get", "endpoint": "api/Webhook", "responses": [ { "uuid": "f77f160a-0724-46dd-acf2-f1507a273bf2", "body": "{\n \"Webhooks\": [\n {\n \"EventCode\": \"\",\n \"NotificationURL\": \"\",\n \"SubscriptionID\": {{faker 'number.int' max=99999}},\n \"UserIDFK\": {{faker 'number.int' max=99999}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7a422fc4-ae02-439a-8fa4-1f59efcb190b", "documentation": "Subscribe to Webhook. On success, returns ID of webhook subscription.", "method": "post", "endpoint": "api/Webhook", "responses": [ { "uuid": "8a2a40e0-2de2-4fac-a9dd-bee601f0e840", "body": "{\n \"ID\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 201, "label": "Subscription created", "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": "b95a67f5-1625-454f-92ba-d83d660ffa87", "body": "", "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": "8779d385-4dbe-48a1-8ba8-eb99c542854b", "body": "", "latency": 0, "statusCode": 409, "label": "Duplicate subscription already exists", "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": "bcf765f2-d872-4bdd-aca5-252c7fe13e91", "documentation": "Delete Webhook Subscription by ID", "method": "delete", "endpoint": "api/Webhook/:id", "responses": [ { "uuid": "e9d0d3d5-8289-45cd-9265-2b8af0f13920", "body": "{}", "latency": 0, "statusCode": 200, "label": "Subscription deleted ok", "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": "99fddcc4-b2bd-44fc-a979-7faebd4cd487", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "76003b58-d8c8-4deb-8f2b-a6c48002534c", "documentation": "Get Webhook Subscription by SubscriptionID", "method": "get", "endpoint": "api/Webhook/:id", "responses": [ { "uuid": "ca367a02-43f5-4fc4-9129-926c3dc726c5", "body": "{\n \"Webhooks\": [\n {\n \"EventCode\": \"\",\n \"NotificationURL\": \"\",\n \"SubscriptionID\": {{faker 'number.int' max=99999}},\n \"UserIDFK\": {{faker 'number.int' max=99999}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "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": "402bed32-0c1d-4b5d-9fab-d0a34785d9a3" }, { "type": "route", "uuid": "d870a516-4efd-4611-aca9-88a809fdfe7d" }, { "type": "route", "uuid": "a40ce040-b6ee-4cfc-a773-e7123ebee8d6" }, { "type": "route", "uuid": "9d598418-5a5a-49fd-86c1-57ca68fe95e5" }, { "type": "route", "uuid": "ba314874-252a-4e5b-a9d3-c8459618af2c" }, { "type": "route", "uuid": "70069956-913f-41d0-aeeb-ad42d9a53d3c" }, { "type": "route", "uuid": "3132eedb-3776-497d-85ff-85128e3ba1a7" }, { "type": "route", "uuid": "23266443-b0dd-4a81-8847-370875a56d11" }, { "type": "route", "uuid": "86567e3d-b7a7-45aa-b83c-f788e6ec909c" }, { "type": "route", "uuid": "4d67d5d4-71f5-40df-a5cc-8cdaefdd9222" }, { "type": "route", "uuid": "5ac1cce8-0814-42e6-873d-7c135f5a382c" }, { "type": "route", "uuid": "863c6e0c-1ca0-474b-b04e-3cd6cee0ec98" }, { "type": "route", "uuid": "a6a483c2-0e86-40f6-b299-4f6ae2be82c0" }, { "type": "route", "uuid": "69c2c8c6-15bf-41ce-a9bd-a58eac916326" }, { "type": "route", "uuid": "d78ec6bd-7e58-44d6-ac7d-83e6094915a2" }, { "type": "route", "uuid": "90c182c7-c293-4859-a924-c3a46230831a" }, { "type": "route", "uuid": "0826d8b5-a482-42a5-b7db-6ba38347ed22" }, { "type": "route", "uuid": "cf9f376f-8852-4a22-93a1-afa2d217643b" }, { "type": "route", "uuid": "aa211939-f4ad-47eb-a7a3-f3b2fe8f0613" }, { "type": "route", "uuid": "bc176787-bbd2-41fe-8e83-bb26b602cbf1" }, { "type": "route", "uuid": "6309dd13-4821-471d-8f18-e33c466c0aea" }, { "type": "route", "uuid": "b778e15c-2f86-4b36-949a-e28b7b85878e" }, { "type": "route", "uuid": "d1ad7436-d061-4582-9a10-c0369c813e63" }, { "type": "route", "uuid": "8b53d027-391b-4dc4-bd7c-5e40f21bdb85" }, { "type": "route", "uuid": "a7149f58-746c-422d-91ee-5506c50f4033" }, { "type": "route", "uuid": "f6dc393b-9f8d-438b-9498-0f0cc26f980d" }, { "type": "route", "uuid": "20cee5a6-1872-477b-b503-2afbf6831b94" }, { "type": "route", "uuid": "8d32cefe-2de3-47b3-865d-17ba0ebe0b89" }, { "type": "route", "uuid": "28de472e-8cc7-46af-945e-02d218cfb82b" }, { "type": "route", "uuid": "4d129483-1c4e-4c64-850d-15f1dbe1424c" }, { "type": "route", "uuid": "bd54d3cc-12ba-452e-a8ae-c147d5380449" }, { "type": "route", "uuid": "290a01f7-a43f-4668-9f37-c5dd2dde3f3d" }, { "type": "route", "uuid": "774f3bb3-9512-457b-a3d9-0e56b1b0361b" }, { "type": "route", "uuid": "ce7f20f8-8e8a-4024-b49d-8a55a627adc1" }, { "type": "route", "uuid": "eca1e14d-aa1d-4d51-aade-40e95f8c966c" }, { "type": "route", "uuid": "d0864933-c374-4554-936c-0a2943e14f5a" }, { "type": "route", "uuid": "f13759e1-764c-4d5d-a20e-e20f4dd184a2" }, { "type": "route", "uuid": "7ef047b0-dd86-4b55-a687-681798827dd0" }, { "type": "route", "uuid": "aba4f763-8fc2-476a-a289-7fb48ed9826c" }, { "type": "route", "uuid": "40e6b4b2-42f6-48cf-be6a-1da16da2837c" }, { "type": "route", "uuid": "5c0bb76c-b57b-4d5f-b3eb-3b84712e5029" }, { "type": "route", "uuid": "beae7166-3eef-42c8-9f46-c72378c23dca" }, { "type": "route", "uuid": "faf0f1db-a0a4-4b8c-9df2-685f330e9779" }, { "type": "route", "uuid": "410607a9-d69e-45a6-96e0-d0c7c59a3f7f" }, { "type": "route", "uuid": "05efc2aa-9915-4e93-9b70-4c7d37c4203b" }, { "type": "route", "uuid": "10d2502b-44ab-4448-bf58-0d8debbb5fcd" }, { "type": "route", "uuid": "468e6ea7-53b0-4844-8c01-ff8b98241587" }, { "type": "route", "uuid": "ea8986fc-e3af-4b11-9cd1-1715f0c7eb23" }, { "type": "route", "uuid": "f87c4ecc-5a7c-4203-a214-1b68d7194e65" }, { "type": "route", "uuid": "6ca84970-1aca-4c36-8968-3a3ec0760c1f" }, { "type": "route", "uuid": "80723779-f1b1-434d-baaa-5aae579140d9" }, { "type": "route", "uuid": "1c649a95-f54d-40e2-b68f-0b1266e953f2" }, { "type": "route", "uuid": "3cd043e3-b975-405d-990f-4a103036ff7b" }, { "type": "route", "uuid": "3a18fae6-9832-463b-946e-ba7749392e44" }, { "type": "route", "uuid": "ad8f08f5-8964-4507-95fb-ea88d4b150bd" }, { "type": "route", "uuid": "6fedbe5a-ad9c-493b-9931-95079b93e69e" }, { "type": "route", "uuid": "e9776129-b881-4b56-9e60-12e905555c54" }, { "type": "route", "uuid": "493530ce-c3a3-4202-ad7d-65cf92b53c35" }, { "type": "route", "uuid": "e7f0ef80-9b4c-4259-aec7-adc4b7a0f179" }, { "type": "route", "uuid": "ee2e0614-f04a-425b-a587-27944a34f6c4" }, { "type": "route", "uuid": "bcfd4137-efd6-4de9-9192-63a9947141c5" }, { "type": "route", "uuid": "a4bc11bf-9e12-4108-9d69-0601ef0a1a76" }, { "type": "route", "uuid": "bd7b2dca-e050-4b78-962b-af74cead6a04" }, { "type": "route", "uuid": "b43982f3-2daa-49ec-8482-fc0c0029f1c8" }, { "type": "route", "uuid": "4f14a45b-d8eb-42f3-ae9b-7f31d65eab30" }, { "type": "route", "uuid": "f046a8fe-07f4-44a8-a7a8-2b10533169c0" }, { "type": "route", "uuid": "e4c42d94-3865-4cc4-a4a5-2aa499a29713" }, { "type": "route", "uuid": "b56869c1-2362-460f-9e4b-d1e49eb2af5a" }, { "type": "route", "uuid": "bd18ac92-5a91-4513-84fc-129efc47576c" }, { "type": "route", "uuid": "5a6dda0b-6b5c-4188-86c6-4a23e6a1f581" }, { "type": "route", "uuid": "dcf82209-ecb7-47a7-bab3-8b95054a12cb" }, { "type": "route", "uuid": "f3bc9c2e-3b0d-48da-ad78-2172f371b9cf" }, { "type": "route", "uuid": "f26ef05b-3d1e-4b12-94cc-b33729a0b756" }, { "type": "route", "uuid": "e3865160-d45e-4141-b0fd-f9cdb2d98e30" }, { "type": "route", "uuid": "7a422fc4-ae02-439a-8fa4-1f59efcb190b" }, { "type": "route", "uuid": "bcf765f2-d872-4bdd-aca5-252c7fe13e91" }, { "type": "route", "uuid": "76003b58-d8c8-4deb-8f2b-a6c48002534c" } ] }