{ "uuid": "29617044-37dc-4efd-bf04-690ef3c90c1d", "lastMigration": 29, "name": "Xero Accounting API", "endpointPrefix": "api.xro/2.0", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "73787968-57f2-45b2-9baa-6e26b0fb245c", "documentation": "Retrieves the full chart of accounts", "method": "get", "endpoint": "Accounts", "responses": [ { "uuid": "021a88e6-f142-451a-8e54-7f0888b71f5d", "body": "{\n \"Accounts\": [\n {\n \"AccountID\": \"00000000-0000-0000-0000-000000000000\",\n \"AddToWatchlist\": {{faker 'datatype.boolean'}},\n \"BankAccountNumber\": \"\",\n \"BankAccountType\": \"{{oneOf (array 'BANK' 'CREDITCARD' 'PAYPAL' 'NONE' '')}}\",\n \"Class\": \"{{oneOf (array 'ASSET' 'EQUITY' 'EXPENSE' 'LIABILITY' 'REVENUE')}}\",\n \"Code\": 4400,\n \"CurrencyCode\": \"{{oneOf (array 'AED' 'AFN' 'ALL' 'AMD' 'ANG' 'AOA' 'ARS' 'AUD' 'AWG' 'AZN' 'BAM' 'BBD' 'BDT' 'BGN' 'BHD' 'BIF' 'BMD' 'BND' 'BOB' 'BRL' 'BSD' 'BTN' 'BWP' 'BYN' 'BYR' 'BZD' 'CAD' 'CDF' 'CHF' 'CLP' 'CNY' 'COP' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GGP' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'IMP' 'INR' 'IQD' 'IRR' 'ISK' 'JEP' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRU' 'MUR' 'MVR' 'MWK' 'MXN' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' 'SLL' 'SOS' 'SPL' 'SRD' 'STN' 'SVC' 'SYP' 'SZL' 'THB' 'TJS' 'TMT' 'TND' 'TOP' 'TRY' 'TTD' 'TVD' 'TWD' 'TZS' 'UAH' 'UGX' 'USD' 'UYU' 'UZS' 'VEF' 'VND' 'VUV' 'WST' 'XAF' 'XCD' 'XDR' 'XOF' 'XPF' 'YER' 'ZAR' 'ZMW' 'ZMK' 'ZWD' '')}}\",\n \"Description\": \"\",\n \"EnablePaymentsToAccount\": {{faker 'datatype.boolean'}},\n \"HasAttachments\": \"false\",\n \"Name\": \"Food Sales\",\n \"ReportingCode\": \"\",\n \"ReportingCodeName\": \"\",\n \"ShowInExpenseClaims\": {{faker 'datatype.boolean'}},\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"SystemAccount\": \"{{oneOf (array 'DEBTORS' 'CREDITORS' 'BANKCURRENCYGAIN' 'GST' 'GSTONIMPORTS' 'HISTORICAL' 'REALISEDCURRENCYGAIN' 'RETAINEDEARNINGS' 'ROUNDING' 'TRACKINGTRANSFERS' 'UNPAIDEXPCLM' 'UNREALISEDCURRENCYGAIN' 'WAGEPAYABLES' 'CISASSETS' 'CISASSET' 'CISLABOUR' 'CISLABOUREXPENSE' 'CISLABOURINCOME' 'CISLIABILITY' 'CISMATERIALS' '')}}\",\n \"TaxType\": \"\",\n \"Type\": \"{{oneOf (array 'BANK' 'CURRENT' 'CURRLIAB' 'DEPRECIATN' 'DIRECTCOSTS' 'EQUITY' 'EXPENSE' 'FIXED' 'INVENTORY' 'LIABILITY' 'NONCURRENT' 'OTHERINCOME' 'OVERHEADS' 'PREPAYMENT' 'REVENUE' 'SALES' 'TERMLIAB' 'PAYGLIABILITY' 'PAYG' 'SUPERANNUATIONEXPENSE' 'SUPERANNUATIONLIABILITY' 'WAGESEXPENSE')}}\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Accounts array with 0 to n Account", "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": "85ed7242-f223-49e1-bb2a-1c61d914ee8f", "documentation": "Creates a new chart of accounts", "method": "put", "endpoint": "Accounts", "responses": [ { "uuid": "3bd36aa0-a96f-47df-9198-19c2c1022b9d", "body": "{\n \"Accounts\": [\n {\n \"AccountID\": \"00000000-0000-0000-0000-000000000000\",\n \"AddToWatchlist\": {{faker 'datatype.boolean'}},\n \"BankAccountNumber\": \"\",\n \"BankAccountType\": \"{{oneOf (array 'BANK' 'CREDITCARD' 'PAYPAL' 'NONE' '')}}\",\n \"Class\": \"{{oneOf (array 'ASSET' 'EQUITY' 'EXPENSE' 'LIABILITY' 'REVENUE')}}\",\n \"Code\": 4400,\n \"CurrencyCode\": \"{{oneOf (array 'AED' 'AFN' 'ALL' 'AMD' 'ANG' 'AOA' 'ARS' 'AUD' 'AWG' 'AZN' 'BAM' 'BBD' 'BDT' 'BGN' 'BHD' 'BIF' 'BMD' 'BND' 'BOB' 'BRL' 'BSD' 'BTN' 'BWP' 'BYN' 'BYR' 'BZD' 'CAD' 'CDF' 'CHF' 'CLP' 'CNY' 'COP' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GGP' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'IMP' 'INR' 'IQD' 'IRR' 'ISK' 'JEP' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRU' 'MUR' 'MVR' 'MWK' 'MXN' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' 'SLL' 'SOS' 'SPL' 'SRD' 'STN' 'SVC' 'SYP' 'SZL' 'THB' 'TJS' 'TMT' 'TND' 'TOP' 'TRY' 'TTD' 'TVD' 'TWD' 'TZS' 'UAH' 'UGX' 'USD' 'UYU' 'UZS' 'VEF' 'VND' 'VUV' 'WST' 'XAF' 'XCD' 'XDR' 'XOF' 'XPF' 'YER' 'ZAR' 'ZMW' 'ZMK' 'ZWD' '')}}\",\n \"Description\": \"\",\n \"EnablePaymentsToAccount\": {{faker 'datatype.boolean'}},\n \"HasAttachments\": \"false\",\n \"Name\": \"Food Sales\",\n \"ReportingCode\": \"\",\n \"ReportingCodeName\": \"\",\n \"ShowInExpenseClaims\": {{faker 'datatype.boolean'}},\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"SystemAccount\": \"{{oneOf (array 'DEBTORS' 'CREDITORS' 'BANKCURRENCYGAIN' 'GST' 'GSTONIMPORTS' 'HISTORICAL' 'REALISEDCURRENCYGAIN' 'RETAINEDEARNINGS' 'ROUNDING' 'TRACKINGTRANSFERS' 'UNPAIDEXPCLM' 'UNREALISEDCURRENCYGAIN' 'WAGEPAYABLES' 'CISASSETS' 'CISASSET' 'CISLABOUR' 'CISLABOUREXPENSE' 'CISLABOURINCOME' 'CISLIABILITY' 'CISMATERIALS' '')}}\",\n \"TaxType\": \"\",\n \"Type\": \"{{oneOf (array 'BANK' 'CURRENT' 'CURRLIAB' 'DEPRECIATN' 'DIRECTCOSTS' 'EQUITY' 'EXPENSE' 'FIXED' 'INVENTORY' 'LIABILITY' 'NONCURRENT' 'OTHERINCOME' 'OVERHEADS' 'PREPAYMENT' 'REVENUE' 'SALES' 'TERMLIAB' 'PAYGLIABILITY' 'PAYG' 'SUPERANNUATIONEXPENSE' 'SUPERANNUATIONLIABILITY' 'WAGESEXPENSE')}}\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - created new Account and return response of type Accounts array with new Account", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c42cd5bb-f182-46ed-b035-23cac3705420", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "Validation Error - some data was incorrect returns response of type Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fd5c8903-562c-4a80-bf00-1c7241b767b1", "documentation": "Deletes a chart of accounts", "method": "delete", "endpoint": "Accounts/:AccountID", "responses": [ { "uuid": "4788fd50-30d0-47c0-a574-1c747e329084", "body": "{\n \"Accounts\": [\n {\n \"AccountID\": \"00000000-0000-0000-0000-000000000000\",\n \"AddToWatchlist\": {{faker 'datatype.boolean'}},\n \"BankAccountNumber\": \"\",\n \"BankAccountType\": \"{{oneOf (array 'BANK' 'CREDITCARD' 'PAYPAL' 'NONE' '')}}\",\n \"Class\": \"{{oneOf (array 'ASSET' 'EQUITY' 'EXPENSE' 'LIABILITY' 'REVENUE')}}\",\n \"Code\": 4400,\n \"CurrencyCode\": \"{{oneOf (array 'AED' 'AFN' 'ALL' 'AMD' 'ANG' 'AOA' 'ARS' 'AUD' 'AWG' 'AZN' 'BAM' 'BBD' 'BDT' 'BGN' 'BHD' 'BIF' 'BMD' 'BND' 'BOB' 'BRL' 'BSD' 'BTN' 'BWP' 'BYN' 'BYR' 'BZD' 'CAD' 'CDF' 'CHF' 'CLP' 'CNY' 'COP' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GGP' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'IMP' 'INR' 'IQD' 'IRR' 'ISK' 'JEP' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRU' 'MUR' 'MVR' 'MWK' 'MXN' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' 'SLL' 'SOS' 'SPL' 'SRD' 'STN' 'SVC' 'SYP' 'SZL' 'THB' 'TJS' 'TMT' 'TND' 'TOP' 'TRY' 'TTD' 'TVD' 'TWD' 'TZS' 'UAH' 'UGX' 'USD' 'UYU' 'UZS' 'VEF' 'VND' 'VUV' 'WST' 'XAF' 'XCD' 'XDR' 'XOF' 'XPF' 'YER' 'ZAR' 'ZMW' 'ZMK' 'ZWD' '')}}\",\n \"Description\": \"\",\n \"EnablePaymentsToAccount\": {{faker 'datatype.boolean'}},\n \"HasAttachments\": \"false\",\n \"Name\": \"Food Sales\",\n \"ReportingCode\": \"\",\n \"ReportingCodeName\": \"\",\n \"ShowInExpenseClaims\": {{faker 'datatype.boolean'}},\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"SystemAccount\": \"{{oneOf (array 'DEBTORS' 'CREDITORS' 'BANKCURRENCYGAIN' 'GST' 'GSTONIMPORTS' 'HISTORICAL' 'REALISEDCURRENCYGAIN' 'RETAINEDEARNINGS' 'ROUNDING' 'TRACKINGTRANSFERS' 'UNPAIDEXPCLM' 'UNREALISEDCURRENCYGAIN' 'WAGEPAYABLES' 'CISASSETS' 'CISASSET' 'CISLABOUR' 'CISLABOUREXPENSE' 'CISLABOURINCOME' 'CISLIABILITY' 'CISMATERIALS' '')}}\",\n \"TaxType\": \"\",\n \"Type\": \"{{oneOf (array 'BANK' 'CURRENT' 'CURRLIAB' 'DEPRECIATN' 'DIRECTCOSTS' 'EQUITY' 'EXPENSE' 'FIXED' 'INVENTORY' 'LIABILITY' 'NONCURRENT' 'OTHERINCOME' 'OVERHEADS' 'PREPAYMENT' 'REVENUE' 'SALES' 'TERMLIAB' 'PAYGLIABILITY' 'PAYG' 'SUPERANNUATIONEXPENSE' 'SUPERANNUATIONLIABILITY' 'WAGESEXPENSE')}}\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - delete existing Account and return response of type Accounts array with deleted Account", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "028a4d4d-23d4-4607-8ee5-06f664bd6095", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "Validation Error - some data was incorrect returns response of type Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "63234bad-a011-4321-934d-b495e70157b0", "documentation": "Retrieves a single chart of accounts by using a unique account Id", "method": "get", "endpoint": "Accounts/:AccountID", "responses": [ { "uuid": "f3bc237c-75ba-4c3c-b9d1-0c7eeb73b051", "body": "{\n \"Accounts\": [\n {\n \"AccountID\": \"00000000-0000-0000-0000-000000000000\",\n \"AddToWatchlist\": {{faker 'datatype.boolean'}},\n \"BankAccountNumber\": \"\",\n \"BankAccountType\": \"{{oneOf (array 'BANK' 'CREDITCARD' 'PAYPAL' 'NONE' '')}}\",\n \"Class\": \"{{oneOf (array 'ASSET' 'EQUITY' 'EXPENSE' 'LIABILITY' 'REVENUE')}}\",\n \"Code\": 4400,\n \"CurrencyCode\": \"{{oneOf (array 'AED' 'AFN' 'ALL' 'AMD' 'ANG' 'AOA' 'ARS' 'AUD' 'AWG' 'AZN' 'BAM' 'BBD' 'BDT' 'BGN' 'BHD' 'BIF' 'BMD' 'BND' 'BOB' 'BRL' 'BSD' 'BTN' 'BWP' 'BYN' 'BYR' 'BZD' 'CAD' 'CDF' 'CHF' 'CLP' 'CNY' 'COP' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GGP' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'IMP' 'INR' 'IQD' 'IRR' 'ISK' 'JEP' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRU' 'MUR' 'MVR' 'MWK' 'MXN' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' 'SLL' 'SOS' 'SPL' 'SRD' 'STN' 'SVC' 'SYP' 'SZL' 'THB' 'TJS' 'TMT' 'TND' 'TOP' 'TRY' 'TTD' 'TVD' 'TWD' 'TZS' 'UAH' 'UGX' 'USD' 'UYU' 'UZS' 'VEF' 'VND' 'VUV' 'WST' 'XAF' 'XCD' 'XDR' 'XOF' 'XPF' 'YER' 'ZAR' 'ZMW' 'ZMK' 'ZWD' '')}}\",\n \"Description\": \"\",\n \"EnablePaymentsToAccount\": {{faker 'datatype.boolean'}},\n \"HasAttachments\": \"false\",\n \"Name\": \"Food Sales\",\n \"ReportingCode\": \"\",\n \"ReportingCodeName\": \"\",\n \"ShowInExpenseClaims\": {{faker 'datatype.boolean'}},\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"SystemAccount\": \"{{oneOf (array 'DEBTORS' 'CREDITORS' 'BANKCURRENCYGAIN' 'GST' 'GSTONIMPORTS' 'HISTORICAL' 'REALISEDCURRENCYGAIN' 'RETAINEDEARNINGS' 'ROUNDING' 'TRACKINGTRANSFERS' 'UNPAIDEXPCLM' 'UNREALISEDCURRENCYGAIN' 'WAGEPAYABLES' 'CISASSETS' 'CISASSET' 'CISLABOUR' 'CISLABOUREXPENSE' 'CISLABOURINCOME' 'CISLIABILITY' 'CISMATERIALS' '')}}\",\n \"TaxType\": \"\",\n \"Type\": \"{{oneOf (array 'BANK' 'CURRENT' 'CURRLIAB' 'DEPRECIATN' 'DIRECTCOSTS' 'EQUITY' 'EXPENSE' 'FIXED' 'INVENTORY' 'LIABILITY' 'NONCURRENT' 'OTHERINCOME' 'OVERHEADS' 'PREPAYMENT' 'REVENUE' 'SALES' 'TERMLIAB' 'PAYGLIABILITY' 'PAYG' 'SUPERANNUATIONEXPENSE' 'SUPERANNUATIONLIABILITY' 'WAGESEXPENSE')}}\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Accounts array with one Account", "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": "d17b109e-dcd5-4532-b638-0153ff9f152a", "documentation": "Updates a chart of accounts", "method": "post", "endpoint": "Accounts/:AccountID", "responses": [ { "uuid": "e39d0789-81f5-4da3-b0cd-cd810f4873e6", "body": "{\n \"Accounts\": [\n {\n \"AccountID\": \"00000000-0000-0000-0000-000000000000\",\n \"AddToWatchlist\": {{faker 'datatype.boolean'}},\n \"BankAccountNumber\": \"\",\n \"BankAccountType\": \"{{oneOf (array 'BANK' 'CREDITCARD' 'PAYPAL' 'NONE' '')}}\",\n \"Class\": \"{{oneOf (array 'ASSET' 'EQUITY' 'EXPENSE' 'LIABILITY' 'REVENUE')}}\",\n \"Code\": 4400,\n \"CurrencyCode\": \"{{oneOf (array 'AED' 'AFN' 'ALL' 'AMD' 'ANG' 'AOA' 'ARS' 'AUD' 'AWG' 'AZN' 'BAM' 'BBD' 'BDT' 'BGN' 'BHD' 'BIF' 'BMD' 'BND' 'BOB' 'BRL' 'BSD' 'BTN' 'BWP' 'BYN' 'BYR' 'BZD' 'CAD' 'CDF' 'CHF' 'CLP' 'CNY' 'COP' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GGP' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'IMP' 'INR' 'IQD' 'IRR' 'ISK' 'JEP' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRU' 'MUR' 'MVR' 'MWK' 'MXN' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' 'SLL' 'SOS' 'SPL' 'SRD' 'STN' 'SVC' 'SYP' 'SZL' 'THB' 'TJS' 'TMT' 'TND' 'TOP' 'TRY' 'TTD' 'TVD' 'TWD' 'TZS' 'UAH' 'UGX' 'USD' 'UYU' 'UZS' 'VEF' 'VND' 'VUV' 'WST' 'XAF' 'XCD' 'XDR' 'XOF' 'XPF' 'YER' 'ZAR' 'ZMW' 'ZMK' 'ZWD' '')}}\",\n \"Description\": \"\",\n \"EnablePaymentsToAccount\": {{faker 'datatype.boolean'}},\n \"HasAttachments\": \"false\",\n \"Name\": \"Food Sales\",\n \"ReportingCode\": \"\",\n \"ReportingCodeName\": \"\",\n \"ShowInExpenseClaims\": {{faker 'datatype.boolean'}},\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"SystemAccount\": \"{{oneOf (array 'DEBTORS' 'CREDITORS' 'BANKCURRENCYGAIN' 'GST' 'GSTONIMPORTS' 'HISTORICAL' 'REALISEDCURRENCYGAIN' 'RETAINEDEARNINGS' 'ROUNDING' 'TRACKINGTRANSFERS' 'UNPAIDEXPCLM' 'UNREALISEDCURRENCYGAIN' 'WAGEPAYABLES' 'CISASSETS' 'CISASSET' 'CISLABOUR' 'CISLABOUREXPENSE' 'CISLABOURINCOME' 'CISLIABILITY' 'CISMATERIALS' '')}}\",\n \"TaxType\": \"\",\n \"Type\": \"{{oneOf (array 'BANK' 'CURRENT' 'CURRLIAB' 'DEPRECIATN' 'DIRECTCOSTS' 'EQUITY' 'EXPENSE' 'FIXED' 'INVENTORY' 'LIABILITY' 'NONCURRENT' 'OTHERINCOME' 'OVERHEADS' 'PREPAYMENT' 'REVENUE' 'SALES' 'TERMLIAB' 'PAYGLIABILITY' 'PAYG' 'SUPERANNUATIONEXPENSE' 'SUPERANNUATIONLIABILITY' 'WAGESEXPENSE')}}\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - update existing Account and return response of type Accounts array with updated Account", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d5b383fb-c7aa-47d3-b9ec-2e4df8c9df8e", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "Validation Error - some data was incorrect returns response of type Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "91cd6157-3e91-449a-b405-e506f15054b4", "documentation": "Retrieves attachments for a specific accounts by using a unique account Id", "method": "get", "endpoint": "Accounts/:AccountID/Attachments", "responses": [ { "uuid": "60f05c3a-7494-4e14-b32f-2682b262dc43", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array of Attachment", "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": "91673f87-2d50-4f49-8399-779df99606fa", "documentation": "Retrieves a specific attachment from a specific account using a unique attachment Id", "method": "get", "endpoint": "Accounts/:AccountID/Attachments/:AttachmentID", "responses": [ { "uuid": "2f233973-ccd3-4c8b-9625-ae04952fcbde", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of attachment for Account as binary data", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2fb04fd7-344f-4ed0-b4f9-5c8cccaa746b", "documentation": "Retrieves an attachment for a specific account by filename", "method": "get", "endpoint": "Accounts/:AccountID/Attachments/:FileName", "responses": [ { "uuid": "1e50d350-44d9-4f5f-8948-cab517786f2c", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of attachment for Account as binary data", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "41ef5c73-f9dc-4ad2-a8c9-3ef560952999", "documentation": "Updates attachment on a specific account by filename", "method": "post", "endpoint": "Accounts/:AccountID/Attachments/:FileName", "responses": [ { "uuid": "083d6f15-c05b-4e73-b4ed-b02ae0b3e16b", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array of Attachment", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e79749c1-8847-4d8c-bc46-077f2539378e", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "Validation Error - some data was incorrect returns response of type Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "21cd16c9-ca5f-43da-95a3-0f1bd7526d69", "documentation": "Creates an attachment on a specific account", "method": "put", "endpoint": "Accounts/:AccountID/Attachments/:FileName", "responses": [ { "uuid": "6629c818-6ff1-44a4-b96b-d720f5bb168b", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array of Attachment", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5472f33b-6acc-4d3e-b4f6-a70aaa87823f", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "911305e7-4ecc-4faa-ad3b-ca7645945043", "documentation": "Retrieves any spent or received money transactions", "method": "get", "endpoint": "BankTransactions", "responses": [ { "uuid": "13f2d7a7-670e-41cd-b879-d370f51ab920", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type BankTransactions array with 0 to n BankTransaction", "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": "9756caec-185f-498a-902f-96e5888ec83f", "documentation": "Updates or creates one or more spent or received money transaction", "method": "post", "endpoint": "BankTransactions", "responses": [ { "uuid": "900d4fff-4e7b-489c-b146-65c431e58a60", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type BankTransactions array with new BankTransaction", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "eec71f50-2ed0-4c06-b18e-629495fee4ca", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3437c1bc-9136-455b-8171-0c47401aae91", "documentation": "Creates one or more spent or received money transaction", "method": "put", "endpoint": "BankTransactions", "responses": [ { "uuid": "4875e9f6-6ec2-4595-b58a-d2b5a68153d5", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type BankTransactions array with new BankTransaction", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f066ab61-943f-4587-9de6-5d6cd2d6896e", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "176a9690-b85a-4058-90df-04ea3ee2de6b", "documentation": "Retrieves a single spent or received money transaction by using a unique bank transaction Id", "method": "get", "endpoint": "BankTransactions/:BankTransactionID", "responses": [ { "uuid": "17b78524-1618-42f7-835f-529cf51d9428", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type BankTransactions array with a specific BankTransaction", "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": "d5cccfd6-fc61-4bdf-a6e8-de4760a2a39b", "documentation": "Updates a single spent or received money transaction", "method": "post", "endpoint": "BankTransactions/:BankTransactionID", "responses": [ { "uuid": "21905c3b-ff4d-45f8-8a33-0f898b3e396f", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type BankTransactions array with updated BankTransaction", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "45a72b68-58f3-4fd8-aa25-5565f220d385", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bfc7b4b4-a238-4a46-888f-220650557dee", "documentation": "Retrieves any attachments from a specific bank transactions", "method": "get", "endpoint": "BankTransactions/:BankTransactionID/Attachments", "responses": [ { "uuid": "2a495a5f-c38e-4458-9c2f-60b5e0ddcf20", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array with 0 to n Attachment", "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": "26e3e58d-3626-41f1-94d2-67bacc10b3b3", "documentation": "Retrieves specific attachments from a specific BankTransaction using a unique attachment Id", "method": "get", "endpoint": "BankTransactions/:BankTransactionID/Attachments/:AttachmentID", "responses": [ { "uuid": "55ec8007-0f62-4035-86b2-71dc28fc981a", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of attachment for BankTransaction as binary data", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f402d221-9f49-413d-979a-bbabd91e3445", "documentation": "Retrieves a specific attachment from a specific bank transaction by filename", "method": "get", "endpoint": "BankTransactions/:BankTransactionID/Attachments/:FileName", "responses": [ { "uuid": "94073d20-ccd5-4f42-b65d-7033c2baaf50", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of attachment for BankTransaction as binary data", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b4361e85-6a7a-48b2-842d-e6e08a874bde", "documentation": "Updates a specific attachment from a specific bank transaction by filename", "method": "post", "endpoint": "BankTransactions/:BankTransactionID/Attachments/:FileName", "responses": [ { "uuid": "efb5400e-526c-47fd-9287-5b10b6a625f1", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of Attachments array of Attachment", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "00ff9f0b-d8f7-408d-8674-ede63c9bb90e", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9eed2235-70b5-4745-ad5a-3e8501972fb6", "documentation": "Creates an attachment for a specific bank transaction by filename", "method": "put", "endpoint": "BankTransactions/:BankTransactionID/Attachments/:FileName", "responses": [ { "uuid": "792da921-62b2-46e6-9157-7498f428baaf", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of Attachments array of Attachment", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e6a709be-8ddb-4ee8-ae38-7d18d1e3f101", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d6786ed1-39f9-40f5-b9cb-148ba7c91c11", "documentation": "Retrieves history from a specific bank transaction using a unique bank transaction Id", "method": "get", "endpoint": "BankTransactions/:BankTransactionID/History", "responses": [ { "uuid": "3ab4caa6-5223-46b3-a4b0-80c8ee993acd", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of HistoryRecords array of 0 to N HistoryRecord", "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": "d105edd9-dbed-41c4-a156-8d8167ee7a36", "documentation": "Creates a history record for a specific bank transactions", "method": "put", "endpoint": "BankTransactions/:BankTransactionID/History", "responses": [ { "uuid": "8269e57d-dcae-4482-9566-7744d6172003", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type HistoryRecords array of HistoryRecord objects", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5f6f1547-c5a8-41f5-9b9e-dc4715727f21", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "752e9ee5-7a55-4fe3-b174-d0ac08c184da", "documentation": "Retrieves all bank transfers", "method": "get", "endpoint": "BankTransfers", "responses": [ { "uuid": "c1dd643a-7b35-4b79-91aa-8dada10f2193", "body": "{\n \"BankTransfers\": [\n {\n \"Amount\": {{faker 'number.float'}},\n \"BankTransferID\": \"{{faker 'string.uuid'}}\",\n \"CreatedDateUTC\": \"/Date(1573755038314)/\",\n \"CurrencyRate\": {{faker 'number.float'}},\n \"Date\": \"\",\n \"FromBankAccount\": {\n \"AccountID\": \"00000000-0000-0000-0000-000000000000\",\n \"AddToWatchlist\": {{faker 'datatype.boolean'}},\n \"BankAccountNumber\": \"\",\n \"BankAccountType\": \"{{oneOf (array 'BANK' 'CREDITCARD' 'PAYPAL' 'NONE' '')}}\",\n \"Class\": \"{{oneOf (array 'ASSET' 'EQUITY' 'EXPENSE' 'LIABILITY' 'REVENUE')}}\",\n \"Code\": 4400,\n \"CurrencyCode\": \"{{oneOf (array 'AED' 'AFN' 'ALL' 'AMD' 'ANG' 'AOA' 'ARS' 'AUD' 'AWG' 'AZN' 'BAM' 'BBD' 'BDT' 'BGN' 'BHD' 'BIF' 'BMD' 'BND' 'BOB' 'BRL' 'BSD' 'BTN' 'BWP' 'BYN' 'BYR' 'BZD' 'CAD' 'CDF' 'CHF' 'CLP' 'CNY' 'COP' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GGP' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'IMP' 'INR' 'IQD' 'IRR' 'ISK' 'JEP' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRU' 'MUR' 'MVR' 'MWK' 'MXN' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' 'SLL' 'SOS' 'SPL' 'SRD' 'STN' 'SVC' 'SYP' 'SZL' 'THB' 'TJS' 'TMT' 'TND' 'TOP' 'TRY' 'TTD' 'TVD' 'TWD' 'TZS' 'UAH' 'UGX' 'USD' 'UYU' 'UZS' 'VEF' 'VND' 'VUV' 'WST' 'XAF' 'XCD' 'XDR' 'XOF' 'XPF' 'YER' 'ZAR' 'ZMW' 'ZMK' 'ZWD' '')}}\",\n \"Description\": \"\",\n \"EnablePaymentsToAccount\": {{faker 'datatype.boolean'}},\n \"HasAttachments\": \"false\",\n \"Name\": \"Food Sales\",\n \"ReportingCode\": \"\",\n \"ReportingCodeName\": \"\",\n \"ShowInExpenseClaims\": {{faker 'datatype.boolean'}},\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"SystemAccount\": \"{{oneOf (array 'DEBTORS' 'CREDITORS' 'BANKCURRENCYGAIN' 'GST' 'GSTONIMPORTS' 'HISTORICAL' 'REALISEDCURRENCYGAIN' 'RETAINEDEARNINGS' 'ROUNDING' 'TRACKINGTRANSFERS' 'UNPAIDEXPCLM' 'UNREALISEDCURRENCYGAIN' 'WAGEPAYABLES' 'CISASSETS' 'CISASSET' 'CISLABOUR' 'CISLABOUREXPENSE' 'CISLABOURINCOME' 'CISLIABILITY' 'CISMATERIALS' '')}}\",\n \"TaxType\": \"\",\n \"Type\": \"{{oneOf (array 'BANK' 'CURRENT' 'CURRLIAB' 'DEPRECIATN' 'DIRECTCOSTS' 'EQUITY' 'EXPENSE' 'FIXED' 'INVENTORY' 'LIABILITY' 'NONCURRENT' 'OTHERINCOME' 'OVERHEADS' 'PREPAYMENT' 'REVENUE' 'SALES' 'TERMLIAB' 'PAYGLIABILITY' 'PAYG' 'SUPERANNUATIONEXPENSE' 'SUPERANNUATIONLIABILITY' 'WAGESEXPENSE')}}\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n },\n \"FromBankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"HasAttachments\": \"false\",\n \"ToBankAccount\": {\n \"AccountID\": \"00000000-0000-0000-0000-000000000000\",\n \"AddToWatchlist\": {{faker 'datatype.boolean'}},\n \"BankAccountNumber\": \"\",\n \"BankAccountType\": \"{{oneOf (array 'BANK' 'CREDITCARD' 'PAYPAL' 'NONE' '')}}\",\n \"Class\": \"{{oneOf (array 'ASSET' 'EQUITY' 'EXPENSE' 'LIABILITY' 'REVENUE')}}\",\n \"Code\": 4400,\n \"CurrencyCode\": \"{{oneOf (array 'AED' 'AFN' 'ALL' 'AMD' 'ANG' 'AOA' 'ARS' 'AUD' 'AWG' 'AZN' 'BAM' 'BBD' 'BDT' 'BGN' 'BHD' 'BIF' 'BMD' 'BND' 'BOB' 'BRL' 'BSD' 'BTN' 'BWP' 'BYN' 'BYR' 'BZD' 'CAD' 'CDF' 'CHF' 'CLP' 'CNY' 'COP' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GGP' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'IMP' 'INR' 'IQD' 'IRR' 'ISK' 'JEP' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRU' 'MUR' 'MVR' 'MWK' 'MXN' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' 'SLL' 'SOS' 'SPL' 'SRD' 'STN' 'SVC' 'SYP' 'SZL' 'THB' 'TJS' 'TMT' 'TND' 'TOP' 'TRY' 'TTD' 'TVD' 'TWD' 'TZS' 'UAH' 'UGX' 'USD' 'UYU' 'UZS' 'VEF' 'VND' 'VUV' 'WST' 'XAF' 'XCD' 'XDR' 'XOF' 'XPF' 'YER' 'ZAR' 'ZMW' 'ZMK' 'ZWD' '')}}\",\n \"Description\": \"\",\n \"EnablePaymentsToAccount\": {{faker 'datatype.boolean'}},\n \"HasAttachments\": \"false\",\n \"Name\": \"Food Sales\",\n \"ReportingCode\": \"\",\n \"ReportingCodeName\": \"\",\n \"ShowInExpenseClaims\": {{faker 'datatype.boolean'}},\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"SystemAccount\": \"{{oneOf (array 'DEBTORS' 'CREDITORS' 'BANKCURRENCYGAIN' 'GST' 'GSTONIMPORTS' 'HISTORICAL' 'REALISEDCURRENCYGAIN' 'RETAINEDEARNINGS' 'ROUNDING' 'TRACKINGTRANSFERS' 'UNPAIDEXPCLM' 'UNREALISEDCURRENCYGAIN' 'WAGEPAYABLES' 'CISASSETS' 'CISASSET' 'CISLABOUR' 'CISLABOUREXPENSE' 'CISLABOURINCOME' 'CISLIABILITY' 'CISMATERIALS' '')}}\",\n \"TaxType\": \"\",\n \"Type\": \"{{oneOf (array 'BANK' 'CURRENT' 'CURRLIAB' 'DEPRECIATN' 'DIRECTCOSTS' 'EQUITY' 'EXPENSE' 'FIXED' 'INVENTORY' 'LIABILITY' 'NONCURRENT' 'OTHERINCOME' 'OVERHEADS' 'PREPAYMENT' 'REVENUE' 'SALES' 'TERMLIAB' 'PAYGLIABILITY' 'PAYG' 'SUPERANNUATIONEXPENSE' 'SUPERANNUATIONLIABILITY' 'WAGESEXPENSE')}}\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n },\n \"ToBankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of BankTransfers array of 0 to N BankTransfer", "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": "2e6bf261-4664-4fd1-a77c-3f172317d797", "documentation": "Creates a bank transfer", "method": "put", "endpoint": "BankTransfers", "responses": [ { "uuid": "4e13f2b5-9446-4df5-814e-a217e17ac8d7", "body": "{\n \"BankTransfers\": [\n {\n \"Amount\": {{faker 'number.float'}},\n \"BankTransferID\": \"{{faker 'string.uuid'}}\",\n \"CreatedDateUTC\": \"/Date(1573755038314)/\",\n \"CurrencyRate\": {{faker 'number.float'}},\n \"Date\": \"\",\n \"FromBankAccount\": {\n \"AccountID\": \"00000000-0000-0000-0000-000000000000\",\n \"AddToWatchlist\": {{faker 'datatype.boolean'}},\n \"BankAccountNumber\": \"\",\n \"BankAccountType\": \"{{oneOf (array 'BANK' 'CREDITCARD' 'PAYPAL' 'NONE' '')}}\",\n \"Class\": \"{{oneOf (array 'ASSET' 'EQUITY' 'EXPENSE' 'LIABILITY' 'REVENUE')}}\",\n \"Code\": 4400,\n \"CurrencyCode\": \"{{oneOf (array 'AED' 'AFN' 'ALL' 'AMD' 'ANG' 'AOA' 'ARS' 'AUD' 'AWG' 'AZN' 'BAM' 'BBD' 'BDT' 'BGN' 'BHD' 'BIF' 'BMD' 'BND' 'BOB' 'BRL' 'BSD' 'BTN' 'BWP' 'BYN' 'BYR' 'BZD' 'CAD' 'CDF' 'CHF' 'CLP' 'CNY' 'COP' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GGP' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'IMP' 'INR' 'IQD' 'IRR' 'ISK' 'JEP' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRU' 'MUR' 'MVR' 'MWK' 'MXN' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' 'SLL' 'SOS' 'SPL' 'SRD' 'STN' 'SVC' 'SYP' 'SZL' 'THB' 'TJS' 'TMT' 'TND' 'TOP' 'TRY' 'TTD' 'TVD' 'TWD' 'TZS' 'UAH' 'UGX' 'USD' 'UYU' 'UZS' 'VEF' 'VND' 'VUV' 'WST' 'XAF' 'XCD' 'XDR' 'XOF' 'XPF' 'YER' 'ZAR' 'ZMW' 'ZMK' 'ZWD' '')}}\",\n \"Description\": \"\",\n \"EnablePaymentsToAccount\": {{faker 'datatype.boolean'}},\n \"HasAttachments\": \"false\",\n \"Name\": \"Food Sales\",\n \"ReportingCode\": \"\",\n \"ReportingCodeName\": \"\",\n \"ShowInExpenseClaims\": {{faker 'datatype.boolean'}},\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"SystemAccount\": \"{{oneOf (array 'DEBTORS' 'CREDITORS' 'BANKCURRENCYGAIN' 'GST' 'GSTONIMPORTS' 'HISTORICAL' 'REALISEDCURRENCYGAIN' 'RETAINEDEARNINGS' 'ROUNDING' 'TRACKINGTRANSFERS' 'UNPAIDEXPCLM' 'UNREALISEDCURRENCYGAIN' 'WAGEPAYABLES' 'CISASSETS' 'CISASSET' 'CISLABOUR' 'CISLABOUREXPENSE' 'CISLABOURINCOME' 'CISLIABILITY' 'CISMATERIALS' '')}}\",\n \"TaxType\": \"\",\n \"Type\": \"{{oneOf (array 'BANK' 'CURRENT' 'CURRLIAB' 'DEPRECIATN' 'DIRECTCOSTS' 'EQUITY' 'EXPENSE' 'FIXED' 'INVENTORY' 'LIABILITY' 'NONCURRENT' 'OTHERINCOME' 'OVERHEADS' 'PREPAYMENT' 'REVENUE' 'SALES' 'TERMLIAB' 'PAYGLIABILITY' 'PAYG' 'SUPERANNUATIONEXPENSE' 'SUPERANNUATIONLIABILITY' 'WAGESEXPENSE')}}\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n },\n \"FromBankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"HasAttachments\": \"false\",\n \"ToBankAccount\": {\n \"AccountID\": \"00000000-0000-0000-0000-000000000000\",\n \"AddToWatchlist\": {{faker 'datatype.boolean'}},\n \"BankAccountNumber\": \"\",\n \"BankAccountType\": \"{{oneOf (array 'BANK' 'CREDITCARD' 'PAYPAL' 'NONE' '')}}\",\n \"Class\": \"{{oneOf (array 'ASSET' 'EQUITY' 'EXPENSE' 'LIABILITY' 'REVENUE')}}\",\n \"Code\": 4400,\n \"CurrencyCode\": \"{{oneOf (array 'AED' 'AFN' 'ALL' 'AMD' 'ANG' 'AOA' 'ARS' 'AUD' 'AWG' 'AZN' 'BAM' 'BBD' 'BDT' 'BGN' 'BHD' 'BIF' 'BMD' 'BND' 'BOB' 'BRL' 'BSD' 'BTN' 'BWP' 'BYN' 'BYR' 'BZD' 'CAD' 'CDF' 'CHF' 'CLP' 'CNY' 'COP' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GGP' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'IMP' 'INR' 'IQD' 'IRR' 'ISK' 'JEP' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRU' 'MUR' 'MVR' 'MWK' 'MXN' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' 'SLL' 'SOS' 'SPL' 'SRD' 'STN' 'SVC' 'SYP' 'SZL' 'THB' 'TJS' 'TMT' 'TND' 'TOP' 'TRY' 'TTD' 'TVD' 'TWD' 'TZS' 'UAH' 'UGX' 'USD' 'UYU' 'UZS' 'VEF' 'VND' 'VUV' 'WST' 'XAF' 'XCD' 'XDR' 'XOF' 'XPF' 'YER' 'ZAR' 'ZMW' 'ZMK' 'ZWD' '')}}\",\n \"Description\": \"\",\n \"EnablePaymentsToAccount\": {{faker 'datatype.boolean'}},\n \"HasAttachments\": \"false\",\n \"Name\": \"Food Sales\",\n \"ReportingCode\": \"\",\n \"ReportingCodeName\": \"\",\n \"ShowInExpenseClaims\": {{faker 'datatype.boolean'}},\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"SystemAccount\": \"{{oneOf (array 'DEBTORS' 'CREDITORS' 'BANKCURRENCYGAIN' 'GST' 'GSTONIMPORTS' 'HISTORICAL' 'REALISEDCURRENCYGAIN' 'RETAINEDEARNINGS' 'ROUNDING' 'TRACKINGTRANSFERS' 'UNPAIDEXPCLM' 'UNREALISEDCURRENCYGAIN' 'WAGEPAYABLES' 'CISASSETS' 'CISASSET' 'CISLABOUR' 'CISLABOUREXPENSE' 'CISLABOURINCOME' 'CISLIABILITY' 'CISMATERIALS' '')}}\",\n \"TaxType\": \"\",\n \"Type\": \"{{oneOf (array 'BANK' 'CURRENT' 'CURRLIAB' 'DEPRECIATN' 'DIRECTCOSTS' 'EQUITY' 'EXPENSE' 'FIXED' 'INVENTORY' 'LIABILITY' 'NONCURRENT' 'OTHERINCOME' 'OVERHEADS' 'PREPAYMENT' 'REVENUE' 'SALES' 'TERMLIAB' 'PAYGLIABILITY' 'PAYG' 'SUPERANNUATIONEXPENSE' 'SUPERANNUATIONLIABILITY' 'WAGESEXPENSE')}}\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n },\n \"ToBankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of BankTransfers array of one BankTransfer", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "40b49527-78ef-4649-b2d7-9ed8d51bfab1", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d120b5d5-6921-4686-ae57-4e7178c1be19", "documentation": "Retrieves specific bank transfers by using a unique bank transfer Id", "method": "get", "endpoint": "BankTransfers/:BankTransferID", "responses": [ { "uuid": "e6cc578f-3e0e-4650-ae05-c690bb7b2113", "body": "{\n \"BankTransfers\": [\n {\n \"Amount\": {{faker 'number.float'}},\n \"BankTransferID\": \"{{faker 'string.uuid'}}\",\n \"CreatedDateUTC\": \"/Date(1573755038314)/\",\n \"CurrencyRate\": {{faker 'number.float'}},\n \"Date\": \"\",\n \"FromBankAccount\": {\n \"AccountID\": \"00000000-0000-0000-0000-000000000000\",\n \"AddToWatchlist\": {{faker 'datatype.boolean'}},\n \"BankAccountNumber\": \"\",\n \"BankAccountType\": \"{{oneOf (array 'BANK' 'CREDITCARD' 'PAYPAL' 'NONE' '')}}\",\n \"Class\": \"{{oneOf (array 'ASSET' 'EQUITY' 'EXPENSE' 'LIABILITY' 'REVENUE')}}\",\n \"Code\": 4400,\n \"CurrencyCode\": \"{{oneOf (array 'AED' 'AFN' 'ALL' 'AMD' 'ANG' 'AOA' 'ARS' 'AUD' 'AWG' 'AZN' 'BAM' 'BBD' 'BDT' 'BGN' 'BHD' 'BIF' 'BMD' 'BND' 'BOB' 'BRL' 'BSD' 'BTN' 'BWP' 'BYN' 'BYR' 'BZD' 'CAD' 'CDF' 'CHF' 'CLP' 'CNY' 'COP' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GGP' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'IMP' 'INR' 'IQD' 'IRR' 'ISK' 'JEP' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRU' 'MUR' 'MVR' 'MWK' 'MXN' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' 'SLL' 'SOS' 'SPL' 'SRD' 'STN' 'SVC' 'SYP' 'SZL' 'THB' 'TJS' 'TMT' 'TND' 'TOP' 'TRY' 'TTD' 'TVD' 'TWD' 'TZS' 'UAH' 'UGX' 'USD' 'UYU' 'UZS' 'VEF' 'VND' 'VUV' 'WST' 'XAF' 'XCD' 'XDR' 'XOF' 'XPF' 'YER' 'ZAR' 'ZMW' 'ZMK' 'ZWD' '')}}\",\n \"Description\": \"\",\n \"EnablePaymentsToAccount\": {{faker 'datatype.boolean'}},\n \"HasAttachments\": \"false\",\n \"Name\": \"Food Sales\",\n \"ReportingCode\": \"\",\n \"ReportingCodeName\": \"\",\n \"ShowInExpenseClaims\": {{faker 'datatype.boolean'}},\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"SystemAccount\": \"{{oneOf (array 'DEBTORS' 'CREDITORS' 'BANKCURRENCYGAIN' 'GST' 'GSTONIMPORTS' 'HISTORICAL' 'REALISEDCURRENCYGAIN' 'RETAINEDEARNINGS' 'ROUNDING' 'TRACKINGTRANSFERS' 'UNPAIDEXPCLM' 'UNREALISEDCURRENCYGAIN' 'WAGEPAYABLES' 'CISASSETS' 'CISASSET' 'CISLABOUR' 'CISLABOUREXPENSE' 'CISLABOURINCOME' 'CISLIABILITY' 'CISMATERIALS' '')}}\",\n \"TaxType\": \"\",\n \"Type\": \"{{oneOf (array 'BANK' 'CURRENT' 'CURRLIAB' 'DEPRECIATN' 'DIRECTCOSTS' 'EQUITY' 'EXPENSE' 'FIXED' 'INVENTORY' 'LIABILITY' 'NONCURRENT' 'OTHERINCOME' 'OVERHEADS' 'PREPAYMENT' 'REVENUE' 'SALES' 'TERMLIAB' 'PAYGLIABILITY' 'PAYG' 'SUPERANNUATIONEXPENSE' 'SUPERANNUATIONLIABILITY' 'WAGESEXPENSE')}}\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n },\n \"FromBankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"HasAttachments\": \"false\",\n \"ToBankAccount\": {\n \"AccountID\": \"00000000-0000-0000-0000-000000000000\",\n \"AddToWatchlist\": {{faker 'datatype.boolean'}},\n \"BankAccountNumber\": \"\",\n \"BankAccountType\": \"{{oneOf (array 'BANK' 'CREDITCARD' 'PAYPAL' 'NONE' '')}}\",\n \"Class\": \"{{oneOf (array 'ASSET' 'EQUITY' 'EXPENSE' 'LIABILITY' 'REVENUE')}}\",\n \"Code\": 4400,\n \"CurrencyCode\": \"{{oneOf (array 'AED' 'AFN' 'ALL' 'AMD' 'ANG' 'AOA' 'ARS' 'AUD' 'AWG' 'AZN' 'BAM' 'BBD' 'BDT' 'BGN' 'BHD' 'BIF' 'BMD' 'BND' 'BOB' 'BRL' 'BSD' 'BTN' 'BWP' 'BYN' 'BYR' 'BZD' 'CAD' 'CDF' 'CHF' 'CLP' 'CNY' 'COP' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GGP' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'IMP' 'INR' 'IQD' 'IRR' 'ISK' 'JEP' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRU' 'MUR' 'MVR' 'MWK' 'MXN' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' 'SLL' 'SOS' 'SPL' 'SRD' 'STN' 'SVC' 'SYP' 'SZL' 'THB' 'TJS' 'TMT' 'TND' 'TOP' 'TRY' 'TTD' 'TVD' 'TWD' 'TZS' 'UAH' 'UGX' 'USD' 'UYU' 'UZS' 'VEF' 'VND' 'VUV' 'WST' 'XAF' 'XCD' 'XDR' 'XOF' 'XPF' 'YER' 'ZAR' 'ZMW' 'ZMK' 'ZWD' '')}}\",\n \"Description\": \"\",\n \"EnablePaymentsToAccount\": {{faker 'datatype.boolean'}},\n \"HasAttachments\": \"false\",\n \"Name\": \"Food Sales\",\n \"ReportingCode\": \"\",\n \"ReportingCodeName\": \"\",\n \"ShowInExpenseClaims\": {{faker 'datatype.boolean'}},\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"SystemAccount\": \"{{oneOf (array 'DEBTORS' 'CREDITORS' 'BANKCURRENCYGAIN' 'GST' 'GSTONIMPORTS' 'HISTORICAL' 'REALISEDCURRENCYGAIN' 'RETAINEDEARNINGS' 'ROUNDING' 'TRACKINGTRANSFERS' 'UNPAIDEXPCLM' 'UNREALISEDCURRENCYGAIN' 'WAGEPAYABLES' 'CISASSETS' 'CISASSET' 'CISLABOUR' 'CISLABOUREXPENSE' 'CISLABOURINCOME' 'CISLIABILITY' 'CISMATERIALS' '')}}\",\n \"TaxType\": \"\",\n \"Type\": \"{{oneOf (array 'BANK' 'CURRENT' 'CURRLIAB' 'DEPRECIATN' 'DIRECTCOSTS' 'EQUITY' 'EXPENSE' 'FIXED' 'INVENTORY' 'LIABILITY' 'NONCURRENT' 'OTHERINCOME' 'OVERHEADS' 'PREPAYMENT' 'REVENUE' 'SALES' 'TERMLIAB' 'PAYGLIABILITY' 'PAYG' 'SUPERANNUATIONEXPENSE' 'SUPERANNUATIONLIABILITY' 'WAGESEXPENSE')}}\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n },\n \"ToBankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of BankTransfers array with one BankTransfer", "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": "4eb5ddf1-d347-48a1-9987-6bc0379d0b19", "documentation": "Retrieves attachments from a specific bank transfer", "method": "get", "endpoint": "BankTransfers/:BankTransferID/Attachments", "responses": [ { "uuid": "95234b6c-f724-40b4-b27a-7efe629d99af", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of Attachments array of 0 to N Attachment for a Bank Transfer", "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": "f263c28e-8372-4c38-8baa-46fc0bf73684", "documentation": "Retrieves a specific attachment from a specific bank transfer using a unique attachment ID", "method": "get", "endpoint": "BankTransfers/:BankTransferID/Attachments/:AttachmentID", "responses": [ { "uuid": "0b00ad7f-402b-4231-8a56-4b17b24e5415", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of binary data from the Attachment to a Bank Transfer", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0948df47-b6ce-4152-9c88-ebab593d37d5", "documentation": "Retrieves a specific attachment on a specific bank transfer by file name", "method": "get", "endpoint": "BankTransfers/:BankTransferID/Attachments/:FileName", "responses": [ { "uuid": "bb94289e-d506-49ff-ad4d-3977f1a6500b", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of binary data from the Attachment to a Bank Transfer", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a3bfca34-2852-4b02-9d8b-a17b88ab5ec2", "documentation": "", "method": "post", "endpoint": "BankTransfers/:BankTransferID/Attachments/:FileName", "responses": [ { "uuid": "08a356c7-34a7-4aa1-8fa9-8a79c3a0d842", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of Attachments array of 0 to N Attachment for a Bank Transfer", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7ce534d6-e5a1-4006-8958-46f7a059b165", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2a8e70a1-c40b-46e9-9fad-c2eef8ae0998", "documentation": "", "method": "put", "endpoint": "BankTransfers/:BankTransferID/Attachments/:FileName", "responses": [ { "uuid": "b5078c31-c0b7-46b7-8f2c-5e9b66ff5820", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of Attachments array of 0 to N Attachment for a Bank Transfer", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "75b4a413-bbc5-4f51-837d-7528ab1d74d9", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "28386901-a777-40c2-8c44-b8c96f5e9404", "documentation": "Retrieves history from a specific bank transfer using a unique bank transfer Id", "method": "get", "endpoint": "BankTransfers/:BankTransferID/History", "responses": [ { "uuid": "d4da079c-9c8e-4fa2-aa3f-8cc59cb6839d", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of HistoryRecords array of 0 to N HistoryRecord", "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": "794f7305-2f99-4671-9d0f-4a3dce4ebf2e", "documentation": "Creates a history record for a specific bank transfer", "method": "put", "endpoint": "BankTransfers/:BankTransferID/History", "responses": [ { "uuid": "969b7279-e145-40d8-a95a-36bb1db218c2", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type HistoryRecords array of HistoryRecord objects", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "39c76d8b-e86d-4c5c-88bc-a158d5a911ad", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bcc120f1-c451-4225-ba21-77fb9ed551ae", "documentation": "Retrieves either one or many batch payments for invoices", "method": "get", "endpoint": "BatchPayments", "responses": [ { "uuid": "85cca08f-482b-46d3-b8fd-8d9b376d1a23", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type BatchPayments array of BatchPayment objects", "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": "b0f8be7c-79f2-48a9-8fb3-432a65094e39", "documentation": "Creates one or many batch payments for invoices", "method": "put", "endpoint": "BatchPayments", "responses": [ { "uuid": "c56a4d90-9ada-40d7-93a1-7aeb2fba7ef8", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type BatchPayments array of BatchPayment objects", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1eaab969-b19f-4021-a19b-7a0ca9a7d19b", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2c72d275-2e4c-4f78-be02-b50635dd8667", "documentation": "Retrieves history from a specific batch payment", "method": "get", "endpoint": "BatchPayments/:BatchPaymentID/History", "responses": [ { "uuid": "24d96dae-0504-4632-a57c-eea4401ca199", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of HistoryRecords array of 0 to N HistoryRecord", "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": "49910c3e-1869-4249-8271-685e69bbadd6", "documentation": "Creates a history record for a specific batch payment", "method": "put", "endpoint": "BatchPayments/:BatchPaymentID/History", "responses": [ { "uuid": "ab72eceb-e38f-44d5-be3f-b7c917d9150a", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type HistoryRecords array of HistoryRecord objects", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a38bf2ba-619b-4230-87e2-9e354c93166d", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "97e37d66-d21d-48f6-9a1d-9059c6eb1d52", "documentation": "Retrieves all the branding themes", "method": "get", "endpoint": "BrandingThemes", "responses": [ { "uuid": "4fca5080-3057-4864-9541-f22d1365b768", "body": "{\n \"BrandingThemes\": [\n {\n \"BrandingThemeID\": \"{{faker 'string.uuid'}}\",\n \"CreatedDateUTC\": \"/Date(1573755038314)/\",\n \"LogoUrl\": \"\",\n \"Name\": \"\",\n \"SortOrder\": {{faker 'number.int' max=99999}},\n \"Type\": \"{{oneOf (array 'INVOICE')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type BrandingThemes", "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": "a707c858-d9d9-4862-bffe-63d219c5c8da", "documentation": "Retrieves a specific branding theme using a unique branding theme Id", "method": "get", "endpoint": "BrandingThemes/:BrandingThemeID", "responses": [ { "uuid": "dbec010a-9c7a-4d19-bb48-0592e33a283e", "body": "{\n \"BrandingThemes\": [\n {\n \"BrandingThemeID\": \"{{faker 'string.uuid'}}\",\n \"CreatedDateUTC\": \"/Date(1573755038314)/\",\n \"LogoUrl\": \"\",\n \"Name\": \"\",\n \"SortOrder\": {{faker 'number.int' max=99999}},\n \"Type\": \"{{oneOf (array 'INVOICE')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type BrandingThemes with one BrandingTheme", "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": "7e9c336f-9821-4198-a989-8395b3c52606", "documentation": "Retrieves the payment services for a specific branding theme", "method": "get", "endpoint": "BrandingThemes/:BrandingThemeID/PaymentServices", "responses": [ { "uuid": "9a3c2107-ea4f-461c-b31d-888774a6ddc0", "body": "{\n \"PaymentServices\": [\n {\n \"PayNowText\": \"\",\n \"PaymentServiceID\": \"{{faker 'string.uuid'}}\",\n \"PaymentServiceName\": \"\",\n \"PaymentServiceType\": \"\",\n \"PaymentServiceUrl\": \"\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type PaymentServices array with 0 to N PaymentService", "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": "6adb77ca-c835-4548-9c99-28c60a3e6427", "documentation": "Creates a new custom payment service for a specific branding theme", "method": "post", "endpoint": "BrandingThemes/:BrandingThemeID/PaymentServices", "responses": [ { "uuid": "0638d1cd-08ad-4db8-83b3-145696830e62", "body": "{\n \"PaymentServices\": [\n {\n \"PayNowText\": \"\",\n \"PaymentServiceID\": \"{{faker 'string.uuid'}}\",\n \"PaymentServiceName\": \"\",\n \"PaymentServiceType\": \"\",\n \"PaymentServiceUrl\": \"\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type PaymentServices array with newly created PaymentService", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "608a26f2-f28e-4375-86db-96f924052061", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b07dacf3-cca6-4a34-8e27-518da89b3d3b", "documentation": "Retrieves the contact Id and name of all the contacts in a contact group", "method": "get", "endpoint": "ContactGroups", "responses": [ { "uuid": "fee88191-e1f5-4998-a92e-4b1dbed830e2", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Contact Groups array of Contact Group", "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": "ffbc4614-d7ff-4908-8436-eb654c2fdbf2", "documentation": "Creates a contact group", "method": "put", "endpoint": "ContactGroups", "responses": [ { "uuid": "9dac2051-25ac-44a9-9b0f-8e22b9e364ed", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Contact Groups array of newly created Contact Group", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "def7e679-901a-43c0-a02c-5744b0aa1322", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "Validation Error - some data was incorrect returns response of type Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "74e7e216-0af3-4ab7-a096-5e25ef58212f", "documentation": "Retrieves a specific contact group by using a unique contact group Id", "method": "get", "endpoint": "ContactGroups/:ContactGroupID", "responses": [ { "uuid": "8a92cb7b-9527-4708-ad5a-b7d96352a862", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Contact Groups array with a specific Contact Group", "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": "0ba7ec3e-722a-45ba-b03e-836dab133989", "documentation": "Updates a specific contact group", "method": "post", "endpoint": "ContactGroups/:ContactGroupID", "responses": [ { "uuid": "38395c35-570e-4d6c-9089-e3e3f443875c", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Contact Groups array of updated Contact Group", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "00de42ca-daeb-4bc8-8c22-3b74a298429f", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "651b34a5-c7f6-44f3-a7ee-d8a9ac595784", "documentation": "Deletes all contacts from a specific contact group", "method": "delete", "endpoint": "ContactGroups/:ContactGroupID/Contacts", "responses": [ { "uuid": "2fad7da6-1609-43f2-b318-222ff2853d0f", "body": "", "latency": 0, "statusCode": 204, "label": "Success - return response 204 no content", "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": "841a6de2-6a28-46d3-bc43-558926d3f688", "documentation": "Creates contacts to a specific contact group", "method": "put", "endpoint": "ContactGroups/:ContactGroupID/Contacts", "responses": [ { "uuid": "e898d8f2-64a9-4be0-862b-2d29ad74378e", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Contacts array of added Contacts", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c1c3ce1d-5d48-4ce3-93d3-702d437f0770", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b3349e1e-5bc3-471d-9af1-5004f8063e77", "documentation": "Deletes a specific contact from a contact group using a unique contact Id", "method": "delete", "endpoint": "ContactGroups/:ContactGroupID/Contacts/:ContactID", "responses": [ { "uuid": "6e26fd5c-2573-4b04-bf1f-87f7ae4f1d13", "body": "", "latency": 0, "statusCode": 204, "label": "Success - return response 204 no content", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1c6c2241-4c5d-4fad-aae5-4fec48eea0da", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "de2c8534-3140-4fab-8d6e-1cf7ecc58e46", "documentation": "Retrieves all contacts in a Xero organisation", "method": "get", "endpoint": "Contacts", "responses": [ { "uuid": "f0e2fb4c-567c-4e3b-8ab9-5589203fd002", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Contacts array with 0 to N Contact", "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": "a792f8c6-bbc3-4280-bbde-14b742b9dd3d", "documentation": "Updates or creates one or more contacts in a Xero organisation", "method": "post", "endpoint": "Contacts", "responses": [ { "uuid": "3bfdf484-3a18-421b-9a2c-3dc2633a0288", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Contacts array with newly created Contact", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1d4772e8-2659-4c34-84d7-ee45a6eccfbb", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "Validation Error - some data was incorrect returns response of type Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5dad22b3-4755-49c8-8a8c-85170dc12ea7", "documentation": "Creates multiple contacts (bulk) in a Xero organisation", "method": "put", "endpoint": "Contacts", "responses": [ { "uuid": "58c995a5-3f7b-4b2b-9aba-ac41fbab5f43", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Contacts array with newly created Contact", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d447cb70-2750-4fc4-be12-e9671bc6ace8", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "Validation Error - some data was incorrect returns response of type Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c11abfde-14c9-41c7-8705-829dadf0d3c5", "documentation": "Retrieves a specific contacts in a Xero organisation using a unique contact Id", "method": "get", "endpoint": "Contacts/:ContactID", "responses": [ { "uuid": "a8e5fc6c-da8c-42a0-ac1c-2a923c03f805", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Contacts array with a unique Contact", "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": "6a4e371c-d0e7-476d-a744-e869fcc9d8d5", "documentation": "Updates a specific contact in a Xero organisation", "method": "post", "endpoint": "Contacts/:ContactID", "responses": [ { "uuid": "4769f964-b16a-49aa-b363-21a9a0169166", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Contacts array with an updated Contact", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4216f993-da4f-47a0-b322-8dd4d2553197", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c2cdb6be-5e12-4990-a70d-0585f58a7d34", "documentation": "Retrieves attachments for a specific contact in a Xero organisation", "method": "get", "endpoint": "Contacts/:ContactID/Attachments", "responses": [ { "uuid": "15584d2d-6d94-4127-ad40-164cbbdb181b", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array with 0 to N Attachment", "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": "e5bcd111-93b3-4c6e-b00e-7726de75b86f", "documentation": "Retrieves a specific attachment from a specific contact using a unique attachment Id", "method": "get", "endpoint": "Contacts/:ContactID/Attachments/:AttachmentID", "responses": [ { "uuid": "0f84dd28-045a-4a7f-a5a1-f07c780fa125", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of attachment for Contact as binary data", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f1a8d1c0-3d9a-4bab-91e5-9d2f55944526", "documentation": "Retrieves a specific attachment from a specific contact by file name", "method": "get", "endpoint": "Contacts/:ContactID/Attachments/:FileName", "responses": [ { "uuid": "f6f781c0-74f5-4a2e-b4fe-1f36dba067b3", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of attachment for Contact as binary data", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7ce6855d-14b8-4d66-ba9b-181a9cb937a7", "documentation": "", "method": "post", "endpoint": "Contacts/:ContactID/Attachments/:FileName", "responses": [ { "uuid": "a9e49193-3e78-4d28-8a5f-47d3b5185a34", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array with an updated Attachment", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "77669f5e-51aa-4352-8965-c233f908b494", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c3bc4916-cce6-44de-a71c-5d195c9f0bc6", "documentation": "", "method": "put", "endpoint": "Contacts/:ContactID/Attachments/:FileName", "responses": [ { "uuid": "d8937e55-90b1-4591-9631-186ae07ea3ae", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array with an newly created Attachment", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "be6c24ab-0986-4468-912b-ecf90895881e", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5367ba9b-0c86-412a-8752-6fad40f20738", "documentation": "Retrieves CIS settings for a specific contact in a Xero organisation", "method": "get", "endpoint": "Contacts/:ContactID/CISSettings", "responses": [ { "uuid": "20cd25cc-43b1-4daf-af7b-523fa16fe1c6", "body": "{\n \"CISSettings\": [\n {\n \"CISEnabled\": {{faker 'datatype.boolean'}},\n \"Rate\": {{faker 'number.float'}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type CISSettings for a specific Contact", "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": "b84ded69-8c21-4b9c-b8a9-17b8ef8fa4c1", "documentation": "Retrieves history records for a specific contact", "method": "get", "endpoint": "Contacts/:ContactID/History", "responses": [ { "uuid": "c6051bf9-d9db-4ea1-924b-955c64db472a", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of HistoryRecords array of 0 to N HistoryRecord", "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": "a21ff497-9d3d-4cf5-8576-7e28dc6fabb8", "documentation": "Creates a new history record for a specific contact", "method": "put", "endpoint": "Contacts/:ContactID/History", "responses": [ { "uuid": "f47ce529-1da9-423d-a4aa-7d1f11740bf9", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type HistoryRecords array of HistoryRecord objects", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1a7b63ae-2950-496e-ad03-2e99b0655a52", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8dfc010e-d928-4a4b-acd8-7488fe33a826", "documentation": "Retrieves a specific contact by contact number in a Xero organisation", "method": "get", "endpoint": "Contacts/:ContactNumber", "responses": [ { "uuid": "d2352eb1-9b24-4b27-a584-b5ce6c489542", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Contacts array with a unique Contact", "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": "9516ea50-90dd-410a-b019-78beb3686071", "documentation": "Retrieves any credit notes", "method": "get", "endpoint": "CreditNotes", "responses": [ { "uuid": "af075857-31d0-45b1-938d-c52febdd8e72", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Credit Notes array of CreditNote", "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": "332a6239-52c6-4488-9168-b90cbe5e9660", "documentation": "Updates or creates one or more credit notes", "method": "post", "endpoint": "CreditNotes", "responses": [ { "uuid": "63e52aa5-17a1-4107-80d2-42ec25c27b08", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Credit Notes array of newly created CreditNote", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "eec51384-2e21-4a09-9493-bf0f2e9752b5", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "320b7688-0295-4d24-b89d-8bb7594e5efd", "documentation": "Creates a new credit note", "method": "put", "endpoint": "CreditNotes", "responses": [ { "uuid": "46691072-13b7-41a9-8054-53d6f277b7d1", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Credit Notes array of newly created CreditNote", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d3488b7c-7307-41bd-9fe7-43dba1673822", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "be36659c-8357-4e93-958a-135670fbdd7c", "documentation": "Retrieves a specific credit note using a unique credit note Id", "method": "get", "endpoint": "CreditNotes/:CreditNoteID", "responses": [ { "uuid": "e5346891-2f90-4f8b-beea-4b248704369b", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Credit Notes array with a unique CreditNote", "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": "f9686dfd-f084-4029-b05e-1f27213b2cf3", "documentation": "Updates a specific credit note", "method": "post", "endpoint": "CreditNotes/:CreditNoteID", "responses": [ { "uuid": "c1719591-b6d0-40be-abd1-c45587825bcd", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Credit Notes array with updated CreditNote", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f6dbbd5c-fa4f-464a-8495-65001c200047", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f824c161-19f6-43d9-b99b-893b72f7133e", "documentation": "Creates allocation for a specific credit note", "method": "put", "endpoint": "CreditNotes/:CreditNoteID/Allocations", "responses": [ { "uuid": "588ee5e6-3c31-43fc-b2e7-204641e13acc", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Allocations array with newly created Allocation for specific Credit Note", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "098da7f8-ba8e-458c-8fd7-a3224215745b", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dac242d0-f1bd-4863-9328-4e48ca00d312", "documentation": "Retrieves attachments for a specific credit notes", "method": "get", "endpoint": "CreditNotes/:CreditNoteID/Attachments", "responses": [ { "uuid": "488a771d-a275-46c2-b8de-b4bb843f0594", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array with all Attachment for specific Credit Note", "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": "2a340e8b-c0d5-4343-bffb-ef69c919e1e7", "documentation": "Retrieves a specific attachment from a specific credit note using a unique attachment Id", "method": "get", "endpoint": "CreditNotes/:CreditNoteID/Attachments/:AttachmentID", "responses": [ { "uuid": "87be7fdf-2748-4706-8163-00f53344d9c3", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of attachment for Credit Note as binary data", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a2925778-a20a-45a5-8b18-e6ec99481a24", "documentation": "Retrieves a specific attachment on a specific credit note by file name", "method": "get", "endpoint": "CreditNotes/:CreditNoteID/Attachments/:FileName", "responses": [ { "uuid": "7c1219d6-79c4-4d9c-8ccc-e9b405e57bb3", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of attachment for Credit Note as binary data", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "855c2ae8-2b7a-43e2-b991-bc7ea13e348c", "documentation": "Updates attachments on a specific credit note by file name", "method": "post", "endpoint": "CreditNotes/:CreditNoteID/Attachments/:FileName", "responses": [ { "uuid": "56355141-8924-4025-af0f-c744df945173", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array with updated Attachment for specific Credit Note", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a68ef480-7f5c-4d1a-be4b-fcd053639e2f", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "84362d9d-24ec-4d2c-9c0e-41e156c3da06", "documentation": "Creates an attachment for a specific credit note", "method": "put", "endpoint": "CreditNotes/:CreditNoteID/Attachments/:FileName", "responses": [ { "uuid": "2f580e78-1c95-4ffa-b7ab-a5e4d6b08e30", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array with newly created Attachment for specific Credit Note", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "3bb50dc1-21b2-44c9-9099-bea5cd5c51e1", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "16ada2b1-5037-404d-a7fe-7aedf0307d72", "documentation": "Retrieves history records of a specific credit note", "method": "get", "endpoint": "CreditNotes/:CreditNoteID/History", "responses": [ { "uuid": "3b4e1625-bf7a-4ac3-9ec9-d39673b5fe8a", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of HistoryRecords array of 0 to N HistoryRecord", "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": "f1ce4eae-43cf-47b1-bc35-8c3410bff4e9", "documentation": "Retrieves history records of a specific credit note", "method": "put", "endpoint": "CreditNotes/:CreditNoteID/History", "responses": [ { "uuid": "98f8e867-67e6-458c-b25c-c858be6c7c07", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type HistoryRecords array of HistoryRecord objects", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d2a874ac-b9c6-4697-923a-303d30f72c09", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f54e44ce-1c16-4b01-b8c8-e5e6677ce240", "documentation": "Retrieves credit notes as PDF files", "method": "get", "endpoint": "CreditNotes/:CreditNoteID/pdf", "responses": [ { "uuid": "a01a547a-5856-4d19-8da9-dafdad36f352", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of binary data from the Attachment to a Credit Note", "headers": [{ "key": "Content-Type", "value": "application/pdf" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2e963ef0-6ec2-4415-a5ba-de16b01032fc", "documentation": "Retrieves currencies for your Xero organisation", "method": "get", "endpoint": "Currencies", "responses": [ { "uuid": "4089f922-d37f-45ff-84bf-406c9b7a61ef", "body": "{\n \"Currencies\": [\n {\n \"Code\": \"{{oneOf (array 'AED' 'AFN' 'ALL' 'AMD' 'ANG' 'AOA' 'ARS' 'AUD' 'AWG' 'AZN' 'BAM' 'BBD' 'BDT' 'BGN' 'BHD' 'BIF' 'BMD' 'BND' 'BOB' 'BRL' 'BSD' 'BTN' 'BWP' 'BYN' 'BYR' 'BZD' 'CAD' 'CDF' 'CHF' 'CLP' 'CNY' 'COP' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GGP' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'IMP' 'INR' 'IQD' 'IRR' 'ISK' 'JEP' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRU' 'MUR' 'MVR' 'MWK' 'MXN' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' 'SLL' 'SOS' 'SPL' 'SRD' 'STN' 'SVC' 'SYP' 'SZL' 'THB' 'TJS' 'TMT' 'TND' 'TOP' 'TRY' 'TTD' 'TVD' 'TWD' 'TZS' 'UAH' 'UGX' 'USD' 'UYU' 'UZS' 'VEF' 'VND' 'VUV' 'WST' 'XAF' 'XCD' 'XDR' 'XOF' 'XPF' 'YER' 'ZAR' 'ZMW' 'ZMK' 'ZWD' '')}}\",\n \"Description\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Currencies array with all Currencies", "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": "22079e0b-a5d8-4562-950e-e2848dd3197a", "documentation": "Create a new currency for a Xero organisation", "method": "put", "endpoint": "Currencies", "responses": [ { "uuid": "9d68f8f6-4531-492a-b0dd-02788bccffa8", "body": "{\n \"Currencies\": [\n {\n \"Code\": \"{{oneOf (array 'AED' 'AFN' 'ALL' 'AMD' 'ANG' 'AOA' 'ARS' 'AUD' 'AWG' 'AZN' 'BAM' 'BBD' 'BDT' 'BGN' 'BHD' 'BIF' 'BMD' 'BND' 'BOB' 'BRL' 'BSD' 'BTN' 'BWP' 'BYN' 'BYR' 'BZD' 'CAD' 'CDF' 'CHF' 'CLP' 'CNY' 'COP' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GGP' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'IMP' 'INR' 'IQD' 'IRR' 'ISK' 'JEP' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRU' 'MUR' 'MVR' 'MWK' 'MXN' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' 'SLL' 'SOS' 'SPL' 'SRD' 'STN' 'SVC' 'SYP' 'SZL' 'THB' 'TJS' 'TMT' 'TND' 'TOP' 'TRY' 'TTD' 'TVD' 'TWD' 'TZS' 'UAH' 'UGX' 'USD' 'UYU' 'UZS' 'VEF' 'VND' 'VUV' 'WST' 'XAF' 'XCD' 'XDR' 'XOF' 'XPF' 'YER' 'ZAR' 'ZMW' 'ZMK' 'ZWD' '')}}\",\n \"Description\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Unsupported - return response incorrect exception, API is not able to create new Currency", "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": "5ddd11cb-d19d-4a9c-a1fd-3cead67e119d", "documentation": "Retrieves employees used in Xero payrun", "method": "get", "endpoint": "Employees", "responses": [ { "uuid": "c7b3b4b2-2fc9-4d38-b9e2-85a4272c2358", "body": "{\n \"Employees\": [\n {\n \"EmployeeID\": \"{{faker 'string.uuid'}}\",\n \"ExternalLink\": {\n \"Description\": \"\",\n \"LinkType\": \"{{oneOf (array 'Facebook' 'GooglePlus' 'LinkedIn' 'Twitter' 'Website')}}\",\n \"Url\": \"\"\n },\n \"FirstName\": \"\",\n \"LastName\": \"\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'GDPRREQUEST' 'DELETED')}}\",\n \"StatusAttributeString\": \"ERROR\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Employees array with all Employee", "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": "a814f3f4-67ee-4252-9cc6-c0c77f8a38a0", "documentation": "Creates a single new employees used in Xero payrun", "method": "post", "endpoint": "Employees", "responses": [ { "uuid": "129a7ddc-58c6-4902-80d9-9bb79d82d0c9", "body": "{\n \"Employees\": [\n {\n \"EmployeeID\": \"{{faker 'string.uuid'}}\",\n \"ExternalLink\": {\n \"Description\": \"\",\n \"LinkType\": \"{{oneOf (array 'Facebook' 'GooglePlus' 'LinkedIn' 'Twitter' 'Website')}}\",\n \"Url\": \"\"\n },\n \"FirstName\": \"\",\n \"LastName\": \"\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'GDPRREQUEST' 'DELETED')}}\",\n \"StatusAttributeString\": \"ERROR\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Employees array with new Employee", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f41f9d58-6379-4855-b721-f7a124469c84", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "11710cc1-f3c6-4055-8ba5-663d20bbb6ad", "documentation": "Creates new employees used in Xero payrun", "method": "put", "endpoint": "Employees", "responses": [ { "uuid": "c1e0c50a-a0e0-4f1e-bfe7-3bdcb4851eb0", "body": "{\n \"Employees\": [\n {\n \"EmployeeID\": \"{{faker 'string.uuid'}}\",\n \"ExternalLink\": {\n \"Description\": \"\",\n \"LinkType\": \"{{oneOf (array 'Facebook' 'GooglePlus' 'LinkedIn' 'Twitter' 'Website')}}\",\n \"Url\": \"\"\n },\n \"FirstName\": \"\",\n \"LastName\": \"\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'GDPRREQUEST' 'DELETED')}}\",\n \"StatusAttributeString\": \"ERROR\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Employees array with new Employee", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5e286bba-2d0f-438f-8517-54e313e0ae8b", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c35b65ed-cf08-4cba-a7c7-050160b661b4", "documentation": "Retrieves a specific employee used in Xero payrun using a unique employee Id", "method": "get", "endpoint": "Employees/:EmployeeID", "responses": [ { "uuid": "7958eeb9-ff73-4467-8e13-0ed9b7c969b2", "body": "{\n \"Employees\": [\n {\n \"EmployeeID\": \"{{faker 'string.uuid'}}\",\n \"ExternalLink\": {\n \"Description\": \"\",\n \"LinkType\": \"{{oneOf (array 'Facebook' 'GooglePlus' 'LinkedIn' 'Twitter' 'Website')}}\",\n \"Url\": \"\"\n },\n \"FirstName\": \"\",\n \"LastName\": \"\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'GDPRREQUEST' 'DELETED')}}\",\n \"StatusAttributeString\": \"ERROR\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Employees array with specified Employee", "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": "d2d412c4-3169-4f3d-bb16-418be8a8f35e", "documentation": "Retrieves expense claims", "method": "get", "endpoint": "ExpenseClaims", "responses": [ { "uuid": "7f51043c-3c59-4841-ba2b-b2dc33173774", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type ExpenseClaims array with all ExpenseClaims", "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": "bf55b198-a6d9-4e70-bbea-8fb2bc9f714a", "documentation": "Creates expense claims", "method": "put", "endpoint": "ExpenseClaims", "responses": [ { "uuid": "73b29f38-aa9d-4801-bad9-e7c41bc615c9", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type ExpenseClaims array with newly created ExpenseClaim", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4b006ecb-166e-499f-a862-6e079f1f75cd", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "10914fa8-ebd0-4d0b-a579-87131b45ad05", "documentation": "Retrieves a specific expense claim using a unique expense claim Id", "method": "get", "endpoint": "ExpenseClaims/:ExpenseClaimID", "responses": [ { "uuid": "c7fa79b2-29a0-4fc4-b522-25a29374d673", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type ExpenseClaims array with specified ExpenseClaim", "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": "c5091602-39a5-400f-a58d-acc74be95cb1", "documentation": "Updates a specific expense claims", "method": "post", "endpoint": "ExpenseClaims/:ExpenseClaimID", "responses": [ { "uuid": "f039e582-8c8e-4fa4-9b06-2686bcf1e61f", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type ExpenseClaims array with updated ExpenseClaim", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "31e826d8-e5a0-4caf-99ec-e27c65f75c01", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "362110b3-7084-418f-ba53-88e2cfdaa0f4", "documentation": "Retrieves history records of a specific expense claim", "method": "get", "endpoint": "ExpenseClaims/:ExpenseClaimID/History", "responses": [ { "uuid": "c8f733a6-571d-42ff-9fe3-d2fa35d4947b", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of HistoryRecords array of 0 to N HistoryRecord", "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": "baba7f7d-82dd-4d2a-b039-118420e050ed", "documentation": "Creates a history record for a specific expense claim", "method": "put", "endpoint": "ExpenseClaims/:ExpenseClaimID/History", "responses": [ { "uuid": "ed475f2f-4f86-4da3-b063-0ce3d62c3dc3", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type HistoryRecords array of HistoryRecord objects", "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": "3fa36f8f-68a9-425f-826d-6b091669994a", "documentation": "Retrieves invoice reminder settings", "method": "get", "endpoint": "InvoiceReminders/Settings", "responses": [ { "uuid": "7c610eb7-3fe7-4d1a-a8d9-e7582cbb0703", "body": "{\n \"InvoiceReminders\": [\n {\n \"Enabled\": {{faker 'datatype.boolean'}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of Invoice Reminders", "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": "8136dde0-da28-470a-aff7-9dec7d712bd4", "documentation": "Retrieves sales invoices or purchase bills", "method": "get", "endpoint": "Invoices", "responses": [ { "uuid": "09eee5e9-9cd9-4b0e-a33d-7e7dd0da8a16", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Invoices array with all Invoices", "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": "d4110178-1111-455b-b46a-cd84e9b82d03", "documentation": "Updates or creates one or more sales invoices or purchase bills", "method": "post", "endpoint": "Invoices", "responses": [ { "uuid": "3dac3120-830b-4a62-a8b8-578e47b7c6ce", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Invoices array with newly created Invoice", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f335a150-81bb-4ac4-9f40-ce9e1ff5386f", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a1f646fc-437f-463e-bde9-3000961e15d3", "documentation": "Creates one or more sales invoices or purchase bills", "method": "put", "endpoint": "Invoices", "responses": [ { "uuid": "803a8f6e-706d-4539-93e9-27144eee455d", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Invoices array with newly created Invoice", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ec2aec8a-c86f-4969-b1e0-d058913397d4", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d64f8b15-2b95-44ee-9863-ceb099858c2d", "documentation": "Retrieves a specific sales invoice or purchase bill using a unique invoice Id", "method": "get", "endpoint": "Invoices/:InvoiceID", "responses": [ { "uuid": "e88e5f31-a9c1-411a-a9be-83bc5b36fdbf", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Invoices array with specified Invoices", "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": "33104ad3-405c-46fe-9074-41cca563939a", "documentation": "Updates a specific sales invoices or purchase bills", "method": "post", "endpoint": "Invoices/:InvoiceID", "responses": [ { "uuid": "304b47ff-4d4f-48a1-8aa3-1432a1022653", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Invoices array with updated Invoice", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d1da623b-cf9f-44a2-83fe-f1cde5da0d6f", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "baf69493-b1a5-4c4a-b01a-7eddc6a4d2d7", "documentation": "Retrieves attachments for a specific invoice or purchase bill", "method": "get", "endpoint": "Invoices/:InvoiceID/Attachments", "responses": [ { "uuid": "ad162796-b8f0-4602-b9c8-8ba26552c46f", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array of Attachments for specified Invoices", "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": "72675729-9757-4427-bce8-fb814fd90fc9", "documentation": "Retrieves a specific attachment from a specific invoices or purchase bills by using a unique attachment Id", "method": "get", "endpoint": "Invoices/:InvoiceID/Attachments/:AttachmentID", "responses": [ { "uuid": "54d0ee63-5d86-4a45-b776-393f2600f3c9", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of attachment for Invoice as binary data", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "98a9e530-94f1-4fa8-b468-6b73c61257ae", "documentation": "Retrieves an attachment from a specific invoice or purchase bill by filename", "method": "get", "endpoint": "Invoices/:InvoiceID/Attachments/:FileName", "responses": [ { "uuid": "e1aa2bc4-3a03-4629-9b20-63bf13407756", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of attachment for Invoice as binary data", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "aedd9d50-6d72-4186-a792-6864756e6ec3", "documentation": "Updates an attachment from a specific invoices or purchase bill by filename", "method": "post", "endpoint": "Invoices/:InvoiceID/Attachments/:FileName", "responses": [ { "uuid": "daf73506-6988-4439-a84e-99e4c8e54eba", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array with updated Attachment", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a3c1ea56-d262-4aaf-a870-a725dc62bd9d", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "aba866f6-a904-445a-b3a0-8c00e03dd5f3", "documentation": "Creates an attachment for a specific invoice or purchase bill by filename", "method": "put", "endpoint": "Invoices/:InvoiceID/Attachments/:FileName", "responses": [ { "uuid": "5f876f8a-c388-4e77-adb1-60e84a63a6f2", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array with newly created Attachment", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d3c72c8c-d2de-4d3e-90a2-657fcfa452be", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0a9d3aea-c229-44df-8ac2-9780079656ec", "documentation": "Sends a copy of a specific invoice to related contact via email", "method": "post", "endpoint": "Invoices/:InvoiceID/Email", "responses": [ { "uuid": "a729e4a5-378d-48d0-987b-14f07518e275", "body": "", "latency": 0, "statusCode": 204, "label": "Success - return response 204 no content", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "287d0a8a-1dd0-4f11-b3eb-14ccf5048fcd", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9e76697b-78b9-449a-8ec6-071d30a47a2c", "documentation": "Retrieves history records for a specific invoice", "method": "get", "endpoint": "Invoices/:InvoiceID/History", "responses": [ { "uuid": "2f04b34e-59ce-4269-8999-c4c9410fc343", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of HistoryRecords array of 0 to N HistoryRecord", "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": "b48b9141-0ba0-4cb8-a52d-16666fb19d3d", "documentation": "Creates a history record for a specific invoice", "method": "put", "endpoint": "Invoices/:InvoiceID/History", "responses": [ { "uuid": "bb504d20-3ff6-4af3-937d-e4c9c5660379", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type HistoryRecords array of HistoryRecord objects", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "2cdb9aef-59c2-4a14-b4e8-236721bda2f4", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c094570a-865a-4f9f-b661-1cba9dfa28ed", "documentation": "Retrieves a URL to an online invoice", "method": "get", "endpoint": "Invoices/:InvoiceID/OnlineInvoice", "responses": [ { "uuid": "f0bef71d-2eb3-4a7c-9043-035b74cadfa8", "body": "{\n \"OnlineInvoices\": [\n {\n \"OnlineInvoiceUrl\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type OnlineInvoice array with one OnlineInvoice", "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": "a0f60669-70dd-4544-955c-0792be96452b", "documentation": "Retrieves invoices or purchase bills as PDF files", "method": "get", "endpoint": "Invoices/:InvoiceID/pdf", "responses": [ { "uuid": "d3577230-c672-4407-a15a-1f16292ee153", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of byte array pdf version of specified Invoices", "headers": [{ "key": "Content-Type", "value": "application/pdf" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "53654e98-5175-4bd6-9644-f96c7dc53527", "documentation": "Retrieves items", "method": "get", "endpoint": "Items", "responses": [ { "uuid": "8d2c72ce-68dc-4787-ac6e-a400647faffe", "body": "{\n \"Items\": [\n {\n \"Code\": \"\",\n \"Description\": \"\",\n \"InventoryAssetAccountCode\": \"\",\n \"IsPurchased\": {{faker 'datatype.boolean'}},\n \"IsSold\": {{faker 'datatype.boolean'}},\n \"IsTrackedAsInventory\": {{faker 'datatype.boolean'}},\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"Name\": \"\",\n \"PurchaseDescription\": \"\",\n \"PurchaseDetails\": {\n \"AccountCode\": \"\",\n \"COGSAccountCode\": \"\",\n \"TaxType\": \"\",\n \"UnitPrice\": {{faker 'number.float'}}\n },\n \"QuantityOnHand\": {{faker 'number.float'}},\n \"SalesDetails\": {\n \"AccountCode\": \"\",\n \"COGSAccountCode\": \"\",\n \"TaxType\": \"\",\n \"UnitPrice\": {{faker 'number.float'}}\n },\n \"StatusAttributeString\": \"\",\n \"TotalCostPool\": {{faker 'number.float'}},\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Items array with all Item", "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": "14e742e1-9cba-4c78-a5b3-f542fdcce9c3", "documentation": "Updates or creates one or more items", "method": "post", "endpoint": "Items", "responses": [ { "uuid": "04bb047f-f98e-48ef-998c-8ebdf9c50fc9", "body": "{\n \"Items\": [\n {\n \"Code\": \"\",\n \"Description\": \"\",\n \"InventoryAssetAccountCode\": \"\",\n \"IsPurchased\": {{faker 'datatype.boolean'}},\n \"IsSold\": {{faker 'datatype.boolean'}},\n \"IsTrackedAsInventory\": {{faker 'datatype.boolean'}},\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"Name\": \"\",\n \"PurchaseDescription\": \"\",\n \"PurchaseDetails\": {\n \"AccountCode\": \"\",\n \"COGSAccountCode\": \"\",\n \"TaxType\": \"\",\n \"UnitPrice\": {{faker 'number.float'}}\n },\n \"QuantityOnHand\": {{faker 'number.float'}},\n \"SalesDetails\": {\n \"AccountCode\": \"\",\n \"COGSAccountCode\": \"\",\n \"TaxType\": \"\",\n \"UnitPrice\": {{faker 'number.float'}}\n },\n \"StatusAttributeString\": \"\",\n \"TotalCostPool\": {{faker 'number.float'}},\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Items array with newly created Item", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a7727065-de12-451f-b372-a859de7fac54", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "489889ae-712f-45b8-bbae-f0f40cbc1c5b", "documentation": "Creates one or more items", "method": "put", "endpoint": "Items", "responses": [ { "uuid": "053caae1-00cf-4885-98b7-ea8518cc66f7", "body": "{\n \"Items\": [\n {\n \"Code\": \"\",\n \"Description\": \"\",\n \"InventoryAssetAccountCode\": \"\",\n \"IsPurchased\": {{faker 'datatype.boolean'}},\n \"IsSold\": {{faker 'datatype.boolean'}},\n \"IsTrackedAsInventory\": {{faker 'datatype.boolean'}},\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"Name\": \"\",\n \"PurchaseDescription\": \"\",\n \"PurchaseDetails\": {\n \"AccountCode\": \"\",\n \"COGSAccountCode\": \"\",\n \"TaxType\": \"\",\n \"UnitPrice\": {{faker 'number.float'}}\n },\n \"QuantityOnHand\": {{faker 'number.float'}},\n \"SalesDetails\": {\n \"AccountCode\": \"\",\n \"COGSAccountCode\": \"\",\n \"TaxType\": \"\",\n \"UnitPrice\": {{faker 'number.float'}}\n },\n \"StatusAttributeString\": \"\",\n \"TotalCostPool\": {{faker 'number.float'}},\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Items array with newly created Item", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "da6ffdf7-a362-470e-954a-36757d9a4b46", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b8b3f4af-ddd8-4bcb-a591-e40c5b3fd7c7", "documentation": "Deletes a specific item", "method": "delete", "endpoint": "Items/:ItemID", "responses": [ { "uuid": "b53beb95-cf09-4a1d-b3cd-03b2f6978f0f", "body": "", "latency": 0, "statusCode": 204, "label": "Success - return response 204 no content", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "947c1017-244e-47f3-8e90-a2915f2a8034", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d70e185e-0451-4670-8636-ccbbec3e94a9", "documentation": "Retrieves a specific item using a unique item Id", "method": "get", "endpoint": "Items/:ItemID", "responses": [ { "uuid": "ce0844a5-acf0-48dc-b8e7-7f2c84347dca", "body": "{\n \"Items\": [\n {\n \"Code\": \"\",\n \"Description\": \"\",\n \"InventoryAssetAccountCode\": \"\",\n \"IsPurchased\": {{faker 'datatype.boolean'}},\n \"IsSold\": {{faker 'datatype.boolean'}},\n \"IsTrackedAsInventory\": {{faker 'datatype.boolean'}},\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"Name\": \"\",\n \"PurchaseDescription\": \"\",\n \"PurchaseDetails\": {\n \"AccountCode\": \"\",\n \"COGSAccountCode\": \"\",\n \"TaxType\": \"\",\n \"UnitPrice\": {{faker 'number.float'}}\n },\n \"QuantityOnHand\": {{faker 'number.float'}},\n \"SalesDetails\": {\n \"AccountCode\": \"\",\n \"COGSAccountCode\": \"\",\n \"TaxType\": \"\",\n \"UnitPrice\": {{faker 'number.float'}}\n },\n \"StatusAttributeString\": \"\",\n \"TotalCostPool\": {{faker 'number.float'}},\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Items array with specified Item", "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": "a52a5015-4cee-4227-9181-e8b221f5efcb", "documentation": "Updates a specific item", "method": "post", "endpoint": "Items/:ItemID", "responses": [ { "uuid": "381ac1e9-0d98-4214-9b80-66644e40b5c1", "body": "{\n \"Items\": [\n {\n \"Code\": \"\",\n \"Description\": \"\",\n \"InventoryAssetAccountCode\": \"\",\n \"IsPurchased\": {{faker 'datatype.boolean'}},\n \"IsSold\": {{faker 'datatype.boolean'}},\n \"IsTrackedAsInventory\": {{faker 'datatype.boolean'}},\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"Name\": \"\",\n \"PurchaseDescription\": \"\",\n \"PurchaseDetails\": {\n \"AccountCode\": \"\",\n \"COGSAccountCode\": \"\",\n \"TaxType\": \"\",\n \"UnitPrice\": {{faker 'number.float'}}\n },\n \"QuantityOnHand\": {{faker 'number.float'}},\n \"SalesDetails\": {\n \"AccountCode\": \"\",\n \"COGSAccountCode\": \"\",\n \"TaxType\": \"\",\n \"UnitPrice\": {{faker 'number.float'}}\n },\n \"StatusAttributeString\": \"\",\n \"TotalCostPool\": {{faker 'number.float'}},\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Items array with updated Item", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "6d7ac489-63fd-4b3b-a9dd-024f91fc5884", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5d633b9b-a93b-4fdb-a55b-576d7e625652", "documentation": "Retrieves history for a specific item", "method": "get", "endpoint": "Items/:ItemID/History", "responses": [ { "uuid": "d880b656-fbd0-4b09-82a0-5edee7f5e297", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of HistoryRecords array of 0 to N HistoryRecord", "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": "d6b4411b-c0f8-4024-8b5e-85a46da569f2", "documentation": "Creates a history record for a specific item", "method": "put", "endpoint": "Items/:ItemID/History", "responses": [ { "uuid": "cc1ab18d-a576-444a-91b3-49aee644bb32", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type HistoryRecords array of HistoryRecord objects", "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": "8990be50-6f93-4a96-9852-f590928485d2", "documentation": "Retrieves journals", "method": "get", "endpoint": "Journals", "responses": [ { "uuid": "45ad192d-b712-4aa4-875d-de0a6953436a", "body": "{\n \"Journals\": [\n {\n \"CreatedDateUTC\": \"/Date(1573755038314)/\",\n \"JournalDate\": \"\",\n \"JournalID\": \"{{faker 'string.uuid'}}\",\n \"JournalLines\": [\n {\n \"AccountCode\": 90,\n \"AccountID\": \"ceef66a5-a545-413b-9312-78a53caadbc4\",\n \"AccountName\": \"Checking Account\",\n \"AccountType\": \"{{oneOf (array 'BANK' 'CURRENT' 'CURRLIAB' 'DEPRECIATN' 'DIRECTCOSTS' 'EQUITY' 'EXPENSE' 'FIXED' 'INVENTORY' 'LIABILITY' 'NONCURRENT' 'OTHERINCOME' 'OVERHEADS' 'PREPAYMENT' 'REVENUE' 'SALES' 'TERMLIAB' 'PAYGLIABILITY' 'PAYG' 'SUPERANNUATIONEXPENSE' 'SUPERANNUATIONLIABILITY' 'WAGESEXPENSE')}}\",\n \"Description\": \"My business checking account\",\n \"GrossAmount\": 4130.98,\n \"JournalLineID\": \"7be9db36-3598-4755-ba5c-c2dbc8c4a7a2\",\n \"NetAmount\": 4130.98,\n \"TaxAmount\": {{faker 'number.float'}},\n \"TaxName\": \"Tax Exempt\",\n \"TaxType\": \"\",\n \"TrackingCategories\": [\n {\n \"Name\": \"\",\n \"Option\": \"\",\n \"Options\": [\n {\n \"Name\": \"\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ],\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ]\n }\n ],\n \"JournalNumber\": {{faker 'number.int' max=99999}},\n \"Reference\": \"\",\n \"SourceID\": \"{{faker 'string.uuid'}}\",\n \"SourceType\": \"{{oneOf (array 'ACCREC' 'ACCPAY' 'ACCRECCREDIT' 'ACCPAYCREDIT' 'ACCRECPAYMENT' 'ACCPAYPAYMENT' 'ARCREDITPAYMENT' 'APCREDITPAYMENT' 'CASHREC' 'CASHPAID' 'TRANSFER' 'ARPREPAYMENT' 'APPREPAYMENT' 'AROVERPAYMENT' 'APOVERPAYMENT' 'EXPCLAIM' 'EXPPAYMENT' 'MANJOURNAL' 'PAYSLIP' 'WAGEPAYABLE' 'INTEGRATEDPAYROLLPE' 'INTEGRATEDPAYROLLPT' 'EXTERNALSPENDMONEY' 'INTEGRATEDPAYROLLPTPAYMENT' 'INTEGRATEDPAYROLLCN')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Journals array with all Journals", "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": "564ba89a-2004-44e4-b1b1-16d2ff383fdc", "documentation": "Retrieves a specific journal using a unique journal Id.", "method": "get", "endpoint": "Journals/:JournalID", "responses": [ { "uuid": "3d828ea8-61dc-4e85-8ec2-369aa8a53da8", "body": "{\n \"Journals\": [\n {\n \"CreatedDateUTC\": \"/Date(1573755038314)/\",\n \"JournalDate\": \"\",\n \"JournalID\": \"{{faker 'string.uuid'}}\",\n \"JournalLines\": [\n {\n \"AccountCode\": 90,\n \"AccountID\": \"ceef66a5-a545-413b-9312-78a53caadbc4\",\n \"AccountName\": \"Checking Account\",\n \"AccountType\": \"{{oneOf (array 'BANK' 'CURRENT' 'CURRLIAB' 'DEPRECIATN' 'DIRECTCOSTS' 'EQUITY' 'EXPENSE' 'FIXED' 'INVENTORY' 'LIABILITY' 'NONCURRENT' 'OTHERINCOME' 'OVERHEADS' 'PREPAYMENT' 'REVENUE' 'SALES' 'TERMLIAB' 'PAYGLIABILITY' 'PAYG' 'SUPERANNUATIONEXPENSE' 'SUPERANNUATIONLIABILITY' 'WAGESEXPENSE')}}\",\n \"Description\": \"My business checking account\",\n \"GrossAmount\": 4130.98,\n \"JournalLineID\": \"7be9db36-3598-4755-ba5c-c2dbc8c4a7a2\",\n \"NetAmount\": 4130.98,\n \"TaxAmount\": {{faker 'number.float'}},\n \"TaxName\": \"Tax Exempt\",\n \"TaxType\": \"\",\n \"TrackingCategories\": [\n {\n \"Name\": \"\",\n \"Option\": \"\",\n \"Options\": [\n {\n \"Name\": \"\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ],\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ]\n }\n ],\n \"JournalNumber\": {{faker 'number.int' max=99999}},\n \"Reference\": \"\",\n \"SourceID\": \"{{faker 'string.uuid'}}\",\n \"SourceType\": \"{{oneOf (array 'ACCREC' 'ACCPAY' 'ACCRECCREDIT' 'ACCPAYCREDIT' 'ACCRECPAYMENT' 'ACCPAYPAYMENT' 'ARCREDITPAYMENT' 'APCREDITPAYMENT' 'CASHREC' 'CASHPAID' 'TRANSFER' 'ARPREPAYMENT' 'APPREPAYMENT' 'AROVERPAYMENT' 'APOVERPAYMENT' 'EXPCLAIM' 'EXPPAYMENT' 'MANJOURNAL' 'PAYSLIP' 'WAGEPAYABLE' 'INTEGRATEDPAYROLLPE' 'INTEGRATEDPAYROLLPT' 'EXTERNALSPENDMONEY' 'INTEGRATEDPAYROLLPTPAYMENT' 'INTEGRATEDPAYROLLCN')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Journals array with specified Journal", "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": "e0a4226b-f02f-4ce9-bc30-79f96e3e49ce", "documentation": "Retrieves linked transactions (billable expenses)", "method": "get", "endpoint": "LinkedTransactions", "responses": [ { "uuid": "04fcd694-ef00-45d3-8306-cefcf0ee7d24", "body": "{\n \"LinkedTransactions\": [\n {\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"LinkedTransactionID\": \"{{faker 'string.uuid'}}\",\n \"SourceLineItemID\": \"{{faker 'string.uuid'}}\",\n \"SourceTransactionID\": \"{{faker 'string.uuid'}}\",\n \"SourceTransactionTypeCode\": \"{{oneOf (array 'ACCPAY' 'SPEND')}}\",\n \"Status\": \"{{oneOf (array 'APPROVED' 'DRAFT' 'ONDRAFT' 'BILLED' 'VOIDED')}}\",\n \"TargetLineItemID\": \"{{faker 'string.uuid'}}\",\n \"TargetTransactionID\": \"{{faker 'string.uuid'}}\",\n \"Type\": \"{{oneOf (array 'BILLABLEEXPENSE')}}\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type LinkedTransactions array with all LinkedTransaction", "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": "53cc0576-b32b-44fe-be8a-004c2097149f", "documentation": "Creates linked transactions (billable expenses)", "method": "put", "endpoint": "LinkedTransactions", "responses": [ { "uuid": "6530d4e3-b83d-467c-b980-3b4c72ecb673", "body": "{\n \"LinkedTransactions\": [\n {\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"LinkedTransactionID\": \"{{faker 'string.uuid'}}\",\n \"SourceLineItemID\": \"{{faker 'string.uuid'}}\",\n \"SourceTransactionID\": \"{{faker 'string.uuid'}}\",\n \"SourceTransactionTypeCode\": \"{{oneOf (array 'ACCPAY' 'SPEND')}}\",\n \"Status\": \"{{oneOf (array 'APPROVED' 'DRAFT' 'ONDRAFT' 'BILLED' 'VOIDED')}}\",\n \"TargetLineItemID\": \"{{faker 'string.uuid'}}\",\n \"TargetTransactionID\": \"{{faker 'string.uuid'}}\",\n \"Type\": \"{{oneOf (array 'BILLABLEEXPENSE')}}\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type LinkedTransactions array with newly created LinkedTransaction", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "109f00e8-4ed9-4af8-8fac-f90beffc1756", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "70e2d6cd-d6f5-4115-84d3-d7bc1658d1a8", "documentation": "Deletes a specific linked transactions (billable expenses)", "method": "delete", "endpoint": "LinkedTransactions/:LinkedTransactionID", "responses": [ { "uuid": "0d563fa5-2d48-4297-b8dd-a3ed859fc122", "body": "", "latency": 0, "statusCode": 204, "label": "Success - return response 204 no content", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "34f80b6b-1b3c-4e73-af67-1593c233b8f5", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "12e307aa-6833-4101-a756-ba434d946750", "documentation": "Retrieves a specific linked transaction (billable expenses) using a unique linked transaction Id", "method": "get", "endpoint": "LinkedTransactions/:LinkedTransactionID", "responses": [ { "uuid": "758b3816-064a-404d-8a14-8c729099e2ae", "body": "{\n \"LinkedTransactions\": [\n {\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"LinkedTransactionID\": \"{{faker 'string.uuid'}}\",\n \"SourceLineItemID\": \"{{faker 'string.uuid'}}\",\n \"SourceTransactionID\": \"{{faker 'string.uuid'}}\",\n \"SourceTransactionTypeCode\": \"{{oneOf (array 'ACCPAY' 'SPEND')}}\",\n \"Status\": \"{{oneOf (array 'APPROVED' 'DRAFT' 'ONDRAFT' 'BILLED' 'VOIDED')}}\",\n \"TargetLineItemID\": \"{{faker 'string.uuid'}}\",\n \"TargetTransactionID\": \"{{faker 'string.uuid'}}\",\n \"Type\": \"{{oneOf (array 'BILLABLEEXPENSE')}}\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type LinkedTransactions array with a specified LinkedTransaction", "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": "cc8cace1-b258-4920-aa05-c0ddf3d8004e", "documentation": "Updates a specific linked transactions (billable expenses)", "method": "post", "endpoint": "LinkedTransactions/:LinkedTransactionID", "responses": [ { "uuid": "04b88777-7df4-4ef4-88a2-d9a1ed24cdd5", "body": "{\n \"LinkedTransactions\": [\n {\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"LinkedTransactionID\": \"{{faker 'string.uuid'}}\",\n \"SourceLineItemID\": \"{{faker 'string.uuid'}}\",\n \"SourceTransactionID\": \"{{faker 'string.uuid'}}\",\n \"SourceTransactionTypeCode\": \"{{oneOf (array 'ACCPAY' 'SPEND')}}\",\n \"Status\": \"{{oneOf (array 'APPROVED' 'DRAFT' 'ONDRAFT' 'BILLED' 'VOIDED')}}\",\n \"TargetLineItemID\": \"{{faker 'string.uuid'}}\",\n \"TargetTransactionID\": \"{{faker 'string.uuid'}}\",\n \"Type\": \"{{oneOf (array 'BILLABLEEXPENSE')}}\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type LinkedTransactions array with updated LinkedTransaction", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9d3023ca-cdb0-4436-83b4-58c07a8a93a3", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "Success - return response of type LinkedTransactions array with updated LinkedTransaction", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "80074cd0-5b08-43b0-b80e-71358d3b78e4", "documentation": "Retrieves manual journals", "method": "get", "endpoint": "ManualJournals", "responses": [ { "uuid": "52452803-1cf7-4613-a3e4-d48f9141a063", "body": "{\n \"ManualJournals\": [\n {\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ],\n \"Date\": \"\",\n \"HasAttachments\": \"false\",\n \"JournalLines\": [\n {\n \"AccountCode\": 720,\n \"AccountID\": \"{{faker 'string.uuid'}}\",\n \"Description\": \"Coded incorrectly Office Equipment should be Computer Equipment\",\n \"IsBlank\": {{faker 'datatype.boolean'}},\n \"LineAmount\": -2569,\n \"TaxAmount\": {{faker 'number.float'}},\n \"TaxType\": \"\",\n \"Tracking\": [\n {\n \"Name\": \"\",\n \"Option\": \"\",\n \"Options\": [\n {\n \"Name\": \"\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ],\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ]\n }\n ],\n \"LineAmountTypes\": \"{{oneOf (array 'Exclusive' 'Inclusive' 'NoTax')}}\",\n \"ManualJournalID\": \"{{faker 'string.uuid'}}\",\n \"Narration\": \"\",\n \"ShowOnCashBasisReports\": {{faker 'datatype.boolean'}},\n \"Status\": \"{{oneOf (array 'DRAFT' 'POSTED' 'DELETED' 'VOIDED' 'ARCHIVED')}}\",\n \"StatusAttributeString\": \"ERROR\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"Url\": \"\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ],\n \"Warnings\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type ManualJournals array with a all ManualJournals", "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": "4f471f7f-2193-4326-9da2-96f48a48d9e2", "documentation": "Updates or creates a single manual journal", "method": "post", "endpoint": "ManualJournals", "responses": [ { "uuid": "2870d93c-4a5c-412d-85bb-698a16b14e8d", "body": "{\n \"ManualJournals\": [\n {\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ],\n \"Date\": \"\",\n \"HasAttachments\": \"false\",\n \"JournalLines\": [\n {\n \"AccountCode\": 720,\n \"AccountID\": \"{{faker 'string.uuid'}}\",\n \"Description\": \"Coded incorrectly Office Equipment should be Computer Equipment\",\n \"IsBlank\": {{faker 'datatype.boolean'}},\n \"LineAmount\": -2569,\n \"TaxAmount\": {{faker 'number.float'}},\n \"TaxType\": \"\",\n \"Tracking\": [\n {\n \"Name\": \"\",\n \"Option\": \"\",\n \"Options\": [\n {\n \"Name\": \"\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ],\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ]\n }\n ],\n \"LineAmountTypes\": \"{{oneOf (array 'Exclusive' 'Inclusive' 'NoTax')}}\",\n \"ManualJournalID\": \"{{faker 'string.uuid'}}\",\n \"Narration\": \"\",\n \"ShowOnCashBasisReports\": {{faker 'datatype.boolean'}},\n \"Status\": \"{{oneOf (array 'DRAFT' 'POSTED' 'DELETED' 'VOIDED' 'ARCHIVED')}}\",\n \"StatusAttributeString\": \"ERROR\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"Url\": \"\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ],\n \"Warnings\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type ManualJournals array with newly created ManualJournal", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8d9ef193-cb6d-4f37-863d-45eae583b527", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fd72d5c9-e974-4950-bac3-e9fa1ed60b0f", "documentation": "Creates one or more manual journals", "method": "put", "endpoint": "ManualJournals", "responses": [ { "uuid": "8f15c0e5-3924-441c-a76d-9aa2268c5930", "body": "{\n \"ManualJournals\": [\n {\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ],\n \"Date\": \"\",\n \"HasAttachments\": \"false\",\n \"JournalLines\": [\n {\n \"AccountCode\": 720,\n \"AccountID\": \"{{faker 'string.uuid'}}\",\n \"Description\": \"Coded incorrectly Office Equipment should be Computer Equipment\",\n \"IsBlank\": {{faker 'datatype.boolean'}},\n \"LineAmount\": -2569,\n \"TaxAmount\": {{faker 'number.float'}},\n \"TaxType\": \"\",\n \"Tracking\": [\n {\n \"Name\": \"\",\n \"Option\": \"\",\n \"Options\": [\n {\n \"Name\": \"\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ],\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ]\n }\n ],\n \"LineAmountTypes\": \"{{oneOf (array 'Exclusive' 'Inclusive' 'NoTax')}}\",\n \"ManualJournalID\": \"{{faker 'string.uuid'}}\",\n \"Narration\": \"\",\n \"ShowOnCashBasisReports\": {{faker 'datatype.boolean'}},\n \"Status\": \"{{oneOf (array 'DRAFT' 'POSTED' 'DELETED' 'VOIDED' 'ARCHIVED')}}\",\n \"StatusAttributeString\": \"ERROR\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"Url\": \"\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ],\n \"Warnings\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type ManualJournals array with newly created ManualJournal", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9abc5524-caf4-4789-b92c-bcc88ff30de9", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f3f4c5d8-ad30-467d-a4f5-b0b46cebca49", "documentation": "Retrieves a specific manual journal", "method": "get", "endpoint": "ManualJournals/:ManualJournalID", "responses": [ { "uuid": "384a41ae-c9d9-439d-82b7-fc55de4d21e9", "body": "{\n \"ManualJournals\": [\n {\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ],\n \"Date\": \"\",\n \"HasAttachments\": \"false\",\n \"JournalLines\": [\n {\n \"AccountCode\": 720,\n \"AccountID\": \"{{faker 'string.uuid'}}\",\n \"Description\": \"Coded incorrectly Office Equipment should be Computer Equipment\",\n \"IsBlank\": {{faker 'datatype.boolean'}},\n \"LineAmount\": -2569,\n \"TaxAmount\": {{faker 'number.float'}},\n \"TaxType\": \"\",\n \"Tracking\": [\n {\n \"Name\": \"\",\n \"Option\": \"\",\n \"Options\": [\n {\n \"Name\": \"\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ],\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ]\n }\n ],\n \"LineAmountTypes\": \"{{oneOf (array 'Exclusive' 'Inclusive' 'NoTax')}}\",\n \"ManualJournalID\": \"{{faker 'string.uuid'}}\",\n \"Narration\": \"\",\n \"ShowOnCashBasisReports\": {{faker 'datatype.boolean'}},\n \"Status\": \"{{oneOf (array 'DRAFT' 'POSTED' 'DELETED' 'VOIDED' 'ARCHIVED')}}\",\n \"StatusAttributeString\": \"ERROR\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"Url\": \"\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ],\n \"Warnings\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type ManualJournals array with a specified ManualJournals", "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": "7730d497-8bcc-47e2-aa5d-26ca1d95bdd6", "documentation": "Updates a specific manual journal", "method": "post", "endpoint": "ManualJournals/:ManualJournalID", "responses": [ { "uuid": "4de37675-1403-4bba-a2be-0d4b2fd448fc", "body": "{\n \"ManualJournals\": [\n {\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ],\n \"Date\": \"\",\n \"HasAttachments\": \"false\",\n \"JournalLines\": [\n {\n \"AccountCode\": 720,\n \"AccountID\": \"{{faker 'string.uuid'}}\",\n \"Description\": \"Coded incorrectly Office Equipment should be Computer Equipment\",\n \"IsBlank\": {{faker 'datatype.boolean'}},\n \"LineAmount\": -2569,\n \"TaxAmount\": {{faker 'number.float'}},\n \"TaxType\": \"\",\n \"Tracking\": [\n {\n \"Name\": \"\",\n \"Option\": \"\",\n \"Options\": [\n {\n \"Name\": \"\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ],\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ]\n }\n ],\n \"LineAmountTypes\": \"{{oneOf (array 'Exclusive' 'Inclusive' 'NoTax')}}\",\n \"ManualJournalID\": \"{{faker 'string.uuid'}}\",\n \"Narration\": \"\",\n \"ShowOnCashBasisReports\": {{faker 'datatype.boolean'}},\n \"Status\": \"{{oneOf (array 'DRAFT' 'POSTED' 'DELETED' 'VOIDED' 'ARCHIVED')}}\",\n \"StatusAttributeString\": \"ERROR\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"Url\": \"\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ],\n \"Warnings\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type ManualJournals array with an updated ManualJournal", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "2525c0f6-dc9a-4445-9ec5-e34b7918cd89", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f3a0cff7-7cb0-4a0a-b205-9fb2d8b98386", "documentation": "Retrieves attachment for a specific manual journal", "method": "get", "endpoint": "ManualJournals/:ManualJournalID/Attachments", "responses": [ { "uuid": "96eece90-4733-4206-9656-08270618c1c7", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array with all Attachments for a ManualJournals", "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": "a9a0eb47-b27b-43ba-8406-cf5af28799bf", "documentation": "Allows you to retrieve a specific attachment from a specific manual journal using a unique attachment Id", "method": "get", "endpoint": "ManualJournals/:ManualJournalID/Attachments/:AttachmentID", "responses": [ { "uuid": "e40221b9-167a-43ba-81c6-eb2cb9368cb2", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of attachment for Manual Journal as binary data", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "78ecbe5d-8eb5-45a4-9b56-48be2c754cba", "documentation": "Retrieves a specific attachment from a specific manual journal by file name", "method": "get", "endpoint": "ManualJournals/:ManualJournalID/Attachments/:FileName", "responses": [ { "uuid": "06f1c7d6-1075-4ddf-8065-57d6ed3a6409", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of attachment for Manual Journal as binary data", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "edda8aad-b3f4-4ded-9dd8-9b555a90da34", "documentation": "Updates a specific attachment from a specific manual journal by file name", "method": "post", "endpoint": "ManualJournals/:ManualJournalID/Attachments/:FileName", "responses": [ { "uuid": "f50fe879-194c-42f0-adc6-7690e8edaaaa", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array with an update Attachment for a ManualJournals", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f7aab7a2-7ee5-439e-9095-777b0d0071ac", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "af97e1ea-ced3-4132-a681-808058010858", "documentation": "Creates a specific attachment for a specific manual journal by file name", "method": "put", "endpoint": "ManualJournals/:ManualJournalID/Attachments/:FileName", "responses": [ { "uuid": "a181c7f7-83eb-48b1-bb36-263d60ee0971", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array with a newly created Attachment for a ManualJournals", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fc69a78e-b096-4d8a-98df-eb78667a00db", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f51ea916-131e-48cc-9a7a-ea841f36fe2c", "documentation": "Retrieves history for a specific manual journal", "method": "get", "endpoint": "ManualJournals/:ManualJournalID/History", "responses": [ { "uuid": "b39592fb-bdb4-491b-8c2c-1247047af267", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of HistoryRecords array of 0 to N HistoryRecord", "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": "437c6e1b-6715-4b76-a6dd-11c42a408022", "documentation": "Creates a history record for a specific manual journal", "method": "put", "endpoint": "ManualJournals/:ManualJournalID/History", "responses": [ { "uuid": "cb9423dc-db1c-4cce-9167-1437797833ee", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type HistoryRecords array of HistoryRecord objects", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1fc3c697-d24b-4778-98c8-5460ca94d2a0", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "13a8b021-61f2-4378-bb4b-c707f3eef2c3", "documentation": "Retrieves Xero organisation details", "method": "get", "endpoint": "Organisation", "responses": [ { "uuid": "88787270-2a37-45b4-a874-cf0776eb310d", "body": "{\n \"Organisations\": [\n {\n \"APIKey\": \"\",\n \"Addresses\": [\n {\n \"AddressLine1\": \"\",\n \"AddressLine2\": \"\",\n \"AddressLine3\": \"\",\n \"AddressLine4\": \"\",\n \"AddressType\": \"{{oneOf (array 'POBOX' 'STREET' 'DELIVERY')}}\",\n \"AttentionTo\": \"\",\n \"City\": \"\",\n \"Country\": \"\",\n \"PostalCode\": \"\",\n \"Region\": \"\"\n }\n ],\n \"BaseCurrency\": \"{{oneOf (array 'AED' 'AFN' 'ALL' 'AMD' 'ANG' 'AOA' 'ARS' 'AUD' 'AWG' 'AZN' 'BAM' 'BBD' 'BDT' 'BGN' 'BHD' 'BIF' 'BMD' 'BND' 'BOB' 'BRL' 'BSD' 'BTN' 'BWP' 'BYN' 'BYR' 'BZD' 'CAD' 'CDF' 'CHF' 'CLP' 'CNY' 'COP' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GGP' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'IMP' 'INR' 'IQD' 'IRR' 'ISK' 'JEP' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRU' 'MUR' 'MVR' 'MWK' 'MXN' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' 'SLL' 'SOS' 'SPL' 'SRD' 'STN' 'SVC' 'SYP' 'SZL' 'THB' 'TJS' 'TMT' 'TND' 'TOP' 'TRY' 'TTD' 'TVD' 'TWD' 'TZS' 'UAH' 'UGX' 'USD' 'UYU' 'UZS' 'VEF' 'VND' 'VUV' 'WST' 'XAF' 'XCD' 'XDR' 'XOF' 'XPF' 'YER' 'ZAR' 'ZMW' 'ZMK' 'ZWD' '')}}\",\n \"Class\": \"{{oneOf (array 'DEMO' 'TRIAL' 'STARTER' 'STANDARD' 'PREMIUM' 'PREMIUM_20' 'PREMIUM_50' 'PREMIUM_100' 'LEDGER' 'GST_CASHBOOK' 'NON_GST_CASHBOOK')}}\",\n \"CountryCode\": \"{{oneOf (array 'AD' 'AE' 'AF' 'AG' 'AI' 'AL' 'AM' 'AN' 'AO' 'AQ' 'AR' 'AS' 'AT' 'AU' 'AW' 'AZ' 'BA' 'BB' 'BD' 'BE' 'BF' 'BG' 'BH' 'BI' 'BJ' 'BL' 'BM' 'BN' 'BO' 'BR' 'BS' 'BT' 'BW' 'BY' 'BZ' 'CA' 'CC' 'CD' 'CF' 'CG' 'CH' 'CI' 'CK' 'CL' 'CM' 'CN' 'CO' 'CR' 'CU' 'CV' 'CW' 'CX' 'CY' 'CZ' 'DE' 'DJ' 'DK' 'DM' 'DO' 'DZ' 'EC' 'EE' 'EG' 'EH' 'ER' 'ES' 'ET' 'FI' 'FJ' 'FK' 'FM' 'FO' 'FR' 'GA' 'GB' 'GD' 'GE' 'GG' 'GH' 'GI' 'GL' 'GM' 'GN' 'GQ' 'GR' 'GT' 'GU' 'GW' 'GY' 'HK' 'HN' 'HR' 'HT' 'HU' 'ID' 'IE' 'IL' 'IM' 'IN' 'IO' 'IQ' 'IR' 'IS' 'IT' 'JE' 'JM' 'JO' 'JP' 'KE' 'KG' 'KH' 'KI' 'KM' 'KN' 'KP' 'KR' 'KW' 'KY' 'KZ' 'LA' 'LB' 'LC' 'LI' 'LK' 'LR' 'LS' 'LT' 'LU' 'LV' 'LY' 'MA' 'MC' 'MD' 'ME' 'MF' 'MG' 'MH' 'MK' 'ML' 'MM' 'MN' 'MO' 'MP' 'MR' 'MS' 'MT' 'MU' 'MV' 'MW' 'MX' 'MY' 'MZ' 'NA' 'NC' 'NE' 'NG' 'NI' 'NL' 'NO' 'NP' 'NR' 'NU' 'NZ' 'OM' 'PA' 'PE' 'PF' 'PG' 'PH' 'PK' 'PL' 'PM' 'PN' 'PR' 'PS' 'PT' 'PW' 'PY' 'QA' 'RE' 'RO' 'RS' 'RU' 'RW' 'SA' 'SB' 'SC' 'SD' 'SE' 'SG' 'SH' 'SI' 'SJ' 'SK' 'SL' 'SM' 'SN' 'SO' 'SR' 'SS' 'ST' 'SV' 'SX' 'SY' 'SZ' 'TC' 'TD' 'TG' 'TH' 'TJ' 'TK' 'TL' 'TM' 'TN' 'TO' 'TR' 'TT' 'TV' 'TW' 'TZ' 'UA' 'UG' 'US' 'UY' 'UZ' 'VA' 'VC' 'VE' 'VG' 'VI' 'VN' 'VU' 'WF' 'WS' 'XK' 'YE' 'YT' 'ZA' 'ZM' 'ZW')}}\",\n \"CreatedDateUTC\": \"/Date(1573755038314)/\",\n \"DefaultPurchasesTax\": \"\",\n \"DefaultSalesTax\": \"\",\n \"Edition\": \"{{oneOf (array 'BUSINESS' 'PARTNER')}}\",\n \"EmployerIdentificationNumber\": \"\",\n \"EndOfYearLockDate\": \"\",\n \"ExternalLinks\": [\n {\n \"Description\": \"\",\n \"LinkType\": \"{{oneOf (array 'Facebook' 'GooglePlus' 'LinkedIn' 'Twitter' 'Website')}}\",\n \"Url\": \"\"\n }\n ],\n \"FinancialYearEndDay\": {{faker 'number.int' max=99999}},\n \"FinancialYearEndMonth\": {{faker 'number.int' max=99999}},\n \"IsDemoCompany\": {{faker 'datatype.boolean'}},\n \"LegalName\": \"\",\n \"LineOfBusiness\": \"\",\n \"Name\": \"\",\n \"OrganisationEntityType\": \"{{oneOf (array 'ACCOUNTING_PRACTICE' 'COMPANY' 'CHARITY' 'CLUB_OR_SOCIETY' 'LOOK_THROUGH_COMPANY' 'NOT_FOR_PROFIT' 'PARTNERSHIP' 'S_CORPORATION' 'SELF_MANAGED_SUPERANNUATION_FUND' 'SOLE_TRADER' 'SUPERANNUATION_FUND' 'TRUST')}}\",\n \"OrganisationID\": \"8be9db36-3598-4755-ba5c-c2dbc8c4a7a2\",\n \"OrganisationStatus\": \"\",\n \"OrganisationType\": \"{{oneOf (array 'ACCOUNTING_PRACTICE' 'COMPANY' 'CHARITY' 'CLUB_OR_SOCIETY' 'LOOK_THROUGH_COMPANY' 'NOT_FOR_PROFIT' 'PARTNERSHIP' 'S_CORPORATION' 'SELF_MANAGED_SUPERANNUATION_FUND' 'SOLE_TRADER' 'SUPERANNUATION_FUND' 'TRUST')}}\",\n \"PaymentTerms\": {\n \"Bills\": {\n \"Day\": {{faker 'number.int' max=99999}},\n \"Type\": \"{{oneOf (array 'DAYSAFTERBILLDATE' 'DAYSAFTERBILLMONTH' 'OFCURRENTMONTH' 'OFFOLLOWINGMONTH')}}\"\n },\n \"Sales\": {\n \"Day\": {{faker 'number.int' max=99999}},\n \"Type\": \"{{oneOf (array 'DAYSAFTERBILLDATE' 'DAYSAFTERBILLMONTH' 'OFCURRENTMONTH' 'OFFOLLOWINGMONTH')}}\"\n }\n },\n \"PaysTax\": {{faker 'datatype.boolean'}},\n \"PeriodLockDate\": \"\",\n \"Phones\": [\n {\n \"PhoneAreaCode\": \"\",\n \"PhoneCountryCode\": \"\",\n \"PhoneNumber\": \"\",\n \"PhoneType\": \"{{oneOf (array 'DEFAULT' 'DDI' 'MOBILE' 'FAX' 'OFFICE')}}\"\n }\n ],\n \"RegistrationNumber\": \"\",\n \"SalesTaxBasis\": \"{{oneOf (array 'PAYMENTS' 'INVOICE' 'NONE' 'CASH' 'ACCRUAL' 'FLATRATECASH' 'FLATRATEACCRUAL' 'ACCRUALS')}}\",\n \"SalesTaxPeriod\": \"{{oneOf (array 'MONTHLY' 'QUARTERLY1' 'QUARTERLY2' 'QUARTERLY3' 'ANNUALLY' 'ONEMONTHS' 'TWOMONTHS' 'SIXMONTHS' '1MONTHLY' '2MONTHLY' '3MONTHLY' '6MONTHLY' 'QUARTERLY' 'YEARLY' 'NONE')}}\",\n \"ShortCode\": \"\",\n \"TaxNumber\": \"\",\n \"Timezone\": \"{{oneOf (array 'MOROCCOSTANDARDTIME' 'UTC' 'GMTSTANDARDTIME' 'GREENWICHSTANDARDTIME' 'WEUROPESTANDARDTIME' 'CENTRALEUROPESTANDARDTIME' 'ROMANCESTANDARDTIME' 'CENTRALEUROPEANSTANDARDTIME' 'WCENTRALAFRICASTANDARDTIME' 'NAMIBIASTANDARDTIME' 'JORDANSTANDARDTIME' 'GTBSTANDARDTIME' 'MIDDLEEASTSTANDARDTIME' 'EGYPTSTANDARDTIME' 'SYRIASTANDARDTIME' 'EEUROPESTANDARDTIME' 'SOUTHAFRICASTANDARDTIME' 'FLESTANDARDTIME' 'TURKEYSTANDARDTIME' 'ISRAELSTANDARDTIME' 'KALININGRADSTANDARDTIME' 'LIBYASTANDARDTIME' 'ARABICSTANDARDTIME' 'ARABSTANDARDTIME' 'BELARUSSTANDARDTIME' 'RUSSIANSTANDARDTIME' 'EAFRICASTANDARDTIME' 'IRANSTANDARDTIME' 'ARABIANSTANDARDTIME' 'AZERBAIJANSTANDARDTIME' 'RUSSIATIMEZONE3' 'MAURITIUSSTANDARDTIME' 'GEORGIANSTANDARDTIME' 'CAUCASUSSTANDARDTIME' 'AFGHANISTANSTANDARDTIME' 'WESTASIASTANDARDTIME' 'EKATERINBURGSTANDARDTIME' 'PAKISTANSTANDARDTIME' 'INDIASTANDARDTIME' 'SRILANKASTANDARDTIME' 'NEPALSTANDARDTIME' 'CENTRALASIASTANDARDTIME' 'BANGLADESHSTANDARDTIME' 'NCENTRALASIASTANDARDTIME' 'MYANMARSTANDARDTIME' 'SEASIASTANDARDTIME' 'NORTHASIASTANDARDTIME' 'CHINASTANDARDTIME' 'NORTHASIAEASTSTANDARDTIME' 'SINGAPORESTANDARDTIME' 'WAUSTRALIASTANDARDTIME' 'TAIPEISTANDARDTIME' 'ULAANBAATARSTANDARDTIME' 'TOKYOSTANDARDTIME' 'KOREASTANDARDTIME' 'YAKUTSKSTANDARDTIME' 'CENAUSTRALIASTANDARDTIME' 'AUSCENTRALSTANDARDTIME' 'EAUSTRALIASTANDARDTIME' 'AUSEASTERNSTANDARDTIME' 'WESTPACIFICSTANDARDTIME' 'TASMANIASTANDARDTIME' 'MAGADANSTANDARDTIME' 'VLADIVOSTOKSTANDARDTIME' 'RUSSIATIMEZONE10' 'CENTRALPACIFICSTANDARDTIME' 'RUSSIATIMEZONE11' 'NEWZEALANDSTANDARDTIME' 'UTC+12' 'UTC+13' 'FIJISTANDARDTIME' 'KAMCHATKASTANDARDTIME' 'TONGASTANDARDTIME' 'SAMOASTANDARDTIME' 'LINEISLANDSSTANDARDTIME' 'AZORESSTANDARDTIME' 'CAPEVERDESTANDARDTIME' 'UTC02' 'MIDATLANTICSTANDARDTIME' 'ESOUTHAMERICASTANDARDTIME' 'ARGENTINASTANDARDTIME' 'SAEASTERNSTANDARDTIME' 'GREENLANDSTANDARDTIME' 'MONTEVIDEOSTANDARDTIME' 'BAHIASTANDARDTIME' 'NEWFOUNDLANDSTANDARDTIME' 'PARAGUAYSTANDARDTIME' 'ATLANTICSTANDARDTIME' 'CENTRALBRAZILIANSTANDARDTIME' 'SAWESTERNSTANDARDTIME' 'PACIFICSASTANDARDTIME' 'VENEZUELASTANDARDTIME' 'SAPACIFICSTANDARDTIME' 'EASTERNSTANDARDTIME' 'USEASTERNSTANDARDTIME' 'CENTRALAMERICASTANDARDTIME' 'CENTRALSTANDARDTIME' 'CENTRALSTANDARDTIME(MEXICO)' 'CANADACENTRALSTANDARDTIME' 'USMOUNTAINSTANDARDTIME' 'MOUNTAINSTANDARDTIME(MEXICO)' 'MOUNTAINSTANDARDTIME' 'PACIFICSTANDARDTIME(MEXICO)' 'PACIFICSTANDARDTIME' 'ALASKANSTANDARDTIME' 'HAWAIIANSTANDARDTIME' 'UTC11' 'DATELINESTANDARDTIME')}}\",\n \"Version\": \"{{oneOf (array 'AU' 'NZ' 'GLOBAL' 'UK' 'US' 'AUONRAMP' 'NZONRAMP' 'GLOBALONRAMP' 'UKONRAMP' 'USONRAMP')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Organisation array with all Organisation", "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": "27e7ec91-0ce8-4e5d-b416-88df6fc51d8d", "documentation": "Retrieves a list of the key actions your app has permission to perform in the connected Xero organisation.", "method": "get", "endpoint": "Organisation/Actions", "responses": [ { "uuid": "efc2fc8e-94af-4db1-b857-956b3ab59c35", "body": "{\n \"Actions\": [\n {\n \"Name\": \"UseMulticurrency\",\n \"Status\": \"{{oneOf (array 'ALLOWED' 'NOT-ALLOWED')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Actions array with all key actions", "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": "b2757b72-a01c-4d74-8025-30db8dbdd9c7", "documentation": "Retrieves the CIS settings for the Xero organistaion.", "method": "get", "endpoint": "Organisation/:OrganisationID/CISSettings", "responses": [ { "uuid": "19351487-a7fb-487d-8ce0-a017e5290880", "body": "{\n \"CISSettings\": [\n {\n \"CISContractorEnabled\": {{faker 'datatype.boolean'}},\n \"CISSubContractorEnabled\": {{faker 'datatype.boolean'}},\n \"Rate\": {{faker 'number.float'}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Organisation array with specified Organisation", "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": "959d68af-ab17-4b10-9c5e-9dfeda3050b8", "documentation": "Retrieves overpayments", "method": "get", "endpoint": "Overpayments", "responses": [ { "uuid": "78fc87db-6ae0-4e6e-b649-9e6eab26bbad", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Overpayments array with all Overpayments", "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": "b208ddf7-b53e-4f03-b01f-254e18192af9", "documentation": "Retrieves a specific overpayment using a unique overpayment Id", "method": "get", "endpoint": "Overpayments/:OverpaymentID", "responses": [ { "uuid": "070aed90-13f5-43bc-a919-826c91bd4c3a", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Overpayments array with specified Overpayments", "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": "be448b84-89e5-4540-991e-4bbb1701745d", "documentation": "Creates a single allocation for a specific overpayment", "method": "put", "endpoint": "Overpayments/:OverpaymentID/Allocations", "responses": [ { "uuid": "62de6890-d5d3-426c-9b84-45a96e33a774", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Allocations array with all Allocation for Overpayments", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1799b974-6fae-4eec-8a49-1223782355c6", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8897b3cf-7622-42df-b6dd-1d1e3514e71a", "documentation": "Retrieves history records of a specific overpayment", "method": "get", "endpoint": "Overpayments/:OverpaymentID/History", "responses": [ { "uuid": "c758aab4-8e9f-4212-8bd2-b9ea1dd73116", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of HistoryRecords array of 0 to N HistoryRecord", "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": "13e5e50a-16a8-44ef-957e-639e96c62c4e", "documentation": "Creates a history record for a specific overpayment", "method": "put", "endpoint": "Overpayments/:OverpaymentID/History", "responses": [ { "uuid": "419817e5-1ae7-4db5-9121-ebb185a6579e", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type HistoryRecords array of HistoryRecord objects", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "431816af-8dc6-4099-8bf9-720f2ea924d8", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error - API is not able to create HistoryRecord for Overpayments", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "367906ab-cc34-4850-a9b4-4fc3bc66f3db", "documentation": "Retrieves payment services", "method": "get", "endpoint": "PaymentServices", "responses": [ { "uuid": "0fffae24-93f4-429c-a6aa-65243f9eb9a7", "body": "{\n \"PaymentServices\": [\n {\n \"PayNowText\": \"\",\n \"PaymentServiceID\": \"{{faker 'string.uuid'}}\",\n \"PaymentServiceName\": \"\",\n \"PaymentServiceType\": \"\",\n \"PaymentServiceUrl\": \"\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type PaymentServices array for all PaymentService", "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": "2bf73ecf-c48d-4db1-8707-429966e52497", "documentation": "Creates a payment service", "method": "put", "endpoint": "PaymentServices", "responses": [ { "uuid": "56778b34-2642-423f-aaa4-a037fec41599", "body": "{\n \"PaymentServices\": [\n {\n \"PayNowText\": \"\",\n \"PaymentServiceID\": \"{{faker 'string.uuid'}}\",\n \"PaymentServiceName\": \"\",\n \"PaymentServiceType\": \"\",\n \"PaymentServiceUrl\": \"\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type PaymentServices array for newly created PaymentService", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d989bbdb-456b-425f-9eec-a9697d1758df", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3d4b095c-b791-44e1-89ea-e455bc457db6", "documentation": "Retrieves payments for invoices and credit notes", "method": "get", "endpoint": "Payments", "responses": [ { "uuid": "6e8fde5e-1b14-4352-847c-3612f2ef56de", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Payments array for all Payments", "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": "a8b8af1c-403b-4b1e-9ce1-f86b7320e67a", "documentation": "Creates a single payment for invoice or credit notes", "method": "post", "endpoint": "Payments", "responses": [ { "uuid": "927d6125-f997-474a-9e85-54adc7c30c0c", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Payments array for newly created Payment", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "deb22a1e-cddf-48e0-807a-ccdd7275eefa", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "86902f3a-d725-4d41-a9ac-52447c0c0dd4", "documentation": "Creates multiple payments for invoices or credit notes", "method": "put", "endpoint": "Payments", "responses": [ { "uuid": "d411b148-b44b-4aa7-b75b-032927713b00", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Payments array for newly created Payment", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "2647ce7d-ef34-42c5-abec-92a3261e621c", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7a6da859-1db0-4d52-ab2a-c7d27c72c7da", "documentation": "Retrieves a specific payment for invoices and credit notes using a unique payment Id", "method": "get", "endpoint": "Payments/:PaymentID", "responses": [ { "uuid": "7733a1e2-9796-4eb2-9136-d05c8a7f0a04", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Payments array for specified Payment", "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": "0af6c614-7e01-4946-a089-2153fa89b3fa", "documentation": "Updates a specific payment for invoices and credit notes", "method": "post", "endpoint": "Payments/:PaymentID", "responses": [ { "uuid": "63cd1463-b19d-454f-bd75-f58e46f5398f", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Payments array for updated Payment", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fdc5fc17-2a53-4342-8970-db87e3a781fe", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c0c89269-4388-421c-a0d1-dcb93189dfe6", "documentation": "Retrieves history records of a specific payment", "method": "get", "endpoint": "Payments/:PaymentID/History", "responses": [ { "uuid": "582c5bda-144b-4455-8b37-56a46cdc39f5", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of HistoryRecords array of 0 to N HistoryRecord", "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": "163c7cbc-5a4f-4e87-a1b6-110e5e1f7101", "documentation": "Creates a history record for a specific payment", "method": "put", "endpoint": "Payments/:PaymentID/History", "responses": [ { "uuid": "306085d9-a99c-4cc7-85ca-1125b231cfff", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type HistoryRecords array of HistoryRecord objects", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b4a1c638-354f-445b-92b3-3abdb45e1917", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error - API is not able to create HistoryRecord for Payments", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e3ffcc87-97ce-431a-8e10-4fc83bd0ec4a", "documentation": "Retrieves prepayments", "method": "get", "endpoint": "Prepayments", "responses": [ { "uuid": "05f6eba6-de93-4309-89f7-2079503a0f93", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Prepayments array for all Prepayment", "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": "f7c3f937-cc98-4ff2-b85e-0e13c75ebf92", "documentation": "Allows you to retrieve a specified prepayments", "method": "get", "endpoint": "Prepayments/:PrepaymentID", "responses": [ { "uuid": "8a80c6ca-2b8d-4902-abfe-b3a58825d2c5", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Prepayments array for a specified Prepayment", "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": "21607e75-575b-46f9-9622-7e06b556496d", "documentation": "Allows you to create an Allocation for prepayments", "method": "put", "endpoint": "Prepayments/:PrepaymentID/Allocations", "responses": [ { "uuid": "587ace1a-86ce-4a8d-833e-b055463695a0", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Allocations array of Allocation for all Prepayment", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "21bc585a-7015-4c34-a6f5-72395e76b689", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "909dc29d-3634-4194-8d07-e7673e3c99f2", "documentation": "Retrieves history record for a specific prepayment", "method": "get", "endpoint": "Prepayments/:PrepaymentID/History", "responses": [ { "uuid": "32d59e80-06b2-42bd-bf49-de0069844ba3", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of HistoryRecords array of 0 to N HistoryRecord", "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": "c84738f9-cdef-4fa0-aabf-476cb7a1bcee", "documentation": "Creates a history record for a specific prepayment", "method": "put", "endpoint": "Prepayments/:PrepaymentID/History", "responses": [ { "uuid": "0ac51c3f-0628-4bcf-9911-2407de1cb7a1", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type HistoryRecords array of HistoryRecord objects", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "294c3105-669e-4e48-947b-cd760f27a075", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "Unsupported - return response incorrect exception, API is not able to create HistoryRecord for Expense Claims", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "90610125-f4c8-4fd0-b0c2-2e74a99f395c", "documentation": "Retrieves purchase orders", "method": "get", "endpoint": "PurchaseOrders", "responses": [ { "uuid": "c8f54083-5efe-4e0b-bd6a-16258c000f51", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type PurchaseOrder array of all PurchaseOrder", "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": "e5599bd5-53af-4102-8257-6e8790904b19", "documentation": "Updates or creates one or more purchase orders", "method": "post", "endpoint": "PurchaseOrders", "responses": [ { "uuid": "5dbba994-e285-4f22-b2e3-c57c5f5a3a16", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type PurchaseOrder array for specified PurchaseOrder", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8526463b-62b5-4cdf-9095-92fb33fdf81b", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2cfafd0f-f86f-433b-b22f-7130b5f44359", "documentation": "Creates one or more purchase orders", "method": "put", "endpoint": "PurchaseOrders", "responses": [ { "uuid": "2901bd91-26eb-4a88-8837-f93bd8b89667", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type PurchaseOrder array for specified PurchaseOrder", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4bed11cd-13d5-41d5-8a73-7ec73f0ba47f", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c082cc1d-9fc3-452d-bc47-da8f67c98575", "documentation": "Retrieves a specific purchase order using a unique purchase order Id", "method": "get", "endpoint": "PurchaseOrders/:PurchaseOrderID", "responses": [ { "uuid": "d051c44e-5426-4ded-918f-a0c61c0ad572", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type PurchaseOrder array for specified PurchaseOrder", "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": "ae43e2a4-5148-4d42-a09a-815263132988", "documentation": "Updates a specific purchase order", "method": "post", "endpoint": "PurchaseOrders/:PurchaseOrderID", "responses": [ { "uuid": "30f8280d-f261-4e8a-b263-41a003dbf17b", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type PurchaseOrder array for updated PurchaseOrder", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5401f58b-8bbb-4ffb-8884-69ffcf97d2bd", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2f1e4ef0-a7da-4ff7-92b5-d2229dbf415f", "documentation": "Retrieves attachments for a specific purchase order", "method": "get", "endpoint": "PurchaseOrders/:PurchaseOrderID/Attachments", "responses": [ { "uuid": "c1a7af2d-0ca7-4a90-af17-48fc9df8e5a1", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array of Purchase Orders", "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": "12addccf-bba7-4ba0-a0fc-8fd17b47dee8", "documentation": "Retrieves specific attachment for a specific purchase order using a unique attachment Id", "method": "get", "endpoint": "PurchaseOrders/:PurchaseOrderID/Attachments/:AttachmentID", "responses": [ { "uuid": "b01fa14d-d596-4b71-94bf-74bd880c2cc8", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of attachment for Account as binary data", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "41a33f3c-3227-459f-a127-33f46b88e3c5", "documentation": "Retrieves a specific attachment for a specific purchase order by filename", "method": "get", "endpoint": "PurchaseOrders/:PurchaseOrderID/Attachments/:FileName", "responses": [ { "uuid": "fb5dfd5f-b4f7-48a2-b03b-9af52683fb27", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of attachment for Purchase Order as binary data", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4b026e79-338b-4cce-b399-1739a4103eb6", "documentation": "Updates a specific attachment for a specific purchase order by filename", "method": "post", "endpoint": "PurchaseOrders/:PurchaseOrderID/Attachments/:FileName", "responses": [ { "uuid": "a5fabf8e-3c4e-45f2-b6fe-0f59a4382679", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array of Attachment", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e4c2576b-b71d-461f-9e9b-ba922b025997", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "Validation Error - some data was incorrect returns response of type Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "814c6478-a2ae-464a-a856-0676d555d685", "documentation": "Creates attachment for a specific purchase order", "method": "put", "endpoint": "PurchaseOrders/:PurchaseOrderID/Attachments/:FileName", "responses": [ { "uuid": "f2b764ab-6570-4ef0-bf2e-9c1adb9fb47d", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array of Attachment", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d956c56c-fce1-4669-b501-f81d9f3c216c", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b469b467-2ae9-44eb-9a5f-68f417c371ce", "documentation": "Retrieves history for a specific purchase order", "method": "get", "endpoint": "PurchaseOrders/:PurchaseOrderID/History", "responses": [ { "uuid": "5571fb9b-1d7d-4377-9384-b1a7f4232568", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of HistoryRecords array of 0 to N HistoryRecord", "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": "ae574815-25f2-45a9-8b26-c3e4061c32bf", "documentation": "Creates a history record for a specific purchase orders", "method": "put", "endpoint": "PurchaseOrders/:PurchaseOrderID/History", "responses": [ { "uuid": "457a737e-cbb3-4f68-826d-c1f0f09b1e18", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type HistoryRecords array of HistoryRecord objects", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "df72018b-981f-442d-9407-ba8a76f4a2aa", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "39b75a1f-ada1-43e7-9487-8e2b694f6433", "documentation": "Retrieves specific purchase order as PDF files using a unique purchase order Id", "method": "get", "endpoint": "PurchaseOrders/:PurchaseOrderID/pdf", "responses": [ { "uuid": "33888fbd-08fc-4958-ab6d-648c7e8ec9e0", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of byte array pdf version of specified Purchase Orders", "headers": [{ "key": "Content-Type", "value": "application/pdf" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2de5c479-ab6b-415e-b130-830e6d534d9b", "documentation": "Retrieves a specific purchase order using purchase order number", "method": "get", "endpoint": "PurchaseOrders/:PurchaseOrderNumber", "responses": [ { "uuid": "921306b5-53a6-4182-a651-8d270fc437aa", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type PurchaseOrder array for specified PurchaseOrder", "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": "2c710736-2937-4a92-a009-f090ad682369", "documentation": "Retrieves sales quotes", "method": "get", "endpoint": "Quotes", "responses": [ { "uuid": "68e3cf0c-7015-414e-a070-2897799f3745", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type quotes array with all quotes", "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": "eea36ed4-d7fc-4974-8c98-a68b906c0ac5", "documentation": "Updates or creates one or more quotes", "method": "post", "endpoint": "Quotes", "responses": [ { "uuid": "398ee24e-17c3-4291-9fa6-3fa8ee4f7923", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Quotes array with updated or created Quote", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4da5a2b2-0d89-4248-a696-b5457f8f9fa3", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b0126896-db62-4844-928c-9244cc13e716", "documentation": "Create one or more quotes", "method": "put", "endpoint": "Quotes", "responses": [ { "uuid": "ebcb1638-c983-490f-b468-282980b34e77", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Quotes with array with newly created Quote", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "239ebf0f-ace9-4742-81cd-13b98ecdfb54", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e7d1ba12-547a-4cd6-85ee-1dcb63534aa8", "documentation": "Retrieves a specific quote using a unique quote Id", "method": "get", "endpoint": "Quotes/:QuoteID", "responses": [ { "uuid": "26322a38-b786-40e8-9020-b3f412ff031e", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Quotes array with specified Quote", "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": "a7f1c418-e0e1-4d9b-9a13-e9e517bea30f", "documentation": "Updates a specific quote", "method": "post", "endpoint": "Quotes/:QuoteID", "responses": [ { "uuid": "db0e62d1-1f85-49c4-b909-092be2a69333", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Quotes array with updated Quote", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "66b40a07-dd0d-41bf-89fb-091c60e454bb", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5888a27d-9e20-485e-a917-98871d89083f", "documentation": "Retrieves attachments for a specific quote", "method": "get", "endpoint": "Quotes/:QuoteID/Attachments", "responses": [ { "uuid": "fddacb27-c7be-45a9-8898-9ca9c1c7ca5e", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array of Attachment", "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": "ad816b86-ade0-42d8-bbf8-09b72f2aeae5", "documentation": "Retrieves a specific attachment from a specific quote using a unique attachment Id", "method": "get", "endpoint": "Quotes/:QuoteID/Attachments/:AttachmentID", "responses": [ { "uuid": "66c42417-d762-44eb-b536-20bd57a17bb9", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of attachment for Quote as binary data", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "651b42e3-907f-442e-aa6f-cbd018269d52", "documentation": "Retrieves a specific attachment from a specific quote by filename", "method": "get", "endpoint": "Quotes/:QuoteID/Attachments/:FileName", "responses": [ { "uuid": "13c8ac25-9395-451f-b968-b6145249b4da", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of attachment for Quote as binary data", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "534e7090-f787-4ac6-a736-5017763da90b", "documentation": "Updates a specific attachment from a specific quote by filename", "method": "post", "endpoint": "Quotes/:QuoteID/Attachments/:FileName", "responses": [ { "uuid": "07829552-a444-42de-9ae7-a9de47920fcb", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array of Attachment", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "92c12bda-9eef-49d0-92dc-973e1489a0a2", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "Validation Error - some data was incorrect returns response of type Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dbe4fd29-85e1-4a82-9277-a00a198cccf5", "documentation": "Creates attachment for a specific quote", "method": "put", "endpoint": "Quotes/:QuoteID/Attachments/:FileName", "responses": [ { "uuid": "87578448-cd4b-433a-bdad-1830ff87b24a", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array of Attachment", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5684222f-7815-4040-93f8-6bbcfa867336", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "72d36f86-3635-477a-a567-310aeeed0b3a", "documentation": "Retrieves history records of a specific quote", "method": "get", "endpoint": "Quotes/:QuoteID/History", "responses": [ { "uuid": "109c2dc3-d8d8-4014-a071-8639648ddcfa", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of HistoryRecords array of 0 to N HistoryRecord", "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": "97a3f040-b137-4988-81f1-d5e4ac2fce57", "documentation": "Creates a history record for a specific quote", "method": "put", "endpoint": "Quotes/:QuoteID/History", "responses": [ { "uuid": "1212d610-9443-402b-af75-6f100c308879", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type HistoryRecords array of HistoryRecord objects", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1647e20e-c72d-4075-9966-7b511076a905", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "64ac2288-9e3e-4db7-aeb1-afbef3d60d0d", "documentation": "Retrieves a specific quote as a PDF file using a unique quote Id", "method": "get", "endpoint": "Quotes/:QuoteID/pdf", "responses": [ { "uuid": "47ca3447-1330-4abf-93c0-a0dd2eaff887", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of byte array pdf version of specified Quotes", "headers": [{ "key": "Content-Type", "value": "application/pdf" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9a158296-39ee-4f5f-9cb0-e1e8a5b10dc1", "documentation": "Retrieves draft expense claim receipts for any user", "method": "get", "endpoint": "Receipts", "responses": [ { "uuid": "c90c53a5-1caf-4ade-a85f-dfa110e2d3ce", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Receipts array for all Receipt", "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": "72543fd3-690c-4c21-b083-c2e0bf0f3941", "documentation": "Creates draft expense claim receipts for any user", "method": "put", "endpoint": "Receipts", "responses": [ { "uuid": "f64e642c-9973-4646-b25d-d135722ccd7b", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Receipts array for newly created Receipt", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "783b337e-107b-456e-b028-a2cabd494b08", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "25f16b2a-b543-4497-8bb7-6e52305c7f92", "documentation": "Retrieves a specific draft expense claim receipt by using a unique receipt Id", "method": "get", "endpoint": "Receipts/:ReceiptID", "responses": [ { "uuid": "8c7e3b84-0ee6-4f2e-a876-2ef018d4525b", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Receipts array for a specified Receipt", "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": "d5dd8ecd-5816-49d5-9598-2205ca74a5d3", "documentation": "Updates a specific draft expense claim receipts", "method": "post", "endpoint": "Receipts/:ReceiptID", "responses": [ { "uuid": "37e52d07-316b-473a-a288-fff95ee51bf9", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Receipts array for updated Receipt", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "650c7e5c-68d0-4ed3-b03f-5fcca9ec1c82", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7868da85-e676-4374-9ee1-ef890a16918b", "documentation": "Retrieves attachments for a specific expense claim receipt", "method": "get", "endpoint": "Receipts/:ReceiptID/Attachments", "responses": [ { "uuid": "b9a48905-f6a0-4734-ae52-a8f499782ed5", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array of Attachments for a specified Receipt", "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": "9de961d9-52ab-467e-b335-f222c654a00a", "documentation": "Retrieves a specific attachments from a specific expense claim receipts by using a unique attachment Id", "method": "get", "endpoint": "Receipts/:ReceiptID/Attachments/:AttachmentID", "responses": [ { "uuid": "890b2062-c32b-4acf-a236-10c7a6bf32e3", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of attachment for Receipt as binary data", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2977a9a3-4788-4355-87a6-30b46ea78778", "documentation": "Retrieves a specific attachment from a specific expense claim receipts by file name", "method": "get", "endpoint": "Receipts/:ReceiptID/Attachments/:FileName", "responses": [ { "uuid": "19220287-756d-4248-9606-b3392325b4c6", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of attachment for Receipt as binary data", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d849256b-c91b-4ff9-8699-4987ae129b2b", "documentation": "Updates a specific attachment on a specific expense claim receipts by file name", "method": "post", "endpoint": "Receipts/:ReceiptID/Attachments/:FileName", "responses": [ { "uuid": "ab261db3-73a9-4016-8443-a6610a754c63", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array with updated Attachment for a specified Receipt", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ee570348-0326-4eaf-8b9f-88fda03abf14", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ccff38ec-8e37-4099-b2a4-7d8104e8b8f6", "documentation": "Creates an attachment on a specific expense claim receipts by file name", "method": "put", "endpoint": "Receipts/:ReceiptID/Attachments/:FileName", "responses": [ { "uuid": "6e1c1f60-6ae8-43bd-9375-3df616c0936d", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array with newly created Attachment for a specified Receipt", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "afccb0d5-3b1b-4142-861c-4301972beaf6", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9797a2f1-b7a4-416b-84e4-8913ee763510", "documentation": "Retrieves a history record for a specific receipt", "method": "get", "endpoint": "Receipts/:ReceiptID/History", "responses": [ { "uuid": "cdd376e3-10e6-40a3-b2f3-c0e72fb03105", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of HistoryRecords array of 0 to N HistoryRecord", "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": "184dc963-99ea-43f6-b2d0-2a144371a0cd", "documentation": "Creates a history record for a specific receipt", "method": "put", "endpoint": "Receipts/:ReceiptID/History", "responses": [ { "uuid": "aac49b4e-3810-4aa5-ad73-8dc691632198", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type HistoryRecords array of HistoryRecord objects", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "caa682c7-8433-429f-bdc6-cb5136022340", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "Unsupported - return response incorrect exception, API is not able to create HistoryRecord for Receipts", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "50a35eb5-4d4a-4f88-9834-cbc64891622a", "documentation": "Retrieves repeating invoices", "method": "get", "endpoint": "RepeatingInvoices", "responses": [ { "uuid": "0ac84890-a971-4619-964f-f2d33b78886a", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Repeating Invoices array for all Repeating Invoice", "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": "96fdd80b-8bdc-4c44-b9d6-1d45e7e3f522", "documentation": "Retrieves a specific repeating invoice by using a unique repeating invoice Id", "method": "get", "endpoint": "RepeatingInvoices/:RepeatingInvoiceID", "responses": [ { "uuid": "ef62c363-5b3d-4631-8e95-3db5d2df10ad", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success - return response of type Repeating Invoices array with a specified Repeating Invoice", "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": "7361de09-d9a7-415c-9de0-ae889892e681", "documentation": "Retrieves attachments from a specific repeating invoice", "method": "get", "endpoint": "RepeatingInvoices/:RepeatingInvoiceID/Attachments", "responses": [ { "uuid": "13279dff-8ec6-4bde-b742-416ce810f925", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array with all Attachments for a specified Repeating Invoice", "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": "81238755-b547-4a63-ab57-f01bbf0bd92d", "documentation": "Retrieves a specific attachment from a specific repeating invoice", "method": "get", "endpoint": "RepeatingInvoices/:RepeatingInvoiceID/Attachments/:AttachmentID", "responses": [ { "uuid": "24d4cc15-6eec-46f7-aa1b-3d03c1305ad6", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of attachment for Repeating Invoice as binary data", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "90edd4aa-8935-4d36-b3b9-4045ed415526", "documentation": "Retrieves a specific attachment from a specific repeating invoices by file name", "method": "get", "endpoint": "RepeatingInvoices/:RepeatingInvoiceID/Attachments/:FileName", "responses": [ { "uuid": "c8fc62c6-64c1-406f-9500-919989715c48", "body": "", "latency": 0, "statusCode": 200, "label": "Success - return response of attachment for Repeating Invoice as binary data", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d2cf1810-a647-4c82-9d56-d60723f16a84", "documentation": "Updates a specific attachment from a specific repeating invoices by file name", "method": "post", "endpoint": "RepeatingInvoices/:RepeatingInvoiceID/Attachments/:FileName", "responses": [ { "uuid": "f6759489-91cf-4299-8439-f00937d1f162", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array with specified Attachment for a specified Repeating Invoice", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4b0a2d40-1cbe-4d5a-af2e-3e7a21d38b5b", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "121c53b1-8833-414d-a4ea-ee5f18a5e2a3", "documentation": "Creates an attachment from a specific repeating invoices by file name", "method": "put", "endpoint": "RepeatingInvoices/:RepeatingInvoiceID/Attachments/:FileName", "responses": [ { "uuid": "cd04eccf-832b-4d46-af23-46f76b73d17b", "body": "{\n \"Attachments\": [\n {\n \"AttachmentID\": \"00000000-0000-0000-0000-000000000000\",\n \"ContentLength\": {{faker 'number.int' max=99999}},\n \"FileName\": \"xero-dev.jpg\",\n \"IncludeOnline\": {{faker 'datatype.boolean'}},\n \"MimeType\": \"image/jpg\",\n \"Url\": \"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Attachments array with updated Attachment for a specified Repeating Invoice", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7bf9a61f-732d-46c9-b1c7-62d7eb1f126f", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "cdfed4bb-57f0-426d-b604-3e71a371c157", "documentation": "Retrieves history record for a specific repeating invoice", "method": "get", "endpoint": "RepeatingInvoices/:RepeatingInvoiceID/History", "responses": [ { "uuid": "9ff8be8e-bb64-4ddc-b56c-e940480559de", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of HistoryRecords array of 0 to N HistoryRecord", "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": "e562c5a0-160e-452f-ba2d-63296fd35c9f", "documentation": "Creates a history record for a specific repeating invoice", "method": "put", "endpoint": "RepeatingInvoices/:RepeatingInvoiceID/History", "responses": [ { "uuid": "6d207e9d-dbf0-428e-94de-0e8264e76ccb", "body": "{\n \"HistoryRecords\": [\n {\n \"Changes\": \"\",\n \"DateUTC\": \"/Date(1573755038314)/\",\n \"Details\": \"\",\n \"User\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type HistoryRecords array of HistoryRecord objects", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c676f828-d3ed-4c51-b51e-543103958faa", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a59197df-0ae8-4ba8-b62e-a261fcf63e12", "documentation": "Retrieves report for BAS (only valid for AU orgs)", "method": "get", "endpoint": "Reports", "responses": [ { "uuid": "bbc00c6c-8f44-4dd0-a975-a31f5f9f3206", "body": "{\n \"Reports\": [\n {\n \"Fields\": [\n {\n \"Description\": \"\",\n \"FieldID\": \"\",\n \"Value\": \"\"\n }\n ],\n \"ReportDate\": \"\",\n \"ReportID\": \"\",\n \"ReportName\": \"\",\n \"ReportTitle\": \"\",\n \"ReportTitles\": [\n \"\"\n ],\n \"ReportType\": \"\",\n \"Rows\": [\n {\n \"Cells\": [\n {\n \"Attributes\": [\n {\n \"Id\": \"\",\n \"Value\": \"\"\n }\n ],\n \"Value\": \"\"\n }\n ],\n \"RowType\": \"{{oneOf (array 'Header' 'Section' 'Row' 'SummaryRow')}}\",\n \"Rows\": [\n {\n \"Cells\": [\n {\n \"Attributes\": [\n {\n \"Id\": \"\",\n \"Value\": \"\"\n }\n ],\n \"Value\": \"\"\n }\n ],\n \"RowType\": \"{{oneOf (array 'Header' 'Section' 'Row' 'SummaryRow')}}\",\n \"Title\": \"\"\n }\n ],\n \"Title\": \"\"\n }\n ],\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type ReportWithRows", "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": "f3950ff2-1f49-435a-af62-74dfa8a7a14a", "documentation": "Retrieves report for aged payables by contact", "method": "get", "endpoint": "Reports/AgedPayablesByContact", "responses": [ { "uuid": "3a146ae8-d35f-4fb4-b43e-0778c24a1d45", "body": "{\n \"Reports\": [\n {\n \"Fields\": [\n {\n \"Description\": \"\",\n \"FieldID\": \"\",\n \"Value\": \"\"\n }\n ],\n \"ReportDate\": \"\",\n \"ReportID\": \"\",\n \"ReportName\": \"\",\n \"ReportTitle\": \"\",\n \"ReportTitles\": [\n \"\"\n ],\n \"ReportType\": \"\",\n \"Rows\": [\n {\n \"Cells\": [\n {\n \"Attributes\": [\n {\n \"Id\": \"\",\n \"Value\": \"\"\n }\n ],\n \"Value\": \"\"\n }\n ],\n \"RowType\": \"{{oneOf (array 'Header' 'Section' 'Row' 'SummaryRow')}}\",\n \"Rows\": [\n {\n \"Cells\": [\n {\n \"Attributes\": [\n {\n \"Id\": \"\",\n \"Value\": \"\"\n }\n ],\n \"Value\": \"\"\n }\n ],\n \"RowType\": \"{{oneOf (array 'Header' 'Section' 'Row' 'SummaryRow')}}\",\n \"Title\": \"\"\n }\n ],\n \"Title\": \"\"\n }\n ],\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type ReportWithRows", "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": "6817f826-5d44-4e6f-a99c-a829b3bbe1ac", "documentation": "Retrieves report for aged receivables by contact", "method": "get", "endpoint": "Reports/AgedReceivablesByContact", "responses": [ { "uuid": "843cb34b-769e-481c-8c3b-82ff31b79902", "body": "{\n \"Reports\": [\n {\n \"Fields\": [\n {\n \"Description\": \"\",\n \"FieldID\": \"\",\n \"Value\": \"\"\n }\n ],\n \"ReportDate\": \"\",\n \"ReportID\": \"\",\n \"ReportName\": \"\",\n \"ReportTitle\": \"\",\n \"ReportTitles\": [\n \"\"\n ],\n \"ReportType\": \"\",\n \"Rows\": [\n {\n \"Cells\": [\n {\n \"Attributes\": [\n {\n \"Id\": \"\",\n \"Value\": \"\"\n }\n ],\n \"Value\": \"\"\n }\n ],\n \"RowType\": \"{{oneOf (array 'Header' 'Section' 'Row' 'SummaryRow')}}\",\n \"Rows\": [\n {\n \"Cells\": [\n {\n \"Attributes\": [\n {\n \"Id\": \"\",\n \"Value\": \"\"\n }\n ],\n \"Value\": \"\"\n }\n ],\n \"RowType\": \"{{oneOf (array 'Header' 'Section' 'Row' 'SummaryRow')}}\",\n \"Title\": \"\"\n }\n ],\n \"Title\": \"\"\n }\n ],\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type ReportWithRows", "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": "103a5c43-b3d8-4449-b503-236f5f844dbc", "documentation": "Retrieves report for balancesheet", "method": "get", "endpoint": "Reports/BalanceSheet", "responses": [ { "uuid": "4bd6fa1e-54c2-4698-b25d-b86b347877f0", "body": "{\n \"Reports\": [\n {\n \"Fields\": [\n {\n \"Description\": \"\",\n \"FieldID\": \"\",\n \"Value\": \"\"\n }\n ],\n \"ReportDate\": \"\",\n \"ReportID\": \"\",\n \"ReportName\": \"\",\n \"ReportTitle\": \"\",\n \"ReportTitles\": [\n \"\"\n ],\n \"ReportType\": \"\",\n \"Rows\": [\n {\n \"Cells\": [\n {\n \"Attributes\": [\n {\n \"Id\": \"\",\n \"Value\": \"\"\n }\n ],\n \"Value\": \"\"\n }\n ],\n \"RowType\": \"{{oneOf (array 'Header' 'Section' 'Row' 'SummaryRow')}}\",\n \"Rows\": [\n {\n \"Cells\": [\n {\n \"Attributes\": [\n {\n \"Id\": \"\",\n \"Value\": \"\"\n }\n ],\n \"Value\": \"\"\n }\n ],\n \"RowType\": \"{{oneOf (array 'Header' 'Section' 'Row' 'SummaryRow')}}\",\n \"Title\": \"\"\n }\n ],\n \"Title\": \"\"\n }\n ],\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type ReportWithRows", "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": "9e0c184e-8568-4477-863e-4444f5ab17c4", "documentation": "Retrieves report for bank summary", "method": "get", "endpoint": "Reports/BankSummary", "responses": [ { "uuid": "ac969fb4-77b5-408d-9273-7b2c2c089408", "body": "{\n \"Reports\": [\n {\n \"Fields\": [\n {\n \"Description\": \"\",\n \"FieldID\": \"\",\n \"Value\": \"\"\n }\n ],\n \"ReportDate\": \"\",\n \"ReportID\": \"\",\n \"ReportName\": \"\",\n \"ReportTitle\": \"\",\n \"ReportTitles\": [\n \"\"\n ],\n \"ReportType\": \"\",\n \"Rows\": [\n {\n \"Cells\": [\n {\n \"Attributes\": [\n {\n \"Id\": \"\",\n \"Value\": \"\"\n }\n ],\n \"Value\": \"\"\n }\n ],\n \"RowType\": \"{{oneOf (array 'Header' 'Section' 'Row' 'SummaryRow')}}\",\n \"Rows\": [\n {\n \"Cells\": [\n {\n \"Attributes\": [\n {\n \"Id\": \"\",\n \"Value\": \"\"\n }\n ],\n \"Value\": \"\"\n }\n ],\n \"RowType\": \"{{oneOf (array 'Header' 'Section' 'Row' 'SummaryRow')}}\",\n \"Title\": \"\"\n }\n ],\n \"Title\": \"\"\n }\n ],\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type ReportWithRows", "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": "9c8445df-cd30-4a39-99e9-fc3eb987dda2", "documentation": "Retrieves report for budget summary", "method": "get", "endpoint": "Reports/BudgetSummary", "responses": [ { "uuid": "687da912-6701-4154-8a9b-c456684d04a4", "body": "{\n \"Reports\": [\n {\n \"Fields\": [\n {\n \"Description\": \"\",\n \"FieldID\": \"\",\n \"Value\": \"\"\n }\n ],\n \"ReportDate\": \"\",\n \"ReportID\": \"\",\n \"ReportName\": \"\",\n \"ReportTitle\": \"\",\n \"ReportTitles\": [\n \"\"\n ],\n \"ReportType\": \"\",\n \"Rows\": [\n {\n \"Cells\": [\n {\n \"Attributes\": [\n {\n \"Id\": \"\",\n \"Value\": \"\"\n }\n ],\n \"Value\": \"\"\n }\n ],\n \"RowType\": \"{{oneOf (array 'Header' 'Section' 'Row' 'SummaryRow')}}\",\n \"Rows\": [\n {\n \"Cells\": [\n {\n \"Attributes\": [\n {\n \"Id\": \"\",\n \"Value\": \"\"\n }\n ],\n \"Value\": \"\"\n }\n ],\n \"RowType\": \"{{oneOf (array 'Header' 'Section' 'Row' 'SummaryRow')}}\",\n \"Title\": \"\"\n }\n ],\n \"Title\": \"\"\n }\n ],\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "success- return a Report with Rows object", "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": "04ef4e06-7355-4612-b673-25c462c601f3", "documentation": "Retrieves report for executive summary", "method": "get", "endpoint": "Reports/ExecutiveSummary", "responses": [ { "uuid": "2ddeb4b6-a1a5-4456-a4fe-0d9eda8b2f8b", "body": "{\n \"Reports\": [\n {\n \"Fields\": [\n {\n \"Description\": \"\",\n \"FieldID\": \"\",\n \"Value\": \"\"\n }\n ],\n \"ReportDate\": \"\",\n \"ReportID\": \"\",\n \"ReportName\": \"\",\n \"ReportTitle\": \"\",\n \"ReportTitles\": [\n \"\"\n ],\n \"ReportType\": \"\",\n \"Rows\": [\n {\n \"Cells\": [\n {\n \"Attributes\": [\n {\n \"Id\": \"\",\n \"Value\": \"\"\n }\n ],\n \"Value\": \"\"\n }\n ],\n \"RowType\": \"{{oneOf (array 'Header' 'Section' 'Row' 'SummaryRow')}}\",\n \"Rows\": [\n {\n \"Cells\": [\n {\n \"Attributes\": [\n {\n \"Id\": \"\",\n \"Value\": \"\"\n }\n ],\n \"Value\": \"\"\n }\n ],\n \"RowType\": \"{{oneOf (array 'Header' 'Section' 'Row' 'SummaryRow')}}\",\n \"Title\": \"\"\n }\n ],\n \"Title\": \"\"\n }\n ],\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type ReportWithRows", "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": "a5e657ff-3eb5-4003-9774-01912df2cf30", "documentation": "Retrieves report for profit and loss", "method": "get", "endpoint": "Reports/ProfitAndLoss", "responses": [ { "uuid": "88d6a156-df13-4635-ae9a-ad69f1e7f064", "body": "{\n \"Reports\": [\n {\n \"Fields\": [\n {\n \"Description\": \"\",\n \"FieldID\": \"\",\n \"Value\": \"\"\n }\n ],\n \"ReportDate\": \"\",\n \"ReportID\": \"\",\n \"ReportName\": \"\",\n \"ReportTitle\": \"\",\n \"ReportTitles\": [\n \"\"\n ],\n \"ReportType\": \"\",\n \"Rows\": [\n {\n \"Cells\": [\n {\n \"Attributes\": [\n {\n \"Id\": \"\",\n \"Value\": \"\"\n }\n ],\n \"Value\": \"\"\n }\n ],\n \"RowType\": \"{{oneOf (array 'Header' 'Section' 'Row' 'SummaryRow')}}\",\n \"Rows\": [\n {\n \"Cells\": [\n {\n \"Attributes\": [\n {\n \"Id\": \"\",\n \"Value\": \"\"\n }\n ],\n \"Value\": \"\"\n }\n ],\n \"RowType\": \"{{oneOf (array 'Header' 'Section' 'Row' 'SummaryRow')}}\",\n \"Title\": \"\"\n }\n ],\n \"Title\": \"\"\n }\n ],\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type ReportWithRows", "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": "5ae6daf3-73f4-433d-a97a-19d29f6a62ae", "documentation": "Retrieve reports for 1099", "method": "get", "endpoint": "Reports/TenNinetyNine", "responses": [ { "uuid": "5434693c-150e-49fb-aa0a-110135f283f0", "body": "{\n \"Reports\": [\n {\n \"Contacts\": [\n {\n \"Box1\": {{faker 'number.float'}},\n \"Box10\": {{faker 'number.float'}},\n \"Box11\": {{faker 'number.float'}},\n \"Box13\": {{faker 'number.float'}},\n \"Box14\": {{faker 'number.float'}},\n \"Box2\": {{faker 'number.float'}},\n \"Box3\": {{faker 'number.float'}},\n \"Box4\": {{faker 'number.float'}},\n \"Box5\": {{faker 'number.float'}},\n \"Box6\": {{faker 'number.float'}},\n \"Box7\": {{faker 'number.float'}},\n \"Box8\": {{faker 'number.float'}},\n \"Box9\": {{faker 'number.float'}},\n \"City\": \"\",\n \"ContactId\": \"{{faker 'string.uuid'}}\",\n \"Email\": \"\",\n \"FederalTaxIDType\": \"\",\n \"Name\": \"\",\n \"State\": \"\",\n \"StreetAddress\": \"\",\n \"TaxID\": \"\",\n \"Zip\": \"\"\n }\n ],\n \"ReportDate\": \"\",\n \"ReportID\": \"\",\n \"ReportName\": \"\",\n \"ReportTitle\": \"\",\n \"ReportType\": \"{{oneOf (array 'AgedPayablesByContact')}}\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Reports", "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": "71c146ec-73da-4ad3-b192-7d7c8393198c", "documentation": "Retrieves report for trial balance", "method": "get", "endpoint": "Reports/TrialBalance", "responses": [ { "uuid": "1dcccf64-9a2a-4c86-a60c-fe7b4da79b71", "body": "{\n \"Reports\": [\n {\n \"Fields\": [\n {\n \"Description\": \"\",\n \"FieldID\": \"\",\n \"Value\": \"\"\n }\n ],\n \"ReportDate\": \"\",\n \"ReportID\": \"\",\n \"ReportName\": \"\",\n \"ReportTitle\": \"\",\n \"ReportTitles\": [\n \"\"\n ],\n \"ReportType\": \"\",\n \"Rows\": [\n {\n \"Cells\": [\n {\n \"Attributes\": [\n {\n \"Id\": \"\",\n \"Value\": \"\"\n }\n ],\n \"Value\": \"\"\n }\n ],\n \"RowType\": \"{{oneOf (array 'Header' 'Section' 'Row' 'SummaryRow')}}\",\n \"Rows\": [\n {\n \"Cells\": [\n {\n \"Attributes\": [\n {\n \"Id\": \"\",\n \"Value\": \"\"\n }\n ],\n \"Value\": \"\"\n }\n ],\n \"RowType\": \"{{oneOf (array 'Header' 'Section' 'Row' 'SummaryRow')}}\",\n \"Title\": \"\"\n }\n ],\n \"Title\": \"\"\n }\n ],\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type ReportWithRows", "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": "9403f6e6-e724-4c4f-898c-fb12f44073cf", "documentation": "Retrieves a specific report for BAS using a unique report Id (only valid for AU orgs)", "method": "get", "endpoint": "Reports/:ReportID", "responses": [ { "uuid": "8b011ca7-0fe3-4820-bf83-6db015bf5788", "body": "{\n \"Reports\": [\n {\n \"Fields\": [\n {\n \"Description\": \"\",\n \"FieldID\": \"\",\n \"Value\": \"\"\n }\n ],\n \"ReportDate\": \"\",\n \"ReportID\": \"\",\n \"ReportName\": \"\",\n \"ReportTitle\": \"\",\n \"ReportTitles\": [\n \"\"\n ],\n \"ReportType\": \"\",\n \"Rows\": [\n {\n \"Cells\": [\n {\n \"Attributes\": [\n {\n \"Id\": \"\",\n \"Value\": \"\"\n }\n ],\n \"Value\": \"\"\n }\n ],\n \"RowType\": \"{{oneOf (array 'Header' 'Section' 'Row' 'SummaryRow')}}\",\n \"Rows\": [\n {\n \"Cells\": [\n {\n \"Attributes\": [\n {\n \"Id\": \"\",\n \"Value\": \"\"\n }\n ],\n \"Value\": \"\"\n }\n ],\n \"RowType\": \"{{oneOf (array 'Header' 'Section' 'Row' 'SummaryRow')}}\",\n \"Title\": \"\"\n }\n ],\n \"Title\": \"\"\n }\n ],\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type ReportWithRows", "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": "bc57acf4-f6e9-4fd7-a522-fc83930cd82f", "documentation": "Sets the chart of accounts, the conversion date and conversion balances", "method": "post", "endpoint": "Setup", "responses": [ { "uuid": "f19aa2ba-96e0-4a27-9e4e-c40f21950eaa", "body": "{\n \"ImportSummary\": {\n \"Accounts\": {\n \"Deleted\": {{faker 'number.int' max=99999}},\n \"Errored\": {{faker 'number.int' max=99999}},\n \"Locked\": {{faker 'number.int' max=99999}},\n \"New\": {{faker 'number.int' max=99999}},\n \"NewOrUpdated\": {{faker 'number.int' max=99999}},\n \"Present\": {{faker 'datatype.boolean'}},\n \"System\": {{faker 'number.int' max=99999}},\n \"Total\": {{faker 'number.int' max=99999}},\n \"Updated\": {{faker 'number.int' max=99999}}\n },\n \"Organisation\": {\n \"Present\": {{faker 'datatype.boolean'}}\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "Success - returns a summary of the chart of accounts updates", "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": "94cca74f-3d2a-4321-96ce-07373baff81d", "documentation": "Retrieves tax rates", "method": "get", "endpoint": "TaxRates", "responses": [ { "uuid": "448eaacc-0048-4570-a2bb-adf04e4641ba", "body": "{\n \"TaxRates\": [\n {\n \"CanApplyToAssets\": {{faker 'datatype.boolean'}},\n \"CanApplyToEquity\": {{faker 'datatype.boolean'}},\n \"CanApplyToExpenses\": {{faker 'datatype.boolean'}},\n \"CanApplyToLiabilities\": {{faker 'datatype.boolean'}},\n \"CanApplyToRevenue\": {{faker 'datatype.boolean'}},\n \"DisplayTaxRate\": {{faker 'number.float'}},\n \"EffectiveRate\": {{faker 'number.float'}},\n \"Name\": \"\",\n \"ReportTaxType\": \"{{oneOf (array 'AVALARA' 'BASEXCLUDED' 'CAPITALSALESOUTPUT' 'CAPITALEXPENSESINPUT' 'ECOUTPUT' 'ECOUTPUTSERVICES' 'ECINPUT' 'ECACQUISITIONS' 'EXEMPTEXPENSES' 'EXEMPTINPUT' 'EXEMPTOUTPUT' 'GSTONIMPORTS' 'INPUT' 'INPUTTAXED' 'MOSSSALES' 'NONE' 'NONEOUTPUT' 'OUTPUT' 'PURCHASESINPUT' 'SALESOUTPUT' 'EXEMPTCAPITAL' 'EXEMPTEXPORT' 'CAPITALEXINPUT' 'GSTONCAPIMPORTS' 'GSTONCAPITALIMPORTS' 'REVERSECHARGES' 'PAYMENTS' 'INVOICE' 'CASH' 'ACCRUAL' 'FLATRATECASH' 'FLATRATEACCRUAL' 'ACCRUALS' 'TXCA' 'SRCAS' 'DSOUTPUT' 'BLINPUT2' 'EPINPUT' 'IMINPUT2' 'MEINPUT' 'IGDSINPUT2' 'ESN33OUTPUT' 'OPINPUT' 'OSOUTPUT' 'TXN33INPUT' 'TXESSINPUT' 'TXREINPUT' 'TXPETINPUT' 'NRINPUT' 'ES33OUTPUT' 'ZERORATEDINPUT' 'ZERORATEDOUTPUT' 'DRCHARGESUPPLY' 'DRCHARGE' 'CAPINPUT' 'CAPIMPORTS' 'IMINPUT' 'INPUT2' 'CIUINPUT' 'SRINPUT' 'OUTPUT2' 'SROUTPUT' 'CAPOUTPUT' 'SROUTPUT2' 'CIUOUTPUT' 'ZROUTPUT' 'ZREXPORT' 'ACC28PLUS' 'ACCUPTO28' 'OTHEROUTPUT' 'SHOUTPUT' 'ZRINPUT' 'BADDEBT' 'OTHERINPUT')}}\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'DELETED' 'ARCHIVED' 'PENDING')}}\",\n \"TaxComponents\": [\n {\n \"IsCompound\": {{faker 'datatype.boolean'}},\n \"IsNonRecoverable\": {{faker 'datatype.boolean'}},\n \"Name\": \"\",\n \"Rate\": {{faker 'number.float'}}\n }\n ],\n \"TaxType\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type TaxRates array with TaxRates", "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": "0517efcb-3ee1-468e-9a4b-3c6885a6c22f", "documentation": "Updates tax rates", "method": "post", "endpoint": "TaxRates", "responses": [ { "uuid": "95d3e088-02c9-42bd-b61e-5804b7c12e83", "body": "{\n \"TaxRates\": [\n {\n \"CanApplyToAssets\": {{faker 'datatype.boolean'}},\n \"CanApplyToEquity\": {{faker 'datatype.boolean'}},\n \"CanApplyToExpenses\": {{faker 'datatype.boolean'}},\n \"CanApplyToLiabilities\": {{faker 'datatype.boolean'}},\n \"CanApplyToRevenue\": {{faker 'datatype.boolean'}},\n \"DisplayTaxRate\": {{faker 'number.float'}},\n \"EffectiveRate\": {{faker 'number.float'}},\n \"Name\": \"\",\n \"ReportTaxType\": \"{{oneOf (array 'AVALARA' 'BASEXCLUDED' 'CAPITALSALESOUTPUT' 'CAPITALEXPENSESINPUT' 'ECOUTPUT' 'ECOUTPUTSERVICES' 'ECINPUT' 'ECACQUISITIONS' 'EXEMPTEXPENSES' 'EXEMPTINPUT' 'EXEMPTOUTPUT' 'GSTONIMPORTS' 'INPUT' 'INPUTTAXED' 'MOSSSALES' 'NONE' 'NONEOUTPUT' 'OUTPUT' 'PURCHASESINPUT' 'SALESOUTPUT' 'EXEMPTCAPITAL' 'EXEMPTEXPORT' 'CAPITALEXINPUT' 'GSTONCAPIMPORTS' 'GSTONCAPITALIMPORTS' 'REVERSECHARGES' 'PAYMENTS' 'INVOICE' 'CASH' 'ACCRUAL' 'FLATRATECASH' 'FLATRATEACCRUAL' 'ACCRUALS' 'TXCA' 'SRCAS' 'DSOUTPUT' 'BLINPUT2' 'EPINPUT' 'IMINPUT2' 'MEINPUT' 'IGDSINPUT2' 'ESN33OUTPUT' 'OPINPUT' 'OSOUTPUT' 'TXN33INPUT' 'TXESSINPUT' 'TXREINPUT' 'TXPETINPUT' 'NRINPUT' 'ES33OUTPUT' 'ZERORATEDINPUT' 'ZERORATEDOUTPUT' 'DRCHARGESUPPLY' 'DRCHARGE' 'CAPINPUT' 'CAPIMPORTS' 'IMINPUT' 'INPUT2' 'CIUINPUT' 'SRINPUT' 'OUTPUT2' 'SROUTPUT' 'CAPOUTPUT' 'SROUTPUT2' 'CIUOUTPUT' 'ZROUTPUT' 'ZREXPORT' 'ACC28PLUS' 'ACCUPTO28' 'OTHEROUTPUT' 'SHOUTPUT' 'ZRINPUT' 'BADDEBT' 'OTHERINPUT')}}\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'DELETED' 'ARCHIVED' 'PENDING')}}\",\n \"TaxComponents\": [\n {\n \"IsCompound\": {{faker 'datatype.boolean'}},\n \"IsNonRecoverable\": {{faker 'datatype.boolean'}},\n \"Name\": \"\",\n \"Rate\": {{faker 'number.float'}}\n }\n ],\n \"TaxType\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type TaxRates array updated TaxRate", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "19e30765-f85a-4394-b848-78f82a079dbf", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "17682181-a520-4134-ad9a-77de6468a7ec", "documentation": "Creates one or more tax rates", "method": "put", "endpoint": "TaxRates", "responses": [ { "uuid": "6357e917-4290-4e39-9bd1-42996bbcc898", "body": "{\n \"TaxRates\": [\n {\n \"CanApplyToAssets\": {{faker 'datatype.boolean'}},\n \"CanApplyToEquity\": {{faker 'datatype.boolean'}},\n \"CanApplyToExpenses\": {{faker 'datatype.boolean'}},\n \"CanApplyToLiabilities\": {{faker 'datatype.boolean'}},\n \"CanApplyToRevenue\": {{faker 'datatype.boolean'}},\n \"DisplayTaxRate\": {{faker 'number.float'}},\n \"EffectiveRate\": {{faker 'number.float'}},\n \"Name\": \"\",\n \"ReportTaxType\": \"{{oneOf (array 'AVALARA' 'BASEXCLUDED' 'CAPITALSALESOUTPUT' 'CAPITALEXPENSESINPUT' 'ECOUTPUT' 'ECOUTPUTSERVICES' 'ECINPUT' 'ECACQUISITIONS' 'EXEMPTEXPENSES' 'EXEMPTINPUT' 'EXEMPTOUTPUT' 'GSTONIMPORTS' 'INPUT' 'INPUTTAXED' 'MOSSSALES' 'NONE' 'NONEOUTPUT' 'OUTPUT' 'PURCHASESINPUT' 'SALESOUTPUT' 'EXEMPTCAPITAL' 'EXEMPTEXPORT' 'CAPITALEXINPUT' 'GSTONCAPIMPORTS' 'GSTONCAPITALIMPORTS' 'REVERSECHARGES' 'PAYMENTS' 'INVOICE' 'CASH' 'ACCRUAL' 'FLATRATECASH' 'FLATRATEACCRUAL' 'ACCRUALS' 'TXCA' 'SRCAS' 'DSOUTPUT' 'BLINPUT2' 'EPINPUT' 'IMINPUT2' 'MEINPUT' 'IGDSINPUT2' 'ESN33OUTPUT' 'OPINPUT' 'OSOUTPUT' 'TXN33INPUT' 'TXESSINPUT' 'TXREINPUT' 'TXPETINPUT' 'NRINPUT' 'ES33OUTPUT' 'ZERORATEDINPUT' 'ZERORATEDOUTPUT' 'DRCHARGESUPPLY' 'DRCHARGE' 'CAPINPUT' 'CAPIMPORTS' 'IMINPUT' 'INPUT2' 'CIUINPUT' 'SRINPUT' 'OUTPUT2' 'SROUTPUT' 'CAPOUTPUT' 'SROUTPUT2' 'CIUOUTPUT' 'ZROUTPUT' 'ZREXPORT' 'ACC28PLUS' 'ACCUPTO28' 'OTHEROUTPUT' 'SHOUTPUT' 'ZRINPUT' 'BADDEBT' 'OTHERINPUT')}}\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'DELETED' 'ARCHIVED' 'PENDING')}}\",\n \"TaxComponents\": [\n {\n \"IsCompound\": {{faker 'datatype.boolean'}},\n \"IsNonRecoverable\": {{faker 'datatype.boolean'}},\n \"Name\": \"\",\n \"Rate\": {{faker 'number.float'}}\n }\n ],\n \"TaxType\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type TaxRates array newly created TaxRate", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e2a5ff3d-a9ba-42e9-9b1f-2176e36038da", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "18fa7f96-c953-417d-8680-b6a0638de3bb", "documentation": "Retrieves tracking categories and options", "method": "get", "endpoint": "TrackingCategories", "responses": [ { "uuid": "8e6142c2-556f-4389-94f4-167a608ba1a6", "body": "{\n \"TrackingCategories\": [\n {\n \"Name\": \"\",\n \"Option\": \"\",\n \"Options\": [\n {\n \"Name\": \"\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ],\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type TrackingCategories array of TrackingCategory", "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": "64db4d4d-a2cc-4540-9c08-27b584be6b7c", "documentation": "Create tracking categories", "method": "put", "endpoint": "TrackingCategories", "responses": [ { "uuid": "c9493454-6b5b-4828-a008-d65137f6cd28", "body": "{\n \"TrackingCategories\": [\n {\n \"Name\": \"\",\n \"Option\": \"\",\n \"Options\": [\n {\n \"Name\": \"\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ],\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type TrackingCategories array of newly created TrackingCategory", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "cae7ad5f-9f7b-4273-8c4b-7689c266bdf8", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5cf1a522-017e-4040-af4a-b8132bbf30f1", "documentation": "Deletes a specific tracking category", "method": "delete", "endpoint": "TrackingCategories/:TrackingCategoryID", "responses": [ { "uuid": "00281f97-1ba0-4815-9baf-936c385c110e", "body": "{\n \"TrackingCategories\": [\n {\n \"Name\": \"\",\n \"Option\": \"\",\n \"Options\": [\n {\n \"Name\": \"\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ],\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type TrackingCategories array of deleted TrackingCategory", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "95f070d4-7aea-4023-8322-e11564163183", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "cf668987-677f-469f-9fd8-b46d16082780", "documentation": "Retrieves specific tracking categories and options using a unique tracking category Id", "method": "get", "endpoint": "TrackingCategories/:TrackingCategoryID", "responses": [ { "uuid": "7ce9bea8-3abe-45be-820b-1c20b4fec54c", "body": "{\n \"TrackingCategories\": [\n {\n \"Name\": \"\",\n \"Option\": \"\",\n \"Options\": [\n {\n \"Name\": \"\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ],\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type TrackingCategories array of specified TrackingCategory", "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": "3572853e-2496-45c6-8d2e-6268fca44fee", "documentation": "Updates a specific tracking category", "method": "post", "endpoint": "TrackingCategories/:TrackingCategoryID", "responses": [ { "uuid": "fb62fbc0-426f-4907-b0e6-f36419a15ea7", "body": "{\n \"TrackingCategories\": [\n {\n \"Name\": \"\",\n \"Option\": \"\",\n \"Options\": [\n {\n \"Name\": \"\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ],\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type TrackingCategories array of updated TrackingCategory", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8c8c584a-42c8-4fe8-b049-51fc962993ef", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "041a9a0b-3633-4b7e-a6b3-704072fea163", "documentation": "Creates options for a specific tracking category", "method": "put", "endpoint": "TrackingCategories/:TrackingCategoryID/Options", "responses": [ { "uuid": "8af23cd8-2231-4396-af9b-209226e5d224", "body": "{\n \"Options\": [\n {\n \"Name\": \"\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type TrackingOptions array of options for a specified category", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "590ea5c6-91dc-44ef-b269-553e6e68ea36", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e41467a0-b693-4ba8-aa83-4f9998ced004", "documentation": "Deletes a specific option for a specific tracking category", "method": "delete", "endpoint": "TrackingCategories/:TrackingCategoryID/Options/:TrackingOptionID", "responses": [ { "uuid": "5c2ba3c5-f734-4458-bc65-c4ea62aac3d7", "body": "{\n \"Options\": [\n {\n \"Name\": \"\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type TrackingOptions array of remaining options for a specified category", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "cb429e6d-3782-4eaa-9a8d-704ba65b88d5", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "622d4908-06fa-4d5f-a629-1df2efb71744", "documentation": "Updates a specific option for a specific tracking category", "method": "post", "endpoint": "TrackingCategories/:TrackingCategoryID/Options/:TrackingOptionID", "responses": [ { "uuid": "2d90e69d-26e1-49b1-adc4-f2ee8ee05af1", "body": "{\n \"Options\": [\n {\n \"Name\": \"\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'ARCHIVED' 'DELETED')}}\",\n \"TrackingCategoryID\": \"{{faker 'string.uuid'}}\",\n \"TrackingOptionID\": \"{{faker 'string.uuid'}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type TrackingOptions array of options for a specified category", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "075b7d95-0827-4e38-8d72-89fe5d1e0ce8", "body": "{\n \"Elements\": [\n {\n \"BankTransactionID\": \"{{faker 'string.uuid'}}\",\n \"BatchPaymentID\": \"{{faker 'string.uuid'}}\",\n \"ContactID\": \"{{faker 'string.uuid'}}\",\n \"CreditNoteID\": \"{{faker 'string.uuid'}}\",\n \"InvoiceID\": \"{{faker 'string.uuid'}}\",\n \"ItemID\": \"{{faker 'string.uuid'}}\",\n \"PurchaseOrderID\": \"{{faker 'string.uuid'}}\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ],\n \"ErrorNumber\": {{faker 'number.int' max=99999}},\n \"Message\": \"\",\n \"Type\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "A failed request due to validation error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "35aaa936-2404-4dc7-a364-aeeb6628c753", "documentation": "Retrieves users", "method": "get", "endpoint": "Users", "responses": [ { "uuid": "a43e55da-9cd4-4cb7-96ca-46087251821c", "body": "{\n \"Users\": [\n {\n \"EmailAddress\": \"\",\n \"FirstName\": \"\",\n \"IsSubscriber\": {{faker 'datatype.boolean'}},\n \"LastName\": \"\",\n \"OrganisationRole\": \"{{oneOf (array 'READONLY' 'INVOICEONLY' 'STANDARD' 'FINANCIALADVISER' 'MANAGEDCLIENT' 'CASHBOOKCLIENT' 'UNKNOWN')}}\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"UserID\": \"{{faker 'string.uuid'}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Users array of all User", "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": "faa71284-74cb-43fa-a00b-f1a26a120500", "documentation": "Retrieves a specific user", "method": "get", "endpoint": "Users/:UserID", "responses": [ { "uuid": "b66e66a8-d4d2-49df-a932-3bab0dd554ea", "body": "{\n \"Users\": [\n {\n \"EmailAddress\": \"\",\n \"FirstName\": \"\",\n \"IsSubscriber\": {{faker 'datatype.boolean'}},\n \"LastName\": \"\",\n \"OrganisationRole\": \"{{oneOf (array 'READONLY' 'INVOICEONLY' 'STANDARD' 'FINANCIALADVISER' 'MANAGEDCLIENT' 'CASHBOOKCLIENT' 'UNKNOWN')}}\",\n \"UpdatedDateUTC\": \"/Date(1573755038314)/\",\n \"UserID\": \"{{faker 'string.uuid'}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success - return response of type Users array of specified User", "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": "73787968-57f2-45b2-9baa-6e26b0fb245c" }, { "type": "route", "uuid": "85ed7242-f223-49e1-bb2a-1c61d914ee8f" }, { "type": "route", "uuid": "fd5c8903-562c-4a80-bf00-1c7241b767b1" }, { "type": "route", "uuid": "63234bad-a011-4321-934d-b495e70157b0" }, { "type": "route", "uuid": "d17b109e-dcd5-4532-b638-0153ff9f152a" }, { "type": "route", "uuid": "91cd6157-3e91-449a-b405-e506f15054b4" }, { "type": "route", "uuid": "91673f87-2d50-4f49-8399-779df99606fa" }, { "type": "route", "uuid": "2fb04fd7-344f-4ed0-b4f9-5c8cccaa746b" }, { "type": "route", "uuid": "41ef5c73-f9dc-4ad2-a8c9-3ef560952999" }, { "type": "route", "uuid": "21cd16c9-ca5f-43da-95a3-0f1bd7526d69" }, { "type": "route", "uuid": "911305e7-4ecc-4faa-ad3b-ca7645945043" }, { "type": "route", "uuid": "9756caec-185f-498a-902f-96e5888ec83f" }, { "type": "route", "uuid": "3437c1bc-9136-455b-8171-0c47401aae91" }, { "type": "route", "uuid": "176a9690-b85a-4058-90df-04ea3ee2de6b" }, { "type": "route", "uuid": "d5cccfd6-fc61-4bdf-a6e8-de4760a2a39b" }, { "type": "route", "uuid": "bfc7b4b4-a238-4a46-888f-220650557dee" }, { "type": "route", "uuid": "26e3e58d-3626-41f1-94d2-67bacc10b3b3" }, { "type": "route", "uuid": "f402d221-9f49-413d-979a-bbabd91e3445" }, { "type": "route", "uuid": "b4361e85-6a7a-48b2-842d-e6e08a874bde" }, { "type": "route", "uuid": "9eed2235-70b5-4745-ad5a-3e8501972fb6" }, { "type": "route", "uuid": "d6786ed1-39f9-40f5-b9cb-148ba7c91c11" }, { "type": "route", "uuid": "d105edd9-dbed-41c4-a156-8d8167ee7a36" }, { "type": "route", "uuid": "752e9ee5-7a55-4fe3-b174-d0ac08c184da" }, { "type": "route", "uuid": "2e6bf261-4664-4fd1-a77c-3f172317d797" }, { "type": "route", "uuid": "d120b5d5-6921-4686-ae57-4e7178c1be19" }, { "type": "route", "uuid": "4eb5ddf1-d347-48a1-9987-6bc0379d0b19" }, { "type": "route", "uuid": "f263c28e-8372-4c38-8baa-46fc0bf73684" }, { "type": "route", "uuid": "0948df47-b6ce-4152-9c88-ebab593d37d5" }, { "type": "route", "uuid": "a3bfca34-2852-4b02-9d8b-a17b88ab5ec2" }, { "type": "route", "uuid": "2a8e70a1-c40b-46e9-9fad-c2eef8ae0998" }, { "type": "route", "uuid": "28386901-a777-40c2-8c44-b8c96f5e9404" }, { "type": "route", "uuid": "794f7305-2f99-4671-9d0f-4a3dce4ebf2e" }, { "type": "route", "uuid": "bcc120f1-c451-4225-ba21-77fb9ed551ae" }, { "type": "route", "uuid": "b0f8be7c-79f2-48a9-8fb3-432a65094e39" }, { "type": "route", "uuid": "2c72d275-2e4c-4f78-be02-b50635dd8667" }, { "type": "route", "uuid": "49910c3e-1869-4249-8271-685e69bbadd6" }, { "type": "route", "uuid": "97e37d66-d21d-48f6-9a1d-9059c6eb1d52" }, { "type": "route", "uuid": "a707c858-d9d9-4862-bffe-63d219c5c8da" }, { "type": "route", "uuid": "7e9c336f-9821-4198-a989-8395b3c52606" }, { "type": "route", "uuid": "6adb77ca-c835-4548-9c99-28c60a3e6427" }, { "type": "route", "uuid": "b07dacf3-cca6-4a34-8e27-518da89b3d3b" }, { "type": "route", "uuid": "ffbc4614-d7ff-4908-8436-eb654c2fdbf2" }, { "type": "route", "uuid": "74e7e216-0af3-4ab7-a096-5e25ef58212f" }, { "type": "route", "uuid": "0ba7ec3e-722a-45ba-b03e-836dab133989" }, { "type": "route", "uuid": "651b34a5-c7f6-44f3-a7ee-d8a9ac595784" }, { "type": "route", "uuid": "841a6de2-6a28-46d3-bc43-558926d3f688" }, { "type": "route", "uuid": "b3349e1e-5bc3-471d-9af1-5004f8063e77" }, { "type": "route", "uuid": "de2c8534-3140-4fab-8d6e-1cf7ecc58e46" }, { "type": "route", "uuid": "a792f8c6-bbc3-4280-bbde-14b742b9dd3d" }, { "type": "route", "uuid": "5dad22b3-4755-49c8-8a8c-85170dc12ea7" }, { "type": "route", "uuid": "c11abfde-14c9-41c7-8705-829dadf0d3c5" }, { "type": "route", "uuid": "6a4e371c-d0e7-476d-a744-e869fcc9d8d5" }, { "type": "route", "uuid": "c2cdb6be-5e12-4990-a70d-0585f58a7d34" }, { "type": "route", "uuid": "e5bcd111-93b3-4c6e-b00e-7726de75b86f" }, { "type": "route", "uuid": "f1a8d1c0-3d9a-4bab-91e5-9d2f55944526" }, { "type": "route", "uuid": "7ce6855d-14b8-4d66-ba9b-181a9cb937a7" }, { "type": "route", "uuid": "c3bc4916-cce6-44de-a71c-5d195c9f0bc6" }, { "type": "route", "uuid": "5367ba9b-0c86-412a-8752-6fad40f20738" }, { "type": "route", "uuid": "b84ded69-8c21-4b9c-b8a9-17b8ef8fa4c1" }, { "type": "route", "uuid": "a21ff497-9d3d-4cf5-8576-7e28dc6fabb8" }, { "type": "route", "uuid": "8dfc010e-d928-4a4b-acd8-7488fe33a826" }, { "type": "route", "uuid": "9516ea50-90dd-410a-b019-78beb3686071" }, { "type": "route", "uuid": "332a6239-52c6-4488-9168-b90cbe5e9660" }, { "type": "route", "uuid": "320b7688-0295-4d24-b89d-8bb7594e5efd" }, { "type": "route", "uuid": "be36659c-8357-4e93-958a-135670fbdd7c" }, { "type": "route", "uuid": "f9686dfd-f084-4029-b05e-1f27213b2cf3" }, { "type": "route", "uuid": "f824c161-19f6-43d9-b99b-893b72f7133e" }, { "type": "route", "uuid": "dac242d0-f1bd-4863-9328-4e48ca00d312" }, { "type": "route", "uuid": "2a340e8b-c0d5-4343-bffb-ef69c919e1e7" }, { "type": "route", "uuid": "a2925778-a20a-45a5-8b18-e6ec99481a24" }, { "type": "route", "uuid": "855c2ae8-2b7a-43e2-b991-bc7ea13e348c" }, { "type": "route", "uuid": "84362d9d-24ec-4d2c-9c0e-41e156c3da06" }, { "type": "route", "uuid": "16ada2b1-5037-404d-a7fe-7aedf0307d72" }, { "type": "route", "uuid": "f1ce4eae-43cf-47b1-bc35-8c3410bff4e9" }, { "type": "route", "uuid": "f54e44ce-1c16-4b01-b8c8-e5e6677ce240" }, { "type": "route", "uuid": "2e963ef0-6ec2-4415-a5ba-de16b01032fc" }, { "type": "route", "uuid": "22079e0b-a5d8-4562-950e-e2848dd3197a" }, { "type": "route", "uuid": "5ddd11cb-d19d-4a9c-a1fd-3cead67e119d" }, { "type": "route", "uuid": "a814f3f4-67ee-4252-9cc6-c0c77f8a38a0" }, { "type": "route", "uuid": "11710cc1-f3c6-4055-8ba5-663d20bbb6ad" }, { "type": "route", "uuid": "c35b65ed-cf08-4cba-a7c7-050160b661b4" }, { "type": "route", "uuid": "d2d412c4-3169-4f3d-bb16-418be8a8f35e" }, { "type": "route", "uuid": "bf55b198-a6d9-4e70-bbea-8fb2bc9f714a" }, { "type": "route", "uuid": "10914fa8-ebd0-4d0b-a579-87131b45ad05" }, { "type": "route", "uuid": "c5091602-39a5-400f-a58d-acc74be95cb1" }, { "type": "route", "uuid": "362110b3-7084-418f-ba53-88e2cfdaa0f4" }, { "type": "route", "uuid": "baba7f7d-82dd-4d2a-b039-118420e050ed" }, { "type": "route", "uuid": "3fa36f8f-68a9-425f-826d-6b091669994a" }, { "type": "route", "uuid": "8136dde0-da28-470a-aff7-9dec7d712bd4" }, { "type": "route", "uuid": "d4110178-1111-455b-b46a-cd84e9b82d03" }, { "type": "route", "uuid": "a1f646fc-437f-463e-bde9-3000961e15d3" }, { "type": "route", "uuid": "d64f8b15-2b95-44ee-9863-ceb099858c2d" }, { "type": "route", "uuid": "33104ad3-405c-46fe-9074-41cca563939a" }, { "type": "route", "uuid": "baf69493-b1a5-4c4a-b01a-7eddc6a4d2d7" }, { "type": "route", "uuid": "72675729-9757-4427-bce8-fb814fd90fc9" }, { "type": "route", "uuid": "98a9e530-94f1-4fa8-b468-6b73c61257ae" }, { "type": "route", "uuid": "aedd9d50-6d72-4186-a792-6864756e6ec3" }, { "type": "route", "uuid": "aba866f6-a904-445a-b3a0-8c00e03dd5f3" }, { "type": "route", "uuid": "0a9d3aea-c229-44df-8ac2-9780079656ec" }, { "type": "route", "uuid": "9e76697b-78b9-449a-8ec6-071d30a47a2c" }, { "type": "route", "uuid": "b48b9141-0ba0-4cb8-a52d-16666fb19d3d" }, { "type": "route", "uuid": "c094570a-865a-4f9f-b661-1cba9dfa28ed" }, { "type": "route", "uuid": "a0f60669-70dd-4544-955c-0792be96452b" }, { "type": "route", "uuid": "53654e98-5175-4bd6-9644-f96c7dc53527" }, { "type": "route", "uuid": "14e742e1-9cba-4c78-a5b3-f542fdcce9c3" }, { "type": "route", "uuid": "489889ae-712f-45b8-bbae-f0f40cbc1c5b" }, { "type": "route", "uuid": "b8b3f4af-ddd8-4bcb-a591-e40c5b3fd7c7" }, { "type": "route", "uuid": "d70e185e-0451-4670-8636-ccbbec3e94a9" }, { "type": "route", "uuid": "a52a5015-4cee-4227-9181-e8b221f5efcb" }, { "type": "route", "uuid": "5d633b9b-a93b-4fdb-a55b-576d7e625652" }, { "type": "route", "uuid": "d6b4411b-c0f8-4024-8b5e-85a46da569f2" }, { "type": "route", "uuid": "8990be50-6f93-4a96-9852-f590928485d2" }, { "type": "route", "uuid": "564ba89a-2004-44e4-b1b1-16d2ff383fdc" }, { "type": "route", "uuid": "e0a4226b-f02f-4ce9-bc30-79f96e3e49ce" }, { "type": "route", "uuid": "53cc0576-b32b-44fe-be8a-004c2097149f" }, { "type": "route", "uuid": "70e2d6cd-d6f5-4115-84d3-d7bc1658d1a8" }, { "type": "route", "uuid": "12e307aa-6833-4101-a756-ba434d946750" }, { "type": "route", "uuid": "cc8cace1-b258-4920-aa05-c0ddf3d8004e" }, { "type": "route", "uuid": "80074cd0-5b08-43b0-b80e-71358d3b78e4" }, { "type": "route", "uuid": "4f471f7f-2193-4326-9da2-96f48a48d9e2" }, { "type": "route", "uuid": "fd72d5c9-e974-4950-bac3-e9fa1ed60b0f" }, { "type": "route", "uuid": "f3f4c5d8-ad30-467d-a4f5-b0b46cebca49" }, { "type": "route", "uuid": "7730d497-8bcc-47e2-aa5d-26ca1d95bdd6" }, { "type": "route", "uuid": "f3a0cff7-7cb0-4a0a-b205-9fb2d8b98386" }, { "type": "route", "uuid": "a9a0eb47-b27b-43ba-8406-cf5af28799bf" }, { "type": "route", "uuid": "78ecbe5d-8eb5-45a4-9b56-48be2c754cba" }, { "type": "route", "uuid": "edda8aad-b3f4-4ded-9dd8-9b555a90da34" }, { "type": "route", "uuid": "af97e1ea-ced3-4132-a681-808058010858" }, { "type": "route", "uuid": "f51ea916-131e-48cc-9a7a-ea841f36fe2c" }, { "type": "route", "uuid": "437c6e1b-6715-4b76-a6dd-11c42a408022" }, { "type": "route", "uuid": "13a8b021-61f2-4378-bb4b-c707f3eef2c3" }, { "type": "route", "uuid": "27e7ec91-0ce8-4e5d-b416-88df6fc51d8d" }, { "type": "route", "uuid": "b2757b72-a01c-4d74-8025-30db8dbdd9c7" }, { "type": "route", "uuid": "959d68af-ab17-4b10-9c5e-9dfeda3050b8" }, { "type": "route", "uuid": "b208ddf7-b53e-4f03-b01f-254e18192af9" }, { "type": "route", "uuid": "be448b84-89e5-4540-991e-4bbb1701745d" }, { "type": "route", "uuid": "8897b3cf-7622-42df-b6dd-1d1e3514e71a" }, { "type": "route", "uuid": "13e5e50a-16a8-44ef-957e-639e96c62c4e" }, { "type": "route", "uuid": "367906ab-cc34-4850-a9b4-4fc3bc66f3db" }, { "type": "route", "uuid": "2bf73ecf-c48d-4db1-8707-429966e52497" }, { "type": "route", "uuid": "3d4b095c-b791-44e1-89ea-e455bc457db6" }, { "type": "route", "uuid": "a8b8af1c-403b-4b1e-9ce1-f86b7320e67a" }, { "type": "route", "uuid": "86902f3a-d725-4d41-a9ac-52447c0c0dd4" }, { "type": "route", "uuid": "7a6da859-1db0-4d52-ab2a-c7d27c72c7da" }, { "type": "route", "uuid": "0af6c614-7e01-4946-a089-2153fa89b3fa" }, { "type": "route", "uuid": "c0c89269-4388-421c-a0d1-dcb93189dfe6" }, { "type": "route", "uuid": "163c7cbc-5a4f-4e87-a1b6-110e5e1f7101" }, { "type": "route", "uuid": "e3ffcc87-97ce-431a-8e10-4fc83bd0ec4a" }, { "type": "route", "uuid": "f7c3f937-cc98-4ff2-b85e-0e13c75ebf92" }, { "type": "route", "uuid": "21607e75-575b-46f9-9622-7e06b556496d" }, { "type": "route", "uuid": "909dc29d-3634-4194-8d07-e7673e3c99f2" }, { "type": "route", "uuid": "c84738f9-cdef-4fa0-aabf-476cb7a1bcee" }, { "type": "route", "uuid": "90610125-f4c8-4fd0-b0c2-2e74a99f395c" }, { "type": "route", "uuid": "e5599bd5-53af-4102-8257-6e8790904b19" }, { "type": "route", "uuid": "2cfafd0f-f86f-433b-b22f-7130b5f44359" }, { "type": "route", "uuid": "c082cc1d-9fc3-452d-bc47-da8f67c98575" }, { "type": "route", "uuid": "ae43e2a4-5148-4d42-a09a-815263132988" }, { "type": "route", "uuid": "2f1e4ef0-a7da-4ff7-92b5-d2229dbf415f" }, { "type": "route", "uuid": "12addccf-bba7-4ba0-a0fc-8fd17b47dee8" }, { "type": "route", "uuid": "41a33f3c-3227-459f-a127-33f46b88e3c5" }, { "type": "route", "uuid": "4b026e79-338b-4cce-b399-1739a4103eb6" }, { "type": "route", "uuid": "814c6478-a2ae-464a-a856-0676d555d685" }, { "type": "route", "uuid": "b469b467-2ae9-44eb-9a5f-68f417c371ce" }, { "type": "route", "uuid": "ae574815-25f2-45a9-8b26-c3e4061c32bf" }, { "type": "route", "uuid": "39b75a1f-ada1-43e7-9487-8e2b694f6433" }, { "type": "route", "uuid": "2de5c479-ab6b-415e-b130-830e6d534d9b" }, { "type": "route", "uuid": "2c710736-2937-4a92-a009-f090ad682369" }, { "type": "route", "uuid": "eea36ed4-d7fc-4974-8c98-a68b906c0ac5" }, { "type": "route", "uuid": "b0126896-db62-4844-928c-9244cc13e716" }, { "type": "route", "uuid": "e7d1ba12-547a-4cd6-85ee-1dcb63534aa8" }, { "type": "route", "uuid": "a7f1c418-e0e1-4d9b-9a13-e9e517bea30f" }, { "type": "route", "uuid": "5888a27d-9e20-485e-a917-98871d89083f" }, { "type": "route", "uuid": "ad816b86-ade0-42d8-bbf8-09b72f2aeae5" }, { "type": "route", "uuid": "651b42e3-907f-442e-aa6f-cbd018269d52" }, { "type": "route", "uuid": "534e7090-f787-4ac6-a736-5017763da90b" }, { "type": "route", "uuid": "dbe4fd29-85e1-4a82-9277-a00a198cccf5" }, { "type": "route", "uuid": "72d36f86-3635-477a-a567-310aeeed0b3a" }, { "type": "route", "uuid": "97a3f040-b137-4988-81f1-d5e4ac2fce57" }, { "type": "route", "uuid": "64ac2288-9e3e-4db7-aeb1-afbef3d60d0d" }, { "type": "route", "uuid": "9a158296-39ee-4f5f-9cb0-e1e8a5b10dc1" }, { "type": "route", "uuid": "72543fd3-690c-4c21-b083-c2e0bf0f3941" }, { "type": "route", "uuid": "25f16b2a-b543-4497-8bb7-6e52305c7f92" }, { "type": "route", "uuid": "d5dd8ecd-5816-49d5-9598-2205ca74a5d3" }, { "type": "route", "uuid": "7868da85-e676-4374-9ee1-ef890a16918b" }, { "type": "route", "uuid": "9de961d9-52ab-467e-b335-f222c654a00a" }, { "type": "route", "uuid": "2977a9a3-4788-4355-87a6-30b46ea78778" }, { "type": "route", "uuid": "d849256b-c91b-4ff9-8699-4987ae129b2b" }, { "type": "route", "uuid": "ccff38ec-8e37-4099-b2a4-7d8104e8b8f6" }, { "type": "route", "uuid": "9797a2f1-b7a4-416b-84e4-8913ee763510" }, { "type": "route", "uuid": "184dc963-99ea-43f6-b2d0-2a144371a0cd" }, { "type": "route", "uuid": "50a35eb5-4d4a-4f88-9834-cbc64891622a" }, { "type": "route", "uuid": "96fdd80b-8bdc-4c44-b9d6-1d45e7e3f522" }, { "type": "route", "uuid": "7361de09-d9a7-415c-9de0-ae889892e681" }, { "type": "route", "uuid": "81238755-b547-4a63-ab57-f01bbf0bd92d" }, { "type": "route", "uuid": "90edd4aa-8935-4d36-b3b9-4045ed415526" }, { "type": "route", "uuid": "d2cf1810-a647-4c82-9d56-d60723f16a84" }, { "type": "route", "uuid": "121c53b1-8833-414d-a4ea-ee5f18a5e2a3" }, { "type": "route", "uuid": "cdfed4bb-57f0-426d-b604-3e71a371c157" }, { "type": "route", "uuid": "e562c5a0-160e-452f-ba2d-63296fd35c9f" }, { "type": "route", "uuid": "a59197df-0ae8-4ba8-b62e-a261fcf63e12" }, { "type": "route", "uuid": "f3950ff2-1f49-435a-af62-74dfa8a7a14a" }, { "type": "route", "uuid": "6817f826-5d44-4e6f-a99c-a829b3bbe1ac" }, { "type": "route", "uuid": "103a5c43-b3d8-4449-b503-236f5f844dbc" }, { "type": "route", "uuid": "9e0c184e-8568-4477-863e-4444f5ab17c4" }, { "type": "route", "uuid": "9c8445df-cd30-4a39-99e9-fc3eb987dda2" }, { "type": "route", "uuid": "04ef4e06-7355-4612-b673-25c462c601f3" }, { "type": "route", "uuid": "a5e657ff-3eb5-4003-9774-01912df2cf30" }, { "type": "route", "uuid": "5ae6daf3-73f4-433d-a97a-19d29f6a62ae" }, { "type": "route", "uuid": "71c146ec-73da-4ad3-b192-7d7c8393198c" }, { "type": "route", "uuid": "9403f6e6-e724-4c4f-898c-fb12f44073cf" }, { "type": "route", "uuid": "bc57acf4-f6e9-4fd7-a522-fc83930cd82f" }, { "type": "route", "uuid": "94cca74f-3d2a-4321-96ce-07373baff81d" }, { "type": "route", "uuid": "0517efcb-3ee1-468e-9a4b-3c6885a6c22f" }, { "type": "route", "uuid": "17682181-a520-4134-ad9a-77de6468a7ec" }, { "type": "route", "uuid": "18fa7f96-c953-417d-8680-b6a0638de3bb" }, { "type": "route", "uuid": "64db4d4d-a2cc-4540-9c08-27b584be6b7c" }, { "type": "route", "uuid": "5cf1a522-017e-4040-af4a-b8132bbf30f1" }, { "type": "route", "uuid": "cf668987-677f-469f-9fd8-b46d16082780" }, { "type": "route", "uuid": "3572853e-2496-45c6-8d2e-6268fca44fee" }, { "type": "route", "uuid": "041a9a0b-3633-4b7e-a6b3-704072fea163" }, { "type": "route", "uuid": "e41467a0-b693-4ba8-aa83-4f9998ced004" }, { "type": "route", "uuid": "622d4908-06fa-4d5f-a629-1df2efb71744" }, { "type": "route", "uuid": "35aaa936-2404-4dc7-a364-aeeb6628c753" }, { "type": "route", "uuid": "faa71284-74cb-43fa-a00b-f1a26a120500" } ] }