{ "uuid": "bf54d928-7007-44c8-9d33-998cb97c6c17", "lastMigration": 29, "name": "Big Red Cloud API", "endpointPrefix": "API", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "973ffa11-7647-4df8-aefc-df850ccbe2b9", "documentation": "Returns a list of company's Accounts. Supports OData querying protocol.\r\nFiltering is forbidden.\r\nOrdering is allowed by \"id\" and \"code\" fields.", "method": "get", "endpoint": "v1/accounts", "responses": [ { "uuid": "ef4a3b09-5aec-4ad5-be33-bf856757a90d", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"accountGroup\": \"\",\n \"accountType\": \"\",\n \"code\": \"\",\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}}\n }\n ],\n \"NextPageLink\": \"\"\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": "75887ee6-dfb4-4234-994b-36e508fa1170", "documentation": "Returns a list of company's Analysis Categories. Supports OData querying protocol.\r\nFiltering is allowed by \"categoryTypeId\" field.\r\nOrdering is allowed by \"id\" and \"orderIndex\" fields.", "method": "get", "endpoint": "v1/analysisCategories", "responses": [ { "uuid": "86859bf9-2298-4a58-a15e-6f7871e671b8", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"accountCode\": \"\",\n \"accountId\": {{faker 'number.int' max=99999}},\n \"categoryTypeId\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"orderIndex\": {{faker 'number.int' max=99999}}\n }\n ],\n \"NextPageLink\": \"\"\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": "133d2f63-b1e9-4160-b27e-e7acbe553b8e", "documentation": "Returns a list of company's Bank Account. Supports OData querying protocol.\r\nFiltering is forbidden.\r\nOrdering is allowed by \"id\" and \"acCode\" fields.", "method": "get", "endpoint": "v1/bankAccounts", "responses": [ { "uuid": "b6e83e45-8c02-4d6d-9e70-35a43e163b83", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"acCode\": \"\",\n \"accountName\": \"\",\n \"accountNumber\": \"\",\n \"address\": [\n \"\"\n ],\n \"bankFeedSource\": {{faker 'number.int' max=99999}},\n \"businessIdentifierCodes\": \"\",\n \"categoryId\": {{faker 'number.int' max=99999}},\n \"creditorScheme\": \"\",\n \"details\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"internationalBankAccountNumber\": \"\",\n \"isDefaultBank\": {{faker 'datatype.boolean'}},\n \"lastChq\": \"\",\n \"nominalAcCode\": \"\",\n \"sortCode\": \"\",\n \"timestamp\": \"\"\n }\n ],\n \"NextPageLink\": \"\"\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": "7e05ed1f-4446-4238-93db-d4997a2787a1", "documentation": "Creates a new Bank Account.", "method": "post", "endpoint": "v1/bankAccounts", "responses": [ { "uuid": "5ac978aa-a2a6-4456-93cb-3a212cfb7dc6", "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": "447d4789-5e3c-4b1d-86f4-133c6b5fd303", "documentation": "Processes a batch of Bank Accounts.", "method": "put", "endpoint": "v1/bankAccounts/batch", "responses": [ { "uuid": "8b304f13-fa2f-49eb-886d-fda863dd1e8a", "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": "be8b7892-0059-4623-99df-b138b16d330b", "documentation": "Removes an existing Bank Account.", "method": "delete", "endpoint": "v1/bankAccounts/:id", "responses": [ { "uuid": "a8db0146-0285-44e0-8bdb-6e903f8dc91d", "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": "bfa19f79-0e93-428f-a08b-0cb1a04ec61d", "documentation": "Returns information about a single Bank Account.", "method": "get", "endpoint": "v1/bankAccounts/:id", "responses": [ { "uuid": "c8ea67f7-07a3-4663-b229-a80a6165a04a", "body": "{\n \"acCode\": \"B1\",\n \"accountName\": \"\",\n \"accountNumber\": \"83700896\",\n \"address\": [\n \"Address Line 1\",\n \"Address Line 2\"\n ],\n \"bankFeedSource\": 0,\n \"businessIdentifierCodes\": \"AIBKIE2D\",\n \"categoryId\": 41704,\n \"creditorScheme\": \"XXXX\",\n \"details\": \"Bank_1\",\n \"id\": 1,\n \"internationalBankAccountNumber\": \"IE67 BOFI 9027 0925 7277 59\",\n \"isDefaultBank\": false,\n \"lastChq\": \"000005\",\n \"nominalAcCode\": \"B101\",\n \"oBalance\": 0,\n \"sortCode\": \"900284\",\n \"timestamp\": \"QUFBQUFBQUFDcXc9\"\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": "11a6715c-fd45-4de5-a8b3-a76e16267eca", "documentation": "Updates an existing Bank Account.", "method": "put", "endpoint": "v1/bankAccounts/:id", "responses": [ { "uuid": "11234604-9f7b-41fe-8142-4363c1b8e694", "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": "86f64c5e-fabc-45e9-a0bd-5ac2332bbbe7", "documentation": "Returns a list of global Book Transactions' Types. Supports OData querying protocol.\r\nFiltering is forbidden.\r\nOrdering is allowed by \"id\" field.", "method": "get", "endpoint": "v1/bookTranTypes", "responses": [ { "uuid": "7a5ae078-7b41-4774-b4cd-6fa134b70fb0", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"code\": \"\",\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}}\n }\n ],\n \"NextPageLink\": \"\"\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": "75135488-fbfb-437e-bb66-28ef8bdcc116", "documentation": "Returns a list of company's Cash Payments. Supports OData querying protocol.\r\nFiltering is allowed by \"entryDate\" field.\r\nOrdering is allowed by \"id\" field.", "method": "get", "endpoint": "v1/cashPayments", "responses": [ { "uuid": "d040f119-fa8d-447b-9527-f4bd515079b8", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"acCode\": \"\",\n \"acEntries\": [\n {\n \"accountCode\": \"\",\n \"analysisCategoryId\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"value\": {{faker 'number.float'}}\n }\n ],\n \"bankAccountCode\": \"\",\n \"bankAccountId\": {{faker 'number.int' max=99999}},\n \"bookTranTypeId\": {{faker 'number.int' max=99999}},\n \"customFields\": [\n {\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"userDefinedFieldId\": {{faker 'number.int' max=99999}},\n \"value\": \"\"\n }\n ],\n \"detailCollection\": [\n \"\"\n ],\n \"discount\": {{faker 'number.float'}},\n \"entryDate\": \"{{faker 'date.recent' 365}}\",\n \"id\": {{faker 'number.int' max=99999}},\n \"ledger\": {{faker 'number.float'}},\n \"lodgement\": {{faker 'number.float'}},\n \"note\": \"\",\n \"plaidTransactionId\": \"\",\n \"procDate\": \"{{faker 'date.recent' 365}}\",\n \"supplierId\": {{faker 'number.int' max=99999}},\n \"timestamp\": \"\",\n \"total\": {{faker 'number.float'}},\n \"unallocated\": {{faker 'number.float'}}\n }\n ],\n \"NextPageLink\": \"\"\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": "74838ff4-6051-407e-9c83-8f8596b2f911", "documentation": "Creates a new Cash Payment.", "method": "post", "endpoint": "v1/cashPayments", "responses": [ { "uuid": "d21cadc6-c0d5-4365-a7b9-b1d3114f2ba7", "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": "63aa2d30-db78-4e67-ad3d-67b6fa718297", "documentation": "Processes a batch of Cash Payments.", "method": "put", "endpoint": "v1/cashPayments/batch", "responses": [ { "uuid": "a3781f98-3e4b-43a9-8a6f-f251c5e84946", "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": "9b5d2539-4660-4e2b-a670-87131e0da5c4", "documentation": "Removes an existing Cash Payment.", "method": "delete", "endpoint": "v1/cashPayments/:id", "responses": [ { "uuid": "f9132d51-1125-4b4b-93c6-c44e78900b6e", "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": "a5c9f601-5b50-40fb-b526-1d76388cc74e", "documentation": "Returns information about a single Cash Payment.", "method": "get", "endpoint": "v1/cashPayments/:id", "responses": [ { "uuid": "25519d23-f09d-446d-90ff-9a1752a0a17b", "body": "{\n \"acEntries\": [\n {\n \"accountCode\": \"CP01\",\n \"analysisCategoryId\": 10433,\n \"description\": \"Cash Pay 01\",\n \"id\": 62741,\n \"value\": 200\n }\n ],\n \"bankAccountCode\": \"BAK2\",\n \"bankAccountId\": 11111,\n \"bookTranTypeId\": 2,\n \"customFields\": [],\n \"detailCollection\": [\n \"test\"\n ],\n \"discount\": 0,\n \"entryDate\": \"2017-07-01T00:00:00\",\n \"id\": 12345,\n \"ledger\": 100,\n \"lodgement\": 0,\n \"note\": \"Supplier 1\",\n \"procDate\": \"2017-07-26T00:00:00\",\n \"supplierId\": 70599,\n \"timestamp\": \"JwU7eRlm2Qg=\",\n \"total\": 100\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": "c5abd30e-981e-43db-933a-98ee97a28599", "documentation": "Updates an existing Cash Payment.", "method": "put", "endpoint": "v1/cashPayments/:id", "responses": [ { "uuid": "d9cfff56-f3f2-4147-930b-cdac39babaeb", "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": "75ad9011-763a-49d6-adbe-fa270209a7cf", "documentation": "Returns a list of company's Cash Receipts. Supports OData querying protocol.\r\nFiltering is allowed by \"entryDate\" field.\r\nOrdering is allowed by \"id\" field.", "method": "get", "endpoint": "v1/cashReceipts", "responses": [ { "uuid": "3196ccce-3004-418c-afc8-f6636e62028f", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"acCode\": \"\",\n \"acEntries\": [\n {\n \"accountCode\": \"\",\n \"analysisCategoryId\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"value\": {{faker 'number.float'}}\n }\n ],\n \"bookTranTypeId\": {{faker 'number.int' max=99999}},\n \"customFields\": [\n {\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"userDefinedFieldId\": {{faker 'number.int' max=99999}},\n \"value\": \"\"\n }\n ],\n \"customerId\": {{faker 'number.int' max=99999}},\n \"detailCollection\": [\n \"\"\n ],\n \"discount\": {{faker 'number.float'}},\n \"entryDate\": \"{{faker 'date.recent' 365}}\",\n \"id\": {{faker 'number.int' max=99999}},\n \"ledger\": {{faker 'number.float'}},\n \"note\": \"\",\n \"plaidTransactionId\": \"\",\n \"procDate\": \"{{faker 'date.recent' 365}}\",\n \"timestamp\": \"\",\n \"total\": {{faker 'number.float'}},\n \"unallocated\": {{faker 'number.float'}},\n \"vatEntries\": [\n {\n \"amount\": {{faker 'number.float'}},\n \"id\": {{faker 'number.int' max=99999}},\n \"percentage\": {{faker 'number.float'}},\n \"vatRateId\": {{faker 'number.int' max=99999}}\n }\n ],\n \"vatTypeId\": {{faker 'number.int' max=99999}}\n }\n ],\n \"NextPageLink\": \"\"\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": "fb54f221-6979-42ca-8ee6-d38753036bd2", "documentation": "Creates a new Cash Receipt.", "method": "post", "endpoint": "v1/cashReceipts", "responses": [ { "uuid": "0f3a87dc-4095-4d42-96fc-691aef14c121", "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": "8e39eac7-58d5-4c5c-b891-2207d1219b6f", "documentation": "Processes a batch of Cash Receipts.", "method": "put", "endpoint": "v1/cashReceipts/batch", "responses": [ { "uuid": "0873667c-39bd-4d29-b5ee-b93823f3402b", "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": "31b983c6-fb9c-4634-86e2-a019c2c4a656", "documentation": "Removes an existing Cash Receipt.", "method": "delete", "endpoint": "v1/cashReceipts/:id", "responses": [ { "uuid": "c254a58b-7f33-4059-812f-e4cb1b369559", "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": "7a6449d2-72f4-43af-9ea3-e27f7bfc0ce4", "documentation": "Returns information about a single Cash Receipt.", "method": "get", "endpoint": "v1/cashReceipts/:id", "responses": [ { "uuid": "66a4d50e-aea4-4a47-bec3-31858cff2284", "body": "{\n \"acEntries\": [\n {\n \"accountCode\": \"000\",\n \"analysisCategoryId\": 1,\n \"description\": \"AnCat1\",\n \"id\": 1,\n \"value\": 30\n }\n ],\n \"bookTranTypeId\": 1,\n \"customFields\": [\n {\n \"description\": \"acudf_1\",\n \"id\": 1,\n \"userDefinedFieldId\": 1,\n \"value\": \"acudfv_1\"\n }\n ],\n \"detailCollection\": [\n \"det_1\",\n \"det_2\",\n \"det_3\"\n ],\n \"discount\": 0,\n \"entryDate\": \"2011-01-01T00:00:00\",\n \"id\": 1,\n \"ledger\": 0,\n \"note\": \"note1\",\n \"procDate\": \"2011-01-05T00:00:00\",\n \"timestamp\": \"Usc/eRlm2Qg=\",\n \"total\": 50,\n \"unallocated\": 0,\n \"vatEntries\": [\n {\n \"amount\": 50,\n \"id\": 1,\n \"percentage\": 15,\n \"vatRateId\": 1\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": "ff537574-5a30-48da-981f-193a0c52e258", "documentation": "Updates an existing Cash Receipt.", "method": "put", "endpoint": "v1/cashReceipts/:id", "responses": [ { "uuid": "0e1cd9a2-b490-478a-b594-75625b895d38", "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": "9b5bdfda-d108-41d7-9c6d-0f8a1f0f3206", "documentation": "Returns a list of company's Category Types. Supports OData querying protocol.\r\nFiltering is forbidden.\r\nOrdering is allowed by \"id\" field.", "method": "get", "endpoint": "v1/categoryTypes", "responses": [ { "uuid": "aa107301-bc11-4d53-8af1-84969f4a6129", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}}\n }\n ],\n \"NextPageLink\": \"\"\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": "aa90fd42-0364-406f-a939-2bb7003c5d30", "documentation": "Returns a list of company settings. Supports OData querying protocol.\r\nFiltering is forbidden.", "method": "get", "endpoint": "v1/companySettings", "responses": [ { "uuid": "8e2cc70f-8589-4b0c-a727-f813112f5cf2", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"enableVOCRReporting\": {{faker 'datatype.boolean'}},\n \"id\": {{faker 'number.int' max=99999}},\n \"useAllocations\": {{faker 'datatype.boolean'}},\n \"value\": \"\",\n \"vocrSettingValue\": {{faker 'datatype.boolean'}}\n }\n ],\n \"NextPageLink\": \"\"\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": "679ff925-405b-4e86-a583-b2899581b17a", "documentation": "Returns the company configuration settings.", "method": "get", "endpoint": "v1/companySetupConfig", "responses": [ { "uuid": "9bb4d252-9ef2-4d60-bee2-6029613e43a9", "body": "{\n \"financialYear\": {\n \"firstMonth\": {{faker 'number.int' max=99999}},\n \"startMonth\": {{faker 'number.int' max=99999}},\n \"startYear\": {{faker 'number.int' max=99999}}\n },\n \"generalDetails\": {\n \"companyAddresses\": [\n \"\"\n ],\n \"companyName\": \"\",\n \"currencyCode\": \"\",\n \"currencyDescription\": \"\",\n \"currencyId\": {{faker 'number.int' max=99999}},\n \"currentcySymbol\": \"\",\n \"emails\": [\n \"\"\n ],\n \"faxes\": [\n \"\"\n ],\n \"phones\": [\n \"\"\n ],\n \"regionDescription\": \"\",\n \"regionId\": {{faker 'number.int' max=99999}},\n \"vatReg\": \"\"\n },\n \"options\": {\n \"allowEntryOfGrossPriceInInvoicing\": {{faker 'datatype.boolean'}},\n \"creditInputForReverseChargeVAT\": {{faker 'datatype.boolean'}},\n \"creditNoteJournalAgeingName\": \"\",\n \"creditNoteJournalAgeingValue\": {{faker 'number.int' max=99999}},\n \"discrepancyAllowed\": {{faker 'number.float'}},\n \"enableVOCRReporting\": {{faker 'datatype.boolean'}},\n \"marginVatScheme\": {{faker 'datatype.boolean'}},\n \"printOSItemsOnly\": {{faker 'datatype.boolean'}},\n \"purchasesVatAnalysisType\": {{faker 'number.int' max=99999}},\n \"salesVatAnalysisType\": {{faker 'number.int' max=99999}},\n \"useAllocations\": {{faker 'datatype.boolean'}},\n \"useNominal\": {{faker 'datatype.boolean'}},\n \"useNominalCode\": {{faker 'datatype.boolean'}},\n \"vocrSettingValue\": {{faker 'datatype.boolean'}}\n },\n \"referenceSettings\": {\n \"creditorsJournal\": {{faker 'datatype.boolean'}},\n \"debtorsJournal\": {{faker 'datatype.boolean'}},\n \"purchases\": {{faker 'datatype.boolean'}},\n \"sales\": {{faker 'datatype.boolean'}}\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": "0faf1a7e-635a-48b2-961c-cbbbd5f000f7", "documentation": "Returns the company option setting.", "method": "get", "endpoint": "v1/companySetupConfig/getCompanyOptions", "responses": [ { "uuid": "e561a493-d544-42a7-a6a8-1c41ed941342", "body": "{\n \"allowEntryOfGrossPriceInInvoicing\": {{faker 'datatype.boolean'}},\n \"creditInputForReverseChargeVAT\": {{faker 'datatype.boolean'}},\n \"creditNoteJournalAgeingName\": \"\",\n \"creditNoteJournalAgeingValue\": {{faker 'number.int' max=99999}},\n \"discrepancyAllowed\": {{faker 'number.float'}},\n \"enableVOCRReporting\": {{faker 'datatype.boolean'}},\n \"marginVatScheme\": {{faker 'datatype.boolean'}},\n \"printOSItemsOnly\": {{faker 'datatype.boolean'}},\n \"purchasesVatAnalysisType\": {{faker 'number.int' max=99999}},\n \"salesVatAnalysisType\": {{faker 'number.int' max=99999}},\n \"useAllocations\": {{faker 'datatype.boolean'}},\n \"useNominal\": {{faker 'datatype.boolean'}},\n \"useNominalCode\": {{faker 'datatype.boolean'}},\n \"vocrSettingValue\": {{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": "0b5cb5d8-5979-46bb-9aa8-22ae3da170b3", "documentation": "Returns the financial year.", "method": "get", "endpoint": "v1/companySetupConfig/getFinancialYear", "responses": [ { "uuid": "dbe39d11-2b93-46b1-8f83-9800c7f64b21", "body": "{\n \"firstMonth\": {{faker 'number.int' max=99999}},\n \"startMonth\": {{faker 'number.int' max=99999}},\n \"startYear\": {{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": "b30ac577-627a-4644-a29f-a1a23bed6467", "documentation": "Returns a list of company's Customers. Supports OData querying protocol.\r\nFiltering is forbidden.\r\nOrdering is allowed by \"id\" and \"code\" fields.", "method": "get", "endpoint": "v1/customers", "responses": [ { "uuid": "f867a598-2b62-44fa-808e-3325f5cde4b9", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"accountName\": \"\",\n \"accountNumber\": \"\",\n \"address\": [\n \"\"\n ],\n \"authCode\": \"\",\n \"bank\": {\n \"branch\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"name\": \"\",\n \"sortCode\": \"\"\n },\n \"businessIdentifierCode\": \"\",\n \"code\": \"\",\n \"contact\": \"\",\n \"delivery\": [\n \"\"\n ],\n \"eFTReference\": \"\",\n \"email\": \"\",\n \"fax\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"internationalBankAccountNumber\": \"\",\n \"mobile\": \"\",\n \"name\": \"\",\n \"ourCode\": \"\",\n \"ownerTypeId\": {{faker 'number.int' max=99999}},\n \"phone\": \"\",\n \"timestamp\": \"\",\n \"vatAnalysisTypeId\": {{faker 'number.int' max=99999}},\n \"vatReg\": \"\",\n \"vatType\": {{faker 'number.int' max=99999}}\n }\n ],\n \"NextPageLink\": \"\"\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": "3cbda8b3-8f35-4d98-95c8-19ef5f4aef67", "documentation": "Creates a new Customer.", "method": "post", "endpoint": "v1/customers", "responses": [ { "uuid": "e74a2492-b505-4f4a-beba-1a0ba506c3df", "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": "a5241a28-4b6d-45f9-98a6-9933bc94b2d0", "documentation": "Processes a batch of Customers.", "method": "put", "endpoint": "v1/customers/batch", "responses": [ { "uuid": "22edce07-8543-4f6e-a8e3-869043d93364", "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": "026dcba9-88ab-41d5-847f-03f374246e95", "documentation": "Removes an existing Customer.", "method": "delete", "endpoint": "v1/customers/:id", "responses": [ { "uuid": "61426924-659b-4531-9474-6e5e917ed203", "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": "e10559e7-b4cd-4e7c-98ea-ea699cd971bc", "documentation": "Returns information about a single Customer. You may specify that Customer's ledger balance should be calculated.", "method": "get", "endpoint": "v1/customers/:id", "responses": [ { "uuid": "8a428a6f-2dbd-4d0f-bf1e-1177a7d10f59", "body": "{\n \"accountName\": \"\",\n \"accountNumber\": \"12345678\",\n \"address\": [\n \"Address Line 1\",\n \"Address Line 2\"\n ],\n \"authCode\": \"VATEXCODE222\",\n \"bank\": {\n \"branch\": \"Bank\",\n \"id\": 1,\n \"name\": \"bank Name\",\n \"sortCode\": \"B01\"\n },\n \"businessIdentifierCode\": \"AIBI02\",\n \"code\": \"12345678\",\n \"contact\": \"John Smith\",\n \"delivery\": [\n \"Delivery 1\",\n \"Delivery 2\"\n ],\n \"eFTReference\": \"Reference\",\n \"email\": \"customer@email.com\",\n \"fax\": \"1234567890\",\n \"id\": 10589,\n \"internationalBankAccountNumber\": \"1233432532\",\n \"mobile\": \"1234567890\",\n \"name\": \"Customer Name 1\",\n \"ourCode\": \"OURCODE111\",\n \"ownerTypeId\": 1,\n \"phone\": \"1234596970\",\n \"timestamp\": \"hu5GeRlm2Qg=\",\n \"vatAnalysisTypeId\": 1,\n \"vatReg\": \"VATCODE0001\",\n \"vatType\": 2\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": "77d1c45c-e8d5-455f-bff1-491d5b6952e6", "documentation": "Updates an existing Customer.", "method": "put", "endpoint": "v1/customers/:id", "responses": [ { "uuid": "f2318d37-9809-449a-8f80-6969caf917c9", "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": "e5c87c72-0678-4a4c-b300-01c00fe3420f", "documentation": "Returns a list of Customer's account transactions.", "method": "get", "endpoint": "v1/customers/:itemId/accountTrans", "responses": [ { "uuid": "cdfb26e3-de4a-40ef-834d-cc6047cb558d", "body": "[\n {\n \"bookTranId\": {{faker 'number.int' max=99999}},\n \"bookTranTypeId\": {{faker 'number.int' max=99999}},\n \"bookTransactionReference\": \"\",\n \"bookTypeDesc\": \"\",\n \"credit\": {{faker 'number.float'}},\n \"debit\": {{faker 'number.float'}},\n \"id\": {{faker 'number.int' max=99999}},\n \"procDate\": \"{{faker 'date.recent' 365}}\"\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": "fe20c9a0-e6e4-41ca-8e61-b193b8c5ccbe", "documentation": "Returns a Customer's opening balances, calculated for the next periods: current month, one month old, two months old, three and more months old.", "method": "get", "endpoint": "v1/customers/:itemId/openingBalance", "responses": [ { "uuid": "8d699958-2279-40c4-97df-097f4ef949c9", "body": "{\n \"currentMonth\": {{faker 'number.float'}},\n \"oneMonthOld\": {{faker 'number.float'}},\n \"threeMonthsOld\": {{faker 'number.float'}},\n \"twoMonthsOld\": {{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": "ac9151c7-b26c-4f8a-b430-04796785118d", "documentation": "Returns a list of Customer's opening balance transactions.", "method": "get", "endpoint": "v1/customers/:itemId/openingBalanceList", "responses": [ { "uuid": "e5f56e38-fe7d-4578-8814-6c39e39593f7", "body": "[\n {\n \"entryDate\": \"{{faker 'date.recent' 365}}\",\n \"id\": {{faker 'number.int' max=99999}},\n \"isChanged\": {{faker 'datatype.boolean'}},\n \"procDate\": \"{{faker 'date.recent' 365}}\",\n \"reference\": \"\",\n \"timestamp\": \"\",\n \"total\": {{faker 'number.float'}},\n \"totalVAT\": {{faker 'number.float'}},\n \"unpaid\": {{faker 'number.float'}},\n \"vatEntries\": [\n {\n \"amount\": {{faker 'number.float'}},\n \"vatRateId\": {{faker 'number.int' max=99999}}\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": "c8bffb41-54a5-4534-9a6b-0837fdc882ee", "documentation": "Returns a list of Customer's quotes.", "method": "get", "endpoint": "v1/customers/:itemId/quotes", "responses": [ { "uuid": "9fef3b79-a487-4ebb-b91e-9494bc0d1225", "body": "[\n {\n \"comments\": \"Sample\",\n \"companyId\": 40449,\n \"customerOwnerId\": 70583,\n \"customerOwnerName\": \"Customer 1\",\n \"ddNumber\": \"Sample\",\n \"entryDate\": \"2017-01-01T00:00:00\",\n \"id\": 1,\n \"layoutType\": 1,\n \"poNumber\": \"Sample\",\n \"procDate\": \"2017-01-05T00:00:00\",\n \"productTrans\": [\n {\n \"acEntries\": [\n {\n \"accountCode\": \"sample\",\n \"analysisCategoryId\": 40888,\n \"companyId\": 40449,\n \"id\": 1,\n \"quoteProductTranId\": 40277,\n \"value\": 100\n }\n ],\n \"amount\": 10,\n \"companyId\": 40449,\n \"id\": 40277,\n \"percentage\": 0,\n \"productCode\": \"PRO1\",\n \"productId\": 20107,\n \"quantity\": 1,\n \"tranNotes\": [\n \"Product\"\n ],\n \"unitPrice\": 100,\n \"vatAmount\": 10,\n \"vatAnalysisTypeId\": 0,\n \"vatRateId\": 30657\n }\n ],\n \"saleInvoiceId\": 30044,\n \"saleRepId\": 75783,\n \"timeStamp\": \"BoxjeRlm2Qg=\",\n \"total\": 110,\n \"totalNet\": 100,\n \"totalVat\": 10,\n \"vatTypeId\": 1\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": "e3e0bb4f-378e-4186-ad7d-0e0784fe32d1", "documentation": "Sends a Statement email.\r\nIf \"toAddress\" is not empty then email will be sent to this address. Otherwise email will be sent to Statement Customer's address.", "method": "post", "endpoint": "v1/email/sendEmailStatement", "responses": [ { "uuid": "6b848996-b0c9-4f50-9038-3a343fffe597", "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": "1176ef93-365c-4c0c-8949-aa138d73b4eb", "documentation": "Sends a Quote email.\r\nIf \"toAddress\" is not empty then email will be sent to this address. Otherwise email will be sent to Statement Customer's address.", "method": "post", "endpoint": "v1/email/sendQuote", "responses": [ { "uuid": "22ab7801-6f7e-40d0-bf4f-a220aa1761ae", "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": "e9384aba-f3b5-40aa-bd19-0d5a3bcc5d7e", "documentation": "Sends a Sales Invoice email.\r\nIf \"toAddress\" is not empty then email will be sent to this address. Otherwise email will be sent to Sales Invoice Customer's address.", "method": "post", "endpoint": "v1/email/sendSalesInvoice", "responses": [ { "uuid": "6f5a4372-e7a8-41bc-bbd0-6a4cf897e2d9", "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": "51aac5e3-124c-4685-8ef6-f8d636e747c0", "documentation": "Returns a list of global Owner Type Groups. Supports OData querying protocol.\r\nFiltering is forbidden.\r\nOrdering is allowed by \"id\" field.", "method": "get", "endpoint": "v1/ownerTypeGroups", "responses": [ { "uuid": "b187f591-e00a-47be-88fd-1aabf3d5da7f", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}}\n }\n ],\n \"NextPageLink\": \"\"\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": "44e3401c-8b34-4e1c-bb77-fd30cd719deb", "documentation": "Returns a list of global Owner Types. Supports OData querying protocol.\r\nFiltering is forbidden.\r\nOrdering is allowed by \"id\" field.", "method": "get", "endpoint": "v1/ownerTypes", "responses": [ { "uuid": "52869c6b-1c03-4274-96c4-66b1b3541924", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"ownerTypeGroupId\": {{faker 'number.int' max=99999}}\n }\n ],\n \"NextPageLink\": \"\"\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": "7a1de2d2-b7d4-44be-b0d8-18362023c24d", "documentation": "Returns a list of company's Payments. Supports OData querying protocol.\r\nFiltering is allowed by \"entryDate\" field.\r\nOrdering is allowed by \"id\" field.", "method": "get", "endpoint": "v1/payments", "responses": [ { "uuid": "e5989cc0-572e-462c-8338-53bc62249ebb", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"acCode\": \"\",\n \"acEntries\": [\n {\n \"accountCode\": \"\",\n \"analysisCategoryId\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"value\": {{faker 'number.float'}}\n }\n ],\n \"bankAccountCode\": \"\",\n \"bankAccountId\": {{faker 'number.int' max=99999}},\n \"bookTranTypeId\": {{faker 'number.int' max=99999}},\n \"customFields\": [\n {\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"userDefinedFieldId\": {{faker 'number.int' max=99999}},\n \"value\": \"\"\n }\n ],\n \"detailCollection\": [\n \"\"\n ],\n \"discount\": {{faker 'number.float'}},\n \"entryDate\": \"{{faker 'date.recent' 365}}\",\n \"id\": {{faker 'number.int' max=99999}},\n \"note\": \"\",\n \"plaidTransactionId\": \"\",\n \"procDate\": \"{{faker 'date.recent' 365}}\",\n \"reference\": \"\",\n \"supplierId\": {{faker 'number.int' max=99999}},\n \"timestamp\": \"\",\n \"total\": {{faker 'number.float'}},\n \"transferBankCode\": \"\",\n \"transferBankId\": {{faker 'number.int' max=99999}},\n \"unallocated\": {{faker 'number.float'}}\n }\n ],\n \"NextPageLink\": \"\"\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": "bf39ca31-d149-49ab-b863-2d533fa615b8", "documentation": "Creates a new Payment.", "method": "post", "endpoint": "v1/payments", "responses": [ { "uuid": "cf19106c-b930-4ae7-b268-bfbe851bdd71", "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": "d26aab0e-f413-45bb-b25b-c2b68e28665e", "documentation": "Processes a batch of Payments.", "method": "put", "endpoint": "v1/payments/batch", "responses": [ { "uuid": "6f216bd8-d268-4e82-88c6-b903ad6198fc", "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": "1471d284-a3bb-417e-bdb5-0e085f5dd24b", "documentation": "Removes an existing Payment.", "method": "delete", "endpoint": "v1/payments/:id", "responses": [ { "uuid": "253dc0fd-7ea0-4bc7-a0fc-f7362a5771c7", "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": "351b76f3-500e-4945-9257-e135f9619641", "documentation": "Returns information about a single Payments.", "method": "get", "endpoint": "v1/payments/:id", "responses": [ { "uuid": "b8260210-3371-40c0-8522-aa779f57c4bd", "body": "{\n \"acCode\": \"C1\",\n \"acEntries\": [],\n \"bankAccountCode\": \"B1\",\n \"bankAccountId\": 1,\n \"bookTranTypeId\": 3,\n \"customFields\": [\n {\n \"description\": \"F1\",\n \"id\": 1,\n \"userDefinedFieldId\": 1,\n \"value\": \"f1\"\n },\n {\n \"description\": \"F2\",\n \"id\": 2,\n \"userDefinedFieldId\": 2,\n \"value\": \"f2\"\n }\n ],\n \"detailCollection\": [\n \"d1\",\n \"d2\"\n ],\n \"discount\": 2,\n \"entryDate\": \"2011-07-01T00:00:00\",\n \"id\": 2,\n \"note\": \"123\",\n \"procDate\": \"2011-08-08T00:00:00\",\n \"reference\": \"000002\",\n \"supplierId\": 2,\n \"timestamp\": \"+TtVeRlm2Qg=\",\n \"total\": 155,\n \"transferBankCode\": \"\",\n \"transferBankId\": 1,\n \"unallocated\": 155\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": "f08a123f-8b72-4276-8146-7dbecd94351c", "documentation": "Updates an existing Payment.", "method": "put", "endpoint": "v1/payments/:id", "responses": [ { "uuid": "36126941-11fc-4dec-a02c-4a563d8d4b32", "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": "ee038926-b632-4078-b0e0-aa7a2c3d25c0", "documentation": "Returns a list of company's Products. Supports OData querying protocol.\r\nFiltering is forbidden.\r\nOrdering is allowed by \"id\" and \"stockCode\" fields.", "method": "get", "endpoint": "v1/products", "responses": [ { "uuid": "31640267-e3ba-45ba-b9c0-ff6cab9ec280", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"details\": [\n \"det1\",\n \"det2\",\n \"det3\"\n ],\n \"grossUnitPrice\": false,\n \"hasDefaultVatRate\": false,\n \"id\": 9,\n \"stockCode\": \"PRO1\",\n \"timestamp\": \"aZ5XeRlm2Qg=\",\n \"unitPrice\": 100,\n \"vatAnalysisTypeId\": 1\n }\n ],\n \"NextPageLink\": \"\"\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": "b9ba83d0-b40d-4ebe-909a-8396e728d48c", "documentation": "Creates a new Product.", "method": "post", "endpoint": "v1/products", "responses": [ { "uuid": "cceae123-df33-4062-8c84-cb1ead8f02a9", "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": "83c131e0-1d98-44e8-808b-48fd9df40df0", "documentation": "Processes a batch of Products.", "method": "put", "endpoint": "v1/products/batch", "responses": [ { "uuid": "064f17e5-b00b-44d0-9c33-92e7f4009714", "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": "60e90d40-641f-4347-a316-fe56f08f6d9c", "documentation": "Removes an existing Product.", "method": "delete", "endpoint": "v1/products/:id", "responses": [ { "uuid": "95bbaa5d-0647-4d7d-97b6-ab54628a92b2", "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": "b00a72a0-b4dc-4906-8973-8fa805a9420c", "documentation": "Returns information about a single Product.", "method": "get", "endpoint": "v1/products/:id", "responses": [ { "uuid": "1fb88063-830f-4968-89dc-e318d6284a3b", "body": "{\n \"details\": [\n \"det1\",\n \"det2\",\n \"det3\"\n ],\n \"grossUnitPrice\": false,\n \"hasDefaultVatRate\": false,\n \"id\": 9,\n \"stockCode\": \"PRO1\",\n \"timestamp\": \"aZ5XeRlm2Qg=\",\n \"unitPrice\": 100,\n \"vatAnalysisTypeId\": 1\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": "65f679b8-47e5-4949-ae3c-58ae8b621aef", "documentation": "Updates an existing Product.", "method": "put", "endpoint": "v1/products/:id", "responses": [ { "uuid": "d381a4b7-c0ad-44a6-8d92-34d42b9e482a", "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": "4a962361-68c6-47bb-96bc-a3dfeadb851b", "documentation": "Returns a list of company's Purchases. Supports OData querying protocol.\r\nFiltering is allowed by \"entryDate\" field.\r\nOrdering is allowed by \"id\" field.", "method": "get", "endpoint": "v1/purchases", "responses": [ { "uuid": "93a8ae6f-60bb-4012-942a-67d7524e676a", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"acCode\": \"\",\n \"acEntries\": [\n {\n \"accountCode\": \"\",\n \"analysisCategoryId\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"value\": {{faker 'number.float'}}\n }\n ],\n \"bookTranTypeId\": {{faker 'number.int' max=99999}},\n \"customFields\": [\n {\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"userDefinedFieldId\": {{faker 'number.int' max=99999}},\n \"value\": \"\"\n }\n ],\n \"detailCollection\": [\n \"\"\n ],\n \"entryDate\": \"{{faker 'date.recent' 365}}\",\n \"id\": {{faker 'number.int' max=99999}},\n \"netGoods\": {{faker 'number.float'}},\n \"netServices\": {{faker 'number.float'}},\n \"note\": \"\",\n \"postponedAccounting\": {{faker 'datatype.boolean'}},\n \"procDate\": \"{{faker 'date.recent' 365}}\",\n \"reference\": \"\",\n \"supplierId\": {{faker 'number.int' max=99999}},\n \"timestamp\": \"\",\n \"total\": {{faker 'number.float'}},\n \"totalNet\": {{faker 'number.float'}},\n \"totalVAT\": {{faker 'number.float'}},\n \"unallocated\": {{faker 'number.float'}},\n \"unpaid\": {{faker 'number.float'}},\n \"vatEntries\": [\n {\n \"amount\": {{faker 'number.float'}},\n \"id\": {{faker 'number.int' max=99999}},\n \"percentage\": {{faker 'number.float'}},\n \"vatRateId\": {{faker 'number.int' max=99999}}\n }\n ],\n \"vatTypeId\": {{faker 'number.int' max=99999}}\n }\n ],\n \"NextPageLink\": \"\"\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": "597f8080-cffe-4e49-9785-18f883ceee45", "documentation": "Creates a new Purchase.", "method": "post", "endpoint": "v1/purchases", "responses": [ { "uuid": "419130a6-d9e3-4801-9323-31c34c64b740", "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": "add39b9d-1537-4254-a20d-54d8f6ed299e", "documentation": "Processes a batch of Purchases.", "method": "put", "endpoint": "v1/purchases/batch", "responses": [ { "uuid": "48188bf0-5028-45ef-8570-800db774912c", "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": "308b003f-f628-48ec-898b-19625ecbcbf1", "documentation": "Removes an existing Purchase.", "method": "delete", "endpoint": "v1/purchases/:id", "responses": [ { "uuid": "8864ecee-f94b-4c79-999d-1ee5d2e885db", "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": "a84cb834-eaf0-4845-91d9-42b4d035bb1c", "documentation": "Returns information about a single Purchases.", "method": "get", "endpoint": "v1/purchases/:id", "responses": [ { "uuid": "785bad80-ee3e-43c6-8980-4e67f072760b", "body": "{\n \"acCode\": \"SUP3\",\n \"acEntries\": [\n {\n \"accountCode\": \"PU03\",\n \"analysisCategoryId\": 10441,\n \"description\": \"PUR 3\",\n \"id\": 12518,\n \"value\": 90.91\n }\n ],\n \"bookTranTypeId\": 4,\n \"customFields\": [],\n \"detailCollection\": [],\n \"entryDate\": \"2016-06-01T00:00:00\",\n \"id\": 13380,\n \"netGoods\": 0,\n \"netServices\": 0,\n \"note\": \"Supplier 3\",\n \"postponedAccounting\": false,\n \"procDate\": \"2016-06-24T00:00:00\",\n \"reference\": \"000001\",\n \"supplierId\": 10173,\n \"timestamp\": \"7mNceRlm2Qg=\",\n \"total\": 100,\n \"totalNet\": 90.91,\n \"totalVAT\": 9.09,\n \"unallocated\": 100,\n \"unpaid\": 100,\n \"vatEntries\": [\n {\n \"amount\": 90.91,\n \"id\": 12267,\n \"percentage\": 10,\n \"vatRateId\": 10317\n }\n ],\n \"vatTypeId\": 1\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": "e7ce8031-21f8-481a-810d-1d0b600c7fcf", "documentation": "Updates an existing Purchase.", "method": "put", "endpoint": "v1/purchases/:id", "responses": [ { "uuid": "6de3fbbd-0e69-4f07-85da-80353eaddc3f", "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": "bbd07559-2337-4901-97e7-ef22ae76b6f3", "documentation": "Returns a list of company's Quotes.\r\nFiltering is forbidden.\r\nOrdering is allowed by \"id\".", "method": "get", "endpoint": "v1/quotes", "responses": [ { "uuid": "5d7940ea-415a-493f-b79b-dfec86fef1b2", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"comments\": \"Sample\",\n \"companyId\": 40449,\n \"customerOwnerId\": 70583,\n \"customerOwnerName\": \"Customer 1\",\n \"ddNumber\": \"Sample\",\n \"entryDate\": \"2017-01-01T00:00:00\",\n \"id\": 1,\n \"layoutType\": 1,\n \"poNumber\": \"Sample\",\n \"procDate\": \"2017-01-05T00:00:00\",\n \"productTrans\": [\n {\n \"acEntries\": [\n {\n \"accountCode\": \"sample\",\n \"analysisCategoryId\": 40888,\n \"companyId\": 40449,\n \"id\": 1,\n \"quoteProductTranId\": 40277,\n \"value\": 100\n }\n ],\n \"amount\": 10,\n \"companyId\": 40449,\n \"id\": 40277,\n \"percentage\": 0,\n \"productCode\": \"PRO1\",\n \"productId\": 20107,\n \"quantity\": 1,\n \"tranNotes\": [\n \"Product\"\n ],\n \"unitPrice\": 100,\n \"vatAmount\": 10,\n \"vatAnalysisTypeId\": 0,\n \"vatRateId\": 30657\n }\n ],\n \"saleInvoiceId\": 30044,\n \"saleRepId\": 75783,\n \"timeStamp\": \"BoxjeRlm2Qg=\",\n \"total\": 110,\n \"totalNet\": 100,\n \"totalVat\": 10,\n \"vatTypeId\": 1\n }\n ],\n \"NextPageLink\": \"\"\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": "81446ade-139e-464f-a1e6-eb8b1f2e5af6", "documentation": "Creates a new Quote.", "method": "post", "endpoint": "v1/quotes", "responses": [ { "uuid": "e0534daa-84c8-4a9f-b402-06769e99c3c6", "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": "683b60e5-e24e-4d86-bff7-f916746dc3d4", "documentation": "Processes a batch of Quote.", "method": "put", "endpoint": "v1/quotes/batch", "responses": [ { "uuid": "aa74e4f6-dbc0-4cd9-bb2d-cebe11629c2a", "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": "ffc117e6-8d76-405c-9214-24557198ec74", "documentation": "Close a Quote.", "method": "put", "endpoint": "v1/quotes/close/:id", "responses": [ { "uuid": "f20687ef-365a-48a6-b771-cd6e15ab216d", "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": "e8d0adab-d0d9-479c-b641-98a4cfd6098d", "documentation": "Creates a new Quote with auto generating reference.", "method": "post", "endpoint": "v1/quotes/createQuoteWithGeneratingReference", "responses": [ { "uuid": "f80aee3a-c4b9-4141-8281-728219249e83", "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": "4855da0c-7a59-40ca-965c-d8609599288b", "documentation": "Generate a sale invoice from a Quote.\r\nWhen sale invoice is empty, new sale invoice will be generated from Quote.", "method": "post", "endpoint": "v1/quotes/generateSaleInvoice", "responses": [ { "uuid": "afd5b581-ec7d-4590-95fd-5ed21eba9fb6", "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": "143be7f6-d67d-4818-8dd5-c3cf6306965a", "documentation": "Reopen a Quote.", "method": "put", "endpoint": "v1/quotes/reopen/:id", "responses": [ { "uuid": "90ccb4b5-18a8-4469-a451-a8b5876b1f0a", "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": "c2f8204f-3abb-4782-adc7-34a8987b49da", "documentation": "Removes an existing Quote.", "method": "delete", "endpoint": "v1/quotes/:id", "responses": [ { "uuid": "df62c0a9-87c1-4563-8904-7dba7e35d50a", "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": "26c5bf32-bf42-46d4-82a9-382e2ca076fc", "documentation": "Returns information about a single Quote.", "method": "get", "endpoint": "v1/quotes/:id", "responses": [ { "uuid": "0cd250c9-775e-4baa-8c71-fb61181d12ce", "body": "{\n \"comments\": \"Sample\",\n \"companyId\": 40449,\n \"customerOwnerId\": 70583,\n \"customerOwnerName\": \"Customer 1\",\n \"ddNumber\": \"Sample\",\n \"entryDate\": \"2017-01-01T00:00:00\",\n \"id\": 1,\n \"layoutType\": 1,\n \"poNumber\": \"Sample\",\n \"procDate\": \"2017-01-05T00:00:00\",\n \"productTrans\": [\n {\n \"acEntries\": [\n {\n \"accountCode\": \"sample\",\n \"analysisCategoryId\": 40888,\n \"companyId\": 40449,\n \"id\": 1,\n \"quoteProductTranId\": 40277,\n \"value\": 100\n }\n ],\n \"amount\": 10,\n \"companyId\": 40449,\n \"id\": 40277,\n \"percentage\": 0,\n \"productCode\": \"PRO1\",\n \"productId\": 20107,\n \"quantity\": 1,\n \"tranNotes\": [\n \"Product\"\n ],\n \"unitPrice\": 100,\n \"vatAmount\": 10,\n \"vatAnalysisTypeId\": 0,\n \"vatRateId\": 30657\n }\n ],\n \"saleInvoiceId\": 30044,\n \"saleRepId\": 75783,\n \"timeStamp\": \"BoxjeRlm2Qg=\",\n \"total\": 110,\n \"totalNet\": 100,\n \"totalVat\": 10,\n \"vatTypeId\": 1\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": "a7758e9b-5a08-4b60-be5e-eed01554603e", "documentation": "Updates an existing Quote.", "method": "put", "endpoint": "v1/quotes/:id", "responses": [ { "uuid": "5c9ce384-bcb5-48f0-bd17-4308d1dc4eca", "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": "2cac7b5a-24e2-44ed-8b1f-0d4c2d12a81f", "documentation": "Returns a list of company's Sales Entries, Sales Invoices and Sales Credit Notes. Supports OData querying protocol.\r\nFiltering is allowed by \"entryDate\" field.\r\nOrdering is allowed by \"id\" field.", "method": "get", "endpoint": "v1/sales", "responses": [ { "uuid": "3141a573-6d0c-4933-9a01-0136d6071cf1", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"acCode\": \"\",\n \"acEntries\": [\n {\n \"accountCode\": \"\",\n \"analysisCategoryId\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"value\": {{faker 'number.float'}}\n }\n ],\n \"bookTranTypeId\": {{faker 'number.int' max=99999}},\n \"customFields\": [\n {\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"userDefinedFieldId\": {{faker 'number.int' max=99999}},\n \"value\": \"\"\n }\n ],\n \"customerId\": {{faker 'number.int' max=99999}},\n \"details\": \"\",\n \"entryDate\": \"{{faker 'date.recent' 365}}\",\n \"id\": {{faker 'number.int' max=99999}},\n \"loType\": \"\",\n \"note\": \"\",\n \"procDate\": \"{{faker 'date.recent' 365}}\",\n \"reference\": \"\",\n \"timestamp\": \"\",\n \"total\": {{faker 'number.float'}},\n \"totalNet\": {{faker 'number.float'}},\n \"totalVAT\": {{faker 'number.float'}},\n \"unpaid\": {{faker 'number.float'}},\n \"vatEntries\": [\n {\n \"amount\": {{faker 'number.float'}},\n \"id\": {{faker 'number.int' max=99999}},\n \"percentage\": {{faker 'number.float'}},\n \"vatRateId\": {{faker 'number.int' max=99999}}\n }\n ],\n \"vatTypeId\": {{faker 'number.int' max=99999}}\n }\n ],\n \"NextPageLink\": \"\"\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": "5fda7d7e-8453-4d22-a191-0ad0deb1c2ee", "documentation": "Returns a list of company's Sales Credit Notes. Supports OData querying protocol.\r\nFiltering is allowed by \"entryDate\" field.\r\nOrdering is allowed by \"id\" field.", "method": "get", "endpoint": "v1/salesCreditNotes", "responses": [ { "uuid": "1f0dcd08-8056-461b-8aea-0e048a102fe4", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"acCode\": \"\",\n \"bookTranTypeId\": {{faker 'number.int' max=99999}},\n \"customFields\": [\n {\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"userDefinedFieldId\": {{faker 'number.int' max=99999}},\n \"value\": \"\"\n }\n ],\n \"customerId\": {{faker 'number.int' max=99999}},\n \"deliveryTo\": [\n \"\"\n ],\n \"details\": \"\",\n \"entryDate\": \"{{faker 'date.recent' 365}}\",\n \"id\": {{faker 'number.int' max=99999}},\n \"loType\": \"\",\n \"netGoods\": {{faker 'number.float'}},\n \"netServices\": {{faker 'number.float'}},\n \"note\": \"\",\n \"ourReference\": \"\",\n \"procDate\": \"{{faker 'date.recent' 365}}\",\n \"productTrans\": [\n {\n \"acEntries\": [\n {\n \"accountCode\": \"\",\n \"analysisCategoryId\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"value\": {{faker 'number.float'}}\n }\n ],\n \"amount\": {{faker 'number.float'}},\n \"amountNet\": {{faker 'number.float'}},\n \"id\": {{faker 'number.int' max=99999}},\n \"percentage\": {{faker 'number.float'}},\n \"productCode\": \"\",\n \"productId\": {{faker 'number.int' max=99999}},\n \"quantity\": {{faker 'number.float'}},\n \"tranNotes\": [\n \"\"\n ],\n \"unitPrice\": {{faker 'number.float'}},\n \"vat\": {{faker 'number.float'}},\n \"vatAnalysisTypeId\": {{faker 'number.int' max=99999}},\n \"vatRateId\": {{faker 'number.int' max=99999}}\n }\n ],\n \"quoteId\": {{faker 'number.int' max=99999}},\n \"reference\": \"\",\n \"saleRepCode\": \"\",\n \"saleRepId\": {{faker 'number.int' max=99999}},\n \"timestamp\": \"\",\n \"total\": {{faker 'number.float'}},\n \"totalNet\": {{faker 'number.float'}},\n \"totalVAT\": {{faker 'number.float'}},\n \"unpaid\": {{faker 'number.float'}},\n \"vatTypeId\": {{faker 'number.int' max=99999}},\n \"yourReference\": \"\"\n }\n ],\n \"NextPageLink\": \"\"\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": "4c3f8ee7-c48f-4dca-ad2a-43ff8204e2f1", "documentation": "Creates a new Sales Credit Note.", "method": "post", "endpoint": "v1/salesCreditNotes", "responses": [ { "uuid": "10e0ec6c-6914-434f-b9d0-e442e1f751b7", "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": "894a72fc-840b-4608-b9b8-f91bf42b1787", "documentation": "Processes a batch of Sales Credit Notes.", "method": "put", "endpoint": "v1/salesCreditNotes/batch", "responses": [ { "uuid": "9d037c5f-4490-4575-a7e4-a014462923d0", "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": "a25ee750-27c5-47ad-8c7c-209343a4e053", "documentation": "Removes an existing Sales Credit Note.", "method": "delete", "endpoint": "v1/salesCreditNotes/:id", "responses": [ { "uuid": "06fc3a4e-7f80-443a-aa30-d08dedb36a4e", "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": "d5c04247-ef7b-4c6d-a83b-e6fff8c5f7a8", "documentation": "Returns information about a single Sales Credit Note.", "method": "get", "endpoint": "v1/salesCreditNotes/:id", "responses": [ { "uuid": "6d87691b-be82-41ca-b5a2-66d0ef3a61a1", "body": "{\n \"acCode\": \"CUS3\",\n \"bookTranTypeId\": 7,\n \"customFields\": [\n {\n \"description\": \"acudf_1\",\n \"id\": 1,\n \"userDefinedFieldId\": 1,\n \"value\": \"acudfv_1\"\n },\n {\n \"description\": \"acudf_2\",\n \"id\": 2,\n \"userDefinedFieldId\": 1,\n \"value\": \"acudfv_2\"\n }\n ],\n \"customerId\": 70585,\n \"deliveryTo\": [\n \"dt_1\",\n \"dt_2\"\n ],\n \"details\": \"detail_1\",\n \"entryDate\": \"2016-06-01T00:00:00\",\n \"id\": 75813,\n \"loType\": \"1\",\n \"note\": \"Customer 3\",\n \"ourReference\": \"ddNumber_1\",\n \"procDate\": \"2016-06-24T00:00:00\",\n \"productTrans\": [\n {\n \"acEntries\": [\n {\n \"accountCode\": \"SA02\",\n \"analysisCategoryId\": 40889,\n \"description\": \"AnCat1\",\n \"id\": 73455,\n \"value\": -200\n }\n ],\n \"amount\": -220,\n \"amountNet\": -200,\n \"id\": 51820,\n \"percentage\": 10,\n \"productCode\": \"PRO2\",\n \"productId\": 20108,\n \"quantity\": -1,\n \"tranNotes\": [\n \"tn_1\",\n \"tn_2\"\n ],\n \"unitPrice\": 200,\n \"vat\": -20,\n \"vatAnalysisTypeId\": 0,\n \"vatRateId\": 30657\n }\n ],\n \"saleRepId\": 33110,\n \"timestamp\": \"WnZveRlm2Qg=\",\n \"total\": -220,\n \"totalNet\": -200,\n \"totalVAT\": -20,\n \"unpaid\": -220,\n \"vatTypeId\": 1,\n \"yourReference\": \"poNumber_1\"\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": "cc446af8-e1de-4970-bdc6-923e65b9b1e1", "documentation": "Updates an existing Sales Credit Note.", "method": "put", "endpoint": "v1/salesCreditNotes/:id", "responses": [ { "uuid": "ffdde1b0-d47a-4a01-8e75-65815c3038b0", "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": "8e4e72e1-f46b-4417-854d-c73da65e1e52", "documentation": "Returns a list of company's Sales Entries. Supports OData querying protocol.\r\nFiltering is allowed by \"entryDate\" field.\r\nOrdering is allowed by \"id\" field.", "method": "get", "endpoint": "v1/salesEntries", "responses": [ { "uuid": "f447fcb5-a49b-43ce-b357-9120fa525b36", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"acCode\": \"\",\n \"acEntries\": [\n {\n \"accountCode\": \"\",\n \"analysisCategoryId\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"value\": {{faker 'number.float'}}\n }\n ],\n \"bookTranTypeId\": {{faker 'number.int' max=99999}},\n \"customFields\": [\n {\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"userDefinedFieldId\": {{faker 'number.int' max=99999}},\n \"value\": \"\"\n }\n ],\n \"customerId\": {{faker 'number.int' max=99999}},\n \"details\": \"\",\n \"entryDate\": \"{{faker 'date.recent' 365}}\",\n \"id\": {{faker 'number.int' max=99999}},\n \"netGoods\": {{faker 'number.float'}},\n \"netServices\": {{faker 'number.float'}},\n \"note\": \"\",\n \"procDate\": \"{{faker 'date.recent' 365}}\",\n \"reference\": \"\",\n \"timestamp\": \"\",\n \"total\": {{faker 'number.float'}},\n \"totalNet\": {{faker 'number.float'}},\n \"totalVAT\": {{faker 'number.float'}},\n \"unpaid\": {{faker 'number.float'}},\n \"vatEntries\": [\n {\n \"amount\": {{faker 'number.float'}},\n \"id\": {{faker 'number.int' max=99999}},\n \"percentage\": {{faker 'number.float'}},\n \"vatRateId\": {{faker 'number.int' max=99999}}\n }\n ],\n \"vatTypeId\": {{faker 'number.int' max=99999}}\n }\n ],\n \"NextPageLink\": \"\"\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": "13cacf5f-c7a0-43b5-849d-72d5da40afeb", "documentation": "Creates a new Sales Entry.", "method": "post", "endpoint": "v1/salesEntries", "responses": [ { "uuid": "f9ebcecd-2a3e-4329-91e9-813ede42fccd", "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": "d72bd7e5-cf6f-4bce-8e6a-08ab2a95d5ad", "documentation": "Processes a batch of Sales Entries.", "method": "put", "endpoint": "v1/salesEntries/batch", "responses": [ { "uuid": "e6a35ec2-fac7-4732-a639-21789b772b25", "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": "ae440dac-0f99-4d10-959b-8ad6b36b768c", "documentation": "Removes an existing Sales Entry.", "method": "delete", "endpoint": "v1/salesEntries/:id", "responses": [ { "uuid": "4a0ffafc-00b9-4e4d-add4-94966d31094f", "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": "5d84fe93-2b44-4946-82ff-4f443d15273c", "documentation": "Returns information about a single Sales Entry.", "method": "get", "endpoint": "v1/salesEntries/:id", "responses": [ { "uuid": "006089ad-50ef-4957-99ab-e02bde66ab4d", "body": "{\n \"acCode\": \"code\",\n \"acEntries\": [\n {\n \"accountCode\": \"SA01\",\n \"analysisCategoryId\": 40888,\n \"description\": \"SAL 1\",\n \"id\": 73450,\n \"value\": 636.36\n }\n ],\n \"bookTranTypeId\": 5,\n \"customFields\": [\n {\n \"description\": \"acudf_1\",\n \"id\": 1,\n \"userDefinedFieldId\": 1,\n \"value\": \"acudfv_1\"\n },\n {\n \"description\": \"acudf_2\",\n \"id\": 2,\n \"userDefinedFieldId\": 1,\n \"value\": \"acudfv_2\"\n }\n ],\n \"customerId\": 70583,\n \"details\": \"detail_1\",\n \"entryDate\": \"2011-01-01T00:00:00\",\n \"id\": 1,\n \"netGoods\": 0,\n \"netServices\": 0,\n \"note\": \"Customer 1\",\n \"procDate\": \"2011-01-01T00:00:00\",\n \"reference\": \"000001\",\n \"timestamp\": \"LRRteRlm2Qg=\",\n \"total\": 700,\n \"totalNet\": 636.36,\n \"totalVAT\": 63.64,\n \"unpaid\": 0,\n \"vatEntries\": [\n {\n \"amount\": 636.36,\n \"id\": 63649,\n \"percentage\": 10,\n \"vatRateId\": 30657\n }\n ],\n \"vatTypeId\": 1\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": "bbea5575-c073-4da0-8764-dd116fbe3f4d", "documentation": "Updates an existing Sales Entry.", "method": "put", "endpoint": "v1/salesEntries/:id", "responses": [ { "uuid": "a780186e-f849-4070-a25f-720a78117650", "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": "0f9095df-eaa0-416e-b062-db9cb62c35be", "documentation": "Returns a list of company's Sales Invoices. Supports OData querying protocol.\r\nFiltering is allowed by \"entryDate\" field.\r\nOrdering is allowed by \"id\" field.", "method": "get", "endpoint": "v1/salesInvoices", "responses": [ { "uuid": "6bfafcde-4d7b-4ee6-bff9-4f5e8aba0d60", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"acCode\": \"\",\n \"bookTranTypeId\": {{faker 'number.int' max=99999}},\n \"customFields\": [\n {\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"userDefinedFieldId\": {{faker 'number.int' max=99999}},\n \"value\": \"\"\n }\n ],\n \"customerId\": {{faker 'number.int' max=99999}},\n \"deliveryTo\": [\n \"\"\n ],\n \"details\": \"\",\n \"entryDate\": \"{{faker 'date.recent' 365}}\",\n \"id\": {{faker 'number.int' max=99999}},\n \"loType\": \"\",\n \"netGoods\": {{faker 'number.float'}},\n \"netServices\": {{faker 'number.float'}},\n \"note\": \"\",\n \"ourReference\": \"\",\n \"procDate\": \"{{faker 'date.recent' 365}}\",\n \"productTrans\": [\n {\n \"acEntries\": [\n {\n \"accountCode\": \"\",\n \"analysisCategoryId\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"value\": {{faker 'number.float'}}\n }\n ],\n \"amount\": {{faker 'number.float'}},\n \"amountNet\": {{faker 'number.float'}},\n \"id\": {{faker 'number.int' max=99999}},\n \"percentage\": {{faker 'number.float'}},\n \"productCode\": \"\",\n \"productId\": {{faker 'number.int' max=99999}},\n \"quantity\": {{faker 'number.float'}},\n \"tranNotes\": [\n \"\"\n ],\n \"unitPrice\": {{faker 'number.float'}},\n \"vat\": {{faker 'number.float'}},\n \"vatAnalysisTypeId\": {{faker 'number.int' max=99999}},\n \"vatRateId\": {{faker 'number.int' max=99999}}\n }\n ],\n \"quoteId\": {{faker 'number.int' max=99999}},\n \"reference\": \"\",\n \"saleRepCode\": \"\",\n \"saleRepId\": {{faker 'number.int' max=99999}},\n \"timestamp\": \"\",\n \"total\": {{faker 'number.float'}},\n \"totalNet\": {{faker 'number.float'}},\n \"totalVAT\": {{faker 'number.float'}},\n \"unpaid\": {{faker 'number.float'}},\n \"vatTypeId\": {{faker 'number.int' max=99999}},\n \"yourReference\": \"\"\n }\n ],\n \"NextPageLink\": \"\"\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": "7a9ad946-36a9-4885-9173-d0377d360061", "documentation": "Creates a new Sales Invoice.", "method": "post", "endpoint": "v1/salesInvoices", "responses": [ { "uuid": "22e858fd-3ad0-419b-a91b-2b9e0f482c73", "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": "a8c99c63-1577-4d04-9eb4-5d453543ccf9", "documentation": "Processes a batch of Sales Invoices.", "method": "put", "endpoint": "v1/salesInvoices/batch", "responses": [ { "uuid": "c9bf2a0d-b57c-43e9-adf3-35473f8f3d01", "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": "93d7664b-7337-4d69-9f65-fe909b26625b", "documentation": "Creates a new Sale Invoice with auto generating reference.", "method": "post", "endpoint": "v1/salesInvoices/createSaleInvoiceWithGeneratingReference", "responses": [ { "uuid": "bf9c2b77-fc9b-415f-ab6f-c2121c179415", "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": "5604fd0b-8a30-4597-b3e1-1a52ebcc5dea", "documentation": "Removes an existing Sales Invoice.", "method": "delete", "endpoint": "v1/salesInvoices/:id", "responses": [ { "uuid": "fa4e34bf-7515-4474-b750-bf51dc4eda45", "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": "3552ea91-58f7-4bc7-896f-364044a41012", "documentation": "Returns information about a single Sales Invoice.", "method": "get", "endpoint": "v1/salesInvoices/:id", "responses": [ { "uuid": "5a41637c-8500-4a62-bb57-41c591ec1741", "body": "{\n \"acCode\": \"CUS3\",\n \"bookTranTypeId\": 7,\n \"customFields\": [\n {\n \"description\": \"acudf_1\",\n \"id\": 1,\n \"userDefinedFieldId\": 1,\n \"value\": \"acudfv_1\"\n },\n {\n \"description\": \"acudf_2\",\n \"id\": 2,\n \"userDefinedFieldId\": 1,\n \"value\": \"acudfv_2\"\n }\n ],\n \"customerId\": 70585,\n \"deliveryTo\": [\n \"dt_1\",\n \"dt_2\"\n ],\n \"details\": \"detail_1\",\n \"entryDate\": \"2016-06-01T00:00:00\",\n \"id\": 75813,\n \"loType\": \"1\",\n \"note\": \"Customer 3\",\n \"ourReference\": \"ddNumber_1\",\n \"procDate\": \"2016-06-24T00:00:00\",\n \"productTrans\": [\n {\n \"acEntries\": [\n {\n \"accountCode\": \"SA02\",\n \"analysisCategoryId\": 40889,\n \"description\": \"AnCat1\",\n \"id\": 73455,\n \"value\": -200\n }\n ],\n \"amount\": -220,\n \"amountNet\": -200,\n \"id\": 51820,\n \"percentage\": 10,\n \"productCode\": \"PRO2\",\n \"productId\": 20108,\n \"quantity\": -1,\n \"tranNotes\": [\n \"tn_1\",\n \"tn_2\"\n ],\n \"unitPrice\": 200,\n \"vat\": -20,\n \"vatAnalysisTypeId\": 0,\n \"vatRateId\": 30657\n }\n ],\n \"saleRepId\": 33110,\n \"timestamp\": \"WnZveRlm2Qg=\",\n \"total\": -220,\n \"totalNet\": -200,\n \"totalVAT\": -20,\n \"unpaid\": -220,\n \"vatTypeId\": 1,\n \"yourReference\": \"poNumber_1\"\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": "9591beec-facf-4d73-9d3d-1e355f067fa9", "documentation": "Updates an existing Sales Invoice.", "method": "put", "endpoint": "v1/salesInvoices/:id", "responses": [ { "uuid": "bd8d62cb-666d-47f4-a3af-d244962ec89f", "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": "ecb93b54-0757-4778-9a21-c8f6c37ce98e", "documentation": "Returns a list of company's SaleRep.\r\nFiltering is forbidden.\r\nOrdering is allowed by \"id\".", "method": "get", "endpoint": "v1/salesReps", "responses": [ { "uuid": "eab36f6e-b0e4-45ad-a11e-5f3b7c162e59", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"code\": \"SR0001\",\n \"companyId\": 123456,\n \"email\": \"example@gmail.com\",\n \"id\": 1,\n \"name\": \"Sales Rep 1\",\n \"phone\": \"1234567890\",\n \"timeStamp\": \"WnZveRlm2Qg=\"\n }\n ],\n \"NextPageLink\": \"\"\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": "b5b07c1d-8ed4-4e65-8e1b-35c07e9232ca", "documentation": "Creates a new SaleRep.", "method": "post", "endpoint": "v1/salesReps", "responses": [ { "uuid": "cc91bd1e-043b-4f63-bca5-dfd0bdd5331f", "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": "ef8b903d-63f0-4fb1-aff4-88987b29ba8c", "documentation": "Processes a batch of Sale Rep.", "method": "put", "endpoint": "v1/salesReps/batch", "responses": [ { "uuid": "5a6c9b1f-6310-40bb-b7e1-c2f7b744293b", "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": "f311d22e-4c1e-4995-a48e-671383bd446e", "documentation": "Removes an existing Sale Rep.", "method": "delete", "endpoint": "v1/salesReps/:id", "responses": [ { "uuid": "5a127ce0-2439-46ac-825c-e9ddbe795354", "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": "5c8b40c4-2f6f-4078-bf75-36c40fa339f6", "documentation": "Returns information about a single SaleRep.", "method": "get", "endpoint": "v1/salesReps/:id", "responses": [ { "uuid": "64a29e71-e2f9-49f3-90fa-c290c82701bc", "body": "{\n \"code\": \"SR0001\",\n \"companyId\": 123456,\n \"email\": \"example@gmail.com\",\n \"id\": 1,\n \"name\": \"Sales Rep 1\",\n \"phone\": \"1234567890\",\n \"timeStamp\": \"WnZveRlm2Qg=\"\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": "50056bc9-55c2-4637-9983-77116abfc346", "documentation": "Updates an existing Sale Rep.", "method": "put", "endpoint": "v1/salesReps/:id", "responses": [ { "uuid": "19852ec8-df30-4c6a-a108-14a8d2268c46", "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": "73a508c3-326d-4b45-bf79-f6cb4763aaa2", "documentation": "Returns a list of company's Suppliers. Supports OData querying protocol.\r\nFiltering is forbidden.\r\nOrdering is allowed by \"id\" and \"code\" fields.", "method": "get", "endpoint": "v1/suppliers", "responses": [ { "uuid": "f6d53fc8-de1a-41f3-8f83-b158c289607b", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"accountName\": \"\",\n \"accountNumber\": \"\",\n \"address\": [\n \"\"\n ],\n \"authCode\": \"\",\n \"bank\": {\n \"branch\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"name\": \"\",\n \"sortCode\": \"\"\n },\n \"businessIdentifierCode\": \"\",\n \"code\": \"\",\n \"contact\": \"\",\n \"eFTReference\": \"\",\n \"email\": \"\",\n \"fax\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"internationalBankAccountNumber\": \"\",\n \"mobile\": \"\",\n \"name\": \"\",\n \"ourCode\": \"\",\n \"ownerTypeId\": {{faker 'number.int' max=99999}},\n \"phone\": \"\",\n \"postponedAccounting\": {{faker 'datatype.boolean'}},\n \"timestamp\": \"\",\n \"vatAnalysisTypeId\": {{faker 'number.int' max=99999}},\n \"vatReg\": \"\",\n \"vatType\": {{faker 'number.int' max=99999}}\n }\n ],\n \"NextPageLink\": \"\"\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": "87ac37e4-f86c-48bc-8bb4-8f098e2c3fe9", "documentation": "Creates a new Supplier.", "method": "post", "endpoint": "v1/suppliers", "responses": [ { "uuid": "f51200e6-ecd8-44ec-a236-cd80069dfc39", "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": "9b82f489-fd28-4b32-a518-5f255d0e34ee", "documentation": "Processes a batch of Suppliers.", "method": "put", "endpoint": "v1/suppliers/batch", "responses": [ { "uuid": "1e465c25-d82f-453e-8fbe-4094fb06d2ee", "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": "3d75bfc5-b6d3-4c3b-94ec-9db947985080", "documentation": "Removes an existing Supplier.", "method": "delete", "endpoint": "v1/suppliers/:id", "responses": [ { "uuid": "bb6b12d7-282c-4c06-b24e-0c9a879d6095", "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": "66f27b8a-7ec3-411c-8dfd-5c2f9dc4e65a", "documentation": "Returns information about a single Supplier. You may specify that Supplier's ledger balance should be calculated.", "method": "get", "endpoint": "v1/suppliers/:id", "responses": [ { "uuid": "f7cd26dc-3514-478f-babc-6af0fcf2f18e", "body": "{\n \"accountName\": \"Supplier Bank Acc\",\n \"accountNumber\": \"12345678\",\n \"address\": [\n \"Address Line 1\",\n \"Address Line 2\"\n ],\n \"authCode\": \"VATEXCODE222\",\n \"bank\": {\n \"branch\": \"Bank\",\n \"id\": 1,\n \"name\": \"bank Name\",\n \"sortCode\": \"B01\"\n },\n \"code\": \"S001\",\n \"contact\": \"John Smith\",\n \"eFTReference\": \"Reference\",\n \"email\": \"supplier@email.com\",\n \"fax\": \"1234567890\",\n \"id\": 10589,\n \"mobile\": \"1234567890\",\n \"name\": \"Supplier Name\",\n \"ourCode\": \"OURCODE111\",\n \"ownerTypeId\": 3,\n \"phone\": \"1234596970\",\n \"postponedAccounting\": false,\n \"timestamp\": \"dzp0eRlm2Qg=\",\n \"vatAnalysisTypeId\": 1,\n \"vatReg\": \"VATCODE0001\",\n \"vatType\": 2\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": "24981ac4-d035-4eca-8c37-702ea1479eed", "documentation": "Updates an existing Supplier.", "method": "put", "endpoint": "v1/suppliers/:id", "responses": [ { "uuid": "10a07677-76b1-491d-b257-9b2b9607d252", "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": "0e072a63-235b-45f2-9b6b-3fe17112a05d", "documentation": "Returns a list of Supplier's account transactions.", "method": "get", "endpoint": "v1/suppliers/:itemId/accountTrans", "responses": [ { "uuid": "3242c9bc-4e26-4dbc-8cbf-da24f4ea2fda", "body": "[\n {\n \"bookTranId\": {{faker 'number.int' max=99999}},\n \"bookTranTypeId\": {{faker 'number.int' max=99999}},\n \"bookTransactionReference\": \"\",\n \"bookTypeDesc\": \"\",\n \"credit\": {{faker 'number.float'}},\n \"debit\": {{faker 'number.float'}},\n \"id\": {{faker 'number.int' max=99999}},\n \"procDate\": \"{{faker 'date.recent' 365}}\"\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": "0b962c2b-9915-451f-a8b8-ee847c3f6959", "documentation": "Returns a Supplier's opening balances, calculated for the next periods: current month, one month old, two months old, three and more months old.", "method": "get", "endpoint": "v1/suppliers/:itemId/openingBalance", "responses": [ { "uuid": "6eb85bcb-19b3-472c-b644-1a7bd59c3048", "body": "{\n \"currentMonth\": {{faker 'number.float'}},\n \"oneMonthOld\": {{faker 'number.float'}},\n \"threeMonthsOld\": {{faker 'number.float'}},\n \"twoMonthsOld\": {{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": "59cefba4-e314-4c81-8418-bacd1649b30e", "documentation": "Returns a list of Supplier's opening balance transactions.", "method": "get", "endpoint": "v1/suppliers/:itemId/openingBalanceList", "responses": [ { "uuid": "8baa781e-e773-4142-ad85-8c0026ed3eb9", "body": "[\n {\n \"entryDate\": \"{{faker 'date.recent' 365}}\",\n \"id\": {{faker 'number.int' max=99999}},\n \"isChanged\": {{faker 'datatype.boolean'}},\n \"procDate\": \"{{faker 'date.recent' 365}}\",\n \"reference\": \"\",\n \"timestamp\": \"\",\n \"total\": {{faker 'number.float'}},\n \"totalVAT\": {{faker 'number.float'}},\n \"unpaid\": {{faker 'number.float'}},\n \"vatEntries\": [\n {\n \"amount\": {{faker 'number.float'}},\n \"vatRateId\": {{faker 'number.int' max=99999}}\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": "b5ba2cba-d711-436f-b5c2-76c744aa8bda", "documentation": "Returns a list of company's User Defined Fields. Supports OData querying protocol.\r\nFiltering is allowed by \"categoryTypeId\" field.\r\nOrdering is allowed by \"id\" and \"orderIndex\" fields.", "method": "get", "endpoint": "v1/userDefinedFields", "responses": [ { "uuid": "47498bce-2066-46cb-9386-a37a0a9313c5", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"categoryTypeId\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"orderIndex\": {{faker 'number.int' max=99999}}\n }\n ],\n \"NextPageLink\": \"\"\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": "636f4c47-5236-4d96-a5a9-ab76b89b2990", "documentation": "Returns a list of global Vat Analysis Types. Supports OData querying protocol.\r\nFiltering is forbidden.\r\nOrdering is allowed by \"id\" field.", "method": "get", "endpoint": "v1/vatAnalysisTypes", "responses": [ { "uuid": "3eb55209-828f-451d-97b8-a0c4de4386ce", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}}\n }\n ],\n \"NextPageLink\": \"\"\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": "8ad90e20-3006-40d2-ae6d-1bcbeaeb038a", "documentation": "Returns a list of global Vat Categories. Supports OData querying protocol.\r\nFiltering is forbidden.\r\nOrdering is allowed by \"id\" field.", "method": "get", "endpoint": "v1/vatCategories", "responses": [ { "uuid": "324fd9c2-6dc6-43bd-9f43-5504a07a71c1", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}}\n }\n ],\n \"NextPageLink\": \"\"\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": "fdea47ac-d795-4f24-835d-4fb1e4b77a7a", "documentation": "Process Vat Rates", "method": "post", "endpoint": "v1/vatCategories/vatRates", "responses": [ { "uuid": "78c0120e-34cc-4756-b0ce-66f23b0373a5", "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": "ac6a5cd3-81bb-4e9e-a2f5-53022a9840de", "documentation": "Returns a list of company's Vat Rates. Supports OData querying protocol.\r\nFiltering is allowed by \"vatCategoryId\" field.\r\nOrdering is allowed by \"id\" and \"orderIndex\" fields.", "method": "get", "endpoint": "v1/vatRates", "responses": [ { "uuid": "835e7cae-342e-416b-9476-157329161f28", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"id\": {{faker 'number.int' max=99999}},\n \"isActive\": {{faker 'datatype.boolean'}},\n \"isDefault\": {{faker 'datatype.boolean'}},\n \"orderIndex\": {{faker 'number.int' max=99999}},\n \"percentage\": {{faker 'number.float'}},\n \"timestamp\": \"\",\n \"vatCategoryId\": {{faker 'number.int' max=99999}}\n }\n ],\n \"NextPageLink\": \"\"\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": "0b5d69b4-a358-4cf6-9c78-0dc7fd7cb3a3", "documentation": "Returns a list of global Vat Types. Supports OData querying protocol.\r\nFiltering is forbidden.\r\nOrdering is allowed by \"id\" field.", "method": "get", "endpoint": "v1/vatTypes", "responses": [ { "uuid": "8c876e29-85db-426c-9044-1aacf906b25b", "body": "{\n \"Count\": {{faker 'number.int' max=99999}},\n \"Items\": [\n {\n \"code\": \"\",\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"isNotApplicable\": {{faker 'datatype.boolean'}},\n \"isOnlyZero\": {{faker 'datatype.boolean'}}\n }\n ],\n \"NextPageLink\": \"\"\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": "973ffa11-7647-4df8-aefc-df850ccbe2b9" }, { "type": "route", "uuid": "75887ee6-dfb4-4234-994b-36e508fa1170" }, { "type": "route", "uuid": "133d2f63-b1e9-4160-b27e-e7acbe553b8e" }, { "type": "route", "uuid": "7e05ed1f-4446-4238-93db-d4997a2787a1" }, { "type": "route", "uuid": "447d4789-5e3c-4b1d-86f4-133c6b5fd303" }, { "type": "route", "uuid": "be8b7892-0059-4623-99df-b138b16d330b" }, { "type": "route", "uuid": "bfa19f79-0e93-428f-a08b-0cb1a04ec61d" }, { "type": "route", "uuid": "11a6715c-fd45-4de5-a8b3-a76e16267eca" }, { "type": "route", "uuid": "86f64c5e-fabc-45e9-a0bd-5ac2332bbbe7" }, { "type": "route", "uuid": "75135488-fbfb-437e-bb66-28ef8bdcc116" }, { "type": "route", "uuid": "74838ff4-6051-407e-9c83-8f8596b2f911" }, { "type": "route", "uuid": "63aa2d30-db78-4e67-ad3d-67b6fa718297" }, { "type": "route", "uuid": "9b5d2539-4660-4e2b-a670-87131e0da5c4" }, { "type": "route", "uuid": "a5c9f601-5b50-40fb-b526-1d76388cc74e" }, { "type": "route", "uuid": "c5abd30e-981e-43db-933a-98ee97a28599" }, { "type": "route", "uuid": "75ad9011-763a-49d6-adbe-fa270209a7cf" }, { "type": "route", "uuid": "fb54f221-6979-42ca-8ee6-d38753036bd2" }, { "type": "route", "uuid": "8e39eac7-58d5-4c5c-b891-2207d1219b6f" }, { "type": "route", "uuid": "31b983c6-fb9c-4634-86e2-a019c2c4a656" }, { "type": "route", "uuid": "7a6449d2-72f4-43af-9ea3-e27f7bfc0ce4" }, { "type": "route", "uuid": "ff537574-5a30-48da-981f-193a0c52e258" }, { "type": "route", "uuid": "9b5bdfda-d108-41d7-9c6d-0f8a1f0f3206" }, { "type": "route", "uuid": "aa90fd42-0364-406f-a939-2bb7003c5d30" }, { "type": "route", "uuid": "679ff925-405b-4e86-a583-b2899581b17a" }, { "type": "route", "uuid": "0faf1a7e-635a-48b2-961c-cbbbd5f000f7" }, { "type": "route", "uuid": "0b5cb5d8-5979-46bb-9aa8-22ae3da170b3" }, { "type": "route", "uuid": "b30ac577-627a-4644-a29f-a1a23bed6467" }, { "type": "route", "uuid": "3cbda8b3-8f35-4d98-95c8-19ef5f4aef67" }, { "type": "route", "uuid": "a5241a28-4b6d-45f9-98a6-9933bc94b2d0" }, { "type": "route", "uuid": "026dcba9-88ab-41d5-847f-03f374246e95" }, { "type": "route", "uuid": "e10559e7-b4cd-4e7c-98ea-ea699cd971bc" }, { "type": "route", "uuid": "77d1c45c-e8d5-455f-bff1-491d5b6952e6" }, { "type": "route", "uuid": "e5c87c72-0678-4a4c-b300-01c00fe3420f" }, { "type": "route", "uuid": "fe20c9a0-e6e4-41ca-8e61-b193b8c5ccbe" }, { "type": "route", "uuid": "ac9151c7-b26c-4f8a-b430-04796785118d" }, { "type": "route", "uuid": "c8bffb41-54a5-4534-9a6b-0837fdc882ee" }, { "type": "route", "uuid": "e3e0bb4f-378e-4186-ad7d-0e0784fe32d1" }, { "type": "route", "uuid": "1176ef93-365c-4c0c-8949-aa138d73b4eb" }, { "type": "route", "uuid": "e9384aba-f3b5-40aa-bd19-0d5a3bcc5d7e" }, { "type": "route", "uuid": "51aac5e3-124c-4685-8ef6-f8d636e747c0" }, { "type": "route", "uuid": "44e3401c-8b34-4e1c-bb77-fd30cd719deb" }, { "type": "route", "uuid": "7a1de2d2-b7d4-44be-b0d8-18362023c24d" }, { "type": "route", "uuid": "bf39ca31-d149-49ab-b863-2d533fa615b8" }, { "type": "route", "uuid": "d26aab0e-f413-45bb-b25b-c2b68e28665e" }, { "type": "route", "uuid": "1471d284-a3bb-417e-bdb5-0e085f5dd24b" }, { "type": "route", "uuid": "351b76f3-500e-4945-9257-e135f9619641" }, { "type": "route", "uuid": "f08a123f-8b72-4276-8146-7dbecd94351c" }, { "type": "route", "uuid": "ee038926-b632-4078-b0e0-aa7a2c3d25c0" }, { "type": "route", "uuid": "b9ba83d0-b40d-4ebe-909a-8396e728d48c" }, { "type": "route", "uuid": "83c131e0-1d98-44e8-808b-48fd9df40df0" }, { "type": "route", "uuid": "60e90d40-641f-4347-a316-fe56f08f6d9c" }, { "type": "route", "uuid": "b00a72a0-b4dc-4906-8973-8fa805a9420c" }, { "type": "route", "uuid": "65f679b8-47e5-4949-ae3c-58ae8b621aef" }, { "type": "route", "uuid": "4a962361-68c6-47bb-96bc-a3dfeadb851b" }, { "type": "route", "uuid": "597f8080-cffe-4e49-9785-18f883ceee45" }, { "type": "route", "uuid": "add39b9d-1537-4254-a20d-54d8f6ed299e" }, { "type": "route", "uuid": "308b003f-f628-48ec-898b-19625ecbcbf1" }, { "type": "route", "uuid": "a84cb834-eaf0-4845-91d9-42b4d035bb1c" }, { "type": "route", "uuid": "e7ce8031-21f8-481a-810d-1d0b600c7fcf" }, { "type": "route", "uuid": "bbd07559-2337-4901-97e7-ef22ae76b6f3" }, { "type": "route", "uuid": "81446ade-139e-464f-a1e6-eb8b1f2e5af6" }, { "type": "route", "uuid": "683b60e5-e24e-4d86-bff7-f916746dc3d4" }, { "type": "route", "uuid": "ffc117e6-8d76-405c-9214-24557198ec74" }, { "type": "route", "uuid": "e8d0adab-d0d9-479c-b641-98a4cfd6098d" }, { "type": "route", "uuid": "4855da0c-7a59-40ca-965c-d8609599288b" }, { "type": "route", "uuid": "143be7f6-d67d-4818-8dd5-c3cf6306965a" }, { "type": "route", "uuid": "c2f8204f-3abb-4782-adc7-34a8987b49da" }, { "type": "route", "uuid": "26c5bf32-bf42-46d4-82a9-382e2ca076fc" }, { "type": "route", "uuid": "a7758e9b-5a08-4b60-be5e-eed01554603e" }, { "type": "route", "uuid": "2cac7b5a-24e2-44ed-8b1f-0d4c2d12a81f" }, { "type": "route", "uuid": "5fda7d7e-8453-4d22-a191-0ad0deb1c2ee" }, { "type": "route", "uuid": "4c3f8ee7-c48f-4dca-ad2a-43ff8204e2f1" }, { "type": "route", "uuid": "894a72fc-840b-4608-b9b8-f91bf42b1787" }, { "type": "route", "uuid": "a25ee750-27c5-47ad-8c7c-209343a4e053" }, { "type": "route", "uuid": "d5c04247-ef7b-4c6d-a83b-e6fff8c5f7a8" }, { "type": "route", "uuid": "cc446af8-e1de-4970-bdc6-923e65b9b1e1" }, { "type": "route", "uuid": "8e4e72e1-f46b-4417-854d-c73da65e1e52" }, { "type": "route", "uuid": "13cacf5f-c7a0-43b5-849d-72d5da40afeb" }, { "type": "route", "uuid": "d72bd7e5-cf6f-4bce-8e6a-08ab2a95d5ad" }, { "type": "route", "uuid": "ae440dac-0f99-4d10-959b-8ad6b36b768c" }, { "type": "route", "uuid": "5d84fe93-2b44-4946-82ff-4f443d15273c" }, { "type": "route", "uuid": "bbea5575-c073-4da0-8764-dd116fbe3f4d" }, { "type": "route", "uuid": "0f9095df-eaa0-416e-b062-db9cb62c35be" }, { "type": "route", "uuid": "7a9ad946-36a9-4885-9173-d0377d360061" }, { "type": "route", "uuid": "a8c99c63-1577-4d04-9eb4-5d453543ccf9" }, { "type": "route", "uuid": "93d7664b-7337-4d69-9f65-fe909b26625b" }, { "type": "route", "uuid": "5604fd0b-8a30-4597-b3e1-1a52ebcc5dea" }, { "type": "route", "uuid": "3552ea91-58f7-4bc7-896f-364044a41012" }, { "type": "route", "uuid": "9591beec-facf-4d73-9d3d-1e355f067fa9" }, { "type": "route", "uuid": "ecb93b54-0757-4778-9a21-c8f6c37ce98e" }, { "type": "route", "uuid": "b5b07c1d-8ed4-4e65-8e1b-35c07e9232ca" }, { "type": "route", "uuid": "ef8b903d-63f0-4fb1-aff4-88987b29ba8c" }, { "type": "route", "uuid": "f311d22e-4c1e-4995-a48e-671383bd446e" }, { "type": "route", "uuid": "5c8b40c4-2f6f-4078-bf75-36c40fa339f6" }, { "type": "route", "uuid": "50056bc9-55c2-4637-9983-77116abfc346" }, { "type": "route", "uuid": "73a508c3-326d-4b45-bf79-f6cb4763aaa2" }, { "type": "route", "uuid": "87ac37e4-f86c-48bc-8bb4-8f098e2c3fe9" }, { "type": "route", "uuid": "9b82f489-fd28-4b32-a518-5f255d0e34ee" }, { "type": "route", "uuid": "3d75bfc5-b6d3-4c3b-94ec-9db947985080" }, { "type": "route", "uuid": "66f27b8a-7ec3-411c-8dfd-5c2f9dc4e65a" }, { "type": "route", "uuid": "24981ac4-d035-4eca-8c37-702ea1479eed" }, { "type": "route", "uuid": "0e072a63-235b-45f2-9b6b-3fe17112a05d" }, { "type": "route", "uuid": "0b962c2b-9915-451f-a8b8-ee847c3f6959" }, { "type": "route", "uuid": "59cefba4-e314-4c81-8418-bacd1649b30e" }, { "type": "route", "uuid": "b5ba2cba-d711-436f-b5c2-76c744aa8bda" }, { "type": "route", "uuid": "636f4c47-5236-4d96-a5a9-ab76b89b2990" }, { "type": "route", "uuid": "8ad90e20-3006-40d2-ae6d-1bcbeaeb038a" }, { "type": "route", "uuid": "fdea47ac-d795-4f24-835d-4fb1e4b77a7a" }, { "type": "route", "uuid": "ac6a5cd3-81bb-4e9e-a2f5-53022a9840de" }, { "type": "route", "uuid": "0b5d69b4-a358-4cf6-9c78-0dc7fd7cb3a3" } ] }