diff --git a/package-lock.json b/package-lock.json index b83f479b12..c51959360e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,11 @@ { "name": "ev-server", - "version": "2.6.8", + "version": "2.6.9", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "ev-server", - "version": "2.6.8", + "version": "2.6.9", "license": "Apache-2.0", "dependencies": { "ajv": "^8.11.0", @@ -19,6 +18,7 @@ "bluebird": "^3.7.2", "body-parser": "^1.20.0", "body-parser-xml": "^2.0.3", + "bufferutil": "^4.0.6", "busboy": "^1.4.0", "chalk": "^4.1.2", "cors": "^2.8.5", @@ -71,6 +71,7 @@ "tslib": "^2.2.0", "tz-lookup": "^6.1.25", "urlencode": "^1.1.0", + "utf-8-validate": "^5.0.9", "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.10.0", "validator": "^13.7.0", "ws": "^8.4.2" @@ -116,7 +117,7 @@ "@types/tz-lookup": "^6.1.0", "@types/urlencode": "^1.1.2", "@types/uuid": "^8.3.4", - "@types/validator": "^13.7.2", + "@types/validator": "^13.7.3", "@types/ws": "^8.2.2", "@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/parser": "^4.32.0", @@ -147,10 +148,10 @@ "rosie": "^2.1.0", "ts-jest": "^27.1.3", "ts-loader": "^9.3.0", - "ts-node": "^10.7.0", + "ts-node": "^10.8.1", "ts-node-dev": "^1.1.8", "typescript": "^4.5.4", - "webpack": "^5.72.0", + "webpack": "^5.73.0", "webpack-cli": "^4.9.2", "webpack-merge": "^5.8.0", "webpack-node-externals": "^3.0.0", @@ -177,6 +178,8 @@ "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.16.0.tgz", "integrity": "sha512-WLrM42vKX/4atIoQB+eb0ovUof53UUvecb4qGjU2PDDWRiZr50ZpiV8NpcLo7iSxeGYrRG0Mqembsa+UrTAV6Q==", "dependencies": { + "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.3", + "chokidar": "^3.4.0", "commander": "^4.0.1", "convert-source-map": "^1.1.0", "fs-readdir-recursive": "^1.1.0", @@ -2043,22 +2046,13 @@ "turbo-json-parse": "^2.2.0" } }, - "node_modules/@cspotcode/source-map-consumer": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz", - "integrity": "sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==", - "dev": true, - "engines": { - "node": ">= 12" - } - }, "node_modules/@cspotcode/source-map-support": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.7.0.tgz", - "integrity": "sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==", + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", "dev": true, "dependencies": { - "@cspotcode/source-map-consumer": "0.8.0" + "@jridgewell/trace-mapping": "0.3.9" }, "engines": { "node": ">=12" @@ -3289,6 +3283,31 @@ "regenerator-runtime": "^0.13.3" } }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.7.tgz", + "integrity": "sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.13", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.13.tgz", + "integrity": "sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==", + "dev": true + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "dev": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, "node_modules/@nearform/heap-profiler": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@nearform/heap-profiler/-/heap-profiler-2.0.0.tgz", @@ -4060,9 +4079,9 @@ "dev": true }, "node_modules/@types/validator": { - "version": "13.7.2", - "resolved": "https://registry.npmjs.org/@types/validator/-/validator-13.7.2.tgz", - "integrity": "sha512-KFcchQ3h0OPQgFirBRPZr5F/sVjxZsOrQHedj3zi8AH3Zv/hOLx2OLR4hxR5HcfoU+33n69ZuOfzthKVdMoTiw==", + "version": "13.7.3", + "resolved": "https://registry.npmjs.org/@types/validator/-/validator-13.7.3.tgz", + "integrity": "sha512-DNviAE5OUcZ5s+XEQHRhERLg8fOp8gSgvyJ4aaFASx5wwaObm+PBwTIMXiOFm1QrSee5oYwEAYb7LMzX2O88gA==", "dev": true }, "node_modules/@types/webgl-ext": { @@ -6662,6 +6681,7 @@ "dependencies": { "anymatch": "~3.1.2", "braces": "~3.0.2", + "fsevents": "~2.3.2", "glob-parent": "~5.1.2", "is-binary-path": "~2.1.0", "is-glob": "~4.0.1", @@ -6801,6 +6821,7 @@ "integrity": "sha512-gnB85c3MGC7Nm9I/FkiasNBOKjOiO1RNuXXarQms37q4QMpWdlbBgD/VnOStA2faG1dpXMv31RFApjX1/QdgWQ==", "dev": true, "dependencies": { + "colors": "^1.1.2", "object-assign": "^4.1.0", "string-width": "^4.2.0" }, @@ -9175,7 +9196,8 @@ "dependencies": { "esprima": "~1.0.4", "estraverse": "~1.5.0", - "esutils": "~1.0.0" + "esutils": "~1.0.0", + "source-map": "~0.1.30" }, "bin": { "escodegen": "bin/escodegen.js", @@ -10243,6 +10265,8 @@ "dependencies": { "@firebase/database-compat": "^0.1.1", "@firebase/database-types": "^0.7.2", + "@google-cloud/firestore": "^4.5.0", + "@google-cloud/storage": "^5.3.0", "@types/node": ">=12.12.47", "dicer": "^0.3.0", "jsonwebtoken": "^8.5.1", @@ -13325,6 +13349,7 @@ "@types/node": "*", "anymatch": "^3.0.3", "fb-watchman": "^2.0.0", + "fsevents": "^2.3.2", "graceful-fs": "^4.2.9", "jest-regex-util": "^27.5.1", "jest-serializer": "^27.5.1", @@ -14001,7 +14026,8 @@ "esprima": "^4.0.1", "estraverse": "^5.2.0", "esutils": "^2.0.2", - "optionator": "^0.8.1" + "optionator": "^0.8.1", + "source-map": "~0.6.1" }, "bin": { "escodegen": "bin/escodegen.js", @@ -14226,12 +14252,6 @@ "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=", "dev": true }, - "node_modules/json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", - "dev": true - }, "node_modules/json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", @@ -14312,6 +14332,7 @@ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, "dependencies": { + "graceful-fs": "^4.1.6", "universalify": "^2.0.0" }, "optionalDependencies": { @@ -15695,6 +15716,7 @@ "bson": "^4.6.3", "denque": "^2.0.1", "mongodb-connection-string-url": "^2.5.2", + "saslprep": "^1.0.3", "socks": "^2.6.2" }, "engines": { @@ -20895,7 +20917,8 @@ "esprima": "^4.0.1", "estraverse": "^4.2.0", "esutils": "^2.0.2", - "optionator": "^0.8.1" + "optionator": "^0.8.1", + "source-map": "~0.6.1" }, "bin": { "escodegen": "bin/escodegen.js", @@ -21001,7 +21024,8 @@ "esprima": "^4.0.1", "estraverse": "^4.2.0", "esutils": "^2.0.2", - "optionator": "^0.8.1" + "optionator": "^0.8.1", + "source-map": "~0.6.1" }, "bin": { "escodegen": "bin/escodegen.js", @@ -22335,12 +22359,12 @@ } }, "node_modules/ts-node": { - "version": "10.7.0", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.7.0.tgz", - "integrity": "sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==", + "version": "10.8.1", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.8.1.tgz", + "integrity": "sha512-Wwsnao4DQoJsN034wePSg5nZiw4YKXf56mPIAeD6wVmiv+RytNSWqc2f3fKvcUoV+Yn2+yocD71VOfQHbmVX4g==", "dev": true, "dependencies": { - "@cspotcode/source-map-support": "0.7.0", + "@cspotcode/source-map-support": "^0.8.0", "@tsconfig/node10": "^1.0.7", "@tsconfig/node12": "^1.0.7", "@tsconfig/node14": "^1.0.0", @@ -22351,7 +22375,7 @@ "create-require": "^1.1.0", "diff": "^4.0.1", "make-error": "^1.1.1", - "v8-compile-cache-lib": "^3.0.0", + "v8-compile-cache-lib": "^3.0.1", "yn": "3.1.1" }, "bin": { @@ -23290,9 +23314,9 @@ } }, "node_modules/webpack": { - "version": "5.72.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.72.0.tgz", - "integrity": "sha512-qmSmbspI0Qo5ld49htys8GY9XhS9CGqFoHTsOVAnjBdg0Zn79y135R+k4IR4rKK6+eKaabMhJwiVB7xw0SJu5w==", + "version": "5.73.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.73.0.tgz", + "integrity": "sha512-svjudQRPPa0YiOYa2lM/Gacw0r6PvxptHj4FuEKQ2kX05ZLkjbVc5MnPs6its5j7IZljnIqSVo/OsY2X0IpHGA==", "dev": true, "dependencies": { "@types/eslint-scope": "^3.7.3", @@ -23304,13 +23328,13 @@ "acorn-import-assertions": "^1.7.6", "browserslist": "^4.14.5", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.9.2", + "enhanced-resolve": "^5.9.3", "es-module-lexer": "^0.9.0", "eslint-scope": "5.1.1", "events": "^3.2.0", "glob-to-regexp": "^0.4.1", "graceful-fs": "^4.2.9", - "json-parse-better-errors": "^1.0.2", + "json-parse-even-better-errors": "^2.3.1", "loader-runner": "^4.2.0", "mime-types": "^2.1.27", "neo-async": "^2.6.2", @@ -25370,19 +25394,13 @@ "turbo-json-parse": "^2.2.0" } }, - "@cspotcode/source-map-consumer": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz", - "integrity": "sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==", - "dev": true - }, "@cspotcode/source-map-support": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.7.0.tgz", - "integrity": "sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==", + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", "dev": true, "requires": { - "@cspotcode/source-map-consumer": "0.8.0" + "@jridgewell/trace-mapping": "0.3.9" } }, "@discoveryjs/json-ext": { @@ -26360,6 +26378,28 @@ "regenerator-runtime": "^0.13.3" } }, + "@jridgewell/resolve-uri": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.7.tgz", + "integrity": "sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==", + "dev": true + }, + "@jridgewell/sourcemap-codec": { + "version": "1.4.13", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.13.tgz", + "integrity": "sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==", + "dev": true + }, + "@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "dev": true, + "requires": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, "@nearform/heap-profiler": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@nearform/heap-profiler/-/heap-profiler-2.0.0.tgz", @@ -27102,9 +27142,9 @@ "dev": true }, "@types/validator": { - "version": "13.7.2", - "resolved": "https://registry.npmjs.org/@types/validator/-/validator-13.7.2.tgz", - "integrity": "sha512-KFcchQ3h0OPQgFirBRPZr5F/sVjxZsOrQHedj3zi8AH3Zv/hOLx2OLR4hxR5HcfoU+33n69ZuOfzthKVdMoTiw==", + "version": "13.7.3", + "resolved": "https://registry.npmjs.org/@types/validator/-/validator-13.7.3.tgz", + "integrity": "sha512-DNviAE5OUcZ5s+XEQHRhERLg8fOp8gSgvyJ4aaFASx5wwaObm+PBwTIMXiOFm1QrSee5oYwEAYb7LMzX2O88gA==", "dev": true }, "@types/webgl-ext": { @@ -35243,12 +35283,6 @@ "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=", "dev": true }, - "json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", - "dev": true - }, "json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", @@ -41826,12 +41860,12 @@ } }, "ts-node": { - "version": "10.7.0", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.7.0.tgz", - "integrity": "sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==", + "version": "10.8.1", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.8.1.tgz", + "integrity": "sha512-Wwsnao4DQoJsN034wePSg5nZiw4YKXf56mPIAeD6wVmiv+RytNSWqc2f3fKvcUoV+Yn2+yocD71VOfQHbmVX4g==", "dev": true, "requires": { - "@cspotcode/source-map-support": "0.7.0", + "@cspotcode/source-map-support": "^0.8.0", "@tsconfig/node10": "^1.0.7", "@tsconfig/node12": "^1.0.7", "@tsconfig/node14": "^1.0.0", @@ -41842,7 +41876,7 @@ "create-require": "^1.1.0", "diff": "^4.0.1", "make-error": "^1.1.1", - "v8-compile-cache-lib": "^3.0.0", + "v8-compile-cache-lib": "^3.0.1", "yn": "3.1.1" }, "dependencies": { @@ -42603,9 +42637,9 @@ "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==" }, "webpack": { - "version": "5.72.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.72.0.tgz", - "integrity": "sha512-qmSmbspI0Qo5ld49htys8GY9XhS9CGqFoHTsOVAnjBdg0Zn79y135R+k4IR4rKK6+eKaabMhJwiVB7xw0SJu5w==", + "version": "5.73.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.73.0.tgz", + "integrity": "sha512-svjudQRPPa0YiOYa2lM/Gacw0r6PvxptHj4FuEKQ2kX05ZLkjbVc5MnPs6its5j7IZljnIqSVo/OsY2X0IpHGA==", "dev": true, "requires": { "@types/eslint-scope": "^3.7.3", @@ -42617,13 +42651,13 @@ "acorn-import-assertions": "^1.7.6", "browserslist": "^4.14.5", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.9.2", + "enhanced-resolve": "^5.9.3", "es-module-lexer": "^0.9.0", "eslint-scope": "5.1.1", "events": "^3.2.0", "glob-to-regexp": "^0.4.1", "graceful-fs": "^4.2.9", - "json-parse-better-errors": "^1.0.2", + "json-parse-even-better-errors": "^2.3.1", "loader-runner": "^4.2.0", "mime-types": "^2.1.27", "neo-async": "^2.6.2", diff --git a/package.json b/package.json index 4dd3df2dca..d011c46fa6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ev-server", - "version": "2.6.8", + "version": "2.6.9", "engines": { "node": "16.x.x", "npm": "8.x.x" @@ -58,7 +58,7 @@ "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}' 'test/**/*.ts{,x}' 'types/**/*.ts{,x}'", "test": "npm version && cross-env TS_NODE_FILES=true jest --config='test/jest.config.ts' --reporters='default' --reporters='./JestEvseReporter.js' --runInBand --logHeapUsage --verbose --colors --silent --forceExit --testPathIgnorePatterns='.*Runner.ts$'", "test:createContext": "npm version && cross-env TS_NODE_FILES=true jest --config='test/jest.config.ts' --runInBand --logHeapUsage --verbose --colors --silent --forceExit -- test/**/**/ContextBuilderRunner.ts", - "test:create:utbilling": "npm version && cross-env TS_NODE_FILES=true TENANT_FILTER=utbilling jest --config='test/jest.config.ts' --runInBand --logHeapUsage --verbose --colors --silent --forceExit -- test/**/**/ContextBuilderRunner.ts", + "test:create:utbilling": "npm version && cross-env TS_NODE_FILES=true TENANT_FILTER=utbilling.* jest --config='test/jest.config.ts' --runInBand --logHeapUsage --verbose --colors --silent --forceExit -- test/**/**/ContextBuilderRunner.ts", "test:asset": "npm version && cross-env TS_NODE_FILES=true jest --config='./test/jest.config.ts' --runInBand --logHeapUsage --verbose --colors --silent -- test/**/AssetTest.ts", "test:authentication": "npm version && cross-env TS_NODE_FILES=true jest --config='./test/jest.config.ts' --runInBand --logHeapUsage --verbose --colors --silent -- test/**/AuthenticationTest.ts", "test:billing": "npm version && cross-env TS_NODE_FILES=true jest --config='./test/jest.config.ts' --runInBand --logHeapUsage --verbose --colors --silent -- test/**/BillingTest.ts", @@ -97,6 +97,7 @@ "bluebird": "^3.7.2", "body-parser": "^1.20.0", "body-parser-xml": "^2.0.3", + "bufferutil": "^4.0.6", "busboy": "^1.4.0", "chalk": "^4.1.2", "cors": "^2.8.5", @@ -149,6 +150,7 @@ "tslib": "^2.2.0", "tz-lookup": "^6.1.25", "urlencode": "^1.1.0", + "utf-8-validate": "^5.0.9", "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.10.0", "validator": "^13.7.0", "ws": "^8.4.2" @@ -198,7 +200,7 @@ "@types/tz-lookup": "^6.1.0", "@types/urlencode": "^1.1.2", "@types/uuid": "^8.3.4", - "@types/validator": "^13.7.2", + "@types/validator": "^13.7.3", "@types/ws": "^8.2.2", "@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/parser": "^4.32.0", @@ -229,10 +231,10 @@ "rosie": "^2.1.0", "ts-jest": "^27.1.3", "ts-loader": "^9.3.0", - "ts-node": "^10.7.0", + "ts-node": "^10.8.1", "ts-node-dev": "^1.1.8", "typescript": "^4.5.4", - "webpack": "^5.72.0", + "webpack": "^5.73.0", "webpack-cli": "^4.9.2", "webpack-merge": "^5.8.0", "webpack-node-externals": "^3.0.0", diff --git a/postman/EVSE.postman_collection.json b/postman/EVSE.postman_collection.json deleted file mode 100644 index a0a94c8e6c..0000000000 --- a/postman/EVSE.postman_collection.json +++ /dev/null @@ -1,13024 +0,0 @@ -{ - "info": { - "_postman_id": "ac2912e2-caff-45d8-82a5-08548880c3a9", - "name": "EVSE", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" - }, - "item": [ - { - "name": "FE-LoginSuperAdmin", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"token\", responseJson[\"token\"]);" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"email\": \"super.admin@sap.com\",\n \"password\": \"pass\",\n \"acceptEula\": true,\n \"tenant\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/auth/signin", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "auth", - "signin" - ] - } - }, - "response": [] - }, - { - "name": "FE-SchneiderGTC", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"tokenGTC\", responseJson[\"access_token\"]);" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/x-www-form-urlencoded" - } - ], - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "key": "grant_type", - "value": "password", - "type": "text" - }, - { - "key": "username", - "value": "admin", - "type": "text" - }, - { - "key": "password", - "value": "", - "type": "text" - } - ] - }, - "url": { - "raw": "http://10.55.128.125:8083/GetToken", - "protocol": "http", - "host": [ - "10", - "55", - "128", - "125" - ], - "port": "8083", - "path": [ - "GetToken" - ] - } - }, - "response": [] - }, - { - "name": "FE-LoginAdmin", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"token\", responseJson[\"token\"]);" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"email\": \"demo.admin@sap.com\",\n \"password\": \"\",\n \"acceptEula\": true,\n \"tenant\": \"{{tenant}}\"\n}" - }, - "url": { - "raw": "{{base_url}}/v1/auth/signin", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "auth", - "signin" - ] - } - }, - "response": [] - }, - { - "name": "FE-LoginBasic", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"token\", responseJson[\"token\"]);" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"email\": \"demo.basic@sap.com\",\n \"password\": \"pass\",\n \"acceptEula\": true,\n \"tenant\": \"{{tenant}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/auth/signin", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "auth", - "signin" - ] - } - }, - "response": [] - }, - { - "name": "FE-LoginDemo", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"token\", responseJson[\"token\"]);" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"email\": \"demo.demo@sap.com\",\n \"password\": \"pass\",\n \"acceptEula\": true,\n \"tenant\": \"{{tenant}}\"\n}" - }, - "url": { - "raw": "{{base_url}}/v1/auth/signin", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "auth", - "signin" - ] - } - }, - "response": [] - }, - { - "name": "FE-ResetPassword", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"email\": \"demo.basic@sap.com\",\n \"captcha\": \"captcha\",\n \"tenant\": \"{{tenant}}\"\n}" - }, - "url": { - "raw": "{{base_url}}/v1/auth/password/reset", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "auth", - "password", - "reset" - ] - } - }, - "response": [] - }, - { - "name": "FE-ResetPasswordHash", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"email\": \"demo.basic@sap.com\",\n \"hash\": \"795fc992-d9bd-4695-8fa6-78cee1ef3464\",\n \"captcha\": \"aaa\",\n \"password\": \"Azerty123?\",\n \"tenant\": \"{{tenant}}\"\n}" - }, - "url": { - "raw": "{{base_url}}/v1/auth/password/reset", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "auth", - "password", - "reset" - ] - } - }, - "response": [] - }, - { - "name": "FE-RegisterUser", - "request": { - "auth": { - "type": "noauth" - }, - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"name\": \"ssssssss\",\r\n \"firstName\": \"sdfsdf\",\r\n \"email\": \"sdf3.sdf.sdfssss@free.fr\",\r\n \"captcha\": \"03AHqfIOkrqjt2RAg3fYA5zheYBKQKwPGppT69OdbWEFaMAXpe-dAcTsAZi-G7Lwdb6BYhKT_hJxIvDktmZ7EB9i3Ifq8LmeDrr5KMFy5tJ_6cuqT1T0MwuYe_uOkvZ9bH07nCaI6P0fWwaUZcoar_-0rKefUVLipvO4thr3-zQjIk5OO6dEY16H5JF1b1EdOoORGzPkXdUbIRH-QcfkykhfAf7UOHpB7V4_Y8P3ZRUXkoS7RQREFfT8tYU4ZWN4LbUPRqi8jxhi2Ye_i7frsFOIDuvOwVwgB77LZSaPOLpkH8lTpm3Na_dT9BPH-WwX7jDk40zpa0wp00ozcpb-7vrPRNZtEnmTSfl7jJpHAbzA5DbkSRgZLphkS6s6x4TfEtWv4dyC8ECZofasu098KMFDgR8_4xLkZ7X18rCAFS77MAyLi7CyHIys0\",\r\n \"passwords\": {\r\n \"password\": \"Azerty123!\",\r\n \"repeatPassword\": \"Azerty123!\"\r\n },\r\n \"acceptEula\": true,\r\n \"tenant\": \"slf\"\r\n}\r\n" - }, - "url": { - "raw": "{{base_url}}/v1/auth/signon", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "auth", - "signon" - ] - } - }, - "response": [] - }, - { - "name": "FE-SchneiderGTCGetBorneSud", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{tokenGTC}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "http://10.55.128.125:8083/Containers/00%252FServer%25201%252FSAPInterface%252FCOMPTEURS%252FBORNES_VE_SUD_BATIMENT/children", - "protocol": "http", - "host": [ - "10", - "55", - "128", - "125" - ], - "port": "8083", - "path": [ - "Containers", - "00%252FServer%25201%252FSAPInterface%252FCOMPTEURS%252FBORNES_VE_SUD_BATIMENT", - "children" - ] - } - }, - "response": [] - }, - { - "name": "FE-IsAuthorizedStopTransaction", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/client/api/IsAuthorized?Action=StopTransaction&Arg1=SAP-Mougins-06&Arg2=1142067022", - "host": [ - "{{base_url}}" - ], - "path": [ - "client", - "api", - "IsAuthorized" - ], - "query": [ - { - "key": "Action", - "value": "StopTransaction" - }, - { - "key": "Arg1", - "value": "SAP-Mougins-06" - }, - { - "key": "Arg2", - "value": "1142067022" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-TenantCreate", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"tenantID\", responseJson[\"id\"]);" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"email\": \"slf@chargeangels.fr\", \n\t\"subdomain\": \"slf2\"\n}" - }, - "url": { - "raw": "{{base_url}}/v1/api/tenants", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "tenants" - ] - } - }, - "response": [] - }, - { - "name": "FE-Tenants", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/tenants?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "tenants" - ], - "query": [ - { - "key": "Limit", - "value": "100" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-Tenant", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/tenants/{{tenantID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "tenants", - "{{tenantID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-TenantLogo", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/tenants/logo?ID={{tenantID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "tenants", - "logo" - ], - "query": [ - { - "key": "ID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-Tenant", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"name\": \"Tenant 1 updated\", \n\t\"email\": \"slf@chargeangels.fr\", \n\t\"subdomain\": \"slf2\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/tenants/{{tenantID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "tenants", - "{{tenantID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-TenantDelete", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/tenants/{{tenantID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "tenants", - "{{tenantID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-Vehicles", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/client/api/Vehicles?Type=C", - "host": [ - "{{base_url}}" - ], - "path": [ - "client", - "api", - "Vehicles" - ], - "query": [ - { - "key": "Type", - "value": "C" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-Vehicle", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/client/api/Vehicle?ID=5b6cb7f569dd774d784f4cca", - "host": [ - "{{base_url}}" - ], - "path": [ - "client", - "api", - "Vehicle" - ], - "query": [ - { - "key": "ID", - "value": "5b6cb7f569dd774d784f4cca" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-VehicleImages", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/client/api/VehicleImages", - "host": [ - "{{base_url}}" - ], - "path": [ - "client", - "api", - "VehicleImages" - ] - } - }, - "response": [] - }, - { - "name": "FE-VehicleImage", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/client/api/VehicleImage?ID=5b6cb7f569dd774d784f4cca", - "host": [ - "{{base_url}}" - ], - "path": [ - "client", - "api", - "VehicleImage" - ], - "query": [ - { - "key": "ID", - "value": "5b6cb7f569dd774d784f4cca" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-CompanyCreate", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"companyID\", responseJson[\"id\"]);" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"name\": \"Eurecom2\",\n\t\"address\": {\n\t\t\"address1\": \"805 Av. du Docteur Maurice Donat\",\n\t\t\"address2\": \"Font de l'Orme\",\n\t\t\"postalCode\": \"06150\",\n\t\t\"city\": \"Mougins\",\n\t\t\"region\": \"PACA\",\n\t\t\"country\": \"France\"\n\t}\n}" - }, - "url": { - "raw": "{{base_url}}/v1/api/companies", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "companies" - ] - } - }, - "response": [] - }, - { - "name": "FE-Companies", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/companies?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "companies" - ], - "query": [ - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "WithSite", - "value": "", - "disabled": true - }, - { - "key": "WithLogo", - "value": "", - "disabled": true - }, - { - "key": "Issuer", - "value": "", - "disabled": true - }, - { - "key": "LocLongitude", - "value": "", - "disabled": true - }, - { - "key": "LocLatitude", - "value": "", - "disabled": true - }, - { - "key": "LocMaxDistanceMeters", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "100" - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-Company", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/companies/{{companyID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "companies", - "{{companyID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-CompanyLogo", - "request": { - "auth": { - "type": "noauth" - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/util/companies/{{companyID}}/logo?TenantID={{tenantID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "util", - "companies", - "{{companyID}}", - "logo" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-CompanyUpdate", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"name\": \"New Name\"\r\n}\r\n" - }, - "url": { - "raw": "{{base_url}}/v1/api/companies/{{companyID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "companies", - "{{companyID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-CompanyDelete", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{base_url}}/v1/api/companies/{{companyID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "companies", - "{{companyID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-Sites", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/client/api/Sites?WithSiteAreas=false&WithChargeBoxes=false&WithCompany=false&Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "client", - "api", - "Sites" - ], - "query": [ - { - "key": "WithSiteAreas", - "value": "false" - }, - { - "key": "WithChargeBoxes", - "value": "false" - }, - { - "key": "WithCompany", - "value": "false" - }, - { - "key": "Limit", - "value": "100" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-SitesWithAvailableChargers", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/client/api/Sites?WithAvailableChargers=true&Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "client", - "api", - "Sites" - ], - "query": [ - { - "key": "WithAvailableChargers", - "value": "true" - }, - { - "key": "Limit", - "value": "100" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-Site", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/client/api/Site?ID={{siteID}}&WithUsers=false", - "host": [ - "{{base_url}}" - ], - "path": [ - "client", - "api", - "Site" - ], - "query": [ - { - "key": "ID", - "value": "{{siteID}}" - }, - { - "key": "WithUsers", - "value": "false" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-SiteImages", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/client/api/SiteImages", - "host": [ - "{{base_url}}" - ], - "path": [ - "client", - "api", - "SiteImages" - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationRemoteStartTransaction", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "name": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"args\": {\n\t\t\"connectorId\": 2,\n\t\t\"tagID\": \"SMD\"\n\t}\n}" - }, - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/{{chargingStation}}/remote/start", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "{{chargingStation}}", - "remote", - "start" - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationRemoteStopTransaction", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "name": "Content-Type", - "type": "text", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"args\": {\n\t\t\"transactionId\": 2\n\t}\n}" - }, - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/{{chargingStation}}/remote/stop", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "{{chargingStation}}", - "remote", - "stop" - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationReset", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "name": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"args\": {\n\t\t\"type\": \"Soft\"\n\t}\n}" - }, - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/{{chargingStation}}/reset", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "{{chargingStation}}", - "reset" - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationClearCache", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "name": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/{{chargingStation}}/cache/clear", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "{{chargingStation}}", - "cache", - "clear" - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationGetConfiguration", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "name": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"args\": {\n \"key\": []\n }\n}" - }, - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/{{chargingStation}}/configuration/retrieve", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "{{chargingStation}}", - "configuration", - "retrieve" - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationUpdateConfiguration", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "name": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"args\": {\n \"key\": \"\",\n \"value\": \"\"\n }\n}" - }, - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/{{chargingStation}}/configuration", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "{{chargingStation}}", - "configuration" - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationUnlockConnector", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "name": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/{{chargingStation}}/connectors/{{connectorId}}/unlock", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "{{chargingStation}}", - "connectors", - "{{connectorId}}", - "unlock" - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationGetCompositeSchedule", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "name": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"args\": {\n \"connectorId\": 0,\n \"duration\": 36000,\n \"chargingRateUnit\": \"A\"\n }\n}" - }, - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/{{chargingStation}}/composite-schedule/get", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "{{chargingStation}}", - "composite-schedule", - "get" - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationGetDiagnostics", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "name": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"args\": {\n \"location\": \"\",\n \"retries\": 1,\n \"retryInterval\": 5,\n \"startTime\": \"2021-06-01T13:35:14.118Z\",\n \"stopTime\": \"2021-06-01T13:35:14.118Z\"\n }\n}" - }, - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/{{chargingStation}}/diagnostics/get", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "{{chargingStation}}", - "diagnostics", - "get" - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationUpdateFirmware", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "name": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"args\": {\n \"location\": \"\",\n \"retrieveDate\": \"2021-06-01T13:35:50.260Z\",\n \"retries\": 1,\n \"retryInterval\": 5\n }\n}" - }, - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/{{chargingStation}}/firmware/update", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "{{chargingStation}}", - "firmware", - "update" - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationChangeAvailability", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "name": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"args\": {\n \"connectorId\": 1,\n \"type\": \"Operative\"\n }\n}" - }, - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/{{chargingStation}}/availability/change", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "{{chargingStation}}", - "availability", - "change" - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStations", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/charging-stations?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations" - ], - "query": [ - { - "key": "WithNoSiteArea", - "value": "false", - "disabled": true - }, - { - "key": "Limit", - "value": "100" - }, - { - "key": "Issuer", - "value": "", - "disabled": true - }, - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "SiteID", - "value": "", - "disabled": true - }, - { - "key": "WithSite", - "value": "", - "disabled": true - }, - { - "key": "SiteAreaID", - "value": "", - "disabled": true - }, - { - "key": "ConnectorStatus", - "value": "", - "disabled": true - }, - { - "key": "ConnectorType", - "value": "", - "disabled": true - }, - { - "key": "ChargingStationID", - "value": "", - "disabled": true - }, - { - "key": "IncludeDeleted", - "value": "", - "disabled": true - }, - { - "key": "LocLongitude", - "value": "", - "disabled": true - }, - { - "key": "LocLatitude", - "value": "", - "disabled": true - }, - { - "key": "LocMaxDistanceMeters", - "value": "", - "disabled": true - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - }, - { - "key": "Status", - "value": "", - "disabled": true - }, - { - "key": "ErrorType", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationTransactions", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/{{chargingStation}}/transactions?ConnectorId=2&StartDateTime=2018-05-05T22:00:00.000Z&EndDateTime=2018-08-06T21:22:54.225Z&Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "{{chargingStation}}", - "transactions" - ], - "query": [ - { - "key": "ConnectorId", - "value": "2" - }, - { - "key": "StartDateTime", - "value": "2018-05-05T22:00:00.000Z" - }, - { - "key": "EndDateTime", - "value": "2018-08-06T21:22:54.225Z" - }, - { - "key": "Limit", - "value": "100" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationConsumptionFromTransaction", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{base_url}}/client/api/ChargingStationConsumptionFromTransaction?TransactionId=5360545", - "host": [ - "{{base_url}}" - ], - "path": [ - "client", - "api", - "ChargingStationConsumptionFromTransaction" - ], - "query": [ - { - "key": "TransactionId", - "value": "5360545" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStation", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/{{chargingStation}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "{{chargingStation}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationGenerateQRCode", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/{{chargingStation}}/connectors/{{connectorId}}/qrcode/generate", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "{{chargingStation}}", - "connectors", - "{{connectorId}}", - "qrcode", - "generate" - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationDownloadQRCode", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/qrcode/download?ChargingStationID={{chargingStation}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "qrcode", - "download" - ], - "query": [ - { - "key": "ChargingStationID", - "value": "{{chargingStation}}" - }, - { - "key": "ConnectorID", - "value": "{{connectorId}}", - "disabled": true - }, - { - "key": "SiteAreaID", - "value": "", - "disabled": true - }, - { - "key": "SiteID", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationOcppParameters", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/{{chargingStation}}/ocpp/parameters", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "{{chargingStation}}", - "ocpp", - "parameters" - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationRequestOCPPParameters", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"chargingStationID\": \"{{chargingStation}}\",\n \"forceUpdateOCPPParamsFromTemplate\": false\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/ocpp/parameters", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "ocpp", - "parameters" - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationExportOCPPParameters", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/ocpp/parameters/export?ChargingStationID={{chargingStation}}&Limit=1000", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "ocpp", - "parameters", - "export" - ], - "query": [ - { - "key": "ChargingStationID", - "value": "{{chargingStation}}" - }, - { - "key": "Limit", - "value": "1000" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationUpdateParameters", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"chargingStationUrl\": \"string\",\n \"maximumPower\": 50000,\n \"excludeFromSmartCharging\": false,\n \"forceInactive\": false,\n \"manualConfiguration\": true,\n \"public\": false,\n \"siteAreaID\": \"\",\n \"coordinates\": [\n 43,\n 7\n ],\n \"connectors\": [\n {\n \"connectorId\": 1,\n \"power\": 0,\n \"type\": \"T2\",\n \"voltage\": 110,\n \"amperage\": 0,\n \"currentType\": \"AC\",\n \"numberOfConnectedPhase\": 0,\n \"phaseAssignmentToGrid\": {\n \"csPhaseL1\": \"L1\",\n \"csPhaseL2\": \"L2\",\n \"csPhaseL3\": \"L3\"\n }\n }\n ],\n \"chargePoints\": [\n {\n \"chargePointID\": 0,\n \"currentType\": \"AC\",\n \"voltage\": 110,\n \"amperage\": 0,\n \"numberOfConnectedPhase\": 0,\n \"cannotChargeInParallel\": true,\n \"sharePowerToAllConnectors\": true,\n \"excludeFromPowerLimitation\": true,\n \"ocppParamForPowerLimitation\": \"string\",\n \"power\": 0,\n \"efficiency\": 0,\n \"connectorIDs\": [\n 0\n ]\n }\n ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/{{chargingStation}}/parameters", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "{{chargingStation}}", - "parameters" - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationLimitPower", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"chargePointID\": 1,\n \"connectorId\": 0,\n \"ampLimitValue\": 192,\n \"forceUpdateChargingPlan\": false\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/{{chargingStation}}/power/limit", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "{{chargingStation}}", - "power", - "limit" - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationsInError", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/status/in-error", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "status", - "in-error" - ], - "query": [ - { - "key": "Limit", - "value": "100", - "disabled": true - }, - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "SiteID", - "value": "", - "disabled": true - }, - { - "key": "SiteAreaID", - "value": "", - "disabled": true - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationsExport", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/action/export", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "action", - "export" - ], - "query": [ - { - "key": "Limit", - "value": "100", - "disabled": true - }, - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "SiteID", - "value": "", - "disabled": true - }, - { - "key": "SiteAreaID", - "value": "", - "disabled": true - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - }, - { - "key": "Issuer", - "value": "", - "disabled": true - }, - { - "key": "WithNoSiteArea", - "value": "", - "disabled": true - }, - { - "key": "ConnectorStatus", - "value": "", - "disabled": true - }, - { - "key": "ConnectorType", - "value": "", - "disabled": true - }, - { - "key": "ChargingStationID", - "value": "", - "disabled": true - }, - { - "key": "IncludeDeleted", - "value": "", - "disabled": true - }, - { - "key": "LocLongitude", - "value": "", - "disabled": true - }, - { - "key": "LocLatitude", - "value": "", - "disabled": true - }, - { - "key": "LocMaxDistanceMeters", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationsDownloadFirmware", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/firmware/download", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "firmware", - "download" - ], - "query": [ - { - "key": "FileName", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationsCheckSmartCharging", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/smartcharging/connection/check", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "smartcharging", - "connection", - "check" - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationsTriggerSmartCharging", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/smartcharging/trigger?SiteAreaID={{siteAreaID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "smartcharging", - "trigger" - ], - "query": [ - { - "key": "SiteAreaID", - "value": "{{siteAreaID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-Notifications", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/notifications?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "notifications" - ], - "query": [ - { - "key": "DateFrom", - "value": "", - "disabled": true - }, - { - "key": "UserID", - "value": "", - "disabled": true - }, - { - "key": "Channel", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "100" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-Transactions", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/transactions?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "transactions" - ], - "query": [ - { - "key": "Issuer", - "value": "", - "disabled": true - }, - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "StartDateTime", - "value": "", - "disabled": true - }, - { - "key": "EndDateTime", - "value": "", - "disabled": true - }, - { - "key": "WithChargingStation", - "value": "", - "disabled": true - }, - { - "key": "ChargingStationID", - "value": "", - "disabled": true - }, - { - "key": "ConnectorID", - "value": "", - "disabled": true - }, - { - "key": "WithCar", - "value": "", - "disabled": true - }, - { - "key": "WithUser", - "value": "", - "disabled": true - }, - { - "key": "UserID", - "value": "", - "disabled": true - }, - { - "key": "WithTag", - "value": "", - "disabled": true - }, - { - "key": "TagID", - "value": "", - "disabled": true - }, - { - "key": "VisualTagID", - "value": "", - "disabled": true - }, - { - "key": "SiteID", - "value": "", - "disabled": true - }, - { - "key": "WithSite", - "value": "", - "disabled": true - }, - { - "key": "SiteAreaID", - "value": "", - "disabled": true - }, - { - "key": "WithSiteArea", - "value": "", - "disabled": true - }, - { - "key": "WithCompany", - "value": "", - "disabled": true - }, - { - "key": "InactivityStatus", - "value": "", - "disabled": true - }, - { - "key": "Statistics", - "value": "", - "disabled": true - }, - { - "key": "RefundStatus", - "value": "", - "disabled": true - }, - { - "key": "MinimalPrice", - "value": "", - "disabled": true - }, - { - "key": "ReportIDs", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "100" - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-TransactionsCompleted", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/transactions/status/completed?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "transactions", - "status", - "completed" - ], - "query": [ - { - "key": "Issuer", - "value": "", - "disabled": true - }, - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "StartDateTime", - "value": "", - "disabled": true - }, - { - "key": "EndDateTime", - "value": "", - "disabled": true - }, - { - "key": "WithChargingStation", - "value": "", - "disabled": true - }, - { - "key": "ChargingStationID", - "value": "", - "disabled": true - }, - { - "key": "ConnectorID", - "value": "", - "disabled": true - }, - { - "key": "WithCar", - "value": "", - "disabled": true - }, - { - "key": "WithUser", - "value": "", - "disabled": true - }, - { - "key": "UserID", - "value": "", - "disabled": true - }, - { - "key": "WithTag", - "value": "", - "disabled": true - }, - { - "key": "TagID", - "value": "", - "disabled": true - }, - { - "key": "VisualTagID", - "value": "", - "disabled": true - }, - { - "key": "SiteID", - "value": "", - "disabled": true - }, - { - "key": "WithSite", - "value": "", - "disabled": true - }, - { - "key": "SiteAreaID", - "value": "", - "disabled": true - }, - { - "key": "WithSiteArea", - "value": "", - "disabled": true - }, - { - "key": "WithCompany", - "value": "", - "disabled": true - }, - { - "key": "InactivityStatus", - "value": "", - "disabled": true - }, - { - "key": "Statistics", - "value": "", - "disabled": true - }, - { - "key": "RefundStatus", - "value": "", - "disabled": true - }, - { - "key": "MinimalPrice", - "value": "", - "disabled": true - }, - { - "key": "ReportIDs", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "100" - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-TransactionsActive", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/transactions/status/active?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "transactions", - "status", - "active" - ], - "query": [ - { - "key": "Issuer", - "value": "", - "disabled": true - }, - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "StartDateTime", - "value": "", - "disabled": true - }, - { - "key": "EndDateTime", - "value": "", - "disabled": true - }, - { - "key": "WithChargingStation", - "value": "", - "disabled": true - }, - { - "key": "ChargingStationID", - "value": "", - "disabled": true - }, - { - "key": "ConnectorID", - "value": "", - "disabled": true - }, - { - "key": "WithCar", - "value": "", - "disabled": true - }, - { - "key": "WithUser", - "value": "", - "disabled": true - }, - { - "key": "UserID", - "value": "", - "disabled": true - }, - { - "key": "WithTag", - "value": "", - "disabled": true - }, - { - "key": "TagID", - "value": "", - "disabled": true - }, - { - "key": "VisualTagID", - "value": "", - "disabled": true - }, - { - "key": "SiteID", - "value": "", - "disabled": true - }, - { - "key": "WithSite", - "value": "", - "disabled": true - }, - { - "key": "SiteAreaID", - "value": "", - "disabled": true - }, - { - "key": "WithSiteArea", - "value": "", - "disabled": true - }, - { - "key": "WithCompany", - "value": "", - "disabled": true - }, - { - "key": "InactivityStatus", - "value": "", - "disabled": true - }, - { - "key": "Statistics", - "value": "", - "disabled": true - }, - { - "key": "RefundStatus", - "value": "", - "disabled": true - }, - { - "key": "MinimalPrice", - "value": "", - "disabled": true - }, - { - "key": "ReportIDs", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "100" - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-TransactionsRefund", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/transactions/status/active?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "transactions", - "status", - "active" - ], - "query": [ - { - "key": "Issuer", - "value": "", - "disabled": true - }, - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "StartDateTime", - "value": "", - "disabled": true - }, - { - "key": "EndDateTime", - "value": "", - "disabled": true - }, - { - "key": "WithChargingStation", - "value": "", - "disabled": true - }, - { - "key": "ChargingStationID", - "value": "", - "disabled": true - }, - { - "key": "ConnectorID", - "value": "", - "disabled": true - }, - { - "key": "WithCar", - "value": "", - "disabled": true - }, - { - "key": "WithUser", - "value": "", - "disabled": true - }, - { - "key": "UserID", - "value": "", - "disabled": true - }, - { - "key": "WithTag", - "value": "", - "disabled": true - }, - { - "key": "TagID", - "value": "", - "disabled": true - }, - { - "key": "VisualTagID", - "value": "", - "disabled": true - }, - { - "key": "SiteID", - "value": "", - "disabled": true - }, - { - "key": "WithSite", - "value": "", - "disabled": true - }, - { - "key": "SiteAreaID", - "value": "", - "disabled": true - }, - { - "key": "WithSiteArea", - "value": "", - "disabled": true - }, - { - "key": "WithCompany", - "value": "", - "disabled": true - }, - { - "key": "InactivityStatus", - "value": "", - "disabled": true - }, - { - "key": "Statistics", - "value": "", - "disabled": true - }, - { - "key": "RefundStatus", - "value": "", - "disabled": true - }, - { - "key": "MinimalPrice", - "value": "", - "disabled": true - }, - { - "key": "ReportIDs", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "100" - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-TransactionsInError", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/transactions/status/in-error?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "transactions", - "status", - "in-error" - ], - "query": [ - { - "key": "Issuer", - "value": "", - "disabled": true - }, - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "StartDateTime", - "value": "", - "disabled": true - }, - { - "key": "EndDateTime", - "value": "", - "disabled": true - }, - { - "key": "WithChargingStation", - "value": "", - "disabled": true - }, - { - "key": "ChargingStationID", - "value": "", - "disabled": true - }, - { - "key": "ConnectorID", - "value": "", - "disabled": true - }, - { - "key": "WithCar", - "value": "", - "disabled": true - }, - { - "key": "WithUser", - "value": "", - "disabled": true - }, - { - "key": "UserID", - "value": "", - "disabled": true - }, - { - "key": "WithTag", - "value": "", - "disabled": true - }, - { - "key": "TagID", - "value": "", - "disabled": true - }, - { - "key": "VisualTagID", - "value": "", - "disabled": true - }, - { - "key": "SiteID", - "value": "", - "disabled": true - }, - { - "key": "WithSite", - "value": "", - "disabled": true - }, - { - "key": "SiteAreaID", - "value": "", - "disabled": true - }, - { - "key": "WithSiteArea", - "value": "", - "disabled": true - }, - { - "key": "WithCompany", - "value": "", - "disabled": true - }, - { - "key": "InactivityStatus", - "value": "", - "disabled": true - }, - { - "key": "Statistics", - "value": "", - "disabled": true - }, - { - "key": "RefundStatus", - "value": "", - "disabled": true - }, - { - "key": "MinimalPrice", - "value": "", - "disabled": true - }, - { - "key": "ReportIDs", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "100" - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-TransactionsUnassigned", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/transactions/status/in-error?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "transactions", - "status", - "in-error" - ], - "query": [ - { - "key": "Issuer", - "value": "", - "disabled": true - }, - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "StartDateTime", - "value": "", - "disabled": true - }, - { - "key": "EndDateTime", - "value": "", - "disabled": true - }, - { - "key": "WithChargingStation", - "value": "", - "disabled": true - }, - { - "key": "ChargingStationID", - "value": "", - "disabled": true - }, - { - "key": "ConnectorID", - "value": "", - "disabled": true - }, - { - "key": "WithCar", - "value": "", - "disabled": true - }, - { - "key": "WithUser", - "value": "", - "disabled": true - }, - { - "key": "UserID", - "value": "", - "disabled": true - }, - { - "key": "WithTag", - "value": "", - "disabled": true - }, - { - "key": "TagID", - "value": "", - "disabled": true - }, - { - "key": "VisualTagID", - "value": "", - "disabled": true - }, - { - "key": "SiteID", - "value": "", - "disabled": true - }, - { - "key": "WithSite", - "value": "", - "disabled": true - }, - { - "key": "SiteAreaID", - "value": "", - "disabled": true - }, - { - "key": "WithSiteArea", - "value": "", - "disabled": true - }, - { - "key": "WithCompany", - "value": "", - "disabled": true - }, - { - "key": "InactivityStatus", - "value": "", - "disabled": true - }, - { - "key": "Statistics", - "value": "", - "disabled": true - }, - { - "key": "RefundStatus", - "value": "", - "disabled": true - }, - { - "key": "MinimalPrice", - "value": "", - "disabled": true - }, - { - "key": "ReportIDs", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "100" - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-TransactionsDelete", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"transactionsIDs\": [0, 1, 2]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/transactions", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "transactions" - ], - "query": [ - { - "key": "Limit", - "value": "100", - "disabled": true - }, - { - "key": "SiteID", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-Transaction", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{base_url}}/v1/api/transactions/{{transactionId}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "transactions", - "{{transactionId}}" - ], - "query": [ - { - "key": "WithCar", - "value": "", - "disabled": true - }, - { - "key": "WithUser", - "value": "", - "disabled": true - }, - { - "key": "WithTag", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-TransactionDelete", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{base_url}}/v1/api/transactions/{{transactionId}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "transactions", - "{{transactionId}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-TransactionPushCDR", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{base_url}}/v1/api/transactions/{{transactionId}}/ocpi/cdr", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "transactions", - "{{transactionId}}", - "ocpi", - "cdr" - ] - } - }, - "response": [] - }, - { - "name": "FE-TransactionCDRExport", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{base_url}}/v1/api/transactions/{{transactionId}}/ocpi/cdr/action/export", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "transactions", - "{{transactionId}}", - "ocpi", - "cdr", - "action", - "export" - ], - "query": [ - { - "key": "WithUser", - "value": "", - "disabled": true - }, - { - "key": "WithCar", - "value": "", - "disabled": true - }, - { - "key": "WithTag", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-TransactionConsumptions", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{base_url}}/v1/api/transactions/{{transactionId}}/consumptions", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "transactions", - "{{transactionId}}", - "consumptions" - ], - "query": [ - { - "key": "LoadAllConsumptions", - "value": "", - "disabled": true - }, - { - "key": "WithCar", - "value": "", - "disabled": true - }, - { - "key": "WithUser", - "value": "", - "disabled": true - }, - { - "key": "WithTag", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-TransactionRebuildConsumptions", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{base_url}}/v1/api/transactions/{{transactionId}}/consumptions/rebuild", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "transactions", - "{{transactionId}}", - "consumptions", - "rebuild" - ] - } - }, - "response": [] - }, - { - "name": "FE-TransactionSoftStop", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{base_url}}/v1/api/transactions/{{transactionId}}/stop/soft", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "transactions", - "{{transactionId}}", - "stop", - "soft" - ] - } - }, - "response": [] - }, - { - "name": "FE-TransactionRefund", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"transactionsIDs\": [0, 1, 2]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/transactions/action/refund", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "transactions", - "action", - "refund" - ] - } - }, - "response": [] - }, - { - "name": "FE-TransactionExportRefunded", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"transactionsIDs\": [0, 1, 2]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/transactions/action/refund/export", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "transactions", - "action", - "refund", - "export" - ], - "query": [ - { - "key": "Status", - "value": "100", - "disabled": true - }, - { - "key": "Issuer", - "value": "", - "disabled": true - }, - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "StartDateTime", - "value": "", - "disabled": true - }, - { - "key": "EndDateTime", - "value": "", - "disabled": true - }, - { - "key": "WithChargingStation", - "value": "", - "disabled": true - }, - { - "key": "ChargingStationID", - "value": "", - "disabled": true - }, - { - "key": "ConnectorID", - "value": "", - "disabled": true - }, - { - "key": "WithCar", - "value": "", - "disabled": true - }, - { - "key": "WithUser", - "value": "", - "disabled": true - }, - { - "key": "UserID", - "value": "", - "disabled": true - }, - { - "key": "WithTag", - "value": "", - "disabled": true - }, - { - "key": "TagID", - "value": "", - "disabled": true - }, - { - "key": "VisualTagID", - "value": "", - "disabled": true - }, - { - "key": "SiteID", - "value": "", - "disabled": true - }, - { - "key": "WithSite", - "value": "", - "disabled": true - }, - { - "key": "SiteAreaID", - "value": "", - "disabled": true - }, - { - "key": "WithSiteArea", - "value": "", - "disabled": true - }, - { - "key": "WithCompany", - "value": "", - "disabled": true - }, - { - "key": "InactivityStatus", - "value": "", - "disabled": true - }, - { - "key": "Statistics", - "value": "", - "disabled": true - }, - { - "key": "RefundStatus", - "value": "", - "disabled": true - }, - { - "key": "MinimalPrice", - "value": "", - "disabled": true - }, - { - "key": "ReportIDs", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "", - "disabled": true - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-TransactionSynchronizeToRefund", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/transactions/action/refund/synchronize", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "transactions", - "action", - "refund", - "synchronize" - ] - } - }, - "response": [] - }, - { - "name": "FE-TransactionsRefundReports", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/transactions/action/refund/reports", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "transactions", - "action", - "refund", - "reports" - ], - "query": [ - { - "key": "SiteAreaID", - "value": "", - "disabled": true - }, - { - "key": "SiteID", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "", - "disabled": true - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-TransactionsAssign", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/transactions/action/assign", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "transactions", - "action", - "assign" - ], - "query": [ - { - "key": "TagID", - "value": "", - "disabled": true - }, - { - "key": "UserID", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-TransactionsExport", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/transactions/action/export", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "transactions", - "action", - "export" - ], - "query": [ - { - "key": "Status", - "value": "100", - "disabled": true - }, - { - "key": "Issuer", - "value": "", - "disabled": true - }, - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "StartDateTime", - "value": "", - "disabled": true - }, - { - "key": "EndDateTime", - "value": "", - "disabled": true - }, - { - "key": "WithChargingStation", - "value": "", - "disabled": true - }, - { - "key": "ChargingStationID", - "value": "", - "disabled": true - }, - { - "key": "ConnectorID", - "value": "", - "disabled": true - }, - { - "key": "WithCar", - "value": "", - "disabled": true - }, - { - "key": "WithUser", - "value": "", - "disabled": true - }, - { - "key": "UserID", - "value": "", - "disabled": true - }, - { - "key": "WithTag", - "value": "", - "disabled": true - }, - { - "key": "TagID", - "value": "", - "disabled": true - }, - { - "key": "VisualTagID", - "value": "", - "disabled": true - }, - { - "key": "SiteID", - "value": "", - "disabled": true - }, - { - "key": "WithSite", - "value": "", - "disabled": true - }, - { - "key": "SiteAreaID", - "value": "", - "disabled": true - }, - { - "key": "WithSiteArea", - "value": "", - "disabled": true - }, - { - "key": "WithCompany", - "value": "", - "disabled": true - }, - { - "key": "InactivityStatus", - "value": "", - "disabled": true - }, - { - "key": "Statistics", - "value": "", - "disabled": true - }, - { - "key": "RefundStatus", - "value": "", - "disabled": true - }, - { - "key": "MinimalPrice", - "value": "", - "disabled": true - }, - { - "key": "ReportIDs", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "", - "disabled": true - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-UserUsageStatistics", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/client/api/UserUsageStatistics?Year=2017", - "host": [ - "{{base_url}}" - ], - "path": [ - "client", - "api", - "UserUsageStatistics" - ], - "query": [ - { - "key": "Year", - "value": "2017" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-Users", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/users?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "users" - ], - "query": [ - { - "key": "Issuer", - "value": "", - "disabled": true - }, - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "SiteID", - "value": "", - "disabled": true - }, - { - "key": "UserID", - "value": "", - "disabled": true - }, - { - "key": "Role", - "value": "", - "disabled": true - }, - { - "key": "Status", - "value": "", - "disabled": true - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "100" - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-User", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/users/{{userID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "users", - "{{userID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-UsersInError", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/users/status/in-error", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "users", - "status", - "in-error" - ], - "query": [ - { - "key": "Role", - "value": "", - "disabled": true - }, - { - "key": "Search", - "value": "User", - "disabled": true - }, - { - "key": "ErrorType", - "value": "", - "disabled": true - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-UsersExport", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/users/action/export", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "users", - "action", - "export" - ], - "query": [ - { - "key": "Issuer", - "value": "", - "disabled": true - }, - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "SiteID", - "value": "", - "disabled": true - }, - { - "key": "UserID", - "value": "", - "disabled": true - }, - { - "key": "Role", - "value": "", - "disabled": true - }, - { - "key": "Status", - "value": "", - "disabled": true - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-UsersImport", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data", - "type": "text" - } - ], - "body": { - "mode": "file", - "file": { - "src": "" - } - }, - "url": { - "raw": "{{base_url}}/v1/api/users/action/import", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "users", - "action", - "import" - ] - } - }, - "response": [] - }, - { - "name": "FE-UserDefaultTag", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/users/{{userID}}/default-car-tag", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "users", - "{{userID}}", - "default-car-tag" - ] - } - }, - "response": [] - }, - { - "name": "FE-UserSites", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/users/{{userID}}/sites?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "users", - "{{userID}}", - "sites" - ], - "query": [ - { - "key": "Limit", - "value": "100" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-UserImage", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/users/{{userID}}/image", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "users", - "{{userID}}", - "image" - ] - } - }, - "response": [] - }, - { - "name": "FE-UserAddSites", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"siteIDs\": [\n \"{{siteID}}\"\n ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/users/{{userID}}/sites", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "users", - "{{userID}}", - "sites" - ] - } - }, - "response": [] - }, - { - "name": "FE-UserUnassignSites", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"siteIDs\": [\n \"{{siteID}}\"\n ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/users/{{userID}}/sites", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "users", - "{{userID}}", - "sites" - ] - } - }, - "response": [] - }, - { - "name": "FE-UserCreate", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"userID\", responseJson[\"id\"]);" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"CreateName\",\n \"firstName\": \"CreateFirstname\",\n \"email\": \"firstname.lastname@sap.com\",\n \"password\": \"Azerty123!\",\n \"acceptEula\": true,\n \"tenant\": \"slf\",\n \"role\": \"B\",\n \"status\": \"A\"\n}\n", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/users/", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "users", - "" - ] - } - }, - "response": [] - }, - { - "name": "FE-UserUpdate", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"name\": \"UpdateName\",\r\n \"firstName\": \"UpdateFirstname\",\r\n \"email\": \"update@email.fr\",\r\n \"phone\": \"+33 0102030405\",\r\n \"mobile\": \"\",\r\n \"iNumber\": \"I010203\",\r\n \"tagIDs\": [\r\n \"ABCDE123\"\r\n ],\r\n \"costCenter\": \"123456789\",\r\n \"status\": \"A\",\r\n \"role\": \"A\",\r\n \"password\": \"Azerty123!\"\r\n}\r\n" - }, - "url": { - "raw": "{{base_url}}/v1/api/users/{{userID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "users", - "{{userID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-UserUpdateMobileToken", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"mobileToken\": \"new_token\",\n \"mobileOS\": \"mobile_os\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/users/{{userID}}/mobile-token", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "users", - "{{userID}}", - "mobile-token" - ] - } - }, - "response": [] - }, - { - "name": "FE-Tags", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"tagID\", responseJson[\"result\"][0][\"id\"]);", - "postman.setEnvironmentVariable(\"tagVisualID\", responseJson[\"result\"][0][\"visualID\"]);" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/tags?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "tags" - ], - "query": [ - { - "key": "Limit", - "value": "100" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-Tag", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/tags/{{tagID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "tags", - "{{tagID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-TagByVisualID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/tags?VisualID={{tagVisualID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "tags" - ], - "query": [ - { - "key": "VisualID", - "value": "{{tagVisualID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-TagExport", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/tags/action/export?Active=", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "tags", - "action", - "export" - ], - "query": [ - { - "key": "Active", - "value": "" - }, - { - "key": "Issuer", - "value": "", - "disabled": true - }, - { - "key": "UserID", - "value": "", - "description": "Pipe separated user ids", - "disabled": true - }, - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-TagCreate", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"tag\", responseJson[\"id\"]);" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"id\": \"ABCD987654\",\n \"visualID\": \"######\",\n \"description\": \"Postman tag\",\n \"active\": true,\n \"issuer\": true,\n \"default\": false,\n \"userID\": \"{{userID}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/tags/", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "tags", - "" - ] - } - }, - "response": [] - }, - { - "name": "FE-TagImport", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "file", - "file": {} - }, - "url": { - "raw": "{{base_url}}/v1/api/tags/action/import", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "tags", - "action", - "import" - ] - } - }, - "response": [] - }, - { - "name": "FE-TagUpdate", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"id\": \"ABCDE1234679\",\n \"visualID\": \"New visual ID\",\n \"description\": \"Postman tag\",\n \"active\": true,\n \"issuer\": true,\n \"default\": false,\n \"userID\": \"{{userID}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/tags/{{tag}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "tags", - "{{tag}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-TagUpdateByVisualID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"id\": \"ABCDE1234679\",\n \"visualID\": \"New visual ID\",\n \"description\": \"Postman tag\",\n \"active\": true,\n \"issuer\": true,\n \"default\": false,\n \"userID\": \"{{userID}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/tags", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "tags" - ] - } - }, - "response": [] - }, - { - "name": "FE-TagDelete", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/tags/{{tag}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "tags", - "{{tag}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-TagsDelete", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"tagsIDs\": [\n \"{{tagId1}}\",\n \"{{tagId2}}\"\n ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/tags", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "tags" - ] - } - }, - "response": [] - }, - { - "name": "FE-Assets", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/assets?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "assets" - ], - "query": [ - { - "key": "Issuer", - "value": "", - "disabled": true - }, - { - "key": "SiteAreaIDs", - "value": "", - "disabled": true - }, - { - "key": "SiteIDs", - "value": "", - "disabled": true - }, - { - "key": "WithSiteArea", - "value": "", - "disabled": true - }, - { - "key": "WithNoSiteArea", - "value": "", - "disabled": true - }, - { - "key": "DynamicOnly", - "value": "", - "disabled": true - }, - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "100" - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-Asset", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/assets/{{assetID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "assets", - "{{assetID}}" - ], - "query": [ - { - "key": "WithSiteArea", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-AssetsInError", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/assets/status/in-error", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "assets", - "status", - "in-error" - ], - "query": [ - { - "key": "WithSiteArea", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-AssetUpdate", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"Updated asset\",\n \"siteAreaID\": \"{{siteAreaID}}\",\n \"assetType\": \"CO\",\n \"excludeFromSmartCharging\": true,\n \"variationThresholdPercent\": 100,\n \"fluctuationPercent\": null,\n \"staticValueWatt\": 2000,\n \"image\": \"\",\n \"dynamicAsset\": false,\n \"connectionID\": \"\",\n \"meterID\": \"\",\n \"usesPushAPI\": false,\n \"coordinates\": [0, 0]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/assets/{{assetID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "assets", - "{{assetID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-AssetDelete", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/assets/{{assetID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "assets", - "{{assetID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-AssetConsumptions", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/assets/601b2a5e52f1d8000e8dd95b/consumptions", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "assets", - "601b2a5e52f1d8000e8dd95b", - "consumptions" - ], - "query": [ - { - "key": "StartDate", - "value": "", - "disabled": true - }, - { - "key": "EndDate", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-AssetImage", - "request": { - "auth": { - "type": "noauth" - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/util/assets/601b2a5e52f1d8000e8dd95b/image?TenantID={{tenantID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "util", - "assets", - "601b2a5e52f1d8000e8dd95b", - "image" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-CarCatalogs", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/car-catalogs?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "car-catalogs" - ], - "query": [ - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "CarMaker", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "100" - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-CarCatalog", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/car-catalogs/1172", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "car-catalogs", - "1172" - ] - } - }, - "response": [] - }, - { - "name": "FE-CarCatalogImage", - "request": { - "auth": { - "type": "noauth" - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/util/car-catalogs/1172/image", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "util", - "car-catalogs", - "1172", - "image" - ] - } - }, - "response": [] - }, - { - "name": "FE-CarCatalogImages", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/car-catalogs/1172/images?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "car-catalogs", - "1172", - "images" - ], - "query": [ - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "100" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-CarCatalogsSynchronize", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/car-catalogs/action/synchronize", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "car-catalogs", - "action", - "synchronize" - ] - } - }, - "response": [] - }, - { - "name": "FE-CarMakers", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/car-makers", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "car-makers" - ] - } - }, - "response": [] - }, - { - "name": "FE-CarCreate", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"carID\", responseJson[\"id\"]);" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"vin\": \"string\",\n \"licensePlate\": \"AB-123-CD\",\n \"carCatalogID\": 1160,\n \"forced\": true,\n \"type\": \"P\",\n \"userID\": \"{{userID}}\",\n \"default\": true,\n \"converter\": {\n \"amperagePerPhase\": 1,\n \"numberOfPhases\": 1,\n \"powerWatts\": 1,\n \"type\": \"S\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/cars", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "cars" - ] - } - }, - "response": [] - }, - { - "name": "FE-Cars", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/cars?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "cars" - ], - "query": [ - { - "key": "WithUser", - "value": "", - "disabled": true - }, - { - "key": "CarMaker", - "value": "", - "disabled": true - }, - { - "key": "UserID", - "value": "", - "disabled": true - }, - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "100" - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-Car", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/cars/{{carID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "cars", - "{{carID}}" - ], - "query": [ - { - "key": "WithUser", - "value": "", - "disabled": true - }, - { - "key": "CarMaker", - "value": "", - "disabled": true - }, - { - "key": "UserID", - "value": "", - "disabled": true - }, - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "", - "disabled": true - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-Logs", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"logID\", responseJson[\"result\"][0][\"id\"]);" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/logs?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "logs" - ], - "query": [ - { - "key": "StartDateTime", - "value": "", - "disabled": true - }, - { - "key": "EndDateTime", - "value": "", - "disabled": true - }, - { - "key": "Level", - "value": "", - "disabled": true - }, - { - "key": "Source", - "value": "", - "disabled": true - }, - { - "key": "Host", - "value": "", - "disabled": true - }, - { - "key": "Type", - "value": "", - "disabled": true - }, - { - "key": "Action", - "value": "", - "disabled": true - }, - { - "key": "UserID", - "value": "", - "disabled": true - }, - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "100" - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-Log", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/logs/{{logID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "logs", - "{{logID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-IntegrationConnections", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/connections?UserID={{userID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "connections" - ], - "query": [ - { - "key": "UserID", - "value": "{{userID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-IntegrationConnectionsCreate", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"connectionID\", responseJson[\"id\"]);" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"connectorId\": 0,\n \"userId\": \"{{userID}}\",\n \"data\": {}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/connections", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "connections" - ] - } - }, - "response": [] - }, - { - "name": "FE-IntegrationConnection", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/connections/{{connectionID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "connections", - "{{connectionID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-IntegrationConnectionDelete", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/connections/{{connectionID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "connections", - "{{connectionID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-LogsExport", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/logs/action/export", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "logs", - "action", - "export" - ], - "query": [ - { - "key": "StartDateTime", - "value": "", - "disabled": true - }, - { - "key": "EndDateTime", - "value": "", - "disabled": true - }, - { - "key": "Level", - "value": "", - "disabled": true - }, - { - "key": "Source", - "value": "", - "disabled": true - }, - { - "key": "Host", - "value": "", - "disabled": true - }, - { - "key": "Type", - "value": "", - "disabled": true - }, - { - "key": "Action", - "value": "", - "disabled": true - }, - { - "key": "UserID", - "value": "", - "disabled": true - }, - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "", - "disabled": true - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-OCPIEndpoints", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/ocpi/endpoints?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "ocpi", - "endpoints" - ], - "query": [ - { - "key": "Search", - "value": "", - "disabled": true - }, - { - "key": "SortFields", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "100" - }, - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "OnlyRecordCount", - "value": "", - "disabled": true - }, - { - "key": "ProjectFields", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-OCPIEndpointCreate", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"ocpiEndpointID\", responseJson[\"id\"]);" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"OCPI Endpoint name\",\n \"role\": \"CPO\",\n \"baseUrl\": \"https://xxxxxxx.xx\",\n \"countryCode\": \"FR\",\n \"partyId\": \"ABC\",\n \"localToken\": \"string\",\n \"token\": \"string\",\n \"backgroundPatchJob\": true\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/ocpi/endpoints", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "ocpi", - "endpoints" - ] - } - }, - "response": [] - }, - { - "name": "FE-OCPIEndpoint", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "ocpi", - "endpoints", - "{{ocpiEndpointID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-OCPIEndpointDelete", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "ocpi", - "endpoints", - "{{ocpiEndpointID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-OCPIEndpointUpdate", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"OCPI Endpoint name\",\n \"role\": \"CPO\",\n \"baseUrl\": \"https://xxxxxxx.xx\",\n \"countryCode\": \"FR\",\n \"partyId\": \"ABC\",\n \"localToken\": \"string\",\n \"token\": \"string\",\n \"backgroundPatchJob\": true\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "ocpi", - "endpoints", - "{{ocpiEndpointID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-OCPIEndpointPing", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"OCPI Endpoint name\",\n \"role\": \"CPO\",\n \"baseUrl\": \"https://xxxxxxx.xx\",\n \"countryCode\": \"FR\",\n \"partyId\": \"ABC\",\n \"localToken\": \"string\",\n \"token\": \"string\",\n \"backgroundPatchJob\": true\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/ping", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "ocpi", - "endpoints", - "{{ocpiEndpointID}}", - "ping" - ] - } - }, - "response": [] - }, - { - "name": "FE-OCPIEndpointCheckCDRs", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/cdrs/check", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "ocpi", - "endpoints", - "{{ocpiEndpointID}}", - "cdrs", - "check" - ] - } - }, - "response": [] - }, - { - "name": "FE-OCPIEndpointCheckLocations", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/locations/check", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "ocpi", - "endpoints", - "{{ocpiEndpointID}}", - "locations", - "check" - ] - } - }, - "response": [] - }, - { - "name": "FE-OCPIEndpointCheckLocations Copy", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/sessions/check", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "ocpi", - "endpoints", - "{{ocpiEndpointID}}", - "sessions", - "check" - ] - } - }, - "response": [] - }, - { - "name": "FE-OCPIEndpointPullCDRs", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/cdrs/pull", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "ocpi", - "endpoints", - "{{ocpiEndpointID}}", - "cdrs", - "pull" - ] - } - }, - "response": [] - }, - { - "name": "FE-OCPIEndpointPullLocations", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/locations/pull", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "ocpi", - "endpoints", - "{{ocpiEndpointID}}", - "locations", - "pull" - ] - } - }, - "response": [] - }, - { - "name": "FE-OCPIEndpointPullSessions", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/sessions/pull", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "ocpi", - "endpoints", - "{{ocpiEndpointID}}", - "sessions", - "pull" - ] - } - }, - "response": [] - }, - { - "name": "FE-OCPIEndpointPullTokens", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/tokens/pull", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "ocpi", - "endpoints", - "{{ocpiEndpointID}}", - "tokens", - "pull" - ] - } - }, - "response": [] - }, - { - "name": "FE-OCPIEndpointPushEvsesStatuses", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/evses/statuses/send", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "ocpi", - "endpoints", - "{{ocpiEndpointID}}", - "evses", - "statuses", - "send" - ] - } - }, - "response": [] - }, - { - "name": "FE-OCPIEndpointPushTokens", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/tokens/send", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "ocpi", - "endpoints", - "{{ocpiEndpointID}}", - "tokens", - "send" - ] - } - }, - "response": [] - }, - { - "name": "FE-OCPIEndpointRegister", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/register", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "ocpi", - "endpoints", - "{{ocpiEndpointID}}", - "register" - ] - } - }, - "response": [] - }, - { - "name": "FE-OCPIEndpointUnregister", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/ocpi/endpoints/{{ocpiEndpointID}}/unregister", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "ocpi", - "endpoints", - "{{ocpiEndpointID}}", - "unregister" - ] - } - }, - "response": [] - }, - { - "name": "FE-OICPEndpointCreate", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"oicpID\", responseJson[\"id\"]);" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"OICP Endpoint name\",\n \"role\": \"CPO\",\n \"baseUrl\": \"https://xxxxxxx.xx\",\n \"countryCode\": \"FR\",\n \"partyId\": \"ABC\",\n \"backgroundPatchJob\": true\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/oicp/endpoints/", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "oicp", - "endpoints", - "" - ] - } - }, - "response": [] - }, - { - "name": "FE-OICPEndpointUpdate", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"Updated OICP Endpoint name\",\n \"role\": \"CPO\",\n \"baseUrl\": \"https://xxxxxxx.xx\",\n \"countryCode\": \"FR\",\n \"partyId\": \"ABC\",\n \"backgroundPatchJob\": true\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/oicp/endpoints/{{oicpID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "oicp", - "endpoints", - "{{oicpID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-OICPEndpointPing", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"OICP Endpoint name\",\n \"role\": \"CPO\",\n \"baseUrl\": \"https://xxxxxxx.xx\",\n \"countryCode\": \"FR\",\n \"partyId\": \"ABC\",\n \"backgroundPatchJob\": true\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/oicp/endpoints/{{oicpID}}/ping", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "oicp", - "endpoints", - "{{oicpID}}", - "ping" - ] - } - }, - "response": [] - }, - { - "name": "FE-OICPEndpointSendEvseStatuses", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/oicp/endpoints/{{oicpID}}/evses/statuses/send", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "oicp", - "endpoints", - "{{oicpID}}", - "evses", - "statuses", - "send" - ] - } - }, - "response": [] - }, - { - "name": "FE-OICPEndpointSendEvses", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/oicp/endpoints/{{oicpID}}/evses/send", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "oicp", - "endpoints", - "{{oicpID}}", - "evses", - "send" - ] - } - }, - "response": [] - }, - { - "name": "FE-OICPEndpoints", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/oicp/endpoints?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "oicp", - "endpoints" - ], - "query": [ - { - "key": "Limit", - "value": "100" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-OICPEndpoint", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/oicp/endpoints/{{oicpID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "oicp", - "endpoints", - "{{oicpID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-OICPEndpointRegister", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/oicp/endpoints/{{oicpID}}/register", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "oicp", - "endpoints", - "{{oicpID}}", - "register" - ] - } - }, - "response": [] - }, - { - "name": "FE-OICPEndpointUnregister", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/oicp/endpoints/{{oicpID}}/unregister", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "oicp", - "endpoints", - "{{oicpID}}", - "unregister" - ] - } - }, - "response": [] - }, - { - "name": "FE-OICPEndpointDelete", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/oicp/endpoints/{{oicpID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "oicp", - "endpoints", - "{{oicpID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-RegistrationTokens", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/registration-tokens?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "registration-tokens" - ], - "query": [ - { - "key": "Limit", - "value": "100" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-RegistrationTokensCreate", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"registrationTokenID\", responseJson[\"id\"]);" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"description\": \"A Token description\",\n \"siteAreaID\": null\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/registration-tokens", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "registration-tokens" - ] - } - }, - "response": [] - }, - { - "name": "FE-RegistrationToken", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/registration-tokens/{{registrationTokenID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "registration-tokens", - "{{registrationTokenID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-RegistrationTokenUpdate", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"description\": \"An updated Token description\",\n \"siteAreaID\": null\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/registration-tokens/{{registrationTokenID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "registration-tokens", - "{{registrationTokenID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-RegistrationTokenRevoke", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/registration-tokens/{{registrationTokenID}}/revoke", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "registration-tokens", - "{{registrationTokenID}}", - "revoke" - ] - } - }, - "response": [] - }, - { - "name": "FE-RegistrationTokenDelete", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/registration-tokens/{{registrationTokenID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "registration-tokens", - "{{registrationTokenID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-SettingCreate", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"settingID\", responseJson[\"id\"]);" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"identifier\": \"User\",\n \"sensitiveData\": [],\n \"content\": {\n \"type\": \"user\",\n \"user\": {\n \"autoActivateAccountAfterValidation\": true\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/settings", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "settings" - ] - } - }, - "response": [] - }, - { - "name": "FE-Settings", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/settings", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "settings" - ] - } - }, - "response": [] - }, - { - "name": "FE-Setting", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/settings/{{settingID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "settings", - "{{settingID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-SettingUpdate", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"identifier\": \"User\",\n \"sensitiveData\": [],\n \"content\": {\n \"type\": \"user\",\n \"user\": {\n \"autoActivateAccountAfterValidation\": false\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/settings/{{settingID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "settings", - "{{settingID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-SettingDelete", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/settings/{{settingID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "settings", - "{{settingID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-SiteCreate", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"siteID\", responseJson[\"id\"]);" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"name\": \"SAP Labs Mougins\",\n\t\"address\": {\n\t\t\"address1\": \"805 Av. du Docteur Maurice Donat\",\n\t\t\"address2\": \"Font de l'Orme\",\n\t\t\"postalCode\": \"06150\",\n\t\t\"city\": \"Mougins\",\n\t\t\"region\": \"PACA\",\n\t\t\"country\": \"France\"\n\t},\n\t\"companyID\": \"{{companyID}}\"\n}" - }, - "url": { - "raw": "{{base_url}}/v1/api/sites", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "sites" - ] - } - }, - "response": [] - }, - { - "name": "FE-Site", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "url": { - "raw": "{{base_url}}/v1/api/sites/{{siteID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "sites", - "{{siteID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-SiteUsers", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "url": { - "raw": "{{base_url}}/v1/api/sites/{{siteID}}/users", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "sites", - "{{siteID}}", - "users" - ] - } - }, - "response": [] - }, - { - "name": "FE-SiteUpdate", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"name\": \"SAP Labs Mougins updated\",\n\t\"address\": {\n\t\t\"address1\": \"805 Av. du Docteur Maurice Donat\",\n\t\t\"address2\": \"Font de l'Orme\",\n\t\t\"postalCode\": \"06150\",\n\t\t\"city\": \"Mougins\",\n\t\t\"region\": \"PACA\",\n\t\t\"country\": \"France\"\n\t},\n\t\"companyID\": \"{{companyID}}\"\n}" - }, - "url": { - "raw": "{{base_url}}/v1/api/sites/{{siteID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "sites", - "{{siteID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-SiteAssignUsers", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"userIDs\": [\"{{userID}}\"]\n}" - }, - "url": { - "raw": "{{base_url}}/v1/api/sites/{{siteID}}/users/assign", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "sites", - "{{siteID}}", - "users", - "assign" - ] - } - }, - "response": [] - }, - { - "name": "FE-SiteSetAdmin", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"userID\": \"{{userID}}\",\n \"siteAdmin\": true\n}" - }, - "url": { - "raw": "{{base_url}}/v1/api/sites/{{siteID}}/users/admin", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "sites", - "{{siteID}}", - "users", - "admin" - ] - } - }, - "response": [] - }, - { - "name": "FE-SiteSetOwner", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"userID\": \"{{userID}}\",\n \"siteOwner\": true\n}" - }, - "url": { - "raw": "{{base_url}}/v1/api/sites/{{siteID}}/users/owner", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "sites", - "{{siteID}}", - "users", - "owner" - ] - } - }, - "response": [] - }, - { - "name": "FE-SiteImage", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "url": { - "raw": "{{base_url}}/v1/util/sites/{{siteID}}/image?TenantID={{tenantID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "util", - "sites", - "{{siteID}}", - "image" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-SiteDelete", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "url": { - "raw": "{{base_url}}/v1/api/sites/{{siteID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "sites", - "{{siteID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-SiteAreas", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/site-areas?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "site-areas" - ], - "query": [ - { - "key": "WithSite", - "value": "true", - "disabled": true - }, - { - "key": "WithAvailableChargers", - "value": "true", - "disabled": true - }, - { - "key": "WithChargeBoxes", - "value": "true", - "disabled": true - }, - { - "key": "Limit", - "value": "100" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-SiteAreaCreate", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"accessControl\": true,\n \"address\": {\n \"address1\": \"805 av. du Docteur Maurice Donat\",\n \"address2\": \"string\",\n \"postalCode\": \"06250\",\n \"city\": \"Mougins\",\n \"department\": \"Alpes Maritimes\",\n \"region\": \"PACA\",\n \"country\": \"France\",\n \"coordinates\": [\n 43,\n 7\n ]\n },\n \"issuer\": true,\n \"maximumPower\": 1,\n \"name\": \"Test Site Area\",\n \"numberOfPhases\": 1,\n \"siteID\": \"{{siteID}}\",\n \"smartCharging\": true,\n \"voltage\": 110\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/site-areas", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "site-areas" - ], - "query": [ - { - "key": "WithSite", - "value": "true", - "disabled": true - }, - { - "key": "WithAvailableChargers", - "value": "true", - "disabled": true - }, - { - "key": "WithChargeBoxes", - "value": "true", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-SiteArea", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/site-areas/{{siteAreaID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "site-areas", - "{{siteAreaID}}" - ], - "query": [ - { - "key": "WithSite", - "value": "true", - "disabled": true - }, - { - "key": "WithAvailableChargers", - "value": "true", - "disabled": true - }, - { - "key": "WithChargeBoxes", - "value": "true", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-SiteAreaImage", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "noauth" - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/util/site-areas/{{siteAreaID}}/image?TenantID={{tenantID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "util", - "site-areas", - "{{siteAreaID}}", - "image" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-SiteAreaConsumption", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/site-areas/{{siteAreaID}}/consumptions?StartDate=2019-11-18T14:35:23.603Z&EndDate=2021-11-18T14:35:23.603Z", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "site-areas", - "{{siteAreaID}}", - "consumptions" - ], - "query": [ - { - "key": "StartDate", - "value": "2019-11-18T14:35:23.603Z" - }, - { - "key": "EndDate", - "value": "2021-11-18T14:35:23.603Z" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-SiteAreaAssignChargingStations", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"chargingStationIDs\": [\"{{chargingStation}}\"]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/site-areas/{{siteAreaID}}/charging-stations/assign", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "site-areas", - "{{siteAreaID}}", - "charging-stations", - "assign" - ] - } - }, - "response": [] - }, - { - "name": "FE-SiteAreaUnassignChargingStations", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"chargingStationIDs\": [\"{{chargingStation}}\"]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/site-areas/{{siteAreaID}}/charging-stations/unassign", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "site-areas", - "{{siteAreaID}}", - "charging-stations", - "unassign" - ] - } - }, - "response": [] - }, - { - "name": "FE-SiteAreaAssignAssets", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"assetIDs\": [\"{{assetID}}\"]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/site-areas/{{siteAreaID}}/assets/assign", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "site-areas", - "{{siteAreaID}}", - "assets", - "assign" - ] - } - }, - "response": [] - }, - { - "name": "FE-SiteAreaUnassignAssets", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"assetIDs\": [\"{{assetID}}\"]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{base_url}}/v1/api/site-areas/{{siteAreaID}}/assets/unassign", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "site-areas", - "{{siteAreaID}}", - "assets", - "unassign" - ] - } - }, - "response": [] - }, - { - "name": "FE-StatisticsExport", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/statistics/action/export?DataType=Users&DataCategory=Pricing&DataScope=Year", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "statistics", - "action", - "export" - ], - "query": [ - { - "key": "DataType", - "value": "Users" - }, - { - "key": "DataCategory", - "value": "Pricing" - }, - { - "key": "DataScope", - "value": "Year" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-StatisticsTransactionsYears", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/statistics/transactions/years", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "statistics", - "transactions", - "years" - ] - } - }, - "response": [] - }, - { - "name": "FE-StatisticsChargingStationConsumption", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/statistics/charging-stations/consumption?Year=2018", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "statistics", - "charging-stations", - "consumption" - ], - "query": [ - { - "key": "Year", - "value": "2018" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-StatisticsChargingStationInactivity", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/statistics/charging-stations/inactivity?Year=2018", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "statistics", - "charging-stations", - "inactivity" - ], - "query": [ - { - "key": "Year", - "value": "2018" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-StatisticsChargingStationUsage", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/statistics/charging-stations/usage?Year=2018", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "statistics", - "charging-stations", - "usage" - ], - "query": [ - { - "key": "Year", - "value": "2018" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-StatisticsChargingStationTransaction", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/statistics/charging-stations/transaction?Year=2018", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "statistics", - "charging-stations", - "transaction" - ], - "query": [ - { - "key": "Year", - "value": "2018" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-StatisticsChargingStationPricing", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/statistics/charging-stations/transaction?Year=2018", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "statistics", - "charging-stations", - "transaction" - ], - "query": [ - { - "key": "Year", - "value": "2018" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-StatisticsUsersConsumption", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/statistics/users/consumption?Year=2018", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "statistics", - "users", - "consumption" - ], - "query": [ - { - "key": "Year", - "value": "2018" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-StatisticsUsersUsage", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/statistics/users/usage?Year=2018", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "statistics", - "users", - "usage" - ], - "query": [ - { - "key": "Year", - "value": "2018" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-StatisticsUsersInactivity", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/statistics/users/inactivity?Year=2018", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "statistics", - "users", - "inactivity" - ], - "query": [ - { - "key": "Year", - "value": "2018" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-StatisticsUsersTransactions", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/statistics/users/transaction?Year=2018", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "statistics", - "users", - "transaction" - ], - "query": [ - { - "key": "Year", - "value": "2018" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-StatisticsUsersPricing", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{base_url}}/v1/api/statistics/users/pricing?Year=2018", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "statistics", - "users", - "pricing" - ], - "query": [ - { - "key": "Year", - "value": "2018" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-BillingSetting", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "url": { - "raw": "{{base_url}}/v1/api/billing-setting", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "billing-setting" - ] - } - }, - "response": [] - }, - { - "name": "FE-BillingSettingUpdate", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"id\": \"\",\n \"identifier\": \"billing\",\n \"sensitiveData\": [],\n \"type\": \"stripe\",\n \"billing\": {\n \"isTransactionBillingActivated\": true,\n \"immediateBillingAllowed\": true,\n \"periodicBillingAllowed\": true,\n \"taxID\": \"\"\n },\n \"stripe\": {\n \"url\": \"string\",\n \"secretKey\": \"string\",\n \"publicKey\": \"string\"\n }\n}" - }, - "url": { - "raw": "{{base_url}}/v1/api/billing-setting", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "billing-setting" - ] - } - }, - "response": [] - }, - { - "name": "FE-BillingCreateSubAccount", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"userID\": \"{{userID}}\"\n}" - }, - "url": { - "raw": "{{base_url}}/v1/api/billing/sub-accounts", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "billing", - "sub-accounts" - ] - } - }, - "response": [] - }, - { - "name": "FE-BillingActivateSubAccount", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "noauth" - }, - "method": "GET", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "url": { - "raw": "{{base_url}}/v1/util/billing/sub-accounts/628760264ecb9faff36311b2/activate?TenantID={{tenantID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "util", - "billing", - "sub-accounts", - "628760264ecb9faff36311b2", - "activate" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-BillingGetUserPaymentMethod", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"id\": \"\",\n \"identifier\": \"billing\",\n \"sensitiveData\": [],\n \"type\": \"stripe\",\n \"billing\": {\n \"isTransactionBillingActivated\": true,\n \"immediateBillingAllowed\": true,\n \"periodicBillingAllowed\": true,\n \"taxID\": \"\"\n },\n \"stripe\": {\n \"url\": \"string\",\n \"secretKey\": \"string\",\n \"publicKey\": \"string\"\n }\n}" - }, - "url": { - "raw": "{{base_url}}/v1/api/users/{{userID}}/payment-methods?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "users", - "{{userID}}", - "payment-methods" - ], - "query": [ - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "100" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-BillingGetUserPaymentMethod Copy", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "url": { - "raw": "{{base_url}}/v1/api/users/{{userID}}/payment-methods/{{paymentMethodID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "users", - "{{userID}}", - "payment-methods", - "{{paymentMethodID}}" - ], - "query": [ - { - "key": "Skip", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-BillingSetupUserPaymentMethod", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethodId\": \"{{paymentMethodID}}\"\n}" - }, - "url": { - "raw": "{{base_url}}/v1/api/users/{{userID}}/payment-methods/setup", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "users", - "{{userID}}", - "payment-methods", - "setup" - ], - "query": [ - { - "key": "Skip", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-BillingAttachUserPaymentMethod", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethodId\": \"pm_1Ib3MxF5e1VSb1v6eH3Zhn4K\"\n}" - }, - "url": { - "raw": "{{base_url}}/v1/api/users/{{userID}}/payment-methods/{{paymentMethodID}}/attach", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "users", - "{{userID}}", - "payment-methods", - "{{paymentMethodID}}", - "attach" - ], - "query": [ - { - "key": "Skip", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-BillingDetachUserPaymentMethod", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "url": { - "raw": "{{base_url}}/v1/api/users/{{userID}}/payment-methods/{{paymentMethodID}}/attach", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "users", - "{{userID}}", - "payment-methods", - "{{paymentMethodID}}", - "attach" - ], - "query": [ - { - "key": "Skip", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-BillingTaxes", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "url": { - "raw": "{{base_url}}/v1/api/billing/taxes", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "billing", - "taxes" - ], - "query": [ - { - "key": "Skip", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-BillingCheck", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "url": { - "raw": "{{base_url}}/v1/api/billing/check", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "billing", - "check" - ], - "query": [ - { - "key": "Skip", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "FE-BillingInvoices", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "url": { - "raw": "{{base_url}}/v1/api/invoices?Limit=100", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "invoices" - ], - "query": [ - { - "key": "Skip", - "value": "", - "disabled": true - }, - { - "key": "Limit", - "value": "100" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-BillingInvoice", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "url": { - "raw": "{{base_url}}/v1/api/invoices/{{invoiceID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "invoices", - "{{invoiceID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-BillingDownloadInvoice", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "url": { - "raw": "{{base_url}}/v1/api/invoices/{{invoiceID}}/download", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "invoices", - "{{invoiceID}}", - "download" - ] - } - }, - "response": [] - }, - { - "name": "FE-UserUpdateToAdmin", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"name\": \"DEMO\",\r\n \"firstName\": \"Demo\",\r\n \"email\": \"demo.basic@sap.com\",\r\n \"phone\": \"+33 123456789\",\r\n \"mobile\": \"\",\r\n \"iNumber\": \"I123456\",\r\n \"tagIDs\": [\r\n \"ABCDE123\"\r\n ],\r\n \"costCenter\": \"123456789\",\r\n \"status\": \"A\",\r\n \"role\": \"A\",\r\n \"password\": \"\"\r\n}\r\n" - }, - "url": { - "raw": "{{base_url}}/v1/api/users/{{userID}}", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "users", - "{{userID}}" - ] - } - }, - "response": [] - }, - { - "name": "FE-TenantUpdate", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"id\": \"5bbd06cd4598d76ea07dd3cf\",\r\n \"name\": \"Tenant Updated\",\r\n \"subdomain\": \"slfnew\"\r\n}\r\n" - }, - "url": { - "raw": "{{base_url}}/client/api/TenantUpdate", - "host": [ - "{{base_url}}" - ], - "path": [ - "client", - "api", - "TenantUpdate" - ] - } - }, - "response": [] - }, - { - "name": "FE-VehicleUpdate", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"id\": \"5b6cb7f569dd774d784f4cca\",\r\n \"type\": \"C\",\r\n \"model\": \"Zoe666\",\r\n \"batteryKW\": 402,\r\n \"autonomyKmWLTP\": 3002,\r\n \"autonomyKmReal\": 2002,\r\n \"horsePower\": 802,\r\n \"torqueNm\": 1002,\r\n \"performance0To100kmh\": 692,\r\n \"weightKg\": 12502,\r\n \"lengthMeter\": 4.32,\r\n \"widthMeter\": 22,\r\n \"heightMeter\": 1.62,\r\n\t\"vehicleManufacturerID\" : \"5ae6df8c00abd72b716047a9\",\r\n\t\"images\": [\"www\", \"zzz\"],\r\n\t\"withVehicleImages\": true\r\n}\r\n" - }, - "url": { - "raw": "{{base_url}}/client/api/VehicleUpdate", - "host": [ - "{{base_url}}" - ], - "path": [ - "client", - "api", - "VehicleUpdate" - ] - } - }, - "response": [] - }, - { - "name": "FE-VehicleManufacturerUpdate", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"id\": \"5b6cb3e8aeead45c9c70eba3\",\r\n\t\"name\": \"Renault Updated\"\r\n}\r\n" - }, - "url": { - "raw": "{{base_url}}/client/api/VehicleManufacturerUpdate", - "host": [ - "{{base_url}}" - ], - "path": [ - "client", - "api", - "VehicleManufacturerUpdate" - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationUpdate", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"id\": \"EURECOM1\",\r\n \"siteAreaID\": \"5a717ab6f137a46c39dcd402\"\r\n}\r\n" - }, - "url": { - "raw": "{{base_url}}/client/api/ChargingStationUpdate", - "host": [ - "{{base_url}}" - ], - "path": [ - "client", - "api", - "ChargingStationUpdate" - ] - } - }, - "response": [] - }, - { - "name": "FE-ChargingStationDelete", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{base_url}}/v1/api/charging-stations/SAP-Mougins-11", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "charging-stations", - "SAP-Mougins-11" - ] - } - }, - "response": [] - }, - { - "name": "FE-SiteDelete", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{base_url}}/client/api/SiteDelete?ID=5afaa433374fca4ee850b8b5", - "host": [ - "{{base_url}}" - ], - "path": [ - "client", - "api", - "SiteDelete" - ], - "query": [ - { - "key": "ID", - "value": "5afaa433374fca4ee850b8b5" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-TenantDelete", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{base_url}}/client/api/TenantDelete?ID=5bbd06cd4598d76ea07dd3cf", - "host": [ - "{{base_url}}" - ], - "path": [ - "client", - "api", - "TenantDelete" - ], - "query": [ - { - "key": "ID", - "value": "5bbd06cd4598d76ea07dd3cf" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-UserDelete", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{base_url}}/v1/api/users/592e969f89d8e07a2b16a78f", - "host": [ - "{{base_url}}" - ], - "path": [ - "v1", - "api", - "users", - "592e969f89d8e07a2b16a78f" - ] - } - }, - "response": [] - }, - { - "name": "FE-VehicleDelete", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{base_url}}/client/api/VehicleDelete?ID=5aeab570da4ddc20e9672a97", - "host": [ - "{{base_url}}" - ], - "path": [ - "client", - "api", - "VehicleDelete" - ], - "query": [ - { - "key": "ID", - "value": "5aeab570da4ddc20e9672a97" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-VehicleManufacturerDelete", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{base_url}}/client/api/VehicleManufacturerDelete?ID=5ae6df8c00abd72b716047a9", - "host": [ - "{{base_url}}" - ], - "path": [ - "client", - "api", - "VehicleManufacturerDelete" - ], - "query": [ - { - "key": "ID", - "value": "5ae6df8c00abd72b716047a9" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-SiteAreaDelete", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{base_url}}/client/api/SiteAreaDelete?ID=5a72286d2e24f229a520add1", - "host": [ - "{{base_url}}" - ], - "path": [ - "client", - "api", - "SiteAreaDelete" - ], - "query": [ - { - "key": "ID", - "value": "5a72286d2e24f229a520add1" - } - ] - } - }, - "response": [] - }, - { - "name": "FE-TransactionDelete", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{token}}", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{base_url}}/client/api/TransactionDelete?ID=1476453553", - "host": [ - "{{base_url}}" - ], - "path": [ - "client", - "api", - "TransactionDelete" - ], - "query": [ - { - "key": "ID", - "value": "1476453553" - } - ] - } - }, - "response": [] - }, - { - "name": "HeartBeat", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /Authorize\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Authorize", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /Authorize\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{tagId1}}\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "AuthorizeUnknownTagID", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /Authorize\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n VTFE\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "DataTransfer", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "postman.setEnvironmentVariable(\"currentDate\", new Date().toISOString());" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /DataTransfer\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n Schneider Electric\r\n Detection loop\r\n {\\\"connectorId\\\":2,\\\"name\\\":\\\"Vehicle\\\",\\\"state\\\":\\\"0\\\",\\\"timestamp\\\":\\\"2018-08-08T10:21:11Z:\\\"}\r\n {{chargingStation}}\r\n {{currentDate}}\r\n \r\n \r\n\r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "DiagnosticStatusNotif", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /DiagnosticsStatusNotification\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n Uploaded\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "FirmwareStatusNotif", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /FirmwareStatusNotification\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n Downloading\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Authorize NoUser", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /Authorize\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{tagIdUnknown}}\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "BootNotification", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /BootNotification\r\n {{newChargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n Schneider Electric\r\n MONOBLOCK\r\n 1234\r\n 6789\r\n 666\r\n 1.5\r\n http://192.168.0.110:8080\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "BootNotificationStatusNotificationConn1", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "postman.setEnvironmentVariable(\"currentDate\", new Date().toISOString());" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StatusNotification\r\n {{newChargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n 2\r\n Available\r\n NoError\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "BootNotificationStatusNotificationConn2", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "postman.setEnvironmentVariable(\"currentDate\", new Date().toISOString());" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StatusNotification\r\n {{newChargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n 1\r\n Available\r\n NoError\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StartTransactionABBLockConn", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = xml2Json(responseBody);", - "var transactionId = responseJson[\"soap:Envelope\"][\"soap:Body\"][\"ns1:startTransactionResponse\"][\"ns1:transactionId\"];", - "postman.setEnvironmentVariable(\"transactionId\", transactionId);" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "var dateTransaction = new Date();", - "", - "// Set Start Transaction", - "postman.setEnvironmentVariable(\"dateStartTransaction\", dateTransaction.toISOString());", - "", - "// Fill 6 transaction dates for the Meter Values", - "for(var i = 1; i <= 6; i++) {", - " // Add 1 min", - " dateTransaction = new Date(dateTransaction.getTime() + 60000);", - " // Set", - " postman.setEnvironmentVariable(\"dateTransaction\" + i, dateTransaction.toISOString()); ", - "}", - "", - "// Add 1 min", - "dateTransaction = new Date(dateTransaction.getTime() + 60000);", - "// Set Stop Transaction", - "postman.setEnvironmentVariable(\"dateStopTransaction\", dateTransaction.toISOString());", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n\r\n \r\n /StartTransaction\r\n {{abbChargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:eb0fa6dc-7f93-47c8-9774-ff3ed4a2baba\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId}}\r\n {{tagId1}}\r\n {{dateStartTransaction}}\r\n 10000\r\n \r\n \r\n\r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StatusNotificationOkAbb", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "postman.setEnvironmentVariable(\"currentDate\", new Date().toISOString());" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StatusNotification\r\n {{abbChargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId}}\r\n Available\r\n NoError\r\n {{currentDate}}\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StartTransactionWrongConnID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = xml2Json(responseBody);", - "var transactionId = responseJson[\"soap:Envelope\"][\"soap:Body\"][\"ns1:startTransactionResponse\"][\"ns1:transactionId\"];", - "postman.setEnvironmentVariable(\"transactionId\", transactionId);" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "var dateTransaction = new Date();", - "", - "// Set Start Transaction", - "postman.setEnvironmentVariable(\"dateStartTransaction\", dateTransaction.toISOString());", - "", - "// Fill 6 transaction dates for the Meter Values", - "for(var i = 1; i <= 6; i++) {", - " // Add 1 min", - " dateTransaction = new Date(dateTransaction.getTime() + 60000);", - " // Set", - " postman.setEnvironmentVariable(\"dateTransaction\" + i, dateTransaction.toISOString()); ", - "}", - "", - "// Add 1 min", - "dateTransaction = new Date(dateTransaction.getTime() + 60000);", - "// Set Stop Transaction", - "postman.setEnvironmentVariable(\"dateStopTransaction\", dateTransaction.toISOString());", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n\r\n \r\n /StartTransaction\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:eb0fa6dc-7f93-47c8-9774-ff3ed4a2baba\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n 10\r\n {{tagId1}}\r\n {{dateStartTransaction}}\r\n 10000\r\n \r\n \r\n\r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StartTransactionNotStartMeterVal", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = xml2Json(responseBody);", - "var transactionId = responseJson[\"soap:Envelope\"][\"soap:Body\"][\"ns1:startTransactionResponse\"][\"ns1:transactionId\"];", - "postman.setEnvironmentVariable(\"transactionId\", transactionId);" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "var dateTransaction = new Date();", - "", - "// Set Start Transaction", - "postman.setEnvironmentVariable(\"dateStartTransaction\", dateTransaction.toISOString());", - "", - "// Fill 6 transaction dates for the Meter Values", - "for(var i = 1; i <= 6; i++) {", - " // Add 1 min", - " dateTransaction = new Date(dateTransaction.getTime() + 60000);", - " // Set", - " postman.setEnvironmentVariable(\"dateTransaction\" + i, dateTransaction.toISOString()); ", - "}", - "", - "// Add 1 min", - "dateTransaction = new Date(dateTransaction.getTime() + 60000);", - "// Set Stop Transaction", - "postman.setEnvironmentVariable(\"dateStopTransaction\", dateTransaction.toISOString());", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n\r\n \r\n /StartTransaction\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:eb0fa6dc-7f93-47c8-9774-ff3ed4a2baba\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId}}\r\n {{tagId1}}\r\n {{dateStartTransaction}}\r\n \r\n \r\n\r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StartTransactionNoTimeStamp", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = xml2Json(responseBody);", - "var transactionId = responseJson[\"soap:Envelope\"][\"soap:Body\"][\"ns1:startTransactionResponse\"][\"ns1:transactionId\"];", - "postman.setEnvironmentVariable(\"transactionId\", transactionId);" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "var dateTransaction = new Date();", - "", - "// Set Start Transaction", - "postman.setEnvironmentVariable(\"dateStartTransaction\", dateTransaction.toISOString());", - "", - "// Fill 6 transaction dates for the Meter Values", - "for(var i = 1; i <= 6; i++) {", - " // Add 1 min", - " dateTransaction = new Date(dateTransaction.getTime() + 60000);", - " // Set", - " postman.setEnvironmentVariable(\"dateTransaction\" + i, dateTransaction.toISOString()); ", - "}", - "", - "// Add 1 min", - "dateTransaction = new Date(dateTransaction.getTime() + 60000);", - "// Set Stop Transaction", - "postman.setEnvironmentVariable(\"dateStopTransaction\", dateTransaction.toISOString());", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n\r\n \r\n /StartTransaction\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:eb0fa6dc-7f93-47c8-9774-ff3ed4a2baba\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId}}\r\n {{tagId1}}\r\n 10000\r\n \r\n \r\n\r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StartTransactionNoUser", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = xml2Json(responseBody);", - "var transactionId = responseJson[\"soap:Envelope\"][\"soap:Body\"][\"ns1:startTransactionResponse\"][\"ns1:transactionId\"];", - "postman.setEnvironmentVariable(\"transactionId\", transactionId);" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "var dateTransaction = new Date();", - "", - "// Set Start Transaction", - "postman.setEnvironmentVariable(\"dateStartTransaction\", dateTransaction.toISOString());", - "", - "// Fill 6 transaction dates for the Meter Values", - "for(var i = 1; i <= 6; i++) {", - " // Add 1 min", - " dateTransaction = new Date(dateTransaction.getTime() + 60000);", - " // Set", - " postman.setEnvironmentVariable(\"dateTransaction\" + i, dateTransaction.toISOString()); ", - "}", - "", - "// Add 1 min", - "dateTransaction = new Date(dateTransaction.getTime() + 60000);", - "// Set Stop Transaction", - "postman.setEnvironmentVariable(\"dateStopTransaction\", dateTransaction.toISOString());", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n\r\n \r\n /StartTransaction\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:eb0fa6dc-7f93-47c8-9774-ff3ed4a2baba\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId}}\r\n {{tagIdUnknown}}\r\n {{dateStartTransaction}}\r\n 10000\r\n \r\n \r\n\r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StatusNotificationOk", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "postman.setEnvironmentVariable(\"currentDate\", new Date().toISOString());" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StatusNotification\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId}}\r\n Available\r\n NoError\r\n {{currentDate}}\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StatusNotificationPreparingNoTimeStamp", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "postman.setEnvironmentVariable(\"currentDate\", new Date().toISOString());" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StatusNotification\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId}}\r\n Preparing\r\n NoError\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StatusNotificationError", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "postman.setEnvironmentVariable(\"currentDate\", new Date().toISOString());" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StatusNotification\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId}}\r\n Faulted\r\n PowerMeterFailure\r\n 14\r\n [Un]Plug_Process\r\n {{currentDate}}\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StatusNotificationOk2", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "postman.setEnvironmentVariable(\"currentDate\", new Date().toISOString());" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StatusNotification\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId2}}\r\n Available\r\n NoError\r\n {{currentDate}}\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StatusNotificationError2", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "postman.setEnvironmentVariable(\"currentDate\", new Date().toISOString());" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StatusNotification\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId2}}\r\n Faulted\r\n PowerMeterFailure\r\n {{currentDate}}\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StatusNotificationOk2Conns", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "postman.setEnvironmentVariable(\"currentDate\", new Date().toISOString());" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StatusNotification\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n 0\r\n Available\r\n NoError\r\n {{currentDate}}\r\n \r\n \r\n", - "options": { - "raw": { - "language": "xml" - } - } - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StatusNotificationOk2ConnsEBEE", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "postman.setEnvironmentVariable(\"currentDate\", new Date().toISOString());" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StatusNotification\r\n SAP-Mougins-02-EBE\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n 0\r\n Available\r\n NoError\r\n {{currentDate}}\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StatusNotificationPrep2Conns", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "postman.setEnvironmentVariable(\"currentDate\", new Date().toISOString());" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StatusNotification\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n 0\r\n Preparing\r\n NoError\r\n {{currentDate}}\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "MeterValue1KEBASampleClock", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "postman.setEnvironmentVariable(\"currentDate\", new Date().toISOString());" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /MeterValues\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:b31235d2-42dc-4195-8e01-50f508593ce1\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n 0\r\n \r\n {{currentDate}}\r\n \r\n \t10400\r\n \r\n \r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StartTransaction", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = xml2Json(responseBody);", - "var transactionId = responseJson[\"soap:Envelope\"][\"soap:Body\"][\"ns1:startTransactionResponse\"][\"ns1:transactionId\"];", - "postman.setEnvironmentVariable(\"transactionId\", transactionId);" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "var dateTransaction = new Date();", - "", - "// Set Start Transaction", - "postman.setEnvironmentVariable(\"dateStartTransaction\", dateTransaction.toISOString());", - "", - "// Fill 6 transaction dates for the Meter Values", - "for(var i = 1; i <= 6; i++) {", - " // Add 1 min", - " dateTransaction = new Date(dateTransaction.getTime() + 60000);", - " // Set", - " postman.setEnvironmentVariable(\"dateTransaction\" + i, dateTransaction.toISOString()); ", - "}", - "", - "// Add 1 min", - "dateTransaction = new Date(dateTransaction.getTime() + 60000);", - "// Set Stop Transaction", - "postman.setEnvironmentVariable(\"dateStopTransaction\", dateTransaction.toISOString());", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n\r\n \r\n /StartTransaction\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:eb0fa6dc-7f93-47c8-9774-ff3ed4a2baba\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId}}\r\n {{tagId1}}\r\n {{dateStartTransaction}}\r\n 10000\r\n \r\n \r\n\r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StartTransactionOtherUser", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = xml2Json(responseBody);", - "var transactionId = responseJson[\"soap:Envelope\"][\"soap:Body\"][\"ns1:startTransactionResponse\"][\"ns1:transactionId\"];", - "postman.setEnvironmentVariable(\"transactionId\", transactionId);" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "var dateTransaction = new Date();", - "", - "// Set Start Transaction", - "postman.setEnvironmentVariable(\"dateStartTransaction\", dateTransaction.toISOString());", - "", - "// Fill 6 transaction dates for the Meter Values", - "for(var i = 1; i <= 6; i++) {", - " // Add 1 min", - " dateTransaction = new Date(dateTransaction.getTime() + 60000);", - " // Set", - " postman.setEnvironmentVariable(\"dateTransaction\" + i, dateTransaction.toISOString()); ", - "}", - "", - "// Add 1 min", - "dateTransaction = new Date(dateTransaction.getTime() + 60000);", - "// Set Stop Transaction", - "postman.setEnvironmentVariable(\"dateStopTransaction\", dateTransaction.toISOString());", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n\r\n \r\n /StartTransaction\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:eb0fa6dc-7f93-47c8-9774-ff3ed4a2baba\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId}}\r\n {{tagIdOtherUser}}\r\n {{dateStartTransaction}}\r\n 10000\r\n \r\n \r\n\r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StartTransactionEBEENoTimestamp/MeterStart", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = xml2Json(responseBody);", - "var transactionId = responseJson[\"soap:Envelope\"][\"soap:Body\"][\"ns1:startTransactionResponse\"][\"ns1:transactionId\"];", - "postman.setEnvironmentVariable(\"transactionId\", transactionId);" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "var dateTransaction = new Date();", - "", - "// Set Start Transaction", - "postman.setEnvironmentVariable(\"dateStartTransaction\", dateTransaction.toISOString());", - "", - "// Fill 6 transaction dates for the Meter Values", - "for(var i = 1; i <= 6; i++) {", - " // Add 1 min", - " dateTransaction = new Date(dateTransaction.getTime() + 60000);", - " // Set", - " postman.setEnvironmentVariable(\"dateTransaction\" + i, dateTransaction.toISOString()); ", - "}", - "", - "// Add 1 min", - "dateTransaction = new Date(dateTransaction.getTime() + 60000);", - "// Set Stop Transaction", - "postman.setEnvironmentVariable(\"dateStopTransaction\", dateTransaction.toISOString());", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n\r\n \r\n /StartTransaction\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:eb0fa6dc-7f93-47c8-9774-ff3ed4a2baba\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId}}\r\n {{tagId1}}\r\n \r\n \r\n\r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StatusNotificationOccupied", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "postman.setEnvironmentVariable(\"currentDate\", new Date().toISOString());" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StatusNotification\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId}}\r\n Occupied\r\n NoError\r\n {{currentDate}}\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "MeterValue1-KEBA-NoTrID-Conn=0", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /MeterValues\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:b31235d2-42dc-4195-8e01-50f508593ce1\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n 0\r\n \r\n {{dateTransaction1}}\r\n \r\n \t10022\r\n \r\n \r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "MeterValue2-ABB-WrongTrID", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /MeterValues\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:b31235d2-42dc-4195-8e01-50f508593ce1\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId}}\r\n -123456798\r\n \r\n {{dateTransaction2}}\r\n \r\n \t10400\r\n \r\n \r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "MeterValue3-KEBA-NoTrID-Conn=0", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /MeterValues\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:b31235d2-42dc-4195-8e01-50f508593ce1\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n 0\r\n \r\n {{dateTransaction3}}\r\n \r\n \t11412\r\n \r\n \r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "MeterValue4-ABB-Sample.Clock", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /MeterValues\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:b31235d2-42dc-4195-8e01-50f508593ce1\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId}}\r\n -255686\r\n \r\n {{dateTransaction4}}\r\n \r\n \t11414\r\n \r\n \r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "MeterValue5", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /MeterValues\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:b31235d2-42dc-4195-8e01-50f508593ce1\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId}}\r\n {{transactionId}}\r\n \r\n {{dateTransaction5}}\r\n \r\n \t11414\r\n \r\n \r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "MeterValue6", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /MeterValues\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:b31235d2-42dc-4195-8e01-50f508593ce1\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId}}\r\n {{transactionId}}\r\n \r\n {{dateTransaction6}}\r\n \r\n \t11414\r\n \r\n \r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StopTransaction", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StopTransaction\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:469b9586-5e2a-4113-ae73-eab03d515730\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{transactionId}}\r\n {{tagId1}}\r\n {{dateStopTransaction}}\r\n 11414\r\n \r\n \r\n\t {{dateStartTransaction}}\r\n\t \r\n\t \t10000\r\n\t \r\n\t \r\n \r\n\t {{dateStopTransaction}}\r\n\t \r\n\t \t11414\r\n\t \r\n\t \r\n \r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StatusNotificationAvailable", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "postman.setEnvironmentVariable(\"currentDate\", new Date().toISOString());" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StatusNotification\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId}}\r\n Available\r\n NoError\r\n {{currentDate}}\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StopTransactionDiffUser", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StopTransaction\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:469b9586-5e2a-4113-ae73-eab03d515730\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{transactionId}}\r\n {{tagIdOtherUser}}\r\n {{dateStopTransaction}}\r\n 0\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StopTransactionNoUser", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StopTransaction\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:469b9586-5e2a-4113-ae73-eab03d515730\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{transactionId}}\r\n {{tagIdUnknown}}\r\n {{dateStopTransaction}}\r\n 0\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StartTransaction2NoBadgeID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = xml2Json(responseBody);", - "var transactionId = responseJson[\"soap:Envelope\"][\"soap:Body\"][\"ns1:startTransactionResponse\"][\"ns1:transactionId\"];", - "console.log(transactionId);", - "postman.setEnvironmentVariable(\"transactionId2\", transactionId);" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "var dateTransaction = new Date();", - "", - "// Set Start Transaction", - "postman.setEnvironmentVariable(\"dateStartTransaction\", dateTransaction.toISOString());", - "", - "// Fill 6 transaction dates for the Meter Values", - "for(var i = 1; i <= 7; i++) {", - " // Add 1 min", - " dateTransaction = new Date(dateTransaction.getTime() + 60000);", - " // Set", - " postman.setEnvironmentVariable(\"dateTransaction\" + i, dateTransaction.toISOString()); ", - "}", - "", - "// Add 1 min", - "dateTransaction = new Date(dateTransaction.getTime() + 60000);", - "// Set Stop Transaction", - "postman.setEnvironmentVariable(\"dateStopTransaction\", dateTransaction.toISOString());", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StartTransaction\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:eb0fa6dc-7f93-47c8-9774-ff3ed4a2baba\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId2}}\r\n \r\n {{dateStartTransaction}}\r\n 10000\r\n \r\n \r\n\r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StartTransaction2", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var responseJson = xml2Json(responseBody);", - "var transactionId = responseJson[\"soap:Envelope\"][\"soap:Body\"][\"ns1:startTransactionResponse\"][\"ns1:transactionId\"];", - "console.log(transactionId);", - "postman.setEnvironmentVariable(\"transactionId2\", transactionId);" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "var dateTransaction = new Date();", - "", - "// Set Start Transaction", - "postman.setEnvironmentVariable(\"dateStartTransaction\", dateTransaction.toISOString());", - "", - "// Fill 6 transaction dates for the Meter Values", - "for(var i = 1; i <= 7; i++) {", - " // Add 1 min", - " dateTransaction = new Date(dateTransaction.getTime() + 60000);", - " // Set", - " postman.setEnvironmentVariable(\"dateTransaction\" + i, dateTransaction.toISOString()); ", - "}", - "", - "// Add 1 min", - "dateTransaction = new Date(dateTransaction.getTime() + 60000);", - "// Set Stop Transaction", - "postman.setEnvironmentVariable(\"dateStopTransaction\", dateTransaction.toISOString());", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StartTransaction\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:eb0fa6dc-7f93-47c8-9774-ff3ed4a2baba\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId2}}\r\n {{tagId2}}\r\n {{dateStartTransaction}}\r\n 10000\r\n \r\n \r\n\r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StatusNotificationStartPreparing", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "postman.setEnvironmentVariable(\"currentDate\", new Date().toISOString());" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StatusNotification\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId2}}\r\n Preparing\r\n NoError\r\n {{currentDate}}\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StatusNotificationStartCharging", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "postman.setEnvironmentVariable(\"currentDate\", new Date().toISOString());" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StatusNotification\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId2}}\r\n Charging\r\n NoError\r\n {{currentDate}}\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StatusNotificationStartOccupied", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "postman.setEnvironmentVariable(\"currentDate\", new Date().toISOString());" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StatusNotification\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId2}}\r\n Occupied\r\n NoError\r\n {{currentDate}}\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "MeterValue2-1", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /MeterValues\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:b31235d2-42dc-4195-8e01-50f508593ce1\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId2}}\r\n {{transactionId2}}\r\n \r\n {{dateTransaction1}}\r\n \r\n \t10400\r\n \r\n \r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "MeterValue2-2", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /MeterValues\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:b31235d2-42dc-4195-8e01-50f508593ce1\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId2}}\r\n {{transactionId2}}\r\n \r\n {{dateTransaction2}}\r\n \r\n \t10600\r\n \r\n \r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "MeterValue2-3", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /MeterValues\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:b31235d2-42dc-4195-8e01-50f508593ce1\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId2}}\r\n {{transactionId2}}\r\n \r\n {{dateTransaction3}}\r\n \r\n \t11200\r\n \r\n \r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "MeterValue2-4", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /MeterValues\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:b31235d2-42dc-4195-8e01-50f508593ce1\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId2}}\r\n {{transactionId2}}\r\n \r\n {{dateTransaction4}}\r\n \r\n \t11450\r\n \r\n \r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "MeterValue2-5", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /MeterValues\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:b31235d2-42dc-4195-8e01-50f508593ce1\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId2}}\r\n {{transactionId2}}\r\n \r\n {{dateTransaction5}}\r\n \r\n \t0\r\n \r\n \r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "MeterValue2-6", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /MeterValues\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:b31235d2-42dc-4195-8e01-50f508593ce1\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId2}}\r\n {{transactionId2}}\r\n \r\n {{dateTransaction6}}\r\n \r\n \t0\r\n \r\n \r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "MeterValue2-7", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /MeterValues\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:b31235d2-42dc-4195-8e01-50f508593ce1\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId2}}\r\n {{transactionId2}}\r\n \r\n {{dateTransaction7}}\r\n \r\n \t0\r\n \r\n \r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StopTransaction2", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StopTransaction\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:469b9586-5e2a-4113-ae73-eab03d515730\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{transactionId2}}\r\n {{tagId2}}\r\n {{dateStopTransaction}}\r\n 0\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StatusNotificationStopFinishing", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "postman.setEnvironmentVariable(\"currentDate\", new Date().toISOString());" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StatusNotification\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId2}}\r\n Finishing\r\n NoError\r\n {{currentDate}}\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StatusNotificationStopAvailable", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "postman.setEnvironmentVariable(\"currentDate\", new Date().toISOString());" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StatusNotification\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:e88f0d17-2b60-454b-9939-f57b2c0746c0\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{connectorId2}}\r\n Available\r\n NoError\r\n {{currentDate}}\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - }, - { - "name": "StopTransaction2DiffUser", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "\r\n \r\n /StopTransaction\r\n {{chargingStation}}\r\n \r\n {{base_url}}:8081/ChargeBox/Ocpp\r\n \r\n urn:uuid:469b9586-5e2a-4113-ae73-eab03d515730\r\n \r\n http://www.w3.org/2005/08/addressing/anonymous\r\n \r\n {{to}}\r\n \r\n \r\n \r\n {{transactionId2}}\r\n {{tagIdOtherUser}}\r\n {{dateStopTransaction}}\r\n 0\r\n \r\n \r\n" - }, - "url": { - "raw": "{{server_url}}/OCPP15?TenantID={{tenantID}}", - "host": [ - "{{server_url}}" - ], - "path": [ - "OCPP15" - ], - "query": [ - { - "key": "TenantID", - "value": "{{tenantID}}" - } - ] - } - }, - "response": [] - } - ] -} \ No newline at end of file diff --git a/postman/EVSE.postman_environment.json b/postman/EVSE.postman_environment.json deleted file mode 100644 index 5be14e7a93..0000000000 --- a/postman/EVSE.postman_environment.json +++ /dev/null @@ -1,154 +0,0 @@ -{ - "id": "2d6d1787-482c-4800-a166-5ed2cd6eb94f", - "name": "EVSE", - "values": [ - { - "key": "currentDate", - "value": "2019-04-14T11:05:47.793Z", - "enabled": true - }, - { - "key": "tagId1", - "value": "DEMOBASIC", - "enabled": true - }, - { - "key": "tagId2", - "value": "DEMOBASIC", - "enabled": true - }, - { - "key": "tagIdOtherUser", - "value": "BADGEID", - "enabled": true - }, - { - "key": "tagIdUnknown", - "value": "666666", - "enabled": true - }, - { - "key": "chargingStation", - "value": "SAP-Mougins-02", - "enabled": true - }, - { - "key": "connectorId", - "value": "1", - "enabled": true - }, - { - "key": "connectorId2", - "value": "2", - "enabled": true - }, - { - "key": "transactionId", - "value": "465469435", - "enabled": true - }, - { - "key": "transactionId2", - "value": "622078888", - "enabled": true - }, - { - "key": "dateStartTransaction", - "value": "2019-04-14T11:09:55.019Z", - "enabled": true - }, - { - "key": "dateTransaction1", - "value": "2019-04-14T11:10:55.019Z", - "enabled": true - }, - { - "key": "dateTransaction2", - "value": "2019-04-14T11:11:55.019Z", - "enabled": true - }, - { - "key": "dateTransaction3", - "value": "2019-04-14T11:12:55.019Z", - "enabled": true - }, - { - "key": "dateTransaction4", - "value": "2019-04-14T11:13:55.019Z", - "enabled": true - }, - { - "key": "dateTransaction5", - "value": "2019-04-14T11:14:55.019Z", - "enabled": true - }, - { - "key": "dateTransaction6", - "value": "2019-04-14T11:15:55.019Z", - "enabled": true - }, - { - "key": "dateStopTransaction", - "value": "2019-04-14T11:17:55.019Z", - "enabled": true - }, - { - "key": "base_url", - "value": "http://127.0.0.1", - "enabled": true - }, - { - "key": "to", - "value": "http://127.0.0.1:8000", - "enabled": true - }, - { - "key": "tenantID", - "value": "5be7fb271014d90008992f06", - "enabled": true - }, - { - "key": "server_url", - "value": "{{base_url}}:8000", - "enabled": true - }, - { - "key": "tenant", - "value": "slf", - "enabled": true - }, - { - "key": "tokenGTC", - "value": "AQAAANCMnd8BFdERjHoAwE_Cl-sBAAAA59q3wwKDnkKpzYBtso7R1AAAAAACAAAAAAAQZgAAAAEAACAAAACtvapFNDWO_hnHHRtko_kDWZ34G-DSqDRXg_DhZB9EzAAAAAAOgAAAAAIAACAAAAAaGf-aRsFvqX5xwN3AdMoYPrVm-3m0m1r9X1QiHfEOIsABAABoKlq-0WNJExhJMAIM1I3kvGnyY4NVcbhHXSeqxRdULNBabP2cnG-_k247tCP6gcGyEMb7xxQ13rH-tAwWkvcJqcvsw4-DWP_v6QqwboDg3QZlT3N61tqHnA-4_B5dC9ejf7mzNFa7mGmJqLayYbxoxjzYr0RcLx-nagjGqVKJiFqKyvQ35pY04S9TGdyByA271EKBg8UH8n0i7jc60HBo81y9rbwxFFV3K-Ei4qu-kL_ctnN009hTv5gAqkP6p8x_IZeAeS30rS-GoM-VqmAuhrFizxckwhl4AxhwuJBQLtSg87WGhawLAFiHnBfoTHea0TFQ-5Orm9wZ23laNHN_iD-VTWN0-X5GfYWAoVKZ9EhA3nEWhZfZDf0u8N_mHiRFMxhen7Z-PwCQsqe7ZDJM6RV-IGd4tZPlDnntllLaXEfFh5-PriQ1vuzQoTi3OP_aBF_0tQDoYNgntLI1M9blFX60HTgslS4EadOs9T-sAafqrn6eMyBivMDA7vmqacLntrMXkFDwfQtlMd5QOVQA-VPsix1sluqbdQJ9YpJiCU7A1TLAR6jWyG49YfCEGpPF9mcpPWPTRcZmCE9zhtHhQAAAAAHP2W0YKIO4QzGZcklaUugSxQX7FaUMobJjUcoiskd6nUThpOKV--6wyZnQ7Q1Iz81yvqemBJnkmNELuac9Wi4", - "enabled": true - }, - { - "key": "dateTransaction7", - "value": "2019-04-14T11:16:55.019Z", - "enabled": true - }, - { - "key": "token", - "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjVjZTI0OWExYTM5YWUxYzA1NmMzODliZCIsInJvbGUiOiJBIiwibmFtZSI6IkFkbWluIiwibW9iaWxlIjoiNjY2NjY2NjY2NjYiLCJlbWFpbCI6ImxvYW4uYWxvdWFjaGVAc2FwLmNvbSIsInRhZ0lEcyI6WyJBMTIzNCJdLCJmaXJzdE5hbWUiOiJVc2VyIiwibG9jYWxlIjoiZW4tVVMiLCJsYW5ndWFnZSI6ImVuIiwiY3VycmVuY3kiOiJFVVIiLCJ0ZW5hbnRJRCI6ImFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhMSIsInRlbmFudE5hbWUiOiJ1dGFsbCIsInRlbmFudFN1YmRvbWFpbiI6InV0YWxsIiwidXNlckhhc2hJRCI6IjY4N2JlNDc4ZTE5NGViZjA2YTM2NzM5MzRhMjVlOGU2NWE4M2Q1YzQ2ZGNjMzJkZjM1MzhkYjllZWRlZmViODkiLCJ0ZW5hbnRIYXNoSUQiOiIwNTA3MDk3MGVlMDA2MGJmYzUwZDM2NjIwZTUwZGE0MzUyYWE2MjAyOGFjZGRkMDFhNTg4YzgzYWVlMTE5ZmQ3Iiwic2NvcGVzIjpbIkFzc2V0OkNoZWNrQ29ubmVjdGlvbiIsIkFzc2V0OkNyZWF0ZSIsIkFzc2V0OkRlbGV0ZSIsIkFzc2V0OlJlYWQiLCJBc3NldDpSZXRyaWV2ZUNvbnN1bXB0aW9uIiwiQXNzZXQ6VXBkYXRlIiwiQXNzZXRzOkluRXJyb3IiLCJBc3NldHM6TGlzdCIsIkJpbGxpbmc6Q2hlY2tDb25uZWN0aW9uIiwiQ2FyOkNyZWF0ZSIsIkNhcjpEZWxldGUiLCJDYXI6UmVhZCIsIkNhcjpVcGRhdGUiLCJDYXJDYXRhbG9nOlJlYWQiLCJDYXJDYXRhbG9nczpMaXN0IiwiQ2FyczpMaXN0IiwiQ2hhcmdpbmdQcm9maWxlOlJlYWQiLCJDaGFyZ2luZ1Byb2ZpbGVzOkxpc3QiLCJDaGFyZ2luZ1N0YXRpb246QXV0aG9yaXplIiwiQ2hhcmdpbmdTdGF0aW9uOkNoYW5nZUF2YWlsYWJpbGl0eSIsIkNoYXJnaW5nU3RhdGlvbjpDaGFuZ2VDb25maWd1cmF0aW9uIiwiQ2hhcmdpbmdTdGF0aW9uOkNsZWFyQ2FjaGUiLCJDaGFyZ2luZ1N0YXRpb246Q2xlYXJDaGFyZ2luZ1Byb2ZpbGUiLCJDaGFyZ2luZ1N0YXRpb246Q3JlYXRlIiwiQ2hhcmdpbmdTdGF0aW9uOkRlbGV0ZSIsIkNoYXJnaW5nU3RhdGlvbjpFeHBvcnQiLCJDaGFyZ2luZ1N0YXRpb246R2V0Q29tcG9zaXRlU2NoZWR1bGUiLCJDaGFyZ2luZ1N0YXRpb246R2V0Q29uZmlndXJhdGlvbiIsIkNoYXJnaW5nU3RhdGlvbjpHZXREaWFnbm9zdGljcyIsIkNoYXJnaW5nU3RhdGlvbjpSZWFkIiwiQ2hhcmdpbmdTdGF0aW9uOlJlbW90ZVN0YXJ0VHJhbnNhY3Rpb24iLCJDaGFyZ2luZ1N0YXRpb246UmVtb3RlU3RvcFRyYW5zYWN0aW9uIiwiQ2hhcmdpbmdTdGF0aW9uOlJlc2V0IiwiQ2hhcmdpbmdTdGF0aW9uOlNldENoYXJnaW5nUHJvZmlsZSIsIkNoYXJnaW5nU3RhdGlvbjpTdGFydFRyYW5zYWN0aW9uIiwiQ2hhcmdpbmdTdGF0aW9uOlN0b3BUcmFuc2FjdGlvbiIsIkNoYXJnaW5nU3RhdGlvbjpVbmxvY2tDb25uZWN0b3IiLCJDaGFyZ2luZ1N0YXRpb246VXBkYXRlIiwiQ2hhcmdpbmdTdGF0aW9uOlVwZGF0ZUZpcm13YXJlIiwiQ2hhcmdpbmdTdGF0aW9uczpJbkVycm9yIiwiQ2hhcmdpbmdTdGF0aW9uczpMaXN0IiwiQ29tcGFuaWVzOkxpc3QiLCJDb21wYW55OkNyZWF0ZSIsIkNvbXBhbnk6RGVsZXRlIiwiQ29tcGFueTpSZWFkIiwiQ29tcGFueTpVcGRhdGUiLCJDb25uZWN0aW9uOkNyZWF0ZSIsIkNvbm5lY3Rpb246RGVsZXRlIiwiQ29ubmVjdGlvbjpSZWFkIiwiQ29ubmVjdGlvbnM6TGlzdCIsIkludm9pY2U6Q3JlYXRlIiwiSW52b2ljZTpEb3dubG9hZCIsIkludm9pY2VzOkxpc3QiLCJJbnZvaWNlczpTeW5jaHJvbml6ZSIsIkxvZ2dpbmc6UmVhZCIsIkxvZ2dpbmdzOkxpc3QiLCJOb3RpZmljYXRpb246Q3JlYXRlIiwiT2NwaUVuZHBvaW50OkNyZWF0ZSIsIk9jcGlFbmRwb2ludDpEZWxldGUiLCJPY3BpRW5kcG9pbnQ6R2VuZXJhdGVMb2NhbFRva2VuIiwiT2NwaUVuZHBvaW50OlBpbmciLCJPY3BpRW5kcG9pbnQ6UmVhZCIsIk9jcGlFbmRwb2ludDpSZWdpc3RlciIsIk9jcGlFbmRwb2ludDpUcmlnZ2VySm9iIiwiT2NwaUVuZHBvaW50OlVwZGF0ZSIsIk9jcGlFbmRwb2ludHM6TGlzdCIsIk9pY3BFbmRwb2ludDpDcmVhdGUiLCJPaWNwRW5kcG9pbnQ6RGVsZXRlIiwiT2ljcEVuZHBvaW50OlBpbmciLCJPaWNwRW5kcG9pbnQ6UmVhZCIsIk9pY3BFbmRwb2ludDpSZWdpc3RlciIsIk9pY3BFbmRwb2ludDpUcmlnZ2VySm9iIiwiT2ljcEVuZHBvaW50OlVwZGF0ZSIsIk9pY3BFbmRwb2ludHM6TGlzdCIsIlBheW1lbnRNZXRob2Q6Q3JlYXRlIiwiUGF5bWVudE1ldGhvZDpSZWFkIiwiUGF5bWVudE1ldGhvZHM6TGlzdCIsIlByaWNpbmc6UmVhZCIsIlByaWNpbmc6VXBkYXRlIiwiUmVwb3J0OlJlYWQiLCJTZXR0aW5nOkNyZWF0ZSIsIlNldHRpbmc6RGVsZXRlIiwiU2V0dGluZzpSZWFkIiwiU2V0dGluZzpVcGRhdGUiLCJTZXR0aW5nczpMaXN0IiwiU2l0ZTpDcmVhdGUiLCJTaXRlOkRlbGV0ZSIsIlNpdGU6UmVhZCIsIlNpdGU6VXBkYXRlIiwiU2l0ZUFyZWE6Q3JlYXRlIiwiU2l0ZUFyZWE6RGVsZXRlIiwiU2l0ZUFyZWE6UmVhZCIsIlNpdGVBcmVhOlVwZGF0ZSIsIlNpdGVBcmVhczpMaXN0IiwiU2l0ZXM6TGlzdCIsIlRhZzpDcmVhdGUiLCJUYWc6RGVsZXRlIiwiVGFnOlJlYWQiLCJUYWc6VXBkYXRlIiwiVGFnczpMaXN0IiwiVGF4ZXM6TGlzdCIsIlRva2VuOkNyZWF0ZSIsIlRva2VuOkRlbGV0ZSIsIlRva2VuOlJlYWQiLCJUb2tlbjpVcGRhdGUiLCJUb2tlbnM6TGlzdCIsIlRyYW5zYWN0aW9uOkRlbGV0ZSIsIlRyYW5zYWN0aW9uOlJlYWQiLCJUcmFuc2FjdGlvbjpSZWZ1bmRUcmFuc2FjdGlvbiIsIlRyYW5zYWN0aW9uOlVwZGF0ZSIsIlRyYW5zYWN0aW9uczpFeHBvcnQiLCJUcmFuc2FjdGlvbnM6SW5FcnJvciIsIlRyYW5zYWN0aW9uczpMaXN0IiwiVXNlcjpDcmVhdGUiLCJVc2VyOkRlbGV0ZSIsIlVzZXI6UmVhZCIsIlVzZXI6U3luY2hyb25pemVCaWxsaW5nVXNlciIsIlVzZXI6VXBkYXRlIiwiVXNlcnM6RXhwb3J0IiwiVXNlcnM6SW1wb3J0IiwiVXNlcnM6SW5FcnJvciIsIlVzZXJzOkxpc3QiLCJVc2VyczpTeW5jaHJvbml6ZUJpbGxpbmdVc2VycyIsIlVzZXJzQ2FyczpBc3NpZ24iLCJVc2Vyc0NhcnM6TGlzdCIsIlVzZXJzU2l0ZXM6QXNzaWduIiwiVXNlcnNTaXRlczpMaXN0IiwiVXNlcnNTaXRlczpVbmFzc2lnbiJdLCJzaXRlc0FkbWluIjpbXSwic2l0ZXNPd25lciI6W10sInNpdGVzIjpbXSwiYWN0aXZlQ29tcG9uZW50cyI6WyJvY3BpIiwicmVmdW5kIiwicHJpY2luZyIsIm9yZ2FuaXphdGlvbiIsInN0YXRpc3RpY3MiLCJhbmFseXRpY3MiLCJiaWxsaW5nIiwiYXNzZXQiLCJzbWFydENoYXJnaW5nIiwiY2FyIl0sImlhdCI6MTYxNTg4NDg3MywiZXhwIjoxNjE1OTI4MDczfQ.iRUiHIaEONBByP9bEtZykw_6Ci7ZnfopHGHMPPwLLOo", - "enabled": true - }, - { - "key": "userID", - "value": "5db815731fdcb70006e0a8ce", - "enabled": true - }, - { - "key": "siteID", - "value": "5abeba8d4bae1457eb565e5b", - "enabled": true - }, - { - "key": "siteAreaID", - "value": "5abebb1b4bae1457eb565e98", - "enabled": true - } - ], - "_postman_variable_scope": "environment", - "_postman_exported_at": "2021-06-01T14:19:46.802Z", - "_postman_exported_using": "Postman/8.0.7" -} \ No newline at end of file diff --git a/postman/e-Mobility REST API.postman_collection.json b/postman/e-Mobility REST API.postman_collection.json new file mode 100644 index 0000000000..df18abc89e --- /dev/null +++ b/postman/e-Mobility REST API.postman_collection.json @@ -0,0 +1,68524 @@ +{ + "info": { + "_postman_id": "6d9bb3dd-a36a-47f9-82d6-c3cc15b365c7", + "name": "e-Mobility REST API", + "description": "Charging Station Management Software\n\nContact Support:\n Name: Serge FABIANO", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "8922584" + }, + "item": [ + { + "name": "api", + "item": [ + { + "name": "tenants", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/api/tenants/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/tenants/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tenant ID" + } + ] + }, + "description": "Retrieve a Tenant" + }, + "response": [ + { + "name": "Return the found Tenant", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tenants/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tenant ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"name\": \"Labs France\",\n \"email\": \"user@domain.com\",\n \"subdomain\": \"slf\",\n \"id\": \"66666666666666666666666\",\n \"logo\": \"data:image/png;base64,iVBORw0KGgoAAAANS\",\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n },\n \"components\": {\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"refund\": {\n \"value\": \"\"\n },\n \"pricing\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"organization\": {\n \"value\": \"\"\n },\n \"statistics\": {\n \"value\": \"\"\n },\n \"analytics\": {\n \"value\": \"\"\n },\n \"smartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"car\": {\n \"value\": \"\"\n }\n }\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tenants/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tenant ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tenants/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tenant ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tenants/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tenant ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tenants/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tenant ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/tenants/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/tenants/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tenant ID" + } + ] + }, + "description": "Delete a Tenant" + }, + "response": [ + { + "name": "Tenant has been successfully deleted", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tenants/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tenant ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tenants/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tenant ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tenants/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tenant ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tenants/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tenant ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tenants/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tenant ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/tenants/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Labs France\",\n \"email\": \"user@domain.com\",\n \"subdomain\": \"slf\",\n \"logo\": \"data:image/png;base64,iVBORw0KGgoAAAANS\",\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n },\n \"components\": {\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"refund\": {\n \"value\": \"\"\n },\n \"pricing\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"organization\": {\n \"value\": \"\"\n },\n \"statistics\": {\n \"value\": \"\"\n },\n \"analytics\": {\n \"value\": \"\"\n },\n \"smartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"car\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tenants/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tenant ID" + } + ] + }, + "description": "Update a Tenant" + }, + "response": [ + { + "name": "Tenant has been successfully updated", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Labs France\",\n \"email\": \"user@domain.com\",\n \"subdomain\": \"slf\",\n \"logo\": \"data:image/png;base64,iVBORw0KGgoAAAANS\",\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n },\n \"components\": {\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"refund\": {\n \"value\": \"\"\n },\n \"pricing\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"organization\": {\n \"value\": \"\"\n },\n \"statistics\": {\n \"value\": \"\"\n },\n \"analytics\": {\n \"value\": \"\"\n },\n \"smartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"car\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tenants/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tenant ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Labs France\",\n \"email\": \"user@domain.com\",\n \"subdomain\": \"slf\",\n \"logo\": \"data:image/png;base64,iVBORw0KGgoAAAANS\",\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n },\n \"components\": {\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"refund\": {\n \"value\": \"\"\n },\n \"pricing\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"organization\": {\n \"value\": \"\"\n },\n \"statistics\": {\n \"value\": \"\"\n },\n \"analytics\": {\n \"value\": \"\"\n },\n \"smartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"car\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tenants/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tenant ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Labs France\",\n \"email\": \"user@domain.com\",\n \"subdomain\": \"slf\",\n \"logo\": \"data:image/png;base64,iVBORw0KGgoAAAANS\",\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n },\n \"components\": {\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"refund\": {\n \"value\": \"\"\n },\n \"pricing\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"organization\": {\n \"value\": \"\"\n },\n \"statistics\": {\n \"value\": \"\"\n },\n \"analytics\": {\n \"value\": \"\"\n },\n \"smartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"car\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tenants/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tenant ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Labs France\",\n \"email\": \"user@domain.com\",\n \"subdomain\": \"slf\",\n \"logo\": \"data:image/png;base64,iVBORw0KGgoAAAANS\",\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n },\n \"components\": {\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"refund\": {\n \"value\": \"\"\n },\n \"pricing\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"organization\": {\n \"value\": \"\"\n },\n \"statistics\": {\n \"value\": \"\"\n },\n \"analytics\": {\n \"value\": \"\"\n },\n \"smartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"car\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tenants/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tenant ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Labs France\",\n \"email\": \"user@domain.com\",\n \"subdomain\": \"slf\",\n \"logo\": \"data:image/png;base64,iVBORw0KGgoAAAANS\",\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n },\n \"components\": {\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"refund\": {\n \"value\": \"\"\n },\n \"pricing\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"organization\": {\n \"value\": \"\"\n },\n \"statistics\": {\n \"value\": \"\"\n },\n \"analytics\": {\n \"value\": \"\"\n },\n \"smartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"car\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tenants/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tenant ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/tenants", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/tenants?Search=sint consequat&WithLogo=false&WithComponents=false&WithAddress=false&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "WithLogo", + "value": "false", + "description": "Request Tenants with their logos" + }, + { + "key": "WithComponents", + "value": "false", + "description": "Request Tenants with their components" + }, + { + "key": "WithAddress", + "value": "false", + "description": "Request Tenants with their address" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Retrieve a list of Tenants" + }, + "response": [ + { + "name": "Return the tenant list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tenants?Search=sint consequat&WithLogo=false&WithComponents=false&WithAddress=false&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "WithLogo", + "value": "false" + }, + { + "key": "WithComponents", + "value": "false" + }, + { + "key": "WithAddress", + "value": "false" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tenants?Search=sint consequat&WithLogo=false&WithComponents=false&WithAddress=false&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "WithLogo", + "value": "false" + }, + { + "key": "WithComponents", + "value": "false" + }, + { + "key": "WithAddress", + "value": "false" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tenants?Search=sint consequat&WithLogo=false&WithComponents=false&WithAddress=false&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "WithLogo", + "value": "false" + }, + { + "key": "WithComponents", + "value": "false" + }, + { + "key": "WithAddress", + "value": "false" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tenants?Search=sint consequat&WithLogo=false&WithComponents=false&WithAddress=false&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "WithLogo", + "value": "false" + }, + { + "key": "WithComponents", + "value": "false" + }, + { + "key": "WithAddress", + "value": "false" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/tenants", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Labs France\",\n \"email\": \"user@domain.com\",\n \"subdomain\": \"slf\",\n \"logo\": \"data:image/png;base64,iVBORw0KGgoAAAANS\",\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n },\n \"components\": {\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"refund\": {\n \"value\": \"\"\n },\n \"pricing\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"organization\": {\n \"value\": \"\"\n },\n \"statistics\": {\n \"value\": \"\"\n },\n \"analytics\": {\n \"value\": \"\"\n },\n \"smartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"car\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tenants", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants" + ] + }, + "description": "Create a Tenant" + }, + "response": [ + { + "name": "Tenant is created with success", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Labs France\",\n \"email\": \"user@domain.com\",\n \"subdomain\": \"slf\",\n \"logo\": \"data:image/png;base64,iVBORw0KGgoAAAANS\",\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n },\n \"components\": {\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"refund\": {\n \"value\": \"\"\n },\n \"pricing\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"organization\": {\n \"value\": \"\"\n },\n \"statistics\": {\n \"value\": \"\"\n },\n \"analytics\": {\n \"value\": \"\"\n },\n \"smartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"car\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tenants", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Labs France\",\n \"email\": \"user@domain.com\",\n \"subdomain\": \"slf\",\n \"logo\": \"data:image/png;base64,iVBORw0KGgoAAAANS\",\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n },\n \"components\": {\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"refund\": {\n \"value\": \"\"\n },\n \"pricing\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"organization\": {\n \"value\": \"\"\n },\n \"statistics\": {\n \"value\": \"\"\n },\n \"analytics\": {\n \"value\": \"\"\n },\n \"smartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"car\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tenants", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Labs France\",\n \"email\": \"user@domain.com\",\n \"subdomain\": \"slf\",\n \"logo\": \"data:image/png;base64,iVBORw0KGgoAAAANS\",\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n },\n \"components\": {\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"refund\": {\n \"value\": \"\"\n },\n \"pricing\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"organization\": {\n \"value\": \"\"\n },\n \"statistics\": {\n \"value\": \"\"\n },\n \"analytics\": {\n \"value\": \"\"\n },\n \"smartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"car\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tenants", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Labs France\",\n \"email\": \"user@domain.com\",\n \"subdomain\": \"slf\",\n \"logo\": \"data:image/png;base64,iVBORw0KGgoAAAANS\",\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n },\n \"components\": {\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"refund\": {\n \"value\": \"\"\n },\n \"pricing\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"organization\": {\n \"value\": \"\"\n },\n \"statistics\": {\n \"value\": \"\"\n },\n \"analytics\": {\n \"value\": \"\"\n },\n \"smartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"car\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tenants", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tenants" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "site-areas", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "charging-stations", + "item": [ + { + "name": "/api/site-areas/:id/charging-stations/assign", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationIDs\": [\n \"voluptate enim ut sunt in\",\n \"e\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/charging-stations/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "charging-stations", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + }, + "description": "Assign charging stations to a Site Area" + }, + "response": [ + { + "name": "Charging stations assigned successfully", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationIDs\": [\n \"velit \",\n \"adipisicing sunt quis\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/charging-stations/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "charging-stations", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationIDs\": [\n \"velit \",\n \"adipisicing sunt quis\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/charging-stations/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "charging-stations", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationIDs\": [\n \"velit \",\n \"adipisicing sunt quis\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/charging-stations/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "charging-stations", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationIDs\": [\n \"velit \",\n \"adipisicing sunt quis\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/charging-stations/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "charging-stations", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationIDs\": [\n \"velit \",\n \"adipisicing sunt quis\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/charging-stations/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "charging-stations", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/site-areas/:id/charging-stations/unassign", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationIDs\": [\n \"voluptate enim ut sunt in\",\n \"e\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/charging-stations/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "charging-stations", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + }, + "description": "Unassign charging stations from a Site Area" + }, + "response": [ + { + "name": "Charging stations unassigned successfully", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationIDs\": [\n \"velit \",\n \"adipisicing sunt quis\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/charging-stations/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "charging-stations", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationIDs\": [\n \"velit \",\n \"adipisicing sunt quis\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/charging-stations/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "charging-stations", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationIDs\": [\n \"velit \",\n \"adipisicing sunt quis\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/charging-stations/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "charging-stations", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationIDs\": [\n \"velit \",\n \"adipisicing sunt quis\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/charging-stations/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "charging-stations", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationIDs\": [\n \"velit \",\n \"adipisicing sunt quis\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/charging-stations/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "charging-stations", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "assets", + "item": [ + { + "name": "/api/site-areas/:id/assets/assign", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"assetIDs\": [\n \"dolore occaecat Duis ex\",\n \"esse reprehenderit nulla\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/assets/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "assets", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + }, + "description": "Assign assets to a Site Area" + }, + "response": [ + { + "name": "Assets assigned successfully", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"assetIDs\": [\n \"aliqua incididunt mollit veniam enim\",\n \"aliqua commodo\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/assets/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "assets", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"assetIDs\": [\n \"aliqua incididunt mollit veniam enim\",\n \"aliqua commodo\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/assets/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "assets", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"assetIDs\": [\n \"aliqua incididunt mollit veniam enim\",\n \"aliqua commodo\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/assets/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "assets", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"assetIDs\": [\n \"aliqua incididunt mollit veniam enim\",\n \"aliqua commodo\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/assets/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "assets", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"assetIDs\": [\n \"aliqua incididunt mollit veniam enim\",\n \"aliqua commodo\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/assets/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "assets", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/site-areas/:id/assets/unassign", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"assetIDs\": [\n \"dolore occaecat Duis ex\",\n \"esse reprehenderit nulla\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/assets/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "assets", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + }, + "description": "Unassign assets from a Site Area" + }, + "response": [ + { + "name": "Charging stations unassigned successfully", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"assetIDs\": [\n \"aliqua incididunt mollit veniam enim\",\n \"aliqua commodo\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/assets/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "assets", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"assetIDs\": [\n \"aliqua incididunt mollit veniam enim\",\n \"aliqua commodo\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/assets/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "assets", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"assetIDs\": [\n \"aliqua incididunt mollit veniam enim\",\n \"aliqua commodo\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/assets/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "assets", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"assetIDs\": [\n \"aliqua incididunt mollit veniam enim\",\n \"aliqua commodo\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/assets/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "assets", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"assetIDs\": [\n \"aliqua incididunt mollit veniam enim\",\n \"aliqua commodo\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/assets/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "assets", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/site-areas/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id?WithSite=true&WithChargingStations=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "query": [ + { + "key": "WithSite", + "value": "true", + "description": "With site attribute" + }, + { + "key": "WithChargingStations", + "value": "true", + "description": "With charging stations attribute" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + }, + "description": "Retrieve a Site Area" + }, + "response": [ + { + "name": "Return the site area", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id?WithSite=true&WithChargingStations=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "query": [ + { + "key": "WithSite", + "value": "true" + }, + { + "key": "WithChargingStations", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"name\": \"laboris\",\n \"siteID\": \"sed pariatur sit Excepteur\",\n \"id\": \"ad adipi\",\n \"accessControl\": false,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 68620492.08311993,\n \"numberOfPhases\": null,\n \"site\": {\n \"id\": {\n \"value\": \"\"\n },\n \"name\": {\n \"value\": \"\"\n }\n },\n \"parentSiteAreaID\": \"sit aliquip officia irure\",\n \"parentSiteArea\": {\n \"id\": {\n \"value\": \"\"\n },\n \"name\": {\n \"value\": \"\"\n }\n },\n \"connectorStats\": {\n \"totalChargers\": {\n \"value\": \"\"\n },\n \"availableChargers\": {\n \"value\": \"\"\n },\n \"totalConnectors\": {\n \"value\": \"\"\n },\n \"chargingConnectors\": {\n \"value\": \"\"\n },\n \"suspendedConnectors\": {\n \"value\": \"\"\n },\n \"availableConnectors\": {\n \"value\": \"\"\n },\n \"unavailableConnectors\": {\n \"value\": \"\"\n },\n \"preparingConnectors\": {\n \"value\": \"\"\n },\n \"finishingConnectors\": {\n \"value\": \"\"\n },\n \"faultedConnectors\": {\n \"value\": \"\"\n }\n },\n \"chargingStations\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"smartCharging\": false,\n \"tariffID\": \"elit eu\",\n \"voltage\": null,\n \"image\": \"fugiat qui in labor\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id?WithSite=true&WithChargingStations=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "query": [ + { + "key": "WithSite", + "value": "true" + }, + { + "key": "WithChargingStations", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id?WithSite=true&WithChargingStations=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "query": [ + { + "key": "WithSite", + "value": "true" + }, + { + "key": "WithChargingStations", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id?WithSite=true&WithChargingStations=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "query": [ + { + "key": "WithSite", + "value": "true" + }, + { + "key": "WithChargingStations", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id?WithSite=true&WithChargingStations=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "query": [ + { + "key": "WithSite", + "value": "true" + }, + { + "key": "WithChargingStations", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/site-areas/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + }, + "description": "Update a SiteArea" + }, + "response": [ + { + "name": "Site Area is updated with success", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Error occurred while clearing Charging Profiles for Site Area", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "code": 537, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "One of the charging stations is not single phased", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "code": 539, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Circular dependency error in Site Area Tree", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "code": 540, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Site Area cannot have a parent of itslef", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "code": 541, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Site Area must have the same Site as its parent", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "code": 542, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Site Area must have the same Smart Charging value as its parent", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "code": 543, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Site Area must have the same Number of Phases as its parent", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "code": 544, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Site Area must have the same Voltage as its parent", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "code": 545, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Multiple changes are currently not supported (eg. change of Site and Smart Charging.)", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "code": 546, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "The total power of the child Site Areas must be lower than the one of their parents.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "code": 547, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/site-areas/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + }, + "description": "Delete a SiteArea" + }, + "response": [ + { + "name": "Site Area is deleted with success", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Site Area has dependencies to other Site Areas", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "code": 543, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/site-areas/:id/consumptions", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/consumptions?StartDateTime=sint consequat&EndDateTime=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "consumptions" + ], + "query": [ + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "(Required) Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + }, + "description": "Retrieve Site Area consumptions" + }, + "response": [ + { + "name": "Return the site area's consumption", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/consumptions?StartDateTime=sint consequat&EndDateTime=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "consumptions" + ], + "query": [ + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"accessControl\": true,\n \"address\": {\n \"address1\": \"805 av. du Docteur Maurice Donat\",\n \"address2\": \"string\",\n \"postalCode\": \"06250\",\n \"city\": \"Mougins\",\n \"department\": \"Alpes Maritimes\",\n \"region\": \"PACA\",\n \"country\": \"France\",\n \"coordinates\": [\n 43,\n 7\n ]\n },\n \"createdBy\": null,\n \"issuer\": true,\n \"lastChangedBy\": null,\n \"maximumPower\": 88320,\n \"name\": \"###\",\n \"numberOfPhases\": 3,\n \"siteID\": \"###\",\n \"smartCharging\": false,\n \"voltage\": 0,\n \"id\": \"###\",\n \"values\": [\n {\n \"AssetConsumptionWatts\": 0,\n \"AssetConsumptionAmps\": 0,\n \"AssetProductionWatts\": 0,\n \"AssetProductionAmps\": 0,\n \"ChargingStationConsumptionWatts\": 9000,\n \"ChargingStationConsumptionAmps\": 39.130434782608695,\n \"NetConsumptionWatts\": 9000,\n \"NetConsumptionAmps\": 39.130434782608695,\n \"limitWatts\": 88320,\n \"limitAmps\": null,\n \"startedAt\": \"2020-01-02T11:00:00.000Z\",\n \"endedAt\": \"2020-01-02T11:00:00.000Z\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/consumptions?StartDateTime=sint consequat&EndDateTime=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "consumptions" + ], + "query": [ + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/consumptions?StartDateTime=sint consequat&EndDateTime=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "consumptions" + ], + "query": [ + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/consumptions?StartDateTime=sint consequat&EndDateTime=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "consumptions" + ], + "query": [ + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas/:id/consumptions?StartDateTime=sint consequat&EndDateTime=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas", + ":id", + "consumptions" + ], + "query": [ + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/site-areas", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas?Search=sint consequat&WithSite=true&WithParentSiteArea=true&WithChargingStations=true&WithAvailableChargers=false&SiteID=sint consequat&CompanyID=sint consequat&Issuer=true&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "WithSite", + "value": "true", + "description": "With site attribute" + }, + { + "key": "WithParentSiteArea", + "value": "true", + "description": "With parent site area parent attribute" + }, + { + "key": "WithChargingStations", + "value": "true", + "description": "With charging stations attribute" + }, + { + "key": "WithAvailableChargers", + "value": "false", + "description": "Request Site Areas with their available chargers" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Site ID" + }, + { + "key": "CompanyID", + "value": "sint consequat", + "description": "Company ID" + }, + { + "key": "Issuer", + "value": "true", + "description": "Current organization" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898", + "description": "Longitude location" + }, + { + "key": "LocLatitude", + "value": "sint consequat", + "description": "Latitude location" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898", + "description": "Maximum range from location in meters" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Retrieve a list of Site Areas" + }, + "response": [ + { + "name": "Return the site area list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas?Search=sint consequat&WithSite=true&WithParentSiteArea=true&WithChargingStations=true&WithAvailableChargers=false&SiteID=sint consequat&CompanyID=sint consequat&Issuer=true&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "WithParentSiteArea", + "value": "true" + }, + { + "key": "WithChargingStations", + "value": "true" + }, + { + "key": "WithAvailableChargers", + "value": "false" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "CompanyID", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898" + }, + { + "key": "LocLatitude", + "value": "sint consequat" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas?Search=sint consequat&WithSite=true&WithParentSiteArea=true&WithChargingStations=true&WithAvailableChargers=false&SiteID=sint consequat&CompanyID=sint consequat&Issuer=true&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "WithParentSiteArea", + "value": "true" + }, + { + "key": "WithChargingStations", + "value": "true" + }, + { + "key": "WithAvailableChargers", + "value": "false" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "CompanyID", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898" + }, + { + "key": "LocLatitude", + "value": "sint consequat" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas?Search=sint consequat&WithSite=true&WithParentSiteArea=true&WithChargingStations=true&WithAvailableChargers=false&SiteID=sint consequat&CompanyID=sint consequat&Issuer=true&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "WithParentSiteArea", + "value": "true" + }, + { + "key": "WithChargingStations", + "value": "true" + }, + { + "key": "WithAvailableChargers", + "value": "false" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "CompanyID", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898" + }, + { + "key": "LocLatitude", + "value": "sint consequat" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/site-areas?Search=sint consequat&WithSite=true&WithParentSiteArea=true&WithChargingStations=true&WithAvailableChargers=false&SiteID=sint consequat&CompanyID=sint consequat&Issuer=true&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "WithParentSiteArea", + "value": "true" + }, + { + "key": "WithChargingStations", + "value": "true" + }, + { + "key": "WithAvailableChargers", + "value": "false" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "CompanyID", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898" + }, + { + "key": "LocLatitude", + "value": "sint consequat" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/site-areas", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas" + ] + }, + "description": "Create a SiteArea" + }, + "response": [ + { + "name": "Site Area is created with success", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"success\",\n \"id\": \"###\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Circular dependency error in Site Area Tree", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas" + ] + } + }, + "code": 540, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Site Area cannot have a parent of itslef", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas" + ] + } + }, + "code": 541, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Site Area must have the same Site as its parent", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas" + ] + } + }, + "code": 542, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Site Area must have the same Smart Charging value as its parent", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas" + ] + } + }, + "code": 543, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Site Area must have the same Number of Phases as its parent", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas" + ] + } + }, + "code": 544, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Site Area must have the same Voltage as its parent", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas" + ] + } + }, + "code": 545, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Multiple changes are currently not supported (eg. change of Site and Smart Charging.)", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas" + ] + } + }, + "code": 546, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "The total power of the child Site Areas must be lower than the one of their parents.", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"quis\",\n \"siteID\": \"ipsum fugiat\",\n \"accessControl\": true,\n \"address\": {\n \"value\": \"\"\n },\n \"createdBy\": {\n \"value\": \"\"\n },\n \"createdOn\": {\n \"value\": \"\"\n },\n \"issuer\": false,\n \"lastChangedBy\": {\n \"value\": \"\"\n },\n \"maximumPower\": 98807828.84601139,\n \"numberOfPhases\": null,\n \"parentSiteAreaID\": \"Lorem e\",\n \"smartCharging\": true,\n \"tariffID\": \"in dolor reprehenderit quis\",\n \"voltage\": null,\n \"image\": \"enim ipsum nisi sint\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/site-areas", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "site-areas" + ] + } + }, + "code": 547, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "transactions", + "item": [ + { + "name": "status", + "item": [ + { + "name": "refund", + "item": [ + { + "name": "/api/transactions/status/refund", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/refund?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "refund" + ], + "query": [ + { + "key": "Issuer", + "value": "true", + "description": "Current organization" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "WithChargingStation", + "value": "true", + "description": "With charging station attribute" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + }, + { + "key": "ConnectorID", + "value": "sint consequat", + "description": "Pipe separated Connector IDs" + }, + { + "key": "WithCar", + "value": "true", + "description": "With car attribute" + }, + { + "key": "WithUser", + "value": "true", + "description": "With user attribute" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "WithTag", + "value": "true", + "description": "With tag attribute" + }, + { + "key": "TagID", + "value": "sint consequat", + "description": "Pipe separated Tag IDs" + }, + { + "key": "VisualTagID", + "value": "sint consequat", + "description": "Pipe separated Visual Tag IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + }, + { + "key": "WithSite", + "value": "true", + "description": "With site attribute" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "WithSiteArea", + "value": "true", + "description": "With site area attribute" + }, + { + "key": "WithCompany", + "value": "true", + "description": "With company attribute" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W", + "description": "Pipe separated Inactivity Statuses (I, W, E)" + }, + { + "key": "Statistics", + "value": "history", + "description": "Refund or History statistics" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted", + "description": "Pipe separated refund statuses (submitted, notSubmitted, cancelled, approved)" + }, + { + "key": "MinimalPrice", + "value": "sint consequat", + "description": "Transactions minimal price" + }, + { + "key": "ReportIDs", + "value": "sint consequat", + "description": "Pipe separated report IDs" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Retrieve a list of Transactions to refund and refunded" + }, + "response": [ + { + "name": "Return Transactions to refund and refunded list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/refund?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "refund" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "WithTag", + "value": "true" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"stats\": {\n \"_id\": null,\n \"count\": 500\n },\n \"result\": [\n {\n \"issuer\": true,\n \"companyID\": \"###\",\n \"siteID\": \"###\",\n \"siteAreaID\": \"###\",\n \"connectorId\": 1,\n \"tagID\": \"AAE\",\n \"carID\": null,\n \"carCatalogID\": null,\n \"userID\": \"###\",\n \"chargeBoxID\": \"###\",\n \"meterStart\": 0,\n \"timestamp\": \"2021-07-06T09:29:55.309Z\",\n \"stateOfCharge\": 75,\n \"timezone\": \"Europe/Paris\",\n \"stop\": {\n \"userID\": \"###\",\n \"timestamp\": \"2021-07-06T09:36:55.656Z\",\n \"tagID\": \"###\",\n \"reason\": null,\n \"stateOfCharge\": 47,\n \"totalConsumptionWh\": 3194,\n \"totalInactivitySecs\": 0,\n \"extraInactivitySecs\": 0,\n \"inactivityStatus\": \"I\",\n \"totalDurationSecs\": 420.347,\n \"price\": 0.51104,\n \"roundedPrice\": 0.51,\n \"priceUnit\": \"EUR\"\n },\n \"id\": 123456789\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/refund?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "refund" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "WithTag", + "value": "true" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/refund?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "refund" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "WithTag", + "value": "true" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/refund?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "refund" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "WithTag", + "value": "true" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/transactions/status/refund/export", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "text/csv" + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/refund/export?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "refund", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true", + "description": "Current organization" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "WithChargingStation", + "value": "true", + "description": "With charging station attribute" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + }, + { + "key": "ConnectorID", + "value": "sint consequat", + "description": "Pipe separated Connector IDs" + }, + { + "key": "WithCar", + "value": "true", + "description": "With car attribute" + }, + { + "key": "WithUser", + "value": "true", + "description": "With user attribute" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "WithTag", + "value": "true", + "description": "With tag attribute" + }, + { + "key": "TagID", + "value": "sint consequat", + "description": "Pipe separated Tag IDs" + }, + { + "key": "VisualTagID", + "value": "sint consequat", + "description": "Pipe separated Visual Tag IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + }, + { + "key": "WithSite", + "value": "true", + "description": "With site attribute" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "WithSiteArea", + "value": "true", + "description": "With site area attribute" + }, + { + "key": "WithCompany", + "value": "true", + "description": "With company attribute" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W", + "description": "Pipe separated Inactivity Statuses (I, W, E)" + }, + { + "key": "Statistics", + "value": "history", + "description": "Refund or History statistics" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted", + "description": "Pipe separated refund statuses (submitted, notSubmitted, cancelled, approved)" + }, + { + "key": "MinimalPrice", + "value": "sint consequat", + "description": "Transactions minimal price" + }, + { + "key": "ReportIDs", + "value": "sint consequat", + "description": "Pipe separated report IDs" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Export Transactions to refund" + }, + "response": [ + { + "name": "Exported Transactions to refund", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/refund/export?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "refund", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "WithTag", + "value": "true" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/csv" + } + ], + "cookie": [], + "body": "id,chargingStationID,connectorID,companyName,siteName,siteAreaName,userID,user,tagID,visualTagID,tagDescription,timezone,startDate,startTime,endDate,endTime,totalConsumptionkWh,totalDurationMins,totalInactivityMins,price,priceUnit\n123456789,\"###\",2,,,,\"\",\"\",\"###\",,\"\",\"Europe/Paris\",\"2021-07-07\",\"10:08:25\",\"2021-07-07\",\"10:08:32\",0,0.11,0.11,0,\"EUR\"" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/refund/export?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "refund", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "WithTag", + "value": "true" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/refund/export?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "refund", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "WithTag", + "value": "true" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/refund/export?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "refund", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "WithTag", + "value": "true" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/transactions/status/refund/synchronize", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/refund/synchronize", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "refund", + "synchronize" + ] + }, + "description": "Synchronize refunded Transactions" + }, + "response": [ + { + "name": "Synchronized refunded transactions successfully", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/refund/synchronize", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "refund", + "synchronize" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/refund/synchronize", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "refund", + "synchronize" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/refund/synchronize", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "refund", + "synchronize" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/refund/synchronize", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "refund", + "synchronize" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/transactions/status/refund/reports", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/refund/reports?SiteAreaID=sint consequat&SiteID=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "refund", + "reports" + ], + "query": [ + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + } + ] + }, + "description": "Retrieve Transactions refund reports" + }, + "response": [ + { + "name": "Retrieved Transactions refund reports", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/refund/reports?SiteAreaID=sint consequat&SiteID=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "refund", + "reports" + ], + "query": [ + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"id\": \"###\",\n \"user\": {\n \"id\": \"###\",\n \"name\": \"###\",\n \"firstName\": \"###\",\n \"email\": \"###\"\n }\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/refund/reports?SiteAreaID=sint consequat&SiteID=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "refund", + "reports" + ], + "query": [ + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/refund/reports?SiteAreaID=sint consequat&SiteID=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "refund", + "reports" + ], + "query": [ + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/refund/reports?SiteAreaID=sint consequat&SiteID=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "refund", + "reports" + ], + "query": [ + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/transactions/status/completed", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/completed?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "completed" + ], + "query": [ + { + "key": "Issuer", + "value": "true", + "description": "Current organization" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "WithChargingStation", + "value": "true", + "description": "With charging station attribute" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + }, + { + "key": "ConnectorID", + "value": "sint consequat", + "description": "Pipe separated Connector IDs" + }, + { + "key": "WithCar", + "value": "true", + "description": "With car attribute" + }, + { + "key": "WithUser", + "value": "true", + "description": "With user attribute" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "WithTag", + "value": "true", + "description": "With tag attribute" + }, + { + "key": "TagID", + "value": "sint consequat", + "description": "Pipe separated Tag IDs" + }, + { + "key": "VisualTagID", + "value": "sint consequat", + "description": "Pipe separated Visual Tag IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + }, + { + "key": "WithSite", + "value": "true", + "description": "With site attribute" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "WithSiteArea", + "value": "true", + "description": "With site area attribute" + }, + { + "key": "WithCompany", + "value": "true", + "description": "With company attribute" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W", + "description": "Pipe separated Inactivity Statuses (I, W, E)" + }, + { + "key": "Statistics", + "value": "history", + "description": "Refund or History statistics" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted", + "description": "Pipe separated refund statuses (submitted, notSubmitted, cancelled, approved)" + }, + { + "key": "MinimalPrice", + "value": "sint consequat", + "description": "Transactions minimal price" + }, + { + "key": "ReportIDs", + "value": "sint consequat", + "description": "Pipe separated report IDs" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Retrieve a list of completed Transactions" + }, + "response": [ + { + "name": "Return completed Transaction's list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/completed?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "completed" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "WithTag", + "value": "true" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"stats\": {\n \"_id\": null,\n \"count\": 500\n },\n \"result\": [\n {\n \"issuer\": true,\n \"companyID\": \"###\",\n \"siteID\": \"###\",\n \"siteAreaID\": \"###\",\n \"connectorId\": 1,\n \"tagID\": \"###\",\n \"carID\": null,\n \"carCatalogID\": null,\n \"userID\": \"###\",\n \"chargeBoxID\": \"###\",\n \"meterStart\": 0,\n \"timestamp\": \"2021-07-06T09:29:55.309Z\",\n \"stateOfCharge\": 75,\n \"timezone\": \"Europe/Paris\",\n \"stop\": {\n \"userID\": \"###\",\n \"timestamp\": \"2021-07-06T09:36:55.656Z\",\n \"tagID\": \"###\",\n \"meterStop\": 3194,\n \"reason\": null,\n \"stateOfCharge\": 47,\n \"totalConsumptionWh\": 3194,\n \"totalInactivitySecs\": 0,\n \"extraInactivitySecs\": 0,\n \"inactivityStatus\": \"I\",\n \"totalDurationSecs\": 420.347,\n \"price\": 0.51104,\n \"roundedPrice\": 0.51,\n \"priceUnit\": \"EUR\"\n },\n \"ocpi\": false,\n \"ocpiWithCdr\": false,\n \"id\": 123456789\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/completed?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "completed" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "WithTag", + "value": "true" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/completed?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "completed" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "WithTag", + "value": "true" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/completed?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "completed" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "WithTag", + "value": "true" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/transactions/status/active", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/active?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "active" + ], + "query": [ + { + "key": "Issuer", + "value": "true", + "description": "Current organization" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "WithChargingStation", + "value": "true", + "description": "With charging station attribute" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + }, + { + "key": "ConnectorID", + "value": "sint consequat", + "description": "Pipe separated Connector IDs" + }, + { + "key": "WithCar", + "value": "true", + "description": "With car attribute" + }, + { + "key": "WithUser", + "value": "true", + "description": "With user attribute" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "WithTag", + "value": "true", + "description": "With tag attribute" + }, + { + "key": "TagID", + "value": "sint consequat", + "description": "Pipe separated Tag IDs" + }, + { + "key": "VisualTagID", + "value": "sint consequat", + "description": "Pipe separated Visual Tag IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + }, + { + "key": "WithSite", + "value": "true", + "description": "With site attribute" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "WithSiteArea", + "value": "true", + "description": "With site area attribute" + }, + { + "key": "WithCompany", + "value": "true", + "description": "With company attribute" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W", + "description": "Pipe separated Inactivity Statuses (I, W, E)" + }, + { + "key": "Statistics", + "value": "history", + "description": "Refund or History statistics" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted", + "description": "Pipe separated refund statuses (submitted, notSubmitted, cancelled, approved)" + }, + { + "key": "MinimalPrice", + "value": "sint consequat", + "description": "Transactions minimal price" + }, + { + "key": "ReportIDs", + "value": "sint consequat", + "description": "Pipe separated report IDs" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Retrieve a list of active Transactions" + }, + "response": [ + { + "name": "Return active Transaction's list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/active?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "active" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "WithTag", + "value": "true" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"stats\": {\n \"_id\": null,\n \"count\": 1\n },\n \"result\": [\n {\n \"issuer\": true,\n \"companyID\": \"###\",\n \"siteID\": \"###\",\n \"siteAreaID\": \"###\",\n \"connectorId\": 1,\n \"tagID\": \"###\",\n \"carID\": null,\n \"carCatalogID\": null,\n \"userID\": \"###\",\n \"chargeBoxID\": \"###\",\n \"meterStart\": 0,\n \"timestamp\": \"2021-07-06T12:02:40.957Z\",\n \"price\": 0,\n \"roundedPrice\": 0,\n \"priceUnit\": \"EUR\",\n \"stateOfCharge\": 21,\n \"timezone\": \"Europe/Paris\",\n \"currentStateOfCharge\": 77,\n \"currentTotalInactivitySecs\": 0,\n \"currentInactivityStatus\": \"I\",\n \"currentCumulatedPrice\": 2.51456,\n \"currentInstantWatts\": 16919.436018799373,\n \"currentTotalConsumptionWh\": 15716,\n \"currentTotalDurationSecs\": 2550.496,\n \"id\": 123456789\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/active?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "active" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "WithTag", + "value": "true" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/active?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "active" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "WithTag", + "value": "true" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/active?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "active" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "WithTag", + "value": "true" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/transactions/status/in-error", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/in-error?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&ChargingStationID=sint consequat&ConnectorID=sint consequat&UserID=sint consequat&SiteID=sint consequat&SiteAreaID=sint consequat&ErrorType=sint consequat&Limit=100&Skip=0&SortFields=id&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "in-error" + ], + "query": [ + { + "key": "Issuer", + "value": "true", + "description": "Current organization" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + }, + { + "key": "ConnectorID", + "value": "sint consequat", + "description": "Pipe separated Connector IDs" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "ErrorType", + "value": "sint consequat", + "description": "Pipe separated error types (long_activity, negative_activity, negative_duration, low_duration, invalid_start_date, no_consumption, low_consumption, missing_user, missing_price, no_billing_data)" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Retrieve a list of Transactions in error" + }, + "response": [ + { + "name": "Return Transactions in error list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/in-error?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&ChargingStationID=sint consequat&ConnectorID=sint consequat&UserID=sint consequat&SiteID=sint consequat&SiteAreaID=sint consequat&ErrorType=sint consequat&Limit=100&Skip=0&SortFields=id&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "in-error" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ErrorType", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"issuer\": true,\n \"siteID\": \"###\",\n \"siteAreaID\": \"###\",\n \"connectorId\": 1,\n \"tagID\": \"###\",\n \"userID\": \"###\",\n \"chargeBoxID\": \"###\",\n \"meterStart\": 1152126,\n \"timestamp\": \"2020-12-07T11:15:41.314Z\",\n \"stateOfCharge\": 9,\n \"timezone\": \"Europe/Paris\",\n \"stop\": {\n \"userID\": \"###\",\n \"tagID\": \"###\",\n \"stateOfCharge\": 9,\n \"totalConsumptionWh\": 149,\n \"totalDurationSecs\": 54\n },\n \"companyID\": \"###\",\n \"errorCode\": \"low_duration\",\n \"uniqueId\": \"123456789#low_duration\",\n \"id\": 123456789\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/in-error?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&ChargingStationID=sint consequat&ConnectorID=sint consequat&UserID=sint consequat&SiteID=sint consequat&SiteAreaID=sint consequat&ErrorType=sint consequat&Limit=100&Skip=0&SortFields=id&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "in-error" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ErrorType", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/in-error?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&ChargingStationID=sint consequat&ConnectorID=sint consequat&UserID=sint consequat&SiteID=sint consequat&SiteAreaID=sint consequat&ErrorType=sint consequat&Limit=100&Skip=0&SortFields=id&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "in-error" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ErrorType", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/status/in-error?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&ChargingStationID=sint consequat&ConnectorID=sint consequat&UserID=sint consequat&SiteID=sint consequat&SiteAreaID=sint consequat&ErrorType=sint consequat&Limit=100&Skip=0&SortFields=id&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "status", + "in-error" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ErrorType", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "{id}", + "item": [ + { + "name": "ocpi/cdr", + "item": [ + { + "name": "/api/transactions/:id/ocpi/cdr", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/ocpi/cdr", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "ocpi", + "cdr" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + }, + "description": "Push Transaction CDR" + }, + "response": [ + { + "name": "Transaction CDR pushed successfully", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/ocpi/cdr", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "ocpi", + "cdr" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/ocpi/cdr", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "ocpi", + "cdr" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/ocpi/cdr", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "ocpi", + "cdr" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/ocpi/cdr", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "ocpi", + "cdr" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "The transaction belongs to an external organization", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/ocpi/cdr", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "ocpi", + "cdr" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "code": 580, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "The transaction has no OCPI or OICP session data", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/ocpi/cdr", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "ocpi", + "cdr" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "code": 581, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "The CDR of the transaction has already been pushed", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/ocpi/cdr", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "ocpi", + "cdr" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "code": 582, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/transactions/:id/ocpi/cdr/export", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/ocpi/cdr/export", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "ocpi", + "cdr", + "export" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + }, + "description": "Export Transaction CDR" + }, + "response": [ + { + "name": "Exported Transaction CDR", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/ocpi/cdr/export", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "ocpi", + "cdr", + "export" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"###\",\n \"start_date_time\": \"2020-06-30T14:08:50.000Z\",\n \"stop_date_time\": \"2020-06-30T14:33:56.000Z\",\n \"total_parking_time\": 0,\n \"total_time\": 1506,\n \"total_energy\": 4.502,\n \"total_cost\": 0.72,\n \"currency\": \"EUR\",\n \"auth_id\": \"###\",\n \"authorization_id\": \"###\",\n \"auth_method\": \"AUTH_REQUEST\",\n \"location\": {\n \"id\": \"###\",\n \"name\": \"###\",\n \"address\": \"###\",\n \"city\": \"###\",\n \"postal_code\": \"###\",\n \"country\": \"###\",\n \"coordinates\": {\n \"latitude\": \"###\",\n \"longitude\": \"###\"\n },\n \"type\": \"UNKNOWN\",\n \"evses\": [\n {\n \"uid\": \"###\",\n \"evse_id\": \"###\",\n \"status\": \"BLOCKED\",\n \"capabilities\": [\n \"REMOTE_START_STOP_CAPABLE\",\n \"RFID_READER\"\n ],\n \"connectors\": [\n {\n \"id\": \"###\",\n \"standard\": \"IEC_62196_T2\",\n \"format\": \"SOCKET\",\n \"voltage\": 230,\n \"amperage\": 96,\n \"power_type\": \"AC_3_PHASE\",\n \"last_updated\": \"2020-06-30T14:08:47.621Z\"\n }\n ],\n \"coordinates\": {\n \"latitude\": \"###\",\n \"longitude\": \"###\"\n },\n \"last_updated\": \"2020-06-30T14:08:47.621Z\"\n }\n ],\n \"last_updated\": \"2020-05-06T09:18:10.227Z\"\n },\n \"charging_periods\": [\n {\n \"start_date_time\": \"2020-06-30T14:08:50.000Z\",\n \"dimensions\": [\n {\n \"type\": \"ENERGY\",\n \"volume\": 0.108\n },\n {\n \"type\": \"MAX_CURRENT\",\n \"volume\": 96\n }\n ]\n },\n {\n \"start_date_time\": \"2020-06-30T14:10:50.000Z\",\n \"dimensions\": [\n {\n \"type\": \"ENERGY\",\n \"volume\": 0.182\n },\n {\n \"type\": \"MAX_CURRENT\",\n \"volume\": 96\n }\n ]\n }\n ],\n \"last_updated\": \"2020-06-30T14:33:56.000Z\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/ocpi/cdr/export", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "ocpi", + "cdr", + "export" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/ocpi/cdr/export", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "ocpi", + "cdr", + "export" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/ocpi/cdr/export", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "ocpi", + "cdr", + "export" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "The transaction belongs to an external organization", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/ocpi/cdr/export", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "ocpi", + "cdr", + "export" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "code": 580, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "The transaction has no OCPI or OICP session data", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/ocpi/cdr/export", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "ocpi", + "cdr", + "export" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "code": 581, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "The CDR of the transaction has already been pushed", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/ocpi/cdr/export", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "ocpi", + "cdr", + "export" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "code": 582, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/transactions/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id?WithCar=true&WithUser=true&WithTag=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id" + ], + "query": [ + { + "key": "WithCar", + "value": "true", + "description": "With car attribute" + }, + { + "key": "WithUser", + "value": "true", + "description": "With user attribute" + }, + { + "key": "WithTag", + "value": "true", + "description": "With tag attribute" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + }, + "description": "Retrieve a Transaction" + }, + "response": [ + { + "name": "Returned Transaction", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id?WithCar=true&WithUser=true&WithTag=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id" + ], + "query": [ + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "WithTag", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"issuer\": true,\n \"siteID\": \"###\",\n \"siteAreaID\": \"###\",\n \"connectorId\": 1,\n \"tagID\": \"###\",\n \"userID\": \"###\",\n \"chargeBoxID\": \"###\",\n \"meterStart\": 0,\n \"timestamp\": \"2019-06-12T06:49:46.000Z\",\n \"price\": 0,\n \"roundedPrice\": 0,\n \"priceUnit\": \"EUR\",\n \"stateOfCharge\": 0,\n \"timezone\": \"Europe/Paris\",\n \"signedData\": null,\n \"stop\": {\n \"userID\": \"###\",\n \"timestamp\": \"2019-06-12T09:54:18.000Z\",\n \"tagID\": \"###\",\n \"meterStop\": 18540,\n \"stateOfCharge\": 0,\n \"signedData\": null,\n \"totalConsumptionWh\": 18540,\n \"totalInactivitySecs\": 0,\n \"inactivityStatus\": \"I\",\n \"totalDurationSecs\": 11072,\n \"price\": 2.5956,\n \"roundedPrice\": 2.59,\n \"priceUnit\": \"EUR\",\n \"pricingSource\": \"simple\"\n },\n \"id\": 1234567890\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id?WithCar=true&WithUser=true&WithTag=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id" + ], + "query": [ + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "WithTag", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id?WithCar=true&WithUser=true&WithTag=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id" + ], + "query": [ + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "WithTag", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id?WithCar=true&WithUser=true&WithTag=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id" + ], + "query": [ + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "WithTag", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/transactions/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + }, + "description": "Delete a Transaction" + }, + "response": [ + { + "name": "Transaction deletion result", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\",\n \"inSuccess\": 1,\n \"inError\": 0\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/transactions/:id/consumptions", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/consumptions?LoadAllConsumptions=true&WithCar=true&WithUser=true&WithTag=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "consumptions" + ], + "query": [ + { + "key": "LoadAllConsumptions", + "value": "true", + "description": "Load all consumptions" + }, + { + "key": "WithCar", + "value": "true", + "description": "With car attribute" + }, + { + "key": "WithUser", + "value": "true", + "description": "With user attribute" + }, + { + "key": "WithTag", + "value": "true", + "description": "With tag attribute" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + }, + "description": "Retrieve a Transaction consumption" + }, + "response": [ + { + "name": "Return a Transaction consumption", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/consumptions?LoadAllConsumptions=true&WithCar=true&WithUser=true&WithTag=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "consumptions" + ], + "query": [ + { + "key": "LoadAllConsumptions", + "value": "true" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "WithTag", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"issuer\": true,\n \"siteID\": \"###\",\n \"siteAreaID\": \"###\",\n \"connectorId\": 1,\n \"tagID\": \"###\",\n \"userID\": \"###\",\n \"chargeBoxID\": \"###\",\n \"meterStart\": 0,\n \"timestamp\": \"2019-06-12T06:49:46.000Z\",\n \"stateOfCharge\": 0,\n \"timezone\": \"Europe/Paris\",\n \"stop\": {\n \"userID\": \"###\",\n \"timestamp\": \"2019-06-12T09:54:18.000Z\",\n \"tagID\": \"###\",\n \"stateOfCharge\": 0,\n \"totalConsumptionWh\": 18540,\n \"totalInactivitySecs\": 0,\n \"inactivityStatus\": \"I\",\n \"totalDurationSecs\": 11072,\n \"price\": 2.5956,\n \"roundedPrice\": 2.59,\n \"priceUnit\": \"EUR\",\n \"pricingSource\": \"simple\"\n },\n \"id\": 1234567890,\n \"values\": [\n {\n \"startedAt\": \"2019-06-12T06:49:46.000Z\",\n \"endedAt\": \"2019-06-12T06:50:46.000Z\",\n \"cumulatedAmount\": 0.01344,\n \"cumulatedConsumptionWh\": 96,\n \"cumulatedConsumptionAmps\": 0.417391304348,\n \"instantWatts\": 5760,\n \"instantWattsL1\": 0,\n \"instantWattsL2\": 0,\n \"instantWattsL3\": 0,\n \"instantWattsDC\": 0,\n \"instantAmps\": 25.04347826087,\n \"instantAmpsL1\": 0,\n \"instantAmpsL2\": 0,\n \"instantAmpsL3\": 0,\n \"instantAmpsDC\": 0,\n \"instantVolts\": 0,\n \"instantVoltsL1\": 0,\n \"instantVoltsL2\": 0,\n \"instantVoltsL3\": 0,\n \"instantVoltsDC\": 0,\n \"stateOfCharge\": 0,\n \"limitAmps\": 96,\n \"limitWatts\": 22080\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/consumptions?LoadAllConsumptions=true&WithCar=true&WithUser=true&WithTag=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "consumptions" + ], + "query": [ + { + "key": "LoadAllConsumptions", + "value": "true" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "WithTag", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/consumptions?LoadAllConsumptions=true&WithCar=true&WithUser=true&WithTag=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "consumptions" + ], + "query": [ + { + "key": "LoadAllConsumptions", + "value": "true" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "WithTag", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/consumptions?LoadAllConsumptions=true&WithCar=true&WithUser=true&WithTag=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "consumptions" + ], + "query": [ + { + "key": "LoadAllConsumptions", + "value": "true" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "WithTag", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/transactions/:id/stop", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/stop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "stop" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + }, + "description": "Stop a Transaction by using the right method (OCPP, OCPI, Soft...)" + }, + "response": [ + { + "name": "Transaction stopped successfully", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/stop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "stop" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Accepted\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/stop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "stop" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/stop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "stop" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/stop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "stop" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/transactions/:id/soft-stop", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/soft-stop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "soft-stop" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + }, + "description": "Stop a Transaction without calling the Charging Station" + }, + "response": [ + { + "name": "Transaction stopped successfully", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/soft-stop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "soft-stop" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Accepted\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/soft-stop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "soft-stop" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/soft-stop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "soft-stop" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/:id/soft-stop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + ":id", + "soft-stop" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Transaction ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "action", + "item": [ + { + "name": "/api/transactions/action/refund", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"transactionsIds\": [\n 94089903.26637325,\n 78502525.71149379\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/transactions/action/refund", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "action", + "refund" + ] + }, + "description": "Refund Transactions" + }, + "response": [ + { + "name": "Transactions refund result", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"transactionsIds\": [\n -73894688.15351799,\n -53622277.86738671\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/transactions/action/refund", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "action", + "refund" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\",\n \"inSuccess\": 42,\n \"inError\": 1\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"transactionsIds\": [\n -73894688.15351799,\n -53622277.86738671\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/transactions/action/refund", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "action", + "refund" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"transactionsIds\": [\n -73894688.15351799,\n -53622277.86738671\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/transactions/action/refund", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "action", + "refund" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"transactionsIds\": [\n -73894688.15351799,\n -53622277.86738671\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/transactions/action/refund", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "action", + "refund" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "No Refund valid connection found", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"transactionsIds\": [\n -73894688.15351799,\n -53622277.86738671\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/transactions/action/refund", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "action", + "refund" + ] + } + }, + "code": 552, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/transactions/action/export", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "text/csv" + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/action/export?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "action", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true", + "description": "Current organization" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "WithChargingStation", + "value": "true", + "description": "With charging station attribute" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + }, + { + "key": "ConnectorID", + "value": "sint consequat", + "description": "Pipe separated Connector IDs" + }, + { + "key": "WithCar", + "value": "true", + "description": "With car attribute" + }, + { + "key": "WithUser", + "value": "true", + "description": "With user attribute" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "TagID", + "value": "sint consequat", + "description": "Pipe separated Tag IDs" + }, + { + "key": "VisualTagID", + "value": "sint consequat", + "description": "Pipe separated Visual Tag IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + }, + { + "key": "WithSite", + "value": "true", + "description": "With site attribute" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "WithSiteArea", + "value": "true", + "description": "With site area attribute" + }, + { + "key": "WithCompany", + "value": "true", + "description": "With company attribute" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W", + "description": "Pipe separated Inactivity Statuses (I, W, E)" + }, + { + "key": "Statistics", + "value": "history", + "description": "Refund or History statistics" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted", + "description": "Pipe separated refund statuses (submitted, notSubmitted, cancelled, approved)" + }, + { + "key": "MinimalPrice", + "value": "sint consequat", + "description": "Transactions minimal price" + }, + { + "key": "ReportIDs", + "value": "sint consequat", + "description": "Pipe separated report IDs" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Export Transactions" + }, + "response": [ + { + "name": "Transactions successfully exported", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/action/export?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "action", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/csv" + } + ], + "cookie": [], + "body": "id,chargingStationID,connectorID,companyName,siteName,siteAreaName,userID,user,tagID,visualTagID,tagDescription,timezone,startDate,startTime,endDate,endTime,totalConsumptionkWh,totalDurationMins,totalInactivityMins,price,priceUnit\n1155141205,\"###\",1,,,,\"\",\"\",\"###\",\"###\",\"###\",\"Europe/Paris\",\"2021-07-07\",\"16:21:59\",\"2021-07-07\",\"16:22:27\",0,0.46,0.46,0,\"EUR\"" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/action/export?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "action", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/action/export?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "action", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions/action/export?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "action", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/transactions", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions" + ], + "query": [ + { + "key": "Issuer", + "value": "true", + "description": "Current organization" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "WithChargingStation", + "value": "true", + "description": "With charging station attribute" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + }, + { + "key": "ConnectorID", + "value": "sint consequat", + "description": "Pipe separated Connector IDs" + }, + { + "key": "WithCar", + "value": "true", + "description": "With car attribute" + }, + { + "key": "WithUser", + "value": "true", + "description": "With user attribute" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "WithTag", + "value": "true", + "description": "With tag attribute" + }, + { + "key": "TagID", + "value": "sint consequat", + "description": "Pipe separated Tag IDs" + }, + { + "key": "VisualTagID", + "value": "sint consequat", + "description": "Pipe separated Visual Tag IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + }, + { + "key": "WithSite", + "value": "true", + "description": "With site attribute" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "WithSiteArea", + "value": "true", + "description": "With site area attribute" + }, + { + "key": "WithCompany", + "value": "true", + "description": "With company attribute" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W", + "description": "Pipe separated Inactivity Statuses (I, W, E)" + }, + { + "key": "Statistics", + "value": "history", + "description": "Refund or History statistics" + }, + { + "key": "RefundStatus", + "value": "", + "description": "Pipe separated refund statuses (submitted, notSubmitted, cancelled, approved)" + }, + { + "key": "MinimalPrice", + "value": "sint consequat", + "description": "Transactions minimal price" + }, + { + "key": "ReportIDs", + "value": "sint consequat", + "description": "Pipe separated report IDs" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Retrieve a list of Transactions" + }, + "response": [ + { + "name": "Return Transaction's list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "WithTag", + "value": "true" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"stats\": {\n \"_id\": null,\n \"firstTimestamp\": \"2017-06-07T07:09:20.000Z\",\n \"lastTimestamp\": \"2020-02-21T11:53:36.000Z\",\n \"totalConsumptionWattHours\": 10701590.285,\n \"totalDurationSecs\": 8956090.273,\n \"totalPrice\": 1498.222641,\n \"totalInactivitySecs\": 4324778.908,\n \"currency\": \"EUR\",\n \"count\": 500\n },\n \"result\": [\n {\n \"issuer\": true,\n \"siteID\": \"###\",\n \"siteAreaID\": \"###\",\n \"connectorId\": 1,\n \"tagID\": \"###\",\n \"userID\": \"###\",\n \"chargeBoxID\": \"###\",\n \"meterStart\": 7157518,\n \"timestamp\": \"2021-03-05T16:37:56.000Z\",\n \"price\": 0,\n \"roundedPrice\": 0,\n \"priceUnit\": \"EUR\",\n \"stateOfCharge\": 0,\n \"timezone\": \"###\",\n \"currentStateOfCharge\": 0,\n \"currentTotalInactivitySecs\": 11640,\n \"currentInactivityStatus\": \"E\",\n \"currentCumulatedPrice\": 1.968,\n \"currentInstantWatts\": 0,\n \"currentTotalConsumptionWh\": 12793,\n \"currentTotalDurationSecs\": 21480,\n \"ocpi\": false,\n \"ocpiWithCdr\": false,\n \"id\": 123456789,\n \"stop\": {\n \"userID\": \"####\",\n \"timestamp\": \"2021-02-15T16:05:38.000Z\",\n \"tagID\": \"####\",\n \"meterStop\": 1122046,\n \"stateOfCharge\": 0,\n \"totalConsumptionWh\": 16,\n \"totalInactivitySecs\": 0,\n \"extraInactivitySecs\": 1,\n \"inactivityStatus\": \"I\",\n \"totalDurationSecs\": 94,\n \"price\": 0.002,\n \"priceUnit\": \"EUR\",\n \"roundedPrice\": 0,\n \"user\": {\n \"email\": \"####\",\n \"firstName\": \"####\",\n \"name\": \"####\",\n \"id\": \"####\"\n }\n },\n \"billingData\": {\n \"invoiceID\": \"###\"\n },\n \"user\": {\n \"email\": \"####\",\n \"firstName\": \"####\",\n \"name\": \"####\",\n \"id\": \"####\"\n },\n \"car\": {\n \"licensePlate\": \"####\"\n },\n \"carCatalog\": {\n \"vehicleMake\": \"###\",\n \"vehicleModel\": \"###\",\n \"vehicleModelVersion\": \"###\"\n }\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "WithTag", + "value": "true" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "WithTag", + "value": "true" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/transactions?Issuer=true&Search=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&WithChargingStation=true&ChargingStationID=sint consequat&ConnectorID=sint consequat&WithCar=true&WithUser=true&UserID=sint consequat&WithTag=true&TagID=sint consequat&VisualTagID=sint consequat&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&WithCompany=true&InactivityStatus=I|E|I|E|I|W&Statistics=history&RefundStatus=notSubmitted|submitted&MinimalPrice=sint consequat&ReportIDs=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "true" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "WithCar", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "WithTag", + "value": "true" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/transactions", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"transactionsIDs\": [\n 78076368.0506798,\n 39668674.70385894\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/transactions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions" + ] + }, + "description": "Delete several Transactions" + }, + "response": [ + { + "name": "Transaction deletion result", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"transactionsIDs\": [\n 95646141.07975483,\n -26776653.000039414\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/transactions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\",\n \"inSuccess\": 42,\n \"inError\": 0\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"transactionsIDs\": [\n 95646141.07975483,\n -26776653.000039414\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/transactions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"transactionsIDs\": [\n 95646141.07975483,\n -26776653.000039414\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/transactions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"transactionsIDs\": [\n 95646141.07975483,\n -26776653.000039414\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/transactions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/transactions/start", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"args\": {\n \"tagID\": \"123456\",\n \"visualTagID\": \"123456-123456\",\n \"connectorId\": 1\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/transactions/start", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "start" + ] + }, + "description": "Start a Transaction by using the right method (OCPP, OCPI...)" + }, + "response": [ + { + "name": "Transaction started successfully", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"args\": {\n \"tagID\": \"123456\",\n \"visualTagID\": \"123456-123456\",\n \"connectorId\": 1\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/transactions/start", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "start" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Accepted\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"args\": {\n \"tagID\": \"123456\",\n \"visualTagID\": \"123456-123456\",\n \"connectorId\": 1\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/transactions/start", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "start" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"args\": {\n \"tagID\": \"123456\",\n \"visualTagID\": \"123456-123456\",\n \"connectorId\": 1\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/transactions/start", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "start" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"args\": {\n \"tagID\": \"123456\",\n \"visualTagID\": \"123456-123456\",\n \"connectorId\": 1\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/transactions/start", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "transactions", + "start" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "charging-stations", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "configuration", + "item": [ + { + "name": "/api/charging-stations/:id/configuration", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"key\": \"\",\n \"value\": \"\",\n \"custom\": true\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/configuration", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "configuration" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + }, + "description": "Update the Charging Station's configuration" + }, + "response": [ + { + "name": "Return command success status", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"key\": \"\",\n \"value\": \"\",\n \"custom\": true\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/configuration", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "configuration" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Accepted\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"key\": \"\",\n \"value\": \"\",\n \"custom\": true\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/configuration", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "configuration" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"key\": \"\",\n \"value\": \"\",\n \"custom\": true\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/configuration", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "configuration" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"key\": \"\",\n \"value\": \"\",\n \"custom\": true\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/configuration", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "configuration" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/:id/configuration/retrieve", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {}\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/configuration/retrieve", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "configuration", + "retrieve" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + }, + "description": "Get the Charging Station's configuration" + }, + "response": [ + { + "name": "Return the configuration", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {}\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/configuration/retrieve", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "configuration", + "retrieve" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"configurationKey\": [\n {\n \"key\": {\n \"value\": \"\"\n },\n \"readonly\": {\n \"value\": \"\"\n },\n \"value\": {\n \"value\": \"\"\n },\n \"custom\": {\n \"value\": \"\"\n }\n },\n {\n \"key\": {\n \"value\": \"\"\n },\n \"readonly\": {\n \"value\": \"\"\n },\n \"value\": {\n \"value\": \"\"\n },\n \"custom\": {\n \"value\": \"\"\n }\n }\n ],\n \"unknownKey\": [\n \"dolor incididunt est\",\n \"mollit\"\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {}\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/configuration/retrieve", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "configuration", + "retrieve" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {}\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/configuration/retrieve", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "configuration", + "retrieve" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {}\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/configuration/retrieve", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "configuration", + "retrieve" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "remote", + "item": [ + { + "name": "/api/charging-stations/:id/remote/start", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"tagID\": \"123456\",\n \"visualTagID\": \"123456-123456\",\n \"connectorId\": 1\n },\n \"userID\": \"\",\n \"carID\": \"\",\n \"carStateOfCharge\": 92047163,\n \"carOdometer\": 67997443,\n \"departureTime\": \"1986-06-12T02:59:53.233Z\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/remote/start", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "remote", + "start" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + }, + "description": "Start a remote transaction" + }, + "response": [ + { + "name": "Remote transaction started", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"tagID\": \"123456\",\n \"visualTagID\": \"123456-123456\",\n \"connectorId\": 1\n },\n \"userID\": \"\",\n \"carID\": \"\",\n \"carStateOfCharge\": 92047163,\n \"carOdometer\": 67997443,\n \"departureTime\": \"1986-06-12T02:59:53.233Z\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/remote/start", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "remote", + "start" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Accepted\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"tagID\": \"123456\",\n \"visualTagID\": \"123456-123456\",\n \"connectorId\": 1\n },\n \"userID\": \"\",\n \"carID\": \"\",\n \"carStateOfCharge\": 92047163,\n \"carOdometer\": 67997443,\n \"departureTime\": \"1986-06-12T02:59:53.233Z\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/remote/start", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "remote", + "start" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"tagID\": \"123456\",\n \"visualTagID\": \"123456-123456\",\n \"connectorId\": 1\n },\n \"userID\": \"\",\n \"carID\": \"\",\n \"carStateOfCharge\": 92047163,\n \"carOdometer\": 67997443,\n \"departureTime\": \"1986-06-12T02:59:53.233Z\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/remote/start", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "remote", + "start" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"tagID\": \"123456\",\n \"visualTagID\": \"123456-123456\",\n \"connectorId\": 1\n },\n \"userID\": \"\",\n \"carID\": \"\",\n \"carStateOfCharge\": 92047163,\n \"carOdometer\": 67997443,\n \"departureTime\": \"1986-06-12T02:59:53.233Z\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/remote/start", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "remote", + "start" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "User doesn't have any badge", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"tagID\": \"123456\",\n \"visualTagID\": \"123456-123456\",\n \"connectorId\": 1\n },\n \"userID\": \"\",\n \"carID\": \"\",\n \"carStateOfCharge\": 92047163,\n \"carOdometer\": 67997443,\n \"departureTime\": \"1986-06-12T02:59:53.233Z\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/remote/start", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "remote", + "start" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "code": 570, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/:id/remote/stop", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"transactionId\": 12345\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/remote/stop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "remote", + "stop" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + }, + "description": "Stop a remote transaction" + }, + "response": [ + { + "name": "Remote transaction stopped", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"transactionId\": 12345\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/remote/stop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "remote", + "stop" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Accepted\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"transactionId\": 12345\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/remote/stop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "remote", + "stop" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"transactionId\": 12345\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/remote/stop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "remote", + "stop" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"transactionId\": 12345\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/remote/stop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "remote", + "stop" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "User doesn't have any badge", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"transactionId\": 12345\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/remote/stop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "remote", + "stop" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "code": 570, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "connectors/{connector Id}", + "item": [ + { + "name": "/api/charging-stations/:id/connectors/:connectorId/unlock", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/connectors/:connectorId/unlock", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "connectors", + ":connectorId", + "unlock" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + }, + { + "key": "connectorId", + "value": "1", + "description": "(Required) Connector ID" + } + ] + }, + "description": "Unlock a connector" + }, + "response": [ + { + "name": "Connector unlocked", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/connectors/:connectorId/unlock", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "connectors", + ":connectorId", + "unlock" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + }, + { + "key": "connectorId", + "value": "1", + "description": "(Required) Connector ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Unlocked\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/connectors/:connectorId/unlock", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "connectors", + ":connectorId", + "unlock" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + }, + { + "key": "connectorId", + "value": "1", + "description": "(Required) Connector ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/connectors/:connectorId/unlock", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "connectors", + ":connectorId", + "unlock" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + }, + { + "key": "connectorId", + "value": "1", + "description": "(Required) Connector ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/connectors/:connectorId/unlock", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "connectors", + ":connectorId", + "unlock" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + }, + { + "key": "connectorId", + "value": "1", + "description": "(Required) Connector ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/:id/connectors/:connectorId/qrcode/generate", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/connectors/:connectorId/qrcode/generate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "connectors", + ":connectorId", + "qrcode", + "generate" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + }, + { + "key": "connectorId", + "value": "1", + "description": "(Required) Connector ID" + } + ] + }, + "description": "Generate connector's QRCode" + }, + "response": [ + { + "name": "Return genereated QRCode", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/connectors/:connectorId/qrcode/generate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "connectors", + ":connectorId", + "qrcode", + "generate" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + }, + { + "key": "connectorId", + "value": "1", + "description": "(Required) Connector ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"image\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAABgAAAAYADwa0LPAAAQuElEQVR42u3dwXLdNhKFYXjWkhd2+S39ACk/gCtr+y218ELK/s7CxclU4nsBs9E4fYj/q+IqQxIAqZ6IOmm8u91utwYABv6jHgAAjKJgAbBBwQJgg4IFwAYFC4ANChYAGxQsADYoWABsULAA2KBgAbBBwQJgg4IFwAYFC4ANChYAGxQsADYoWABsULAA2KBgAbBBwQJgg4IFwAYFC4ANChYAGxQsADYoWABsULAA2KBgAbBBwQJgg4IFwAYFC4ANChYAGxQsADYoWABsULAA2ChTsD5+/NjevXt32SPb9+/f2/Pz87/u+/z83L5//875yXh/13h3u91u6kG09vOB//jxQz2MNNnL/Pz83P76669f/rOnp6f29vbG+Yl4f9egYC2Svcy9/xfs3X/386N4f9co8yshAPRQsADYoGABsEHBQmvt54fpM/+stTblg3bk/jPOhwcKFlprrX39+vWXP9hPT0/tzz//vHve29tb++OPP2T3n3U+TNyK+PDhw621dvd4eXlRDzE0/p5v377dnp6e/nXe09PT7du3b93zH917xmO+N77RI+v+o+uTff3d399VbGINLy8v7dOnT+phnh5/b5mjOaLsP+s/Gt+IzPvPyFlFr7/7+7sKvxIW8agYRArFivGp7z9jbNXXHz9RsADYoGABsEHBAmCDglVE5RxS9IP2jBxU5flhHQpWEVVzSNGc1awcVNX5YTF1ruIQzbG0k/mg0SM6/uqiOavPnz/fXl9fp98/O2e16vnz/s5xmRxWdpOx3jK55FjuieasXl9f2/Pzc8r9s3NWI6LPn/d3Dn4lRGstnjWKFKve/bNzVvBBwQJgg4IFwAYFC4ANChamyMxqZee44IOChSm+fPkSKlrZ/azuXR9m1LmKw+45lmhO6N4xq59W1qHuZ/X6+nr7/PkzOSxyWL9n9xxLNCf0yIx+WpnU/aze3t7a+/fvH14/+vyv/v6uwq+ERWTmhKpnkNT9rKIZMqxDwQJgg4IFwAYFC4ANClYRmX9yj/bTcp77jDFUGB9+omAVkZUTivbTylZl30D2NTShzlUcyLH82mhOKNqPSq36vow9vL9rkMMa1FumzBzLSE4o2o9Krfq+jD28v2vwK6GBkULkXKxaY19AjKFgAbBBwQJgg4IFwAYFy8AO++ZV3pcRdVCwittl37yq+zKiGHWu4hDNsaip+2FlX//soe53VeX5X/39XeUyOSw1dT+s7OtHqPtdrbD7+7sKvxIWkV1MlFkmdb8rXAcFC4ANChYAGxQsADYoWBdQvd9V9hzd54ZxFCxz1ftdzULOCq21OgGLXg7E/ejpnd/rd5W9L9+9+8/a1y+as1Kfv/v7u4pNDstdb5l7/ZB6/a6y9+V7dP8Z+/pFc1bq83d/f1ehYC0SLVicX/v83d/fVfiGBcAGBQuADQoWABsUrCIiOaOR//C3979R96NSnq/+D6cxjoJVxNmc0Wi/rC9fvjz8wVT3o1Kdv0u/sctQ5yowJqufVZV+UtXXDzWUiTXgscx+VhX6SWXL7jeGNShYJtQbbbqLrt/V18cF37AA2KBgAbBBwQJgg4JlYMUH8at/dI+01nFuy3M1FKziVuWEejktd2f7gdFvqxh1ruKg2jevd0T7Ka06ov2q3OcfHf/Z+bn066q+r+OoMrEG5b55PdF+SitE+1W5zz86/h51vy31+VWUKVjZOaOo3jKpx589vurzj46/R91vS31+FXzDAmCDggXABgULgA0K1oDq+/5VGF/lrFJ0bNF+YyvO3wUFq6P6vn9Vxld138Nojirab2zV+dtQ5yoOTZxD6u37l2XW+LL3JVTPL6pqTmzW0ZP1fFe7TKwhmkPq7fuXacb4svcljLwmFda/ck5sht7zuUqs4TIFy/2BqXM22eujXv/qObEo9fNdhW9YAGxQsADYoGABsHGJgrVi37vdRbJAFXJEV3/G2ftOVmFfsFbte7e7s/2yquSIqubEZsned7IMda7i0IrmdFb1G+rNX31+9nF2fXtHtN+TOke2qp+ZC5tYgzKns6LfkDqWoP6zf298kRxVtN+TOke2op+ZC5uClT3M6gVDfX627PFF35/q72f2/Kuw/4YFYB8ULAA2KFgAbJQpWOqcSPT+7uNX6o1vxgfj7BxZ5kft6LWrP//fUaZgqXMi0fu7j1+lN75ZOa7sHFnWvo7R+Vd//r9NnasYldXPqEpOpTdO9f3pV1X7iD4fl30Ly8QaejL7GVXIqVT/szn9qmqLPh+XfQttClZ2Tki9DNULlvr+eCz6fNTPf1SZb1gA0EPBAmCDggXABgWr1cipqHNUle+Px2asnfr5j9q+YFXJqahzVFXvj8dmPR/18x+mzlWMask5FXU/rLPX7x2rcjRZ48vuRxW9vvr83WwTa8jc12/G+T3KflDq8WX3o4peX33+TrYpWL1pqvtRqecfVf35RMfv/v5cxfbfsAD4oGABsEHBAmDDomBl9wOa0e8oO8cSuUb1uECFfmOR6zu8P1dRvmBl9wOa1e8oO8dyNqdULkdzcnyq9b3K+3MZ6lzFIdoP6WzOKnpUyWmpZT2f6PpmPz+X9+cq71+ZWEO0H1IkZxVVIaelFu2nlZmD68m+fvb9d3r/yhQsdY4nKnr/Io/hNHUOifdnj/ev/DcsADhQsADYoGABsHGZghXJuajv756zmfHBNnNfyBnnZj6jGdfu/cfjkfMruUzBOptzUd/fPWcza9/ArH0he7KvP+v+PffeP/W+itOpcxWHlrRf26x+S1n3P7jmiEaPqKvkiM5SPbdq63uZWMMjM/otZd6/Ne8c0Yjoa3aVHNFZym3QKq3vFgWrNf+cjfr62fPvuUqOKGv+2aqs72W+YQG4PgoWABsULAA2yhQsdRZJmbOZ8UEzmsPJpO5XdQU7zHFEmYKl3pdOlbOZlWOK5nCyqPtVXYX656MMda4iajRHpabOQfUO9b55qn5Y1Y9oDmpWzrCKMrGGiJEclXqa6hxUj3rfPGU/rOqiOagZOUP1z8/hEgWrtfo5HXWOpqe3Pu77ArrLXt/s+89S5hsWAPRQsADYoGABsHGJgqXOGY2o/Cdp9b6A2f203LGv5d/sC5Y6ZzSqao5GvS9gdj8td+xr+Q/qXMWoaM4m+/rtZI5mVk4mmoNSP5/o86tqVY5tFzaxhmjOpjdN5b5zM3Iy0RxUVHYOyuQ1/aUVObZd2BQs935R2fdXP0b1+lVXPSfowv4bFoB9ULAA2KBgAbBhU7CccyQV9tVzdoX57d7PaxabguWaI6myr56rq8xv935e06hzFQf1vnMtOQeVPb/sfQ3V6+e+PurxVZ//qDKxBvW+c9E/y/dyNNnzy97XsCd7/aLU66MeX/X5jypTsNQ5FXXOKzo/dY5LfX/Gd+2c38HmGxYAULAA2KBgAbBBwZqk91EyO4ej7ElV5YNslhU5qeznd5WsFwVrknv7Ah6yczjRflC98d/j0o/srFU5qeznd5l+YepcxaEl9bMazZH07n/2yM5Zreq3lX2on68qB5b9/GZdv4rLxBqiOafM9ijZOasV/bayqZ+vMgeW/fxmXL9ImbhODqv6vnbRZa4+vyj1883+MVA/v+rrM4pvWABsULAA2KBgAbBBwVogO2fl/udq9b6I2Ub+4JKZo+qd65Sjo2Aly85ZufdTUu+LmG00p5aVo+qtj12OTp2rOLRgDiT7/Ko5nVnrq94XTz3/rPFHD3W/tFnrMwuxhsHzK+d0RqjnV33+0R8D5b6WK8ZXpEyQw5p1vnr+6uvvPn/3HF/2/WfhGxYAGxQsADYoWABsbFOw1P2qepT9sirkmJznvyLHpOxXVuH9OGxTsNT9qnpU/bKq5Jhc578qx6TqV1bl/fgfda7i0JJzVC2Yc1Hv66bet/Hq48/KUbkc6hzeqG1iDY847Oum3rcxqvr4M3NUDtQ5vFEUrCLX76meo3Iff/V+YdnU6z9qm29YAPxRsADYoGABsFGmYEVzMpn9glZc/xH1B+mo6uOvPj78rUzBiuZksvoFrbr+PXb9iszGX318+Ad1rgI/Zfcrys6RVe+3FB1fVk5pdF/As/d323ewp0ysYXfZ/Yqyc2TV+y1Fx5eZUxrZFzByf6d9B3soWEW458jUObUe9/FF7189BzeqzDcsAOihYAGwQcECYIOCtYnMLJhDv6VKPZ3OyFxjp7WhYG3ibI7scK8fk0u/pej81c72w+rNv1y/qx51ruLw4cMHeU+gzKMn+/r3jOZ0okc0x5SVI5uVU4r2+8pa9yr9xmYpE2v4+PFj+/Hjh3oYaXrLrPyz+0hOJyqaY8rMkc3IKUX7fWW2t6nQb2wWCtYilQvWjPtXH190/dXnRxX5MQ/jGxYAGxQsADYoWABsULCKUP/JPfP+2fsKRs+d8UG6es7pKh/dKVhFqHNCWffP3lcwev9Z/bCq55yiOa4y1LmKQy+H9fLyoh5iaPxnqXNC2f2aouOLXn/0yHZ2fbNzdNVyXDaxhpeXl/bp0yf1ME+PP7LM6pxQdr+m6Pii1x+R/WPSizU8Wt/sHF2lHBcFa9H4o8tcPSeknl/0+j3qghV9PlFFygTfsAD4oGABsEHBAmCDgmUic9/GGTml6v2aKu8NWeWDtgMKlomsfRtn5ZSq92vK6gcWxb6Iv0mdqzhEc1gtKYdyHNHx90RzSFnnZx/ZOatZOTP10aO+/yqXiTWo/6wbjTVEc0iZ52fLzlnNyJmp9d4f9fu/Cr8SFvGoWIwUkszzlXOfcY3e9bM2SMV8FCwANihYAGxQsADYoGBtovdRW9naJjtnVaEfVdbcVsyx0vpRsDbRyxGp+nFl56yq9KM6K5qzW3X/ZdS5isPuOazo/c/Oq0q/o+x+WNH1O9vva1U/sV2QwxrUW6ZoDkvZXqRCv6Psflg9kX5UPSv6ie2CXwkhzWCNjKHC+KLNCTOvvxMKFgAbFCwANihYAGxQsNBa0/dkUueoMu+vXtsroWChtabft06do8q6P/2uJlPnKg7ksGr3Qzp7VNlXMDq+7H5hqvWpksMbRQ5rUG+ZnHNY2SrsKxgdX3a/sOiPYWR8FXJ4o/iVEOmy+12tuHaFLFjW+KrP7f9RsADYoGABsEHBAmCDgnURlXoWZYwte37KfmHqnFfld+efKFgXoepn1VNlX8EeVb8wdc6rXL+rHnWu4hDNYampc1j3zNp3z7VfU3T+VXJK0RxY7/mp+5GNukwOS02dw3pkxr57zv2aovOvkFOK5sB6z0/dj2wUvxJuYEahcS1WM8ZeIacUHUNvDar3IztQsADYoGABsEHBAmCDgrWJipEHl/mr127FB291P7JRFKxNVM1pVZ+/Oqe0qp+Wuh/ZMHWu4tDLMbkfPdHzzxrNKfWo+zGpc0TR+1fvt1WFTQ7LXW+ZM3NYPSM5pd791f2Y1Dmi6P2r99uqgoK1SOWCNeP+0QaC0fntvn49RX7Mw/iGBcAGBQuADQoWABsUrCLUOZjo/dU5p53XT3nt1ShYRahzMNH7q3NOu65fT7kcVVCZvxICQA//hgXABgULgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXAxn8Bf73JG078WWUAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMDEtMjFUMTM6MTU6NDMrMDA6MDAEwg5nAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTAxLTIxVDEzOjE1OjQzKzAwOjAwdZ+22wAAAABJRU5ErkJggg==\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/connectors/:connectorId/qrcode/generate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "connectors", + ":connectorId", + "qrcode", + "generate" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + }, + { + "key": "connectorId", + "value": "1", + "description": "(Required) Connector ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/connectors/:connectorId/qrcode/generate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "connectors", + ":connectorId", + "qrcode", + "generate" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + }, + { + "key": "connectorId", + "value": "1", + "description": "(Required) Connector ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/connectors/:connectorId/qrcode/generate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "connectors", + ":connectorId", + "qrcode", + "generate" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + }, + { + "key": "connectorId", + "value": "1", + "description": "(Required) Connector ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/charging-stations/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + }, + "description": "Retrieve a Charging Station" + }, + "response": [ + { + "name": "Charging Station", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"####\",\n \"chargeBoxSerialNumber\": \"####\",\n \"chargePointModel\": \"####\",\n \"chargePointSerialNumber\": \"####\",\n \"chargePointVendor\": \"####\",\n \"connectors\": [\n {\n \"connectorId\": 1,\n \"currentInstantWatts\": 0,\n \"currentStateOfCharge\": 0,\n \"currentTotalInactivitySecs\": 0,\n \"currentTotalConsumptionWh\": 0,\n \"currentTransactionDate\": null,\n \"currentTagID\": null,\n \"status\": \"Available\",\n \"errorCode\": \"NoError\",\n \"info\": \"\",\n \"vendorErrorCode\": \"\",\n \"power\": 22080,\n \"type\": \"T2\",\n \"voltage\": 0,\n \"amperage\": 96,\n \"amperageLimit\": 96,\n \"currentTransactionID\": 0,\n \"userID\": null,\n \"statusLastChangedOn\": \"2020-12-15T09:57:16.000Z\",\n \"currentInactivityStatus\": \"I\",\n \"numberOfConnectedPhase\": null,\n \"currentType\": null,\n \"chargePointID\": 1,\n \"phaseAssignmentToGrid\": null\n },\n {\n \"connectorId\": 2,\n \"currentInstantWatts\": 0,\n \"currentStateOfCharge\": 0,\n \"currentTotalInactivitySecs\": 0,\n \"currentTotalConsumptionWh\": 0,\n \"currentTransactionDate\": null,\n \"currentTagID\": null,\n \"status\": \"Available\",\n \"errorCode\": \"NoError\",\n \"info\": \"\",\n \"vendorErrorCode\": \"\",\n \"power\": 22080,\n \"type\": \"T2\",\n \"voltage\": 0,\n \"amperage\": 96,\n \"amperageLimit\": 96,\n \"currentTransactionID\": 0,\n \"userID\": null,\n \"statusLastChangedOn\": \"2020-12-15T12:10:31.000Z\",\n \"currentInactivityStatus\": \"I\",\n \"numberOfConnectedPhase\": null,\n \"currentType\": null,\n \"chargePointID\": 1,\n \"phaseAssignmentToGrid\": null\n }\n ],\n \"endpoint\": \"####\",\n \"firmwareVersion\": \"3\",\n \"lastReboot\": \"2020-12-08T09:06:14.948Z\",\n \"ocppVersion\": \"1.5\",\n \"siteAreaID\": \"####\",\n \"chargingStationURL\": \"wss://####\",\n \"maximumPower\": 44160,\n \"ocppProtocol\": \"soap\",\n \"powerLimitUnit\": \"A\",\n \"createdOn\": \"2019-03-20T07:41:57.583Z\",\n \"currentIPAddress\": \"####\",\n \"coordinates\": [\n 7,\n 43\n ],\n \"capabilities\": {\n \"supportStaticLimitation\": true,\n \"supportChargingProfiles\": true,\n \"supportRemoteStartStopTransaction\": true,\n \"supportUnlockConnector\": true,\n \"supportReservation\": false,\n \"supportCreditCard\": false,\n \"supportRFIDCard\": false\n },\n \"issuer\": true,\n \"chargePoints\": [\n {\n \"chargePointID\": 1,\n \"currentType\": \"AC\",\n \"voltage\": null,\n \"amperage\": 192,\n \"numberOfConnectedPhase\": 3,\n \"cannotChargeInParallel\": false,\n \"sharePowerToAllConnectors\": false,\n \"excludeFromPowerLimitation\": false,\n \"ocppParamForPowerLimitation\": \"maxintensitysocket\",\n \"power\": 44160,\n \"efficiency\": null,\n \"connectorIDs\": [\n 1,\n 2\n ]\n }\n ],\n \"excludeFromSmartCharging\": false,\n \"voltage\": 230,\n \"public\": false,\n \"forceInactive\": false,\n \"lastSeen\": \"2020-12-20T22:34:37.468Z\",\n \"inactive\": true,\n \"siteArea\": {\n \"name\": \"####\",\n \"siteID\": \"####\",\n \"smartCharging\": true,\n \"id\": \"####\",\n \"site\": {\n \"name\": \"####\",\n \"id\": \"####\"\n }\n }\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + }, + "description": "Delete a Charging Station" + }, + "response": [ + { + "name": "Charging Station has been successfully deleted", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Charging Station does not exist", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Charging Station can't be deleted due to existing active transactions", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "code": 570, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/:id/reserve/now", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"connectorId\": 1,\n \"expiryDate\": \"2004-09-03T14:59:08.758Z\",\n \"idTag\": \"nisi\",\n \"reservationId\": 12,\n \"parentIdTag\": \"labore moll\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/reserve/now", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "reserve", + "now" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + }, + "description": "Reserve a Charging Station" + }, + "response": [ + { + "name": "Charging Station has been successfully reserved", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"connectorId\": 1,\n \"expiryDate\": \"2004-09-03T14:59:08.758Z\",\n \"idTag\": \"nisi\",\n \"reservationId\": 12,\n \"parentIdTag\": \"labore moll\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/reserve/now", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "reserve", + "now" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Accepted\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"connectorId\": 1,\n \"expiryDate\": \"2004-09-03T14:59:08.758Z\",\n \"idTag\": \"nisi\",\n \"reservationId\": 12,\n \"parentIdTag\": \"labore moll\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/reserve/now", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "reserve", + "now" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"connectorId\": 1,\n \"expiryDate\": \"2004-09-03T14:59:08.758Z\",\n \"idTag\": \"nisi\",\n \"reservationId\": 12,\n \"parentIdTag\": \"labore moll\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/reserve/now", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "reserve", + "now" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"connectorId\": 1,\n \"expiryDate\": \"2004-09-03T14:59:08.758Z\",\n \"idTag\": \"nisi\",\n \"reservationId\": 12,\n \"parentIdTag\": \"labore moll\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/reserve/now", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "reserve", + "now" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/:id/reset", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"type\": \"Soft\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/reset", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "reset" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + }, + "description": "Reset a Charging Station" + }, + "response": [ + { + "name": "Charging Station has been successfully reset", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"type\": \"Soft\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/reset", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "reset" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"type\": \"Soft\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/reset", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "reset" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"type\": \"Soft\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/reset", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "reset" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"type\": \"Soft\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/reset", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "reset" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/:id/cache/clear", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/cache/clear", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "cache", + "clear" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + }, + "description": "Clear a Charging Station cache" + }, + "response": [ + { + "name": "Charging Station cache has been successfully cleared", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/cache/clear", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "cache", + "clear" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Accepted\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/cache/clear", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "cache", + "clear" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/cache/clear", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "cache", + "clear" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/cache/clear", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "cache", + "clear" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/:id/reservation/cancel", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"reservationId\": 12\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/reservation/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "reservation", + "cancel" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + }, + "description": "Cancel Reservation" + }, + "response": [ + { + "name": "Reservation has been successfully cancelled", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"reservationId\": 12\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/reservation/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "reservation", + "cancel" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Accepted\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"reservationId\": 12\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/reservation/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "reservation", + "cancel" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"reservationId\": 12\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/reservation/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "reservation", + "cancel" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"reservationId\": 12\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/reservation/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "reservation", + "cancel" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/:id/data/transfer", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"vendorId\": \"\",\n \"messageId\": \"\",\n \"data\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/data/transfer", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "data", + "transfer" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + }, + "description": "Trigger Data Transfer" + }, + "response": [ + { + "name": "Data Transfer has been successfully executed", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"vendorId\": \"\",\n \"messageId\": \"\",\n \"data\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/data/transfer", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "data", + "transfer" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Accepted\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"vendorId\": \"\",\n \"messageId\": \"\",\n \"data\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/data/transfer", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "data", + "transfer" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"vendorId\": \"\",\n \"messageId\": \"\",\n \"data\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/data/transfer", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "data", + "transfer" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"vendorId\": \"\",\n \"messageId\": \"\",\n \"data\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/data/transfer", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "data", + "transfer" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/:id/composite-schedule/get", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"connectorId\": 0,\n \"duration\": 36000,\n \"chargingRateUnit\": \"A\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/composite-schedule/get", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "composite-schedule", + "get" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + }, + "description": "Get Charging Station composite schedule" + }, + "response": [ + { + "name": "Return composite schedule", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"connectorId\": 0,\n \"duration\": 36000,\n \"chargingRateUnit\": \"A\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/composite-schedule/get", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "composite-schedule", + "get" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"ad nostrud non\",\n \"connectorId\": -74035502.8657457,\n \"scheduleStart\": \"1985-02-19T22:52:25.334Z\",\n \"chargingSchedule\": {\n \"chargingRateUnit\": \"in enim exercitation\",\n \"chargingSchedulePeriod\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"duration\": -81450376.54252997,\n \"startSchedule\": \"1954-12-12T02:18:11.503Z\",\n \"minChargeRate\": -58325635.08787842\n }\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"connectorId\": 0,\n \"duration\": 36000,\n \"chargingRateUnit\": \"A\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/composite-schedule/get", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "composite-schedule", + "get" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"connectorId\": 0,\n \"duration\": 36000,\n \"chargingRateUnit\": \"A\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/composite-schedule/get", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "composite-schedule", + "get" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"connectorId\": 0,\n \"duration\": 36000,\n \"chargingRateUnit\": \"A\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/composite-schedule/get", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "composite-schedule", + "get" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Feature not supported", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"connectorId\": 0,\n \"duration\": 36000,\n \"chargingRateUnit\": \"A\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/composite-schedule/get", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "composite-schedule", + "get" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "code": 585, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/:id/diagnostics/get", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"location\": \"\",\n \"retries\": 1,\n \"retryInterval\": 5,\n \"startTime\": \"1992-05-04T09:01:56.003Z\",\n \"stopTime\": \"1961-10-02T10:03:39.015Z\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/diagnostics/get", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "diagnostics", + "get" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + }, + "description": "Get Charging Station diagnostics" + }, + "response": [ + { + "name": "Return charging station diagnostic filename", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"location\": \"\",\n \"retries\": 1,\n \"retryInterval\": 5,\n \"startTime\": \"1992-05-04T09:01:56.003Z\",\n \"stopTime\": \"1961-10-02T10:03:39.015Z\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/diagnostics/get", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "diagnostics", + "get" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"fileName\": \"voluptate dolore aliqua\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"location\": \"\",\n \"retries\": 1,\n \"retryInterval\": 5,\n \"startTime\": \"1992-05-04T09:01:56.003Z\",\n \"stopTime\": \"1961-10-02T10:03:39.015Z\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/diagnostics/get", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "diagnostics", + "get" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"location\": \"\",\n \"retries\": 1,\n \"retryInterval\": 5,\n \"startTime\": \"1992-05-04T09:01:56.003Z\",\n \"stopTime\": \"1961-10-02T10:03:39.015Z\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/diagnostics/get", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "diagnostics", + "get" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"location\": \"\",\n \"retries\": 1,\n \"retryInterval\": 5,\n \"startTime\": \"1992-05-04T09:01:56.003Z\",\n \"stopTime\": \"1961-10-02T10:03:39.015Z\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/diagnostics/get", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "diagnostics", + "get" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/:id/firmware/update", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"location\": \"\",\n \"retrieveDate\": \"1983-01-05T08:40:18.371Z\",\n \"retries\": 1,\n \"retryInterval\": 5\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/firmware/update", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "firmware", + "update" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + }, + "description": "Update Charging Station firmware" + }, + "response": [ + { + "name": "Firmware updated", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"location\": \"\",\n \"retrieveDate\": \"1983-01-05T08:40:18.371Z\",\n \"retries\": 1,\n \"retryInterval\": 5\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/firmware/update", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "firmware", + "update" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"location\": \"\",\n \"retrieveDate\": \"1983-01-05T08:40:18.371Z\",\n \"retries\": 1,\n \"retryInterval\": 5\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/firmware/update", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "firmware", + "update" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"location\": \"\",\n \"retrieveDate\": \"1983-01-05T08:40:18.371Z\",\n \"retries\": 1,\n \"retryInterval\": 5\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/firmware/update", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "firmware", + "update" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"location\": \"\",\n \"retrieveDate\": \"1983-01-05T08:40:18.371Z\",\n \"retries\": 1,\n \"retryInterval\": 5\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/firmware/update", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "firmware", + "update" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/:id/availability/change", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"connectorId\": 1,\n \"type\": \"Operative\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/availability/change", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "availability", + "change" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + }, + "description": "Update Charging Station availability" + }, + "response": [ + { + "name": "Return command success status", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"connectorId\": 1,\n \"type\": \"Operative\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/availability/change", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "availability", + "change" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Accepted\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"connectorId\": 1,\n \"type\": \"Operative\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/availability/change", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "availability", + "change" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"connectorId\": 1,\n \"type\": \"Operative\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/availability/change", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "availability", + "change" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"args\": {\n \"connectorId\": 1,\n \"type\": \"Operative\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/availability/change", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "availability", + "change" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/:id/ocpp/parameters", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/ocpp/parameters", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "ocpp", + "parameters" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + }, + "description": "Get Charging Station OCPP Parameters" + }, + "response": [ + { + "name": "Return Charging Station OCPP Parameters", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/ocpp/parameters", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "ocpp", + "parameters" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 2,\n \"result\": [\n {\n \"key\": \"AllowOfflineTxForUnknownId\",\n \"readonly\": false,\n \"value\": \"true\"\n },\n {\n \"key\": \"allowpluggedcable\",\n \"readonly\": true,\n \"value\": \"true\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/ocpp/parameters", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "ocpp", + "parameters" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/ocpp/parameters", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "ocpp", + "parameters" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/ocpp/parameters", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "ocpp", + "parameters" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/:id/parameters", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationUrl\": \"cupidatat commodo Ut deserunt\",\n \"maximumPower\": 50000,\n \"excludeFromSmartCharging\": false,\n \"forceInactive\": false,\n \"manualConfiguration\": true,\n \"public\": false,\n \"tariffID\": \"aliqua\",\n \"siteAreaID\": \"\",\n \"coordinates\": [\n 43,\n 7\n ],\n \"connectors\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"chargePoints\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/parameters", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "parameters" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + }, + "description": "Update Charging Station parameters" + }, + "response": [ + { + "name": "Updated Charging Station parameters with success", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationUrl\": \"velit esse ut\",\n \"maximumPower\": 50000,\n \"excludeFromSmartCharging\": false,\n \"forceInactive\": false,\n \"manualConfiguration\": false,\n \"public\": false,\n \"tariffID\": \"voluptate velit\",\n \"siteAreaID\": \"\",\n \"coordinates\": [\n 43,\n 7\n ],\n \"connectors\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"chargePoints\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/parameters", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "parameters" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationUrl\": \"velit esse ut\",\n \"maximumPower\": 50000,\n \"excludeFromSmartCharging\": false,\n \"forceInactive\": false,\n \"manualConfiguration\": false,\n \"public\": false,\n \"tariffID\": \"voluptate velit\",\n \"siteAreaID\": \"\",\n \"coordinates\": [\n 43,\n 7\n ],\n \"connectors\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"chargePoints\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/parameters", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "parameters" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationUrl\": \"velit esse ut\",\n \"maximumPower\": 50000,\n \"excludeFromSmartCharging\": false,\n \"forceInactive\": false,\n \"manualConfiguration\": false,\n \"public\": false,\n \"tariffID\": \"voluptate velit\",\n \"siteAreaID\": \"\",\n \"coordinates\": [\n 43,\n 7\n ],\n \"connectors\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"chargePoints\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/parameters", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "parameters" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationUrl\": \"velit esse ut\",\n \"maximumPower\": 50000,\n \"excludeFromSmartCharging\": false,\n \"forceInactive\": false,\n \"manualConfiguration\": false,\n \"public\": false,\n \"tariffID\": \"voluptate velit\",\n \"siteAreaID\": \"\",\n \"coordinates\": [\n 43,\n 7\n ],\n \"connectors\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"chargePoints\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/parameters", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "parameters" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Site area is single phased.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationUrl\": \"velit esse ut\",\n \"maximumPower\": 50000,\n \"excludeFromSmartCharging\": false,\n \"forceInactive\": false,\n \"manualConfiguration\": false,\n \"public\": false,\n \"tariffID\": \"voluptate velit\",\n \"siteAreaID\": \"\",\n \"coordinates\": [\n 43,\n 7\n ],\n \"connectors\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"chargePoints\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/parameters", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "parameters" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "code": 539, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/:id/power/limit", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargePointID\": \"in amet\",\n \"ampLimitValue\": 192,\n \"forceUpdateChargingPlan\": false,\n \"connectorId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/power/limit", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "power", + "limit" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + }, + "description": "Limit Charging Station power" + }, + "response": [ + { + "name": "Updated Charging Station power limit with success", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargePointID\": \"in amet\",\n \"ampLimitValue\": 192,\n \"forceUpdateChargingPlan\": false,\n \"connectorId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/power/limit", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "power", + "limit" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargePointID\": \"in amet\",\n \"ampLimitValue\": 192,\n \"forceUpdateChargingPlan\": false,\n \"connectorId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/power/limit", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "power", + "limit" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargePointID\": \"in amet\",\n \"ampLimitValue\": 192,\n \"forceUpdateChargingPlan\": false,\n \"connectorId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/power/limit", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "power", + "limit" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargePointID\": \"in amet\",\n \"ampLimitValue\": 192,\n \"forceUpdateChargingPlan\": false,\n \"connectorId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/power/limit", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "power", + "limit" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Cannot set the limit power to the given value", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargePointID\": \"in amet\",\n \"ampLimitValue\": 192,\n \"forceUpdateChargingPlan\": false,\n \"connectorId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/power/limit", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "power", + "limit" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "code": 556, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Feature not supported", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargePointID\": \"in amet\",\n \"ampLimitValue\": 192,\n \"forceUpdateChargingPlan\": false,\n \"connectorId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/power/limit", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "power", + "limit" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "code": 585, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/:id/transactions", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/transactions?Search=sint consequat&Issuer=true&StartDateTime=2020-12-31T23:00:00.000Z&EndDateTime=1955-08-25T11:55:55.630Z&TagID=sint consequat&VisualTagID=sint consequat&ConnectorID=sint consequat&SiteID=sint consequat&SiteAreaID=sint consequat&InactivityStatus=I|E|I|E|I|W&RefundStatus=notSubmitted|submitted&MinimalPrice=16995143.412301898&Statistics=history&UserID=sint consequat&ReportIDs=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "transactions" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "Issuer", + "value": "true", + "description": "Current organization" + }, + { + "key": "StartDateTime", + "value": "2020-12-31T23:00:00.000Z", + "description": "Start date time" + }, + { + "key": "EndDateTime", + "value": "1955-08-25T11:55:55.630Z", + "description": "End date time" + }, + { + "key": "TagID", + "value": "sint consequat", + "description": "Pipe separated Tag IDs" + }, + { + "key": "VisualTagID", + "value": "sint consequat", + "description": "Pipe separated Visual Tag IDs" + }, + { + "key": "ConnectorID", + "value": "sint consequat", + "description": "Pipe separated Connector IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W", + "description": "Pipe separated Inactivity Statuses (I, W, E)" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted", + "description": "Pipe separated refund statuses (submitted, notSubmitted, cancelled, approved)" + }, + { + "key": "MinimalPrice", + "value": "16995143.412301898", + "description": "Minimal price" + }, + { + "key": "Statistics", + "value": "history", + "description": "Refund or History statistics" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "ReportIDs", + "value": "sint consequat", + "description": "Pipe separated Report IDs" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + }, + "description": "Get Charging Station transactions" + }, + "response": [ + { + "name": "Return Charging Station transactions list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/transactions?Search=sint consequat&Issuer=true&StartDateTime=2020-12-31T23:00:00.000Z&EndDateTime=1955-08-25T11:55:55.630Z&TagID=sint consequat&VisualTagID=sint consequat&ConnectorID=sint consequat&SiteID=sint consequat&SiteAreaID=sint consequat&InactivityStatus=I|E|I|E|I|W&RefundStatus=notSubmitted|submitted&MinimalPrice=16995143.412301898&Statistics=history&UserID=sint consequat&ReportIDs=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "transactions" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "StartDateTime", + "value": "2020-12-31T23:00:00.000Z" + }, + { + "key": "EndDateTime", + "value": "1955-08-25T11:55:55.630Z" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "16995143.412301898" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"stats\": {\n \"_id\": null,\n \"firstTimestamp\": \"2017-06-07T07:09:20.000Z\",\n \"lastTimestamp\": \"2020-02-21T11:53:36.000Z\",\n \"totalConsumptionWattHours\": 10701590.285,\n \"totalDurationSecs\": 8956090.273,\n \"totalPrice\": 1498.222641,\n \"totalInactivitySecs\": 4324778.908,\n \"currency\": \"EUR\",\n \"count\": 500\n },\n \"result\": [\n {\n \"issuer\": true,\n \"siteID\": \"###\",\n \"siteAreaID\": \"###\",\n \"connectorId\": 1,\n \"tagID\": \"###\",\n \"userID\": \"###\",\n \"chargeBoxID\": \"###\",\n \"meterStart\": 7157518,\n \"timestamp\": \"2021-03-05T16:37:56.000Z\",\n \"stateOfCharge\": 0,\n \"timezone\": \"###\",\n \"currentStateOfCharge\": 0,\n \"currentTotalInactivitySecs\": 11640,\n \"currentInactivityStatus\": \"E\",\n \"currentInstantWatts\": 0,\n \"currentTotalConsumptionWh\": 12793,\n \"currentTotalDurationSecs\": 21480,\n \"ocpi\": false,\n \"ocpiWithCdr\": false,\n \"id\": 123456789,\n \"stop\": {\n \"userID\": \"####\",\n \"timestamp\": \"2021-02-15T16:05:38.000Z\",\n \"tagID\": \"####\",\n \"meterStop\": 1122046,\n \"stateOfCharge\": 0,\n \"totalConsumptionWh\": 16,\n \"totalInactivitySecs\": 0,\n \"extraInactivitySecs\": 1,\n \"inactivityStatus\": \"I\",\n \"totalDurationSecs\": 94,\n \"price\": 0.002,\n \"priceUnit\": \"EUR\",\n \"roundedPrice\": 0,\n \"user\": {\n \"email\": \"####\",\n \"firstName\": \"####\",\n \"name\": \"####\",\n \"id\": \"####\"\n }\n },\n \"billingData\": {\n \"invoiceID\": \"###\"\n },\n \"user\": {\n \"email\": \"####\",\n \"firstName\": \"####\",\n \"name\": \"####\",\n \"id\": \"####\"\n },\n \"car\": {\n \"licensePlate\": \"####\"\n },\n \"carCatalog\": {\n \"vehicleMake\": \"###\",\n \"vehicleModel\": \"###\",\n \"vehicleModelVersion\": \"###\"\n }\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/transactions?Search=sint consequat&Issuer=true&StartDateTime=2020-12-31T23:00:00.000Z&EndDateTime=1955-08-25T11:55:55.630Z&TagID=sint consequat&VisualTagID=sint consequat&ConnectorID=sint consequat&SiteID=sint consequat&SiteAreaID=sint consequat&InactivityStatus=I|E|I|E|I|W&RefundStatus=notSubmitted|submitted&MinimalPrice=16995143.412301898&Statistics=history&UserID=sint consequat&ReportIDs=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "transactions" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "StartDateTime", + "value": "2020-12-31T23:00:00.000Z" + }, + { + "key": "EndDateTime", + "value": "1955-08-25T11:55:55.630Z" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "16995143.412301898" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/transactions?Search=sint consequat&Issuer=true&StartDateTime=2020-12-31T23:00:00.000Z&EndDateTime=1955-08-25T11:55:55.630Z&TagID=sint consequat&VisualTagID=sint consequat&ConnectorID=sint consequat&SiteID=sint consequat&SiteAreaID=sint consequat&InactivityStatus=I|E|I|E|I|W&RefundStatus=notSubmitted|submitted&MinimalPrice=16995143.412301898&Statistics=history&UserID=sint consequat&ReportIDs=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "transactions" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "StartDateTime", + "value": "2020-12-31T23:00:00.000Z" + }, + { + "key": "EndDateTime", + "value": "1955-08-25T11:55:55.630Z" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "16995143.412301898" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/:id/transactions?Search=sint consequat&Issuer=true&StartDateTime=2020-12-31T23:00:00.000Z&EndDateTime=1955-08-25T11:55:55.630Z&TagID=sint consequat&VisualTagID=sint consequat&ConnectorID=sint consequat&SiteID=sint consequat&SiteAreaID=sint consequat&InactivityStatus=I|E|I|E|I|W&RefundStatus=notSubmitted|submitted&MinimalPrice=16995143.412301898&Statistics=history&UserID=sint consequat&ReportIDs=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + ":id", + "transactions" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "StartDateTime", + "value": "2020-12-31T23:00:00.000Z" + }, + { + "key": "EndDateTime", + "value": "1955-08-25T11:55:55.630Z" + }, + { + "key": "TagID", + "value": "sint consequat" + }, + { + "key": "VisualTagID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "InactivityStatus", + "value": "I|E|I|E|I|W" + }, + { + "key": "RefundStatus", + "value": "notSubmitted|submitted" + }, + { + "key": "MinimalPrice", + "value": "16995143.412301898" + }, + { + "key": "Statistics", + "value": "history" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "ReportIDs", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Charging Station ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "ocpp/parameters", + "item": [ + { + "name": "/api/charging-stations/ocpp/parameters", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"forceUpdateOCPPParamsFromTemplate\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/ocpp/parameters", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "ocpp", + "parameters" + ] + }, + "description": "Request Charging Station OCPP Parameters" + }, + "response": [ + { + "name": "Return command success status", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"forceUpdateOCPPParamsFromTemplate\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/ocpp/parameters", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "ocpp", + "parameters" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Accepted\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"forceUpdateOCPPParamsFromTemplate\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/ocpp/parameters", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "ocpp", + "parameters" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"forceUpdateOCPPParamsFromTemplate\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/ocpp/parameters", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "ocpp", + "parameters" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"forceUpdateOCPPParamsFromTemplate\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-stations/ocpp/parameters", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "ocpp", + "parameters" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/ocpp/parameters/export", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "text/csv" + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/ocpp/parameters/export?ChargingStationID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "ocpp", + "parameters", + "export" + ], + "query": [ + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + } + ] + }, + "description": "Export Charging Station OCPP Parameters as CSV file" + }, + "response": [ + { + "name": "Return Charging Station OCPP Parameters CSV file", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/ocpp/parameters/export?ChargingStationID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "ocpp", + "parameters", + "export" + ], + "query": [ + { + "key": "ChargingStationID", + "value": "sint consequat" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/csv" + } + ], + "cookie": [], + "body": "Charging Station\tName\tValue\tSite Area\tSite\nCS-03\tAllowOfflineTxForUnknownId\ttrue\tMougins - South\tLabs Mougins\nCS-03\tallowpluggedcable\true\tMougins - South\tLabs Mougins" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/ocpp/parameters/export?ChargingStationID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "ocpp", + "parameters", + "export" + ], + "query": [ + { + "key": "ChargingStationID", + "value": "sint consequat" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/ocpp/parameters/export?ChargingStationID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "ocpp", + "parameters", + "export" + ], + "query": [ + { + "key": "ChargingStationID", + "value": "sint consequat" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/ocpp/parameters/export?ChargingStationID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "ocpp", + "parameters", + "export" + ], + "query": [ + { + "key": "ChargingStationID", + "value": "sint consequat" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "smartcharging", + "item": [ + { + "name": "/api/charging-stations/smartcharging/connection/check", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/smartcharging/connection/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "smartcharging", + "connection", + "check" + ] + }, + "description": "Check smart charging connection" + }, + "response": [ + { + "name": "Smart Charging is enabled", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/smartcharging/connection/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "smartcharging", + "connection", + "check" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/smartcharging/connection/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "smartcharging", + "connection", + "check" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/smartcharging/connection/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "smartcharging", + "connection", + "check" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/smartcharging/connection/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "smartcharging", + "connection", + "check" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/smartcharging/trigger", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/smartcharging/trigger?SiteAreaID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "smartcharging", + "trigger" + ], + "query": [ + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Site Area ID" + } + ] + }, + "description": "Trigger smart charging" + }, + "response": [ + { + "name": "Smart Charging triggered successfully on site area", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/smartcharging/trigger?SiteAreaID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "smartcharging", + "trigger" + ], + "query": [ + { + "key": "SiteAreaID", + "value": "sint consequat" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/smartcharging/trigger?SiteAreaID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "smartcharging", + "trigger" + ], + "query": [ + { + "key": "SiteAreaID", + "value": "sint consequat" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/smartcharging/trigger?SiteAreaID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "smartcharging", + "trigger" + ], + "query": [ + { + "key": "SiteAreaID", + "value": "sint consequat" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/smartcharging/trigger?SiteAreaID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "smartcharging", + "trigger" + ], + "query": [ + { + "key": "SiteAreaID", + "value": "sint consequat" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "notifications", + "item": [ + { + "name": "/api/charging-stations/notifications/boot", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/notifications/boot?Limit=100&Skip=0&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "notifications", + "boot" + ], + "query": [ + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + } + ] + }, + "description": "Get Charging Stations boot notifications" + }, + "response": [ + { + "name": "Return the boot notification list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/notifications/boot?Limit=100&Skip=0&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "notifications", + "boot" + ], + "query": [ + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"_id\": \"###\",\n \"chargeBoxID\": \"###\",\n \"chargePointVendor\": \"###\",\n \"chargePointModel\": \"###\",\n \"chargePointSerialNumber\": \"###\",\n \"chargeBoxSerialNumber\": null,\n \"firmwareVersion\": \"4.3.0.25\",\n \"ocppVersion\": \"1.6\",\n \"ocppProtocol\": \"json\",\n \"endpoint\": \"###\",\n \"timestamp\": \"2020-11-03T09:56:02.908Z\",\n \"createdBy\": null,\n \"lastChangedBy\": null\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/notifications/boot?Limit=100&Skip=0&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "notifications", + "boot" + ], + "query": [ + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/notifications/boot?Limit=100&Skip=0&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "notifications", + "boot" + ], + "query": [ + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/notifications/boot?Limit=100&Skip=0&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "notifications", + "boot" + ], + "query": [ + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/notifications/status", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/notifications/status?Limit=100&Skip=0&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "notifications", + "status" + ], + "query": [ + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + } + ] + }, + "description": "Get Charging Stations status notifications" + }, + "response": [ + { + "name": "Return the status notification list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/notifications/status?Limit=100&Skip=0&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "notifications", + "status" + ], + "query": [ + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"_id\": \"####\",\n \"chargeBoxID\": \"####\",\n \"connectorId\": 2,\n \"timestamp\": \"2019-03-25T10:45:42.000Z\",\n \"status\": \"####\",\n \"errorCode\": \"####\",\n \"info\": null,\n \"vendorId\": null,\n \"vendorErrorCode\": null\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/notifications/status?Limit=100&Skip=0&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "notifications", + "status" + ], + "query": [ + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/notifications/status?Limit=100&Skip=0&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "notifications", + "status" + ], + "query": [ + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/notifications/status?Limit=100&Skip=0&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "notifications", + "status" + ], + "query": [ + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/charging-stations", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations?Issuer=true&Search=sint consequat&WithNoSiteArea=true&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&ConnectorStatus=UnavailableUnavailableUnavailableSuspendedEVSuspendedEVFaultedSuspendedEVSE&ConnectorType=&ChargingStationID=sint consequat&IncludeDeleted=true&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations" + ], + "query": [ + { + "key": "Issuer", + "value": "true", + "description": "Current organization" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "WithNoSiteArea", + "value": "true", + "description": "With no Site Area" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + }, + { + "key": "WithSite", + "value": "true", + "description": "With site attribute" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "WithSiteArea", + "value": "true", + "description": "With site area attribute" + }, + { + "key": "ConnectorStatus", + "value": "UnavailableUnavailableUnavailableSuspendedEVSuspendedEVFaultedSuspendedEVSE", + "description": "Pipe separated connector statuses (Available, Preparing, Charging, Occupied, SuspendedEVSE, SuspendedEV, Finishing, Reserved, Unavailable, Faulted" + }, + { + "key": "ConnectorType", + "value": "", + "description": "Pipe separated connector types (T2, CCS, C, T1, T3C, T1CCS, D, U)" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + }, + { + "key": "IncludeDeleted", + "value": "true", + "description": "Include deleted charging stations" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898", + "description": "Longitude location" + }, + { + "key": "LocLatitude", + "value": "sint consequat", + "description": "Latitude location" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898", + "description": "Maximum range from location in meters" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Retrieve a list of Charging Stations" + }, + "response": [ + { + "name": "Return Charging Stations list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations?Issuer=true&Search=sint consequat&WithNoSiteArea=true&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&ConnectorStatus=UnavailableUnavailableUnavailableSuspendedEVSuspendedEVFaultedSuspendedEVSE&ConnectorType=&ChargingStationID=sint consequat&IncludeDeleted=true&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "WithNoSiteArea", + "value": "true" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "ConnectorStatus", + "value": "UnavailableUnavailableUnavailableSuspendedEVSuspendedEVFaultedSuspendedEVSE" + }, + { + "key": "ConnectorType", + "value": "" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "IncludeDeleted", + "value": "true" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898" + }, + { + "key": "LocLatitude", + "value": "sint consequat" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"chargeBoxSerialNumber\": \"###\",\n \"chargePointModel\": \"###\",\n \"chargePointSerialNumber\": \"###\",\n \"chargePointVendor\": \"###\",\n \"connectors\": [\n {\n \"connectorId\": 1,\n \"currentInstantWatts\": 0,\n \"currentStateOfCharge\": 0,\n \"currentTotalInactivitySecs\": 0,\n \"currentTotalConsumptionWh\": 0,\n \"currentTagID\": null,\n \"status\": \"Available\",\n \"errorCode\": \"NoError\",\n \"power\": 22080,\n \"type\": \"T2\",\n \"currentTransactionID\": 0\n },\n {\n \"connectorId\": 2,\n \"currentInstantWatts\": 0,\n \"currentStateOfCharge\": 0,\n \"currentTotalInactivitySecs\": 0,\n \"currentTotalConsumptionWh\": 0,\n \"currentTagID\": null,\n \"status\": \"Available\",\n \"errorCode\": \"NoError\",\n \"power\": 22080,\n \"type\": \"T2\",\n \"currentTransactionID\": 0\n }\n ],\n \"createdOn\": \"2020-06-19T14:30:01.191Z\",\n \"firmwareVersion\": \"###\",\n \"lastReboot\": \"2020-12-09T18:00:10.199Z\",\n \"ocppVersion\": \"1.6\",\n \"siteAreaID\": \"###\",\n \"maximumPower\": 44160,\n \"ocppProtocol\": \"json\",\n \"powerLimitUnit\": \"A\",\n \"coordinates\": [\n -0.390899731877199,\n 49.20079707133\n ],\n \"issuer\": true,\n \"chargePoints\": [\n {\n \"chargePointID\": 1,\n \"currentType\": \"AC\",\n \"voltage\": null,\n \"amperage\": 192,\n \"numberOfConnectedPhase\": 3,\n \"cannotChargeInParallel\": false,\n \"sharePowerToAllConnectors\": false,\n \"excludeFromPowerLimitation\": false,\n \"ocppParamForPowerLimitation\": \"maxintensitysocket\",\n \"power\": 44160,\n \"efficiency\": null,\n \"connectorIDs\": [\n 1,\n 2\n ]\n }\n ],\n \"voltage\": 230,\n \"public\": false,\n \"lastSeen\": \"2021-02-17T08:32:52.393Z\",\n \"siteID\": \"###\",\n \"inactive\": true,\n \"siteArea\": {\n \"name\": \"###\",\n \"siteID\": \"###\",\n \"address\": {\n \"address1\": \"###\",\n \"address2\": \"\",\n \"postalCode\": \"###\",\n \"city\": \"###\",\n \"department\": \"###\",\n \"region\": \"###\",\n \"country\": \"###\",\n \"coordinates\": [\n -0.39091984844480976,\n 49.20079970020356\n ]\n },\n \"id\": \"###\"\n },\n \"id\": \"###\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations?Issuer=true&Search=sint consequat&WithNoSiteArea=true&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&ConnectorStatus=UnavailableUnavailableUnavailableSuspendedEVSuspendedEVFaultedSuspendedEVSE&ConnectorType=&ChargingStationID=sint consequat&IncludeDeleted=true&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "WithNoSiteArea", + "value": "true" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "ConnectorStatus", + "value": "UnavailableUnavailableUnavailableSuspendedEVSuspendedEVFaultedSuspendedEVSE" + }, + { + "key": "ConnectorType", + "value": "" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "IncludeDeleted", + "value": "true" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898" + }, + { + "key": "LocLatitude", + "value": "sint consequat" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations?Issuer=true&Search=sint consequat&WithNoSiteArea=true&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&ConnectorStatus=UnavailableUnavailableUnavailableSuspendedEVSuspendedEVFaultedSuspendedEVSE&ConnectorType=&ChargingStationID=sint consequat&IncludeDeleted=true&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "WithNoSiteArea", + "value": "true" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "ConnectorStatus", + "value": "UnavailableUnavailableUnavailableSuspendedEVSuspendedEVFaultedSuspendedEVSE" + }, + { + "key": "ConnectorType", + "value": "" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "IncludeDeleted", + "value": "true" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898" + }, + { + "key": "LocLatitude", + "value": "sint consequat" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations?Issuer=true&Search=sint consequat&WithNoSiteArea=true&SiteID=sint consequat&WithSite=true&SiteAreaID=sint consequat&WithSiteArea=true&ConnectorStatus=UnavailableUnavailableUnavailableSuspendedEVSuspendedEVFaultedSuspendedEVSE&ConnectorType=&ChargingStationID=sint consequat&IncludeDeleted=true&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "WithNoSiteArea", + "value": "true" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "ConnectorStatus", + "value": "UnavailableUnavailableUnavailableSuspendedEVSuspendedEVFaultedSuspendedEVSE" + }, + { + "key": "ConnectorType", + "value": "" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "IncludeDeleted", + "value": "true" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898" + }, + { + "key": "LocLatitude", + "value": "sint consequat" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/qrcode/download", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/qrcode/download?ChargingStationID=sint consequat&ConnectorID=16995143.412301898&SiteAreaID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "qrcode", + "download" + ], + "query": [ + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Charging Station ID" + }, + { + "key": "ConnectorID", + "value": "16995143.412301898", + "description": "Connector ID" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Site Area ID" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + } + ] + }, + "description": "Download connector QRCode as PDF" + }, + "response": [ + { + "name": "Return connector's QRCode as PDF", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/qrcode/download?ChargingStationID=sint consequat&ConnectorID=16995143.412301898&SiteAreaID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "qrcode", + "download" + ], + "query": [ + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "16995143.412301898" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"cillum\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/qrcode/download?ChargingStationID=sint consequat&ConnectorID=16995143.412301898&SiteAreaID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "qrcode", + "download" + ], + "query": [ + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "16995143.412301898" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/qrcode/download?ChargingStationID=sint consequat&ConnectorID=16995143.412301898&SiteAreaID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "qrcode", + "download" + ], + "query": [ + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "16995143.412301898" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/qrcode/download?ChargingStationID=sint consequat&ConnectorID=16995143.412301898&SiteAreaID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "qrcode", + "download" + ], + "query": [ + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "16995143.412301898" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/status/in-error", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/status/in-error?Search=sint consequat&SiteID=sint consequat&SiteAreaID=sint consequat&ErrorType=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "status", + "in-error" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "ErrorType", + "value": "sint consequat", + "description": "Pipe separated error types (missing_settings, connection_broken, missing_site_area, connection_error)" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Get Charging Station in error" + }, + "response": [ + { + "name": "Return Charging Stations in error list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/status/in-error?Search=sint consequat&SiteID=sint consequat&SiteAreaID=sint consequat&ErrorType=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "status", + "in-error" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ErrorType", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/status/in-error?Search=sint consequat&SiteID=sint consequat&SiteAreaID=sint consequat&ErrorType=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "status", + "in-error" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ErrorType", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/status/in-error?Search=sint consequat&SiteID=sint consequat&SiteAreaID=sint consequat&ErrorType=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "status", + "in-error" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ErrorType", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/status/in-error?Search=sint consequat&SiteID=sint consequat&SiteAreaID=sint consequat&ErrorType=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "status", + "in-error" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ErrorType", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-stations/action/export", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "text/csv" + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/action/export?Issuer=true&Search=sint consequat&WithNoSiteArea=true&SiteID=sint consequat&SiteAreaID=sint consequat&ConnectorStatus=UnavailableUnavailableUnavailableSuspendedEVSuspendedEVFaultedSuspendedEVSE&ConnectorType=DT1D&ChargingStationID=sint consequat&IncludeDeleted=true&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&SortFields=id&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "action", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true", + "description": "Current organization" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "WithNoSiteArea", + "value": "true", + "description": "With no Site Area" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "ConnectorStatus", + "value": "UnavailableUnavailableUnavailableSuspendedEVSuspendedEVFaultedSuspendedEVSE", + "description": "Pipe separated connector statuses (Available, Preparing, Charging, Occupied, SuspendedEVSE, SuspendedEV, Finishing, Reserved, Unavailable, Faulted" + }, + { + "key": "ConnectorType", + "value": "DT1D", + "description": "Pipe separated connector types (T2, CCS, C, T1, T3C, T1CCS, D, U)" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + }, + { + "key": "IncludeDeleted", + "value": "true", + "description": "Include deleted charging stations" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898", + "description": "Longitude location" + }, + { + "key": "LocLatitude", + "value": "sint consequat", + "description": "Latitude location" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898", + "description": "Maximum range from location in meters" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Export Charging Stations as CSV file" + }, + "response": [ + { + "name": "Return Charging Station CSV file", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/action/export?Issuer=true&Search=sint consequat&WithNoSiteArea=true&SiteID=sint consequat&SiteAreaID=sint consequat&ConnectorStatus=UnavailableUnavailableUnavailableSuspendedEVSuspendedEVFaultedSuspendedEVSE&ConnectorType=DT1D&ChargingStationID=sint consequat&IncludeDeleted=true&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&SortFields=id&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "action", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "WithNoSiteArea", + "value": "true" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ConnectorStatus", + "value": "UnavailableUnavailableUnavailableSuspendedEVSuspendedEVFaultedSuspendedEVSE" + }, + { + "key": "ConnectorType", + "value": "DT1D" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "IncludeDeleted", + "value": "true" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898" + }, + { + "key": "LocLatitude", + "value": "sint consequat" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/csv" + } + ], + "cookie": [], + "body": "Name,Created On,Number of Connectors,Site Area,Latitude,Longitude,Charge Point S/N,Model,Charge Box S/N,Vendor,Firmware,Version,OCPP Version,OCPP Protocol,Last Seen,Last Reboot,Maximum Power (Watt),Power Limit,Unit,####,####,2,####,49,-0.3,####,MONOBLOCK,####,####,3,1.6,json,12/20/2020 11:54 PM,12/09/2020 7:00 PM,44160,A" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/action/export?Issuer=true&Search=sint consequat&WithNoSiteArea=true&SiteID=sint consequat&SiteAreaID=sint consequat&ConnectorStatus=UnavailableUnavailableUnavailableSuspendedEVSuspendedEVFaultedSuspendedEVSE&ConnectorType=DT1D&ChargingStationID=sint consequat&IncludeDeleted=true&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&SortFields=id&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "action", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "WithNoSiteArea", + "value": "true" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ConnectorStatus", + "value": "UnavailableUnavailableUnavailableSuspendedEVSuspendedEVFaultedSuspendedEVSE" + }, + { + "key": "ConnectorType", + "value": "DT1D" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "IncludeDeleted", + "value": "true" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898" + }, + { + "key": "LocLatitude", + "value": "sint consequat" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/action/export?Issuer=true&Search=sint consequat&WithNoSiteArea=true&SiteID=sint consequat&SiteAreaID=sint consequat&ConnectorStatus=UnavailableUnavailableUnavailableSuspendedEVSuspendedEVFaultedSuspendedEVSE&ConnectorType=DT1D&ChargingStationID=sint consequat&IncludeDeleted=true&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&SortFields=id&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "action", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "WithNoSiteArea", + "value": "true" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ConnectorStatus", + "value": "UnavailableUnavailableUnavailableSuspendedEVSuspendedEVFaultedSuspendedEVSE" + }, + { + "key": "ConnectorType", + "value": "DT1D" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "IncludeDeleted", + "value": "true" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898" + }, + { + "key": "LocLatitude", + "value": "sint consequat" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-stations/action/export?Issuer=true&Search=sint consequat&WithNoSiteArea=true&SiteID=sint consequat&SiteAreaID=sint consequat&ConnectorStatus=UnavailableUnavailableUnavailableSuspendedEVSuspendedEVFaultedSuspendedEVSE&ConnectorType=DT1D&ChargingStationID=sint consequat&IncludeDeleted=true&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&SortFields=id&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-stations", + "action", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "WithNoSiteArea", + "value": "true" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ConnectorStatus", + "value": "UnavailableUnavailableUnavailableSuspendedEVSuspendedEVFaultedSuspendedEVSE" + }, + { + "key": "ConnectorType", + "value": "DT1D" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "IncludeDeleted", + "value": "true" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898" + }, + { + "key": "LocLatitude", + "value": "sint consequat" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "charging-profiles", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/api/charging-profiles/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"chargePointID\": 1,\n \"connectorID\": 0,\n \"profile\": {\n \"chargingProfileId\": {\n \"value\": \"\"\n },\n \"stackLevel\": {\n \"value\": \"\"\n },\n \"chargingProfilePurpose\": {\n \"value\": \"\"\n },\n \"chargingProfileKind\": {\n \"value\": \"\"\n },\n \"chargingSchedule\": {\n \"value\": \"\"\n },\n \"transactionId\": {\n \"value\": \"\"\n },\n \"recurrencyKind\": {\n \"value\": \"\"\n },\n \"validFrom\": {\n \"value\": \"\"\n },\n \"validTo\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-profiles/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "1b60735291ff94fb99a17f1666d5de04ba138e70fb7d75fb8950e417aa79eef1", + "description": "(Required) Charging Profile ID" + } + ] + }, + "description": "Update a Charging Station profile" + }, + "response": [ + { + "name": "Charging station profile updated successfully", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"chargePointID\": 1,\n \"connectorID\": 0,\n \"profile\": {\n \"chargingProfileId\": {\n \"value\": \"\"\n },\n \"stackLevel\": {\n \"value\": \"\"\n },\n \"chargingProfilePurpose\": {\n \"value\": \"\"\n },\n \"chargingProfileKind\": {\n \"value\": \"\"\n },\n \"chargingSchedule\": {\n \"value\": \"\"\n },\n \"transactionId\": {\n \"value\": \"\"\n },\n \"recurrencyKind\": {\n \"value\": \"\"\n },\n \"validFrom\": {\n \"value\": \"\"\n },\n \"validTo\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-profiles/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "1b60735291ff94fb99a17f1666d5de04ba138e70fb7d75fb8950e417aa79eef1", + "description": "(Required) Charging Profile ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"et veniam eiusmod\",\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"chargePointID\": 1,\n \"connectorID\": 0,\n \"profile\": {\n \"chargingProfileId\": {\n \"value\": \"\"\n },\n \"stackLevel\": {\n \"value\": \"\"\n },\n \"chargingProfilePurpose\": {\n \"value\": \"\"\n },\n \"chargingProfileKind\": {\n \"value\": \"\"\n },\n \"chargingSchedule\": {\n \"value\": \"\"\n },\n \"transactionId\": {\n \"value\": \"\"\n },\n \"recurrencyKind\": {\n \"value\": \"\"\n },\n \"validFrom\": {\n \"value\": \"\"\n },\n \"validTo\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-profiles/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "1b60735291ff94fb99a17f1666d5de04ba138e70fb7d75fb8950e417aa79eef1", + "description": "(Required) Charging Profile ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"chargePointID\": 1,\n \"connectorID\": 0,\n \"profile\": {\n \"chargingProfileId\": {\n \"value\": \"\"\n },\n \"stackLevel\": {\n \"value\": \"\"\n },\n \"chargingProfilePurpose\": {\n \"value\": \"\"\n },\n \"chargingProfileKind\": {\n \"value\": \"\"\n },\n \"chargingSchedule\": {\n \"value\": \"\"\n },\n \"transactionId\": {\n \"value\": \"\"\n },\n \"recurrencyKind\": {\n \"value\": \"\"\n },\n \"validFrom\": {\n \"value\": \"\"\n },\n \"validTo\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-profiles/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "1b60735291ff94fb99a17f1666d5de04ba138e70fb7d75fb8950e417aa79eef1", + "description": "(Required) Charging Profile ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"chargePointID\": 1,\n \"connectorID\": 0,\n \"profile\": {\n \"chargingProfileId\": {\n \"value\": \"\"\n },\n \"stackLevel\": {\n \"value\": \"\"\n },\n \"chargingProfilePurpose\": {\n \"value\": \"\"\n },\n \"chargingProfileKind\": {\n \"value\": \"\"\n },\n \"chargingSchedule\": {\n \"value\": \"\"\n },\n \"transactionId\": {\n \"value\": \"\"\n },\n \"recurrencyKind\": {\n \"value\": \"\"\n },\n \"validFrom\": {\n \"value\": \"\"\n },\n \"validTo\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-profiles/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "1b60735291ff94fb99a17f1666d5de04ba138e70fb7d75fb8950e417aa79eef1", + "description": "(Required) Charging Profile ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Feature not supported", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"chargePointID\": 1,\n \"connectorID\": 0,\n \"profile\": {\n \"chargingProfileId\": {\n \"value\": \"\"\n },\n \"stackLevel\": {\n \"value\": \"\"\n },\n \"chargingProfilePurpose\": {\n \"value\": \"\"\n },\n \"chargingProfileKind\": {\n \"value\": \"\"\n },\n \"chargingSchedule\": {\n \"value\": \"\"\n },\n \"transactionId\": {\n \"value\": \"\"\n },\n \"recurrencyKind\": {\n \"value\": \"\"\n },\n \"validFrom\": {\n \"value\": \"\"\n },\n \"validTo\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-profiles/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "1b60735291ff94fb99a17f1666d5de04ba138e70fb7d75fb8950e417aa79eef1", + "description": "(Required) Charging Profile ID" + } + ] + } + }, + "code": 585, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-profiles/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/charging-profiles/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "1b60735291ff94fb99a17f1666d5de04ba138e70fb7d75fb8950e417aa79eef1", + "description": "(Required) Charging Profile ID" + } + ] + }, + "description": "Delete a Charging Station profile" + }, + "response": [ + { + "name": "Charging Station deleted successfully", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-profiles/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "1b60735291ff94fb99a17f1666d5de04ba138e70fb7d75fb8950e417aa79eef1", + "description": "(Required) Charging Profile ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-profiles/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "1b60735291ff94fb99a17f1666d5de04ba138e70fb7d75fb8950e417aa79eef1", + "description": "(Required) Charging Profile ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-profiles/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "1b60735291ff94fb99a17f1666d5de04ba138e70fb7d75fb8950e417aa79eef1", + "description": "(Required) Charging Profile ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-profiles/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "1b60735291ff94fb99a17f1666d5de04ba138e70fb7d75fb8950e417aa79eef1", + "description": "(Required) Charging Profile ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Error occured while clearing Charging Profile", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-profiles/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "1b60735291ff94fb99a17f1666d5de04ba138e70fb7d75fb8950e417aa79eef1", + "description": "(Required) Charging Profile ID" + } + ] + } + }, + "code": 537, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/charging-profiles", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-profiles?ChargingStationID=sint consequat&ConnectorID=16995143.412301898&Search=sint consequat&WithChargingStation=false&WithSiteArea=false&SiteID=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles" + ], + "query": [ + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + }, + { + "key": "ConnectorID", + "value": "16995143.412301898", + "description": "Connector ID" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "WithChargingStation", + "value": "false", + "description": "With Charging Station attribute" + }, + { + "key": "WithSiteArea", + "value": "false", + "description": "With Site Area attribute" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Get Charging Profiles" + }, + "response": [ + { + "name": "Return profiles list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-profiles?ChargingStationID=sint consequat&ConnectorID=16995143.412301898&Search=sint consequat&WithChargingStation=false&WithSiteArea=false&SiteID=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles" + ], + "query": [ + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "16995143.412301898" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "false" + }, + { + "key": "WithSiteArea", + "value": "false" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"chargePointID\": 1,\n \"chargingStationID\": \"###\",\n \"connectorID\": 1,\n \"profile\": {\n \"chargingProfileId\": 1,\n \"chargingProfileKind\": \"###\",\n \"chargingProfilePurpose\": \"###\",\n \"transactionId\": 123456789,\n \"stackLevel\": 2,\n \"chargingSchedule\": {\n \"chargingRateUnit\": \"A\",\n \"chargingSchedulePeriod\": [\n {\n \"startPeriod\": 0,\n \"limit\": 96\n },\n {\n \"startPeriod\": 900,\n \"limit\": 96\n },\n {\n \"startPeriod\": 1800,\n \"limit\": 96\n },\n {\n \"startPeriod\": 2700,\n \"limit\": 96\n },\n {\n \"startPeriod\": 3600,\n \"limit\": 96\n },\n {\n \"startPeriod\": 4500,\n \"limit\": 96\n },\n {\n \"startPeriod\": 5400,\n \"limit\": 96\n },\n {\n \"startPeriod\": 6300,\n \"limit\": 96\n },\n {\n \"startPeriod\": 7200,\n \"limit\": 96\n },\n {\n \"startPeriod\": 8100,\n \"limit\": 96\n },\n {\n \"startPeriod\": 9000,\n \"limit\": 96\n },\n {\n \"startPeriod\": 9900,\n \"limit\": 96\n },\n {\n \"startPeriod\": 10800,\n \"limit\": 96\n },\n {\n \"startPeriod\": 11700,\n \"limit\": 96\n },\n {\n \"startPeriod\": 12600,\n \"limit\": 96\n },\n {\n \"startPeriod\": 13500,\n \"limit\": 96\n },\n {\n \"startPeriod\": 14400,\n \"limit\": 96\n },\n {\n \"startPeriod\": 15300,\n \"limit\": 96\n },\n {\n \"startPeriod\": 16200,\n \"limit\": 96\n },\n {\n \"startPeriod\": 17100,\n \"limit\": 96\n },\n {\n \"startPeriod\": 18000,\n \"limit\": 96\n },\n {\n \"startPeriod\": 18900,\n \"limit\": 79.209\n }\n ],\n \"startSchedule\": \"2021-04-06T07:30:00.000Z\",\n \"duration\": 19800\n }\n },\n \"chargingStation\": {\n \"id\": \"###\",\n \"siteArea\": {\n \"id\": \"###\",\n \"name\": \"###\",\n \"maximumPower\": \"###\"\n }\n },\n \"id\": \"###\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-profiles?ChargingStationID=sint consequat&ConnectorID=16995143.412301898&Search=sint consequat&WithChargingStation=false&WithSiteArea=false&SiteID=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles" + ], + "query": [ + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "16995143.412301898" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "false" + }, + { + "key": "WithSiteArea", + "value": "false" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-profiles?ChargingStationID=sint consequat&ConnectorID=16995143.412301898&Search=sint consequat&WithChargingStation=false&WithSiteArea=false&SiteID=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles" + ], + "query": [ + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "16995143.412301898" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "false" + }, + { + "key": "WithSiteArea", + "value": "false" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/charging-profiles?ChargingStationID=sint consequat&ConnectorID=16995143.412301898&Search=sint consequat&WithChargingStation=false&WithSiteArea=false&SiteID=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles" + ], + "query": [ + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "16995143.412301898" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "WithChargingStation", + "value": "false" + }, + { + "key": "WithSiteArea", + "value": "false" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/charging-profiles", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"chargePointID\": 1,\n \"connectorID\": 0,\n \"profile\": {\n \"chargingProfileId\": {\n \"value\": \"\"\n },\n \"stackLevel\": {\n \"value\": \"\"\n },\n \"chargingProfilePurpose\": {\n \"value\": \"\"\n },\n \"chargingProfileKind\": {\n \"value\": \"\"\n },\n \"chargingSchedule\": {\n \"value\": \"\"\n },\n \"transactionId\": {\n \"value\": \"\"\n },\n \"recurrencyKind\": {\n \"value\": \"\"\n },\n \"validFrom\": {\n \"value\": \"\"\n },\n \"validTo\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-profiles", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles" + ] + }, + "description": "Create a Charging Station profile" + }, + "response": [ + { + "name": "Charging station profile created successfully", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"chargePointID\": 1,\n \"connectorID\": 0,\n \"profile\": {\n \"chargingProfileId\": {\n \"value\": \"\"\n },\n \"stackLevel\": {\n \"value\": \"\"\n },\n \"chargingProfilePurpose\": {\n \"value\": \"\"\n },\n \"chargingProfileKind\": {\n \"value\": \"\"\n },\n \"chargingSchedule\": {\n \"value\": \"\"\n },\n \"transactionId\": {\n \"value\": \"\"\n },\n \"recurrencyKind\": {\n \"value\": \"\"\n },\n \"validFrom\": {\n \"value\": \"\"\n },\n \"validTo\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-profiles", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"et veniam eiusmod\",\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"chargePointID\": 1,\n \"connectorID\": 0,\n \"profile\": {\n \"chargingProfileId\": {\n \"value\": \"\"\n },\n \"stackLevel\": {\n \"value\": \"\"\n },\n \"chargingProfilePurpose\": {\n \"value\": \"\"\n },\n \"chargingProfileKind\": {\n \"value\": \"\"\n },\n \"chargingSchedule\": {\n \"value\": \"\"\n },\n \"transactionId\": {\n \"value\": \"\"\n },\n \"recurrencyKind\": {\n \"value\": \"\"\n },\n \"validFrom\": {\n \"value\": \"\"\n },\n \"validTo\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-profiles", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"chargePointID\": 1,\n \"connectorID\": 0,\n \"profile\": {\n \"chargingProfileId\": {\n \"value\": \"\"\n },\n \"stackLevel\": {\n \"value\": \"\"\n },\n \"chargingProfilePurpose\": {\n \"value\": \"\"\n },\n \"chargingProfileKind\": {\n \"value\": \"\"\n },\n \"chargingSchedule\": {\n \"value\": \"\"\n },\n \"transactionId\": {\n \"value\": \"\"\n },\n \"recurrencyKind\": {\n \"value\": \"\"\n },\n \"validFrom\": {\n \"value\": \"\"\n },\n \"validTo\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-profiles", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"chargePointID\": 1,\n \"connectorID\": 0,\n \"profile\": {\n \"chargingProfileId\": {\n \"value\": \"\"\n },\n \"stackLevel\": {\n \"value\": \"\"\n },\n \"chargingProfilePurpose\": {\n \"value\": \"\"\n },\n \"chargingProfileKind\": {\n \"value\": \"\"\n },\n \"chargingSchedule\": {\n \"value\": \"\"\n },\n \"transactionId\": {\n \"value\": \"\"\n },\n \"recurrencyKind\": {\n \"value\": \"\"\n },\n \"validFrom\": {\n \"value\": \"\"\n },\n \"validTo\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-profiles", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Feature not supported", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"chargingStationID\": \"\",\n \"chargePointID\": 1,\n \"connectorID\": 0,\n \"profile\": {\n \"chargingProfileId\": {\n \"value\": \"\"\n },\n \"stackLevel\": {\n \"value\": \"\"\n },\n \"chargingProfilePurpose\": {\n \"value\": \"\"\n },\n \"chargingProfileKind\": {\n \"value\": \"\"\n },\n \"chargingSchedule\": {\n \"value\": \"\"\n },\n \"transactionId\": {\n \"value\": \"\"\n },\n \"recurrencyKind\": {\n \"value\": \"\"\n },\n \"validFrom\": {\n \"value\": \"\"\n },\n \"validTo\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/charging-profiles", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "charging-profiles" + ] + } + }, + "code": 585, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "users", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "sites", + "item": [ + { + "name": "/api/users/:id/sites", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "sites" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + }, + "description": "Get user's assigned sites" + }, + "response": [ + { + "name": "Retrieved assigned sites list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "sites" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"userID\": \"###\",\n \"siteAdmin\": false,\n \"site\": {\n \"address\": {\n \"city\": \"###\",\n \"country\": \"###\"\n },\n \"name\": \"###\",\n \"id\": \"###\"\n }\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "sites" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "sites" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "sites" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "sites" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/users/:id/sites", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"siteIDs\": [\n \"culpa in\",\n \"ullamco Ut ipsum in dolore\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "sites" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + }, + "description": "Assign sites to a user" + }, + "response": [ + { + "name": "User successfully assigned to sites", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"siteIDs\": [\n \"tempor incididunt ea proident\",\n \"non\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "sites" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"siteIDs\": [\n \"tempor incididunt ea proident\",\n \"non\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "sites" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"siteIDs\": [\n \"tempor incididunt ea proident\",\n \"non\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "sites" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"siteIDs\": [\n \"tempor incididunt ea proident\",\n \"non\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "sites" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"siteIDs\": [\n \"tempor incididunt ea proident\",\n \"non\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "sites" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/users/:id/sites", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"siteIDs\": [\n \"culpa in\",\n \"ullamco Ut ipsum in dolore\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "sites" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + }, + "description": "Unassign sites to a user" + }, + "response": [ + { + "name": "User successfully unassigned to sites", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"siteIDs\": [\n \"tempor incididunt ea proident\",\n \"non\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "sites" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"siteIDs\": [\n \"tempor incididunt ea proident\",\n \"non\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "sites" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"siteIDs\": [\n \"tempor incididunt ea proident\",\n \"non\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "sites" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"siteIDs\": [\n \"tempor incididunt ea proident\",\n \"non\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "sites" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"siteIDs\": [\n \"tempor incididunt ea proident\",\n \"non\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "sites" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "payment-methods", + "item": [ + { + "name": "/api/users/:id/payment-methods", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/payment-methods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "payment-methods" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + }, + "description": "Get user's payment methods" + }, + "response": [ + { + "name": "Retrieved user payment methods", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/payment-methods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "payment-methods" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": -53660005.74531453,\n \"result\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/payment-methods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "payment-methods" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/payment-methods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "payment-methods" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/payment-methods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "payment-methods" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/payment-methods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "payment-methods" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/users/:id/payment-methods/:paymentMethodID", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/payment-methods/:paymentMethodID", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "payment-methods", + ":paymentMethodID" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + }, + { + "key": "paymentMethodID", + "value": "sint consequat", + "description": "(Required) Payment Method ID" + } + ] + }, + "description": "Delete user's payment methods" + }, + "response": [ + { + "name": "Successfully deleted user payment method", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/payment-methods/:paymentMethodID", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "payment-methods", + ":paymentMethodID" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + }, + { + "key": "paymentMethodID", + "value": "sint consequat", + "description": "(Required) Payment Method ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"succeeded\": true,\n \"error\": {},\n \"internalData\": {}\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/payment-methods/:paymentMethodID", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "payment-methods", + ":paymentMethodID" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + }, + { + "key": "paymentMethodID", + "value": "sint consequat", + "description": "(Required) Payment Method ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/payment-methods/:paymentMethodID", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "payment-methods", + ":paymentMethodID" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + }, + { + "key": "paymentMethodID", + "value": "sint consequat", + "description": "(Required) Payment Method ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/payment-methods/:paymentMethodID", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "payment-methods", + ":paymentMethodID" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + }, + { + "key": "paymentMethodID", + "value": "sint consequat", + "description": "(Required) Payment Method ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/payment-methods/:paymentMethodID", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "payment-methods", + ":paymentMethodID" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + }, + { + "key": "paymentMethodID", + "value": "sint consequat", + "description": "(Required) Payment Method ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/users/:id/payment-methods/setup", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"paymentMethodId\": \"nostrud in eu culpa\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/payment-methods/setup", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "payment-methods", + "setup" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + }, + "description": "Setup user's payment method" + }, + "response": [ + { + "name": "Successfully setup user payment method", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"paymentMethodId\": \"nostrud in eu culpa\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/payment-methods/setup", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "payment-methods", + "setup" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"succeeded\": true,\n \"error\": {},\n \"internalData\": {}\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"paymentMethodId\": \"nostrud in eu culpa\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/payment-methods/setup", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "payment-methods", + "setup" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"paymentMethodId\": \"nostrud in eu culpa\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/payment-methods/setup", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "payment-methods", + "setup" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"paymentMethodId\": \"nostrud in eu culpa\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/payment-methods/setup", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "payment-methods", + "setup" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"paymentMethodId\": \"nostrud in eu culpa\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/payment-methods/setup", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "payment-methods", + "setup" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/users/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + }, + "description": "Retrieve a User" + }, + "response": [ + { + "name": "Retrieved user", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"address\": {\n \"address1\": \"\",\n \"address2\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"department\": \"\",\n \"region\": \"\",\n \"country\": \"\",\n \"coordinates\": []\n },\n \"costCenter\": null,\n \"deleted\": false,\n \"email\": \"###\",\n \"firstName\": \"###\",\n \"iNumber\": null,\n \"locale\": \"fr_FR\",\n \"mobile\": null,\n \"name\": \"###\",\n \"phone\": null,\n \"role\": \"A\",\n \"status\": \"A\",\n \"notifications\": {\n \"sendSessionStarted\": false,\n \"sendOptimalChargeReached\": false,\n \"sendEndOfCharge\": false,\n \"sendEndOfSession\": false,\n \"sendUserAccountStatusChanged\": false,\n \"sendNewRegisteredUser\": false,\n \"sendUnknownUserBadged\": false,\n \"sendChargingStationStatusError\": true,\n \"sendChargingStationRegistered\": false,\n \"sendOcpiPatchStatusError\": false,\n \"sendUserAccountInactivity\": false,\n \"sendPreparingSessionNotStarted\": false,\n \"sendOfflineChargingStations\": false,\n \"sendBillingSynchronizationFailed\": false,\n \"sendSessionNotStarted\": false,\n \"sendCarCatalogSynchronizationFailed\": false,\n \"sendEndUserErrorNotification\": true,\n \"sendComputeAndApplyChargingProfilesFailed\": false,\n \"sendBillingNewInvoice\": false,\n \"sendAccountVerificationNotification\": false,\n \"sendAdminAccountVerificationNotification\": true\n },\n \"notificationsActive\": true,\n \"plateID\": \"###\",\n \"issuer\": true,\n \"id\": \"###\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/users/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"costCenter\": \"######\",\n \"name\": \"Demo\",\n \"firstName\": \"User\",\n \"iNumber\": \"1234567\",\n \"image\": \"nulla ullamco elit\",\n \"mobile\": \"0000000000\",\n \"locale\": \"en_EN\",\n \"address\": {\n \"address1\": {\n \"value\": \"\"\n },\n \"address2\": {\n \"value\": \"\"\n },\n \"postalCode\": {\n \"value\": \"\"\n },\n \"city\": {\n \"value\": \"\"\n },\n \"department\": {\n \"value\": \"\"\n },\n \"region\": {\n \"value\": \"\"\n },\n \"country\": {\n \"value\": \"\"\n },\n \"coordinates\": {\n \"value\": \"\"\n }\n },\n \"password\": \"password\",\n \"phone\": \"0000000000\",\n \"email\": \"user@domain.com\",\n \"issuer\": true,\n \"notifcationsActive\": true,\n \"status\": \"P\",\n \"plateID\": \"DEMO\",\n \"role\": \"B\",\n \"notifications\": {\n \"sendSessionStarted\": {\n \"value\": \"\"\n },\n \"sendOptimalChargeReached\": {\n \"value\": \"\"\n },\n \"sendEndOfCharge\": {\n \"value\": \"\"\n },\n \"sendEndOfSession\": {\n \"value\": \"\"\n },\n \"sendUserAccountStatusChanged\": {\n \"value\": \"\"\n },\n \"sendSessionNotStarted\": {\n \"value\": \"\"\n },\n \"sendCarCatalogSynchronizationFailed\": {\n \"value\": \"\"\n },\n \"sendUserAccountInactivity\": {\n \"value\": \"\"\n },\n \"sendPreparingSessionNotStarted\": {\n \"value\": \"\"\n },\n \"sendBillingSynchronizationFailed\": {\n \"value\": \"\"\n },\n \"sendBillingNewInvoice\": {\n \"value\": \"\"\n },\n \"sendNewRegisteredUser\": {\n \"value\": \"\"\n },\n \"sendUnknownUserBadged\": {\n \"value\": \"\"\n },\n \"sendChargingStationStatusError\": {\n \"value\": \"\"\n },\n \"sendChargingStationRegistered\": {\n \"value\": \"\"\n },\n \"sendOcpiPatchStatusError\": {\n \"value\": \"\"\n },\n \"sendOfflineChargingStations\": {\n \"value\": \"\"\n },\n \"sendEndUserErrorNotification\": {\n \"value\": \"\"\n },\n \"sendComputeAndApplyChargingProfilesFailed\": {\n \"value\": \"\"\n },\n \"sendAccountVerificationNotification\": {\n \"value\": \"\"\n },\n \"sendAdminAccountVerificationNotification\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + }, + "description": "Update a User" + }, + "response": [ + { + "name": "User updated successfully", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"costCenter\": \"######\",\n \"name\": \"Demo\",\n \"firstName\": \"User\",\n \"iNumber\": \"1234567\",\n \"image\": \"nulla ullamco elit\",\n \"mobile\": \"0000000000\",\n \"locale\": \"en_EN\",\n \"address\": {\n \"address1\": {\n \"value\": \"\"\n },\n \"address2\": {\n \"value\": \"\"\n },\n \"postalCode\": {\n \"value\": \"\"\n },\n \"city\": {\n \"value\": \"\"\n },\n \"department\": {\n \"value\": \"\"\n },\n \"region\": {\n \"value\": \"\"\n },\n \"country\": {\n \"value\": \"\"\n },\n \"coordinates\": {\n \"value\": \"\"\n }\n },\n \"password\": \"password\",\n \"phone\": \"0000000000\",\n \"email\": \"user@domain.com\",\n \"issuer\": true,\n \"notifcationsActive\": true,\n \"status\": \"P\",\n \"plateID\": \"DEMO\",\n \"role\": \"B\",\n \"notifications\": {\n \"sendSessionStarted\": {\n \"value\": \"\"\n },\n \"sendOptimalChargeReached\": {\n \"value\": \"\"\n },\n \"sendEndOfCharge\": {\n \"value\": \"\"\n },\n \"sendEndOfSession\": {\n \"value\": \"\"\n },\n \"sendUserAccountStatusChanged\": {\n \"value\": \"\"\n },\n \"sendSessionNotStarted\": {\n \"value\": \"\"\n },\n \"sendCarCatalogSynchronizationFailed\": {\n \"value\": \"\"\n },\n \"sendUserAccountInactivity\": {\n \"value\": \"\"\n },\n \"sendPreparingSessionNotStarted\": {\n \"value\": \"\"\n },\n \"sendBillingSynchronizationFailed\": {\n \"value\": \"\"\n },\n \"sendBillingNewInvoice\": {\n \"value\": \"\"\n },\n \"sendNewRegisteredUser\": {\n \"value\": \"\"\n },\n \"sendUnknownUserBadged\": {\n \"value\": \"\"\n },\n \"sendChargingStationStatusError\": {\n \"value\": \"\"\n },\n \"sendChargingStationRegistered\": {\n \"value\": \"\"\n },\n \"sendOcpiPatchStatusError\": {\n \"value\": \"\"\n },\n \"sendOfflineChargingStations\": {\n \"value\": \"\"\n },\n \"sendEndUserErrorNotification\": {\n \"value\": \"\"\n },\n \"sendComputeAndApplyChargingProfilesFailed\": {\n \"value\": \"\"\n },\n \"sendAccountVerificationNotification\": {\n \"value\": \"\"\n },\n \"sendAdminAccountVerificationNotification\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"costCenter\": \"######\",\n \"name\": \"Demo\",\n \"firstName\": \"User\",\n \"iNumber\": \"1234567\",\n \"image\": \"nulla ullamco elit\",\n \"mobile\": \"0000000000\",\n \"locale\": \"en_EN\",\n \"address\": {\n \"address1\": {\n \"value\": \"\"\n },\n \"address2\": {\n \"value\": \"\"\n },\n \"postalCode\": {\n \"value\": \"\"\n },\n \"city\": {\n \"value\": \"\"\n },\n \"department\": {\n \"value\": \"\"\n },\n \"region\": {\n \"value\": \"\"\n },\n \"country\": {\n \"value\": \"\"\n },\n \"coordinates\": {\n \"value\": \"\"\n }\n },\n \"password\": \"password\",\n \"phone\": \"0000000000\",\n \"email\": \"user@domain.com\",\n \"issuer\": true,\n \"notifcationsActive\": true,\n \"status\": \"P\",\n \"plateID\": \"DEMO\",\n \"role\": \"B\",\n \"notifications\": {\n \"sendSessionStarted\": {\n \"value\": \"\"\n },\n \"sendOptimalChargeReached\": {\n \"value\": \"\"\n },\n \"sendEndOfCharge\": {\n \"value\": \"\"\n },\n \"sendEndOfSession\": {\n \"value\": \"\"\n },\n \"sendUserAccountStatusChanged\": {\n \"value\": \"\"\n },\n \"sendSessionNotStarted\": {\n \"value\": \"\"\n },\n \"sendCarCatalogSynchronizationFailed\": {\n \"value\": \"\"\n },\n \"sendUserAccountInactivity\": {\n \"value\": \"\"\n },\n \"sendPreparingSessionNotStarted\": {\n \"value\": \"\"\n },\n \"sendBillingSynchronizationFailed\": {\n \"value\": \"\"\n },\n \"sendBillingNewInvoice\": {\n \"value\": \"\"\n },\n \"sendNewRegisteredUser\": {\n \"value\": \"\"\n },\n \"sendUnknownUserBadged\": {\n \"value\": \"\"\n },\n \"sendChargingStationStatusError\": {\n \"value\": \"\"\n },\n \"sendChargingStationRegistered\": {\n \"value\": \"\"\n },\n \"sendOcpiPatchStatusError\": {\n \"value\": \"\"\n },\n \"sendOfflineChargingStations\": {\n \"value\": \"\"\n },\n \"sendEndUserErrorNotification\": {\n \"value\": \"\"\n },\n \"sendComputeAndApplyChargingProfilesFailed\": {\n \"value\": \"\"\n },\n \"sendAccountVerificationNotification\": {\n \"value\": \"\"\n },\n \"sendAdminAccountVerificationNotification\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"costCenter\": \"######\",\n \"name\": \"Demo\",\n \"firstName\": \"User\",\n \"iNumber\": \"1234567\",\n \"image\": \"nulla ullamco elit\",\n \"mobile\": \"0000000000\",\n \"locale\": \"en_EN\",\n \"address\": {\n \"address1\": {\n \"value\": \"\"\n },\n \"address2\": {\n \"value\": \"\"\n },\n \"postalCode\": {\n \"value\": \"\"\n },\n \"city\": {\n \"value\": \"\"\n },\n \"department\": {\n \"value\": \"\"\n },\n \"region\": {\n \"value\": \"\"\n },\n \"country\": {\n \"value\": \"\"\n },\n \"coordinates\": {\n \"value\": \"\"\n }\n },\n \"password\": \"password\",\n \"phone\": \"0000000000\",\n \"email\": \"user@domain.com\",\n \"issuer\": true,\n \"notifcationsActive\": true,\n \"status\": \"P\",\n \"plateID\": \"DEMO\",\n \"role\": \"B\",\n \"notifications\": {\n \"sendSessionStarted\": {\n \"value\": \"\"\n },\n \"sendOptimalChargeReached\": {\n \"value\": \"\"\n },\n \"sendEndOfCharge\": {\n \"value\": \"\"\n },\n \"sendEndOfSession\": {\n \"value\": \"\"\n },\n \"sendUserAccountStatusChanged\": {\n \"value\": \"\"\n },\n \"sendSessionNotStarted\": {\n \"value\": \"\"\n },\n \"sendCarCatalogSynchronizationFailed\": {\n \"value\": \"\"\n },\n \"sendUserAccountInactivity\": {\n \"value\": \"\"\n },\n \"sendPreparingSessionNotStarted\": {\n \"value\": \"\"\n },\n \"sendBillingSynchronizationFailed\": {\n \"value\": \"\"\n },\n \"sendBillingNewInvoice\": {\n \"value\": \"\"\n },\n \"sendNewRegisteredUser\": {\n \"value\": \"\"\n },\n \"sendUnknownUserBadged\": {\n \"value\": \"\"\n },\n \"sendChargingStationStatusError\": {\n \"value\": \"\"\n },\n \"sendChargingStationRegistered\": {\n \"value\": \"\"\n },\n \"sendOcpiPatchStatusError\": {\n \"value\": \"\"\n },\n \"sendOfflineChargingStations\": {\n \"value\": \"\"\n },\n \"sendEndUserErrorNotification\": {\n \"value\": \"\"\n },\n \"sendComputeAndApplyChargingProfilesFailed\": {\n \"value\": \"\"\n },\n \"sendAccountVerificationNotification\": {\n \"value\": \"\"\n },\n \"sendAdminAccountVerificationNotification\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"costCenter\": \"######\",\n \"name\": \"Demo\",\n \"firstName\": \"User\",\n \"iNumber\": \"1234567\",\n \"image\": \"nulla ullamco elit\",\n \"mobile\": \"0000000000\",\n \"locale\": \"en_EN\",\n \"address\": {\n \"address1\": {\n \"value\": \"\"\n },\n \"address2\": {\n \"value\": \"\"\n },\n \"postalCode\": {\n \"value\": \"\"\n },\n \"city\": {\n \"value\": \"\"\n },\n \"department\": {\n \"value\": \"\"\n },\n \"region\": {\n \"value\": \"\"\n },\n \"country\": {\n \"value\": \"\"\n },\n \"coordinates\": {\n \"value\": \"\"\n }\n },\n \"password\": \"password\",\n \"phone\": \"0000000000\",\n \"email\": \"user@domain.com\",\n \"issuer\": true,\n \"notifcationsActive\": true,\n \"status\": \"P\",\n \"plateID\": \"DEMO\",\n \"role\": \"B\",\n \"notifications\": {\n \"sendSessionStarted\": {\n \"value\": \"\"\n },\n \"sendOptimalChargeReached\": {\n \"value\": \"\"\n },\n \"sendEndOfCharge\": {\n \"value\": \"\"\n },\n \"sendEndOfSession\": {\n \"value\": \"\"\n },\n \"sendUserAccountStatusChanged\": {\n \"value\": \"\"\n },\n \"sendSessionNotStarted\": {\n \"value\": \"\"\n },\n \"sendCarCatalogSynchronizationFailed\": {\n \"value\": \"\"\n },\n \"sendUserAccountInactivity\": {\n \"value\": \"\"\n },\n \"sendPreparingSessionNotStarted\": {\n \"value\": \"\"\n },\n \"sendBillingSynchronizationFailed\": {\n \"value\": \"\"\n },\n \"sendBillingNewInvoice\": {\n \"value\": \"\"\n },\n \"sendNewRegisteredUser\": {\n \"value\": \"\"\n },\n \"sendUnknownUserBadged\": {\n \"value\": \"\"\n },\n \"sendChargingStationStatusError\": {\n \"value\": \"\"\n },\n \"sendChargingStationRegistered\": {\n \"value\": \"\"\n },\n \"sendOcpiPatchStatusError\": {\n \"value\": \"\"\n },\n \"sendOfflineChargingStations\": {\n \"value\": \"\"\n },\n \"sendEndUserErrorNotification\": {\n \"value\": \"\"\n },\n \"sendComputeAndApplyChargingProfilesFailed\": {\n \"value\": \"\"\n },\n \"sendAccountVerificationNotification\": {\n \"value\": \"\"\n },\n \"sendAdminAccountVerificationNotification\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"costCenter\": \"######\",\n \"name\": \"Demo\",\n \"firstName\": \"User\",\n \"iNumber\": \"1234567\",\n \"image\": \"nulla ullamco elit\",\n \"mobile\": \"0000000000\",\n \"locale\": \"en_EN\",\n \"address\": {\n \"address1\": {\n \"value\": \"\"\n },\n \"address2\": {\n \"value\": \"\"\n },\n \"postalCode\": {\n \"value\": \"\"\n },\n \"city\": {\n \"value\": \"\"\n },\n \"department\": {\n \"value\": \"\"\n },\n \"region\": {\n \"value\": \"\"\n },\n \"country\": {\n \"value\": \"\"\n },\n \"coordinates\": {\n \"value\": \"\"\n }\n },\n \"password\": \"password\",\n \"phone\": \"0000000000\",\n \"email\": \"user@domain.com\",\n \"issuer\": true,\n \"notifcationsActive\": true,\n \"status\": \"P\",\n \"plateID\": \"DEMO\",\n \"role\": \"B\",\n \"notifications\": {\n \"sendSessionStarted\": {\n \"value\": \"\"\n },\n \"sendOptimalChargeReached\": {\n \"value\": \"\"\n },\n \"sendEndOfCharge\": {\n \"value\": \"\"\n },\n \"sendEndOfSession\": {\n \"value\": \"\"\n },\n \"sendUserAccountStatusChanged\": {\n \"value\": \"\"\n },\n \"sendSessionNotStarted\": {\n \"value\": \"\"\n },\n \"sendCarCatalogSynchronizationFailed\": {\n \"value\": \"\"\n },\n \"sendUserAccountInactivity\": {\n \"value\": \"\"\n },\n \"sendPreparingSessionNotStarted\": {\n \"value\": \"\"\n },\n \"sendBillingSynchronizationFailed\": {\n \"value\": \"\"\n },\n \"sendBillingNewInvoice\": {\n \"value\": \"\"\n },\n \"sendNewRegisteredUser\": {\n \"value\": \"\"\n },\n \"sendUnknownUserBadged\": {\n \"value\": \"\"\n },\n \"sendChargingStationStatusError\": {\n \"value\": \"\"\n },\n \"sendChargingStationRegistered\": {\n \"value\": \"\"\n },\n \"sendOcpiPatchStatusError\": {\n \"value\": \"\"\n },\n \"sendOfflineChargingStations\": {\n \"value\": \"\"\n },\n \"sendEndUserErrorNotification\": {\n \"value\": \"\"\n },\n \"sendComputeAndApplyChargingProfilesFailed\": {\n \"value\": \"\"\n },\n \"sendAccountVerificationNotification\": {\n \"value\": \"\"\n },\n \"sendAdminAccountVerificationNotification\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Email already used", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"costCenter\": \"######\",\n \"name\": \"Demo\",\n \"firstName\": \"User\",\n \"iNumber\": \"1234567\",\n \"image\": \"nulla ullamco elit\",\n \"mobile\": \"0000000000\",\n \"locale\": \"en_EN\",\n \"address\": {\n \"address1\": {\n \"value\": \"\"\n },\n \"address2\": {\n \"value\": \"\"\n },\n \"postalCode\": {\n \"value\": \"\"\n },\n \"city\": {\n \"value\": \"\"\n },\n \"department\": {\n \"value\": \"\"\n },\n \"region\": {\n \"value\": \"\"\n },\n \"country\": {\n \"value\": \"\"\n },\n \"coordinates\": {\n \"value\": \"\"\n }\n },\n \"password\": \"password\",\n \"phone\": \"0000000000\",\n \"email\": \"user@domain.com\",\n \"issuer\": true,\n \"notifcationsActive\": true,\n \"status\": \"P\",\n \"plateID\": \"DEMO\",\n \"role\": \"B\",\n \"notifications\": {\n \"sendSessionStarted\": {\n \"value\": \"\"\n },\n \"sendOptimalChargeReached\": {\n \"value\": \"\"\n },\n \"sendEndOfCharge\": {\n \"value\": \"\"\n },\n \"sendEndOfSession\": {\n \"value\": \"\"\n },\n \"sendUserAccountStatusChanged\": {\n \"value\": \"\"\n },\n \"sendSessionNotStarted\": {\n \"value\": \"\"\n },\n \"sendCarCatalogSynchronizationFailed\": {\n \"value\": \"\"\n },\n \"sendUserAccountInactivity\": {\n \"value\": \"\"\n },\n \"sendPreparingSessionNotStarted\": {\n \"value\": \"\"\n },\n \"sendBillingSynchronizationFailed\": {\n \"value\": \"\"\n },\n \"sendBillingNewInvoice\": {\n \"value\": \"\"\n },\n \"sendNewRegisteredUser\": {\n \"value\": \"\"\n },\n \"sendUnknownUserBadged\": {\n \"value\": \"\"\n },\n \"sendChargingStationStatusError\": {\n \"value\": \"\"\n },\n \"sendChargingStationRegistered\": {\n \"value\": \"\"\n },\n \"sendOcpiPatchStatusError\": {\n \"value\": \"\"\n },\n \"sendOfflineChargingStations\": {\n \"value\": \"\"\n },\n \"sendEndUserErrorNotification\": {\n \"value\": \"\"\n },\n \"sendComputeAndApplyChargingProfilesFailed\": {\n \"value\": \"\"\n },\n \"sendAccountVerificationNotification\": {\n \"value\": \"\"\n },\n \"sendAdminAccountVerificationNotification\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Not Extended (RFC 2774)", + "code": 510, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/users/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + }, + "description": "Delete a User" + }, + "response": [ + { + "name": "User deleted successfully", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "User cannot be deleted due to billing constraints", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Not Extended (RFC 2774)", + "code": 510, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/users/:id/default-car-tag", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/default-car-tag", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "default-car-tag" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + }, + "description": "Get the User's default car tag" + }, + "response": [ + { + "name": "Retrieved default car tag and car", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/default-car-tag", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "default-car-tag" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"tag\": {\n \"active\": true,\n \"description\": \"###\",\n \"id\": \"###\",\n \"default\": \"###\"\n },\n \"car\": {\n \"licensePlate\": \"###\",\n \"default\": \"###\",\n \"type\": \"#\",\n \"converter\": {\n \"powerWatts\": \"###\",\n \"numberOfPhases\": \"###\"\n },\n \"carCatalog\": {\n \"vehicleMake\": \"###\",\n \"vehicleModel\": \"###\",\n \"vehicleModelVersion\": \"###\",\n \"image\": \"###\",\n \"batteryCapacityFull\": \"###\",\n \"fastChargePowerMax\": \"###\"\n },\n \"id\": \"###\"\n }\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/default-car-tag", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "default-car-tag" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/default-car-tag", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "default-car-tag" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/default-car-tag", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "default-car-tag" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/default-car-tag", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "default-car-tag" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/users/:id/mobile-token", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"mobileToken\": \"aliqua velit ea magna\",\n \"mobileOS\": \"laborum\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/mobile-token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "mobile-token" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + }, + "description": "Update user's mobile tokens" + }, + "response": [ + { + "name": "Mobile token successfully updated", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"mobileToken\": \"aliqua velit ea magna\",\n \"mobileOS\": \"laborum\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/mobile-token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "mobile-token" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"mobileToken\": \"aliqua velit ea magna\",\n \"mobileOS\": \"laborum\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/mobile-token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "mobile-token" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"mobileToken\": \"aliqua velit ea magna\",\n \"mobileOS\": \"laborum\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/mobile-token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "mobile-token" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"mobileToken\": \"aliqua velit ea magna\",\n \"mobileOS\": \"laborum\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/mobile-token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "mobile-token" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"mobileToken\": \"aliqua velit ea magna\",\n \"mobileOS\": \"laborum\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users/:id/mobile-token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "mobile-token" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/users/:id/image", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/image", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "image" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + }, + "description": "Get user's image" + }, + "response": [ + { + "name": "Retrieved user image", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/image", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "image" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"###\",\n \"image\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEAC...\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/image", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "image" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/image", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "image" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/image", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "image" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/:id/image", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + ":id", + "image" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "action", + "item": [ + { + "name": "/api/users/action/import", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "multipart/form-data" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "filename", + "type": "file", + "src": [] + } + ] + }, + "url": { + "raw": "{{baseUrl}}/api/users/action/import", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + "action", + "import" + ] + }, + "description": "Import users from file" + }, + "response": [ + { + "name": "Users importation results", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "filename", + "type": "file", + "src": [] + } + ] + }, + "url": { + "raw": "{{baseUrl}}/api/users/action/import", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + "action", + "import" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\",\n \"inSuccess\": 42,\n \"inError\": 0\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "filename", + "type": "file", + "src": [] + } + ] + }, + "url": { + "raw": "{{baseUrl}}/api/users/action/import", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + "action", + "import" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "filename", + "type": "file", + "src": [] + } + ] + }, + "url": { + "raw": "{{baseUrl}}/api/users/action/import", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + "action", + "import" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "filename", + "type": "file", + "src": [] + } + ] + }, + "url": { + "raw": "{{baseUrl}}/api/users/action/import", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + "action", + "import" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Invalid file format", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "filename", + "type": "file", + "src": [] + } + ] + }, + "url": { + "raw": "{{baseUrl}}/api/users/action/import", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + "action", + "import" + ] + } + }, + "code": 583, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Invalid CSV header format", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "filename", + "type": "file", + "src": [] + } + ] + }, + "url": { + "raw": "{{baseUrl}}/api/users/action/import", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + "action", + "import" + ] + } + }, + "code": 584, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/users/action/export", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "text/csv" + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/action/export?Issuer=true&Search=sint consequat&SiteID=sint consequat&UserID=sint consequat&Role=sint consequat&Status=sint consequat&ExcludeSiteID=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + "action", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true", + "description": "Current organization" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "Role", + "value": "sint consequat", + "description": "Pipe separated user roles (S, A, B, D)" + }, + { + "key": "Status", + "value": "sint consequat", + "description": "Pipe separated statuses (P, A, I, B, L)" + }, + { + "key": "ExcludeSiteID", + "value": "sint consequat", + "description": "Site ID to exclude" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Export users" + }, + "response": [ + { + "name": "Users exported successfully", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/action/export?Issuer=true&Search=sint consequat&SiteID=sint consequat&UserID=sint consequat&Role=sint consequat&Status=sint consequat&ExcludeSiteID=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + "action", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Role", + "value": "sint consequat" + }, + { + "key": "Status", + "value": "sint consequat" + }, + { + "key": "ExcludeSiteID", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/csv" + } + ], + "cookie": [], + "body": "id,name,firstName,locale,role,status,email,eulaAcceptedOn,createdOn,changedOn,changedBy\n\"###\",\"DEMO\",\"User\",\"en_EN\",\"B\",\"P\",\"user@domain.com\",\"2021-06-09\",\"2021-04-23\",\"2021-06-09\",\"\"" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/action/export?Issuer=true&Search=sint consequat&SiteID=sint consequat&UserID=sint consequat&Role=sint consequat&Status=sint consequat&ExcludeSiteID=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + "action", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Role", + "value": "sint consequat" + }, + { + "key": "Status", + "value": "sint consequat" + }, + { + "key": "ExcludeSiteID", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/action/export?Issuer=true&Search=sint consequat&SiteID=sint consequat&UserID=sint consequat&Role=sint consequat&Status=sint consequat&ExcludeSiteID=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + "action", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Role", + "value": "sint consequat" + }, + { + "key": "Status", + "value": "sint consequat" + }, + { + "key": "ExcludeSiteID", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/action/export?Issuer=true&Search=sint consequat&SiteID=sint consequat&UserID=sint consequat&Role=sint consequat&Status=sint consequat&ExcludeSiteID=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + "action", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Role", + "value": "sint consequat" + }, + { + "key": "Status", + "value": "sint consequat" + }, + { + "key": "ExcludeSiteID", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Invalid file format", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/action/export?Issuer=true&Search=sint consequat&SiteID=sint consequat&UserID=sint consequat&Role=sint consequat&Status=sint consequat&ExcludeSiteID=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + "action", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Role", + "value": "sint consequat" + }, + { + "key": "Status", + "value": "sint consequat" + }, + { + "key": "ExcludeSiteID", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "code": 583, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Invalid CSV header format", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/action/export?Issuer=true&Search=sint consequat&SiteID=sint consequat&UserID=sint consequat&Role=sint consequat&Status=sint consequat&ExcludeSiteID=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + "action", + "export" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Role", + "value": "sint consequat" + }, + { + "key": "Status", + "value": "sint consequat" + }, + { + "key": "ExcludeSiteID", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "code": 584, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/users", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/users?Issuer=true&Search=sint consequat&SiteID=sint consequat&UserID=sint consequat&Role=sint consequat&Status=sint consequat&ExcludeSiteID=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users" + ], + "query": [ + { + "key": "Issuer", + "value": "true", + "description": "Current organization" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "Role", + "value": "sint consequat", + "description": "Pipe separated user roles (S, A, B, D)" + }, + { + "key": "Status", + "value": "sint consequat", + "description": "Pipe separated statuses (P, A, I, B, L)" + }, + { + "key": "ExcludeSiteID", + "value": "sint consequat", + "description": "Site ID to exclude" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Retrieve a list of Users" + }, + "response": [ + { + "name": "Return users list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users?Issuer=true&Search=sint consequat&SiteID=sint consequat&UserID=sint consequat&Role=sint consequat&Status=sint consequat&ExcludeSiteID=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Role", + "value": "sint consequat" + }, + { + "key": "Status", + "value": "sint consequat" + }, + { + "key": "ExcludeSiteID", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"createdBy\": null,\n \"createdOn\": \"2019-10-29T10:33:23.498Z\",\n \"email\": \"###\",\n \"firstName\": \"###\",\n \"lastChangedBy\": {\n \"firstName\": \"###\",\n \"name\": \"###\",\n \"id\": \"###\"\n },\n \"locale\": \"fr_FR\",\n \"name\": \"###\",\n \"role\": \"A\",\n \"status\": \"A\",\n \"eulaAcceptedOn\": \"2021-03-08T10:23:32.842Z\",\n \"eulaAcceptedVersion\": 310,\n \"lastChangedOn\": \"2021-03-08T10:23:46.445Z\",\n \"issuer\": true,\n \"id\": \"###\",\n \"canRead\": true,\n \"canUpdate\": true,\n \"canDelete\": false\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users?Issuer=true&Search=sint consequat&SiteID=sint consequat&UserID=sint consequat&Role=sint consequat&Status=sint consequat&ExcludeSiteID=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Role", + "value": "sint consequat" + }, + { + "key": "Status", + "value": "sint consequat" + }, + { + "key": "ExcludeSiteID", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users?Issuer=true&Search=sint consequat&SiteID=sint consequat&UserID=sint consequat&Role=sint consequat&Status=sint consequat&ExcludeSiteID=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Role", + "value": "sint consequat" + }, + { + "key": "Status", + "value": "sint consequat" + }, + { + "key": "ExcludeSiteID", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users?Issuer=true&Search=sint consequat&SiteID=sint consequat&UserID=sint consequat&Role=sint consequat&Status=sint consequat&ExcludeSiteID=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Role", + "value": "sint consequat" + }, + { + "key": "Status", + "value": "sint consequat" + }, + { + "key": "ExcludeSiteID", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/users", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Demo\",\n \"email\": \"user@domain.com\",\n \"costCenter\": \"######\",\n \"firstName\": \"User\",\n \"iNumber\": \"1234567\",\n \"image\": \"irure sed exercitation\",\n \"mobile\": \"0000000000\",\n \"locale\": \"en_EN\",\n \"address\": {\n \"value\": \"\"\n },\n \"password\": \"password\",\n \"phone\": \"0000000000\",\n \"issuer\": false,\n \"notifcationsActive\": true,\n \"status\": \"L\",\n \"plateID\": \"DEMO\",\n \"role\": \"B\",\n \"notifications\": {\n \"value\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users" + ] + }, + "description": "Create a User" + }, + "response": [ + { + "name": "User created successfully", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Demo\",\n \"email\": \"user@domain.com\",\n \"costCenter\": \"######\",\n \"firstName\": \"User\",\n \"iNumber\": \"1234567\",\n \"image\": \"irure sed exercitation\",\n \"mobile\": \"0000000000\",\n \"locale\": \"en_EN\",\n \"address\": {\n \"value\": \"\"\n },\n \"password\": \"password\",\n \"phone\": \"0000000000\",\n \"issuer\": false,\n \"notifcationsActive\": true,\n \"status\": \"L\",\n \"plateID\": \"DEMO\",\n \"role\": \"B\",\n \"notifications\": {\n \"value\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"###\",\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Demo\",\n \"email\": \"user@domain.com\",\n \"costCenter\": \"######\",\n \"firstName\": \"User\",\n \"iNumber\": \"1234567\",\n \"image\": \"irure sed exercitation\",\n \"mobile\": \"0000000000\",\n \"locale\": \"en_EN\",\n \"address\": {\n \"value\": \"\"\n },\n \"password\": \"password\",\n \"phone\": \"0000000000\",\n \"issuer\": false,\n \"notifcationsActive\": true,\n \"status\": \"L\",\n \"plateID\": \"DEMO\",\n \"role\": \"B\",\n \"notifications\": {\n \"value\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Demo\",\n \"email\": \"user@domain.com\",\n \"costCenter\": \"######\",\n \"firstName\": \"User\",\n \"iNumber\": \"1234567\",\n \"image\": \"irure sed exercitation\",\n \"mobile\": \"0000000000\",\n \"locale\": \"en_EN\",\n \"address\": {\n \"value\": \"\"\n },\n \"password\": \"password\",\n \"phone\": \"0000000000\",\n \"issuer\": false,\n \"notifcationsActive\": true,\n \"status\": \"L\",\n \"plateID\": \"DEMO\",\n \"role\": \"B\",\n \"notifications\": {\n \"value\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Demo\",\n \"email\": \"user@domain.com\",\n \"costCenter\": \"######\",\n \"firstName\": \"User\",\n \"iNumber\": \"1234567\",\n \"image\": \"irure sed exercitation\",\n \"mobile\": \"0000000000\",\n \"locale\": \"en_EN\",\n \"address\": {\n \"value\": \"\"\n },\n \"password\": \"password\",\n \"phone\": \"0000000000\",\n \"issuer\": false,\n \"notifcationsActive\": true,\n \"status\": \"L\",\n \"plateID\": \"DEMO\",\n \"role\": \"B\",\n \"notifications\": {\n \"value\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Email already used", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Demo\",\n \"email\": \"user@domain.com\",\n \"costCenter\": \"######\",\n \"firstName\": \"User\",\n \"iNumber\": \"1234567\",\n \"image\": \"irure sed exercitation\",\n \"mobile\": \"0000000000\",\n \"locale\": \"en_EN\",\n \"address\": {\n \"value\": \"\"\n },\n \"password\": \"password\",\n \"phone\": \"0000000000\",\n \"issuer\": false,\n \"notifcationsActive\": true,\n \"status\": \"L\",\n \"plateID\": \"DEMO\",\n \"role\": \"B\",\n \"notifications\": {\n \"value\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users" + ] + } + }, + "status": "Not Extended (RFC 2774)", + "code": 510, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/users/status/in-error", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/status/in-error?Role=sint consequat&Search=sint consequat&ErrorType=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + "status", + "in-error" + ], + "query": [ + { + "key": "Role", + "value": "sint consequat", + "description": "Pipe separated user roles (S, A, B, D)" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "ErrorType", + "value": "sint consequat", + "description": "Pipe separated error types (inactive_user, unassigned_user, inactive_user_account, failed_billing_synchro, no_billing_data)" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Retrieve a list of Users in error" + }, + "response": [ + { + "name": "Return users in error list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/status/in-error?Role=sint consequat&Search=sint consequat&ErrorType=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + "status", + "in-error" + ], + "query": [ + { + "key": "Role", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "ErrorType", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"email\": \"###\",\n \"createdOn\": \"2021-04-23T09:08:16.451Z\",\n \"firstName\": \"###\",\n \"issuer\": true,\n \"name\": \"###\",\n \"status\": \"P\",\n \"role\": \"B\",\n \"errorCode\": \"inactive_user\",\n \"id\": \"###\",\n \"canRead\": true,\n \"canUpdate\": true,\n \"canDelete\": true\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/status/in-error?Role=sint consequat&Search=sint consequat&ErrorType=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + "status", + "in-error" + ], + "query": [ + { + "key": "Role", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "ErrorType", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/status/in-error?Role=sint consequat&Search=sint consequat&ErrorType=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + "status", + "in-error" + ], + "query": [ + { + "key": "Role", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "ErrorType", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/users/status/in-error?Role=sint consequat&Search=sint consequat&ErrorType=sint consequat&Skip=0&Limit=100&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "users", + "status", + "in-error" + ], + "query": [ + { + "key": "Role", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "ErrorType", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "pricing-definitions", + "item": [ + { + "name": "/api/pricing-definitions", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/pricing-definitions?Entity ID=sint consequat&Entity Type=sint consequat&Search=sint consequat&Skip=0&Limit=100&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "pricing-definitions" + ], + "query": [ + { + "key": "Entity ID", + "value": "sint consequat", + "description": "Entity ID" + }, + { + "key": "Entity Type", + "value": "sint consequat", + "description": "Entity Type" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + } + ] + }, + "description": "Get pricing definitions" + }, + "response": [ + { + "name": "Return pricing definitions", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/pricing-definitions?Entity ID=sint consequat&Entity Type=sint consequat&Search=sint consequat&Skip=0&Limit=100&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "pricing-definitions" + ], + "query": [ + { + "key": "Entity ID", + "value": "sint consequat" + }, + { + "key": "Entity Type", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/pricing-definitions?Entity ID=sint consequat&Entity Type=sint consequat&Search=sint consequat&Skip=0&Limit=100&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "pricing-definitions" + ], + "query": [ + { + "key": "Entity ID", + "value": "sint consequat" + }, + { + "key": "Entity Type", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/pricing-definitions?Entity ID=sint consequat&Entity Type=sint consequat&Search=sint consequat&Skip=0&Limit=100&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "pricing-definitions" + ], + "query": [ + { + "key": "Entity ID", + "value": "sint consequat" + }, + { + "key": "Entity Type", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/pricing-definitions?Entity ID=sint consequat&Entity Type=sint consequat&Search=sint consequat&Skip=0&Limit=100&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "pricing-definitions" + ], + "query": [ + { + "key": "Entity ID", + "value": "sint consequat" + }, + { + "key": "Entity Type", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/pricing-definitions/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/pricing-definitions/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "pricing-definitions", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) PricingDefintionID" + } + ] + }, + "description": "Get pricing definition by id" + }, + "response": [ + { + "name": "Return pricing definition", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/pricing-definitions/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "pricing-definitions", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) PricingDefintionID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"aliquip veniam\",\n \"entityID\": \"ex commodo in ullamco amet\",\n \"entityType\": \"ipsum ut\",\n \"name\": \"consequat dolore cupidatat sunt adipisicing\",\n \"description\": \"in enim laborum ad\",\n \"staticRestrictions\": {\n \"value\": \"\"\n },\n \"restrictions\": {\n \"value\": \"\"\n },\n \"dimensions\": {\n \"value\": \"\"\n }\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/pricing-definitions/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "pricing-definitions", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) PricingDefintionID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/pricing-definitions/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "pricing-definitions", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) PricingDefintionID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/pricing-definitions/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "pricing-definitions", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) PricingDefintionID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/pricing-definitions/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "pricing-definitions", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) PricingDefintionID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "tags", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/api/tags/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag ID" + } + ] + }, + "description": "Retrieve a Tag" + }, + "response": [ + { + "name": "Return tag", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"active\": true,\n \"createdBy\": {\n \"firstName\": \"###\",\n \"name\": \"###\"\n },\n \"createdOn\": \"2021-03-10T09:58:10.560Z\",\n \"default\": false,\n \"description\": \"##########\",\n \"issuer\": true,\n \"ocpiToken\": null,\n \"userID\": \"###\",\n \"user\": {\n \"email\": \"###\",\n \"firstName\": \"###\",\n \"name\": \"###\",\n \"id\": \"###\"\n },\n \"visualID\": \"###\",\n \"id\": \"###\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/:id?ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id" + ], + "query": [ + { + "key": "ProjectFields", + "value": "" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/tags/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"userID\": \"###\",\n \"active\": true,\n \"visualID\": \"###\",\n \"description\": \"Badge description\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag ID" + } + ] + }, + "description": "Update a Tag" + }, + "response": [ + { + "name": "Tag updated successfully", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"userID\": \"###\",\n \"active\": true,\n \"visualID\": \"###\",\n \"description\": \"Badge description\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"userID\": \"###\",\n \"active\": true,\n \"visualID\": \"###\",\n \"description\": \"Badge description\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"userID\": \"###\",\n \"active\": true,\n \"visualID\": \"###\",\n \"description\": \"Badge description\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"userID\": \"###\",\n \"active\": true,\n \"visualID\": \"###\",\n \"description\": \"Badge description\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"userID\": \"###\",\n \"active\": true,\n \"visualID\": \"###\",\n \"description\": \"Badge description\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Cannot change user or delete a tag having transactions", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"userID\": \"###\",\n \"active\": true,\n \"visualID\": \"###\",\n \"description\": \"Badge description\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag ID" + } + ] + } + }, + "code": 575, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/tags/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag ID" + } + ] + }, + "description": "Delete a Tag" + }, + "response": [ + { + "name": "Tag deleted successfully", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/tags/:id/assign", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"visualID\": \"###\",\n \"userID\": \"###\",\n \"description\": \"Badge description\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/:id/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag Visual ID" + } + ] + }, + "description": "Assign a Tag to a user" + }, + "response": [ + { + "name": "Tag successfully assigned", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"visualID\": \"###\",\n \"userID\": \"###\",\n \"description\": \"Badge description\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/:id/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag Visual ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\",\n \"id\": \"###\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"visualID\": \"###\",\n \"userID\": \"###\",\n \"description\": \"Badge description\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/:id/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag Visual ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"visualID\": \"###\",\n \"userID\": \"###\",\n \"description\": \"Badge description\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/:id/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag Visual ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"visualID\": \"###\",\n \"userID\": \"###\",\n \"description\": \"Badge description\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/:id/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag Visual ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"visualID\": \"###\",\n \"userID\": \"###\",\n \"description\": \"Badge description\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/:id/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag Visual ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Tag already exists and assigned to another user", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"visualID\": \"###\",\n \"userID\": \"###\",\n \"description\": \"Badge description\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/:id/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag Visual ID" + } + ] + } + }, + "code": 576, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Tag with given visual ID does not match any badge", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"visualID\": \"###\",\n \"userID\": \"###\",\n \"description\": \"Badge description\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/:id/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag Visual ID" + } + ] + } + }, + "code": 578, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Tag with given visual ID is not active and cannot be assigned", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"visualID\": \"###\",\n \"userID\": \"###\",\n \"description\": \"Badge description\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/:id/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag Visual ID" + } + ] + } + }, + "code": 579, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/tags/:id/unassign", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/:id/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag Visual ID" + } + ] + }, + "description": "Unassign a Tag" + }, + "response": [ + { + "name": "Tag successfully unassigned", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/:id/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag Visual ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/:id/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag Visual ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/:id/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag Visual ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/:id/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag Visual ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/:id/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + ":id", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Tag Visual ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "action", + "item": [ + { + "name": "/api/tags/action/import", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "multipart/form-data" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "filename", + "type": "file", + "src": [] + } + ] + }, + "url": { + "raw": "{{baseUrl}}/api/tags/action/import", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + "action", + "import" + ] + }, + "description": "Import a Tag file" + }, + "response": [ + { + "name": "Tag importation results", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "filename", + "type": "file", + "src": [] + } + ] + }, + "url": { + "raw": "{{baseUrl}}/api/tags/action/import", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + "action", + "import" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"inSuccess\": 42,\n \"inError\": 0,\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "filename", + "type": "file", + "src": [] + } + ] + }, + "url": { + "raw": "{{baseUrl}}/api/tags/action/import", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + "action", + "import" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "filename", + "type": "file", + "src": [] + } + ] + }, + "url": { + "raw": "{{baseUrl}}/api/tags/action/import", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + "action", + "import" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "filename", + "type": "file", + "src": [] + } + ] + }, + "url": { + "raw": "{{baseUrl}}/api/tags/action/import", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + "action", + "import" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Invalid file format", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "filename", + "type": "file", + "src": [] + } + ] + }, + "url": { + "raw": "{{baseUrl}}/api/tags/action/import", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + "action", + "import" + ] + } + }, + "code": 583, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Invalid CSV header format", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "filename", + "type": "file", + "src": [] + } + ] + }, + "url": { + "raw": "{{baseUrl}}/api/tags/action/import", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + "action", + "import" + ] + } + }, + "code": 584, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/tags/action/export", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "text/csv" + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/action/export?Search=sint consequat&UserID=sint consequat&Issuer=true&Active=true&WithUser=true&Skip=0&Limit=100&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + "action", + "export" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "Issuer", + "value": "true", + "description": "Current organization" + }, + { + "key": "Active", + "value": "true", + "description": "Active attribute" + }, + { + "key": "WithUser", + "value": "true", + "description": "Retrieve also the user" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Export Tags" + }, + "response": [ + { + "name": "Return exported tags", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/action/export?Search=sint consequat&UserID=sint consequat&Issuer=true&Active=true&WithUser=true&Skip=0&Limit=100&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + "action", + "export" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Active", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/csv" + } + ], + "cookie": [], + "body": "id,visualID,description,firstName,name,email\n\"###\",\"###\",\"###\",\"###\",\"###\",\"###\"" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/action/export?Search=sint consequat&UserID=sint consequat&Issuer=true&Active=true&WithUser=true&Skip=0&Limit=100&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + "action", + "export" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Active", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/action/export?Search=sint consequat&UserID=sint consequat&Issuer=true&Active=true&WithUser=true&Skip=0&Limit=100&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + "action", + "export" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Active", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/action/export?Search=sint consequat&UserID=sint consequat&Issuer=true&Active=true&WithUser=true&Skip=0&Limit=100&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + "action", + "export" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Active", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Invalid file format", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/action/export?Search=sint consequat&UserID=sint consequat&Issuer=true&Active=true&WithUser=true&Skip=0&Limit=100&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + "action", + "export" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Active", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "code": 583, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Invalid CSV header format", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags/action/export?Search=sint consequat&UserID=sint consequat&Issuer=true&Active=true&WithUser=true&Skip=0&Limit=100&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + "action", + "export" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Active", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "code": 584, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/tags", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags?Issuer=true&Search=sint consequat&UserID=sint consequat&Active=true&WithUser=true&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags" + ], + "query": [ + { + "key": "Issuer", + "value": "true", + "description": "Current organization" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "User ID" + }, + { + "key": "Active", + "value": "true", + "description": "Active attribute" + }, + { + "key": "WithUser", + "value": "true", + "description": "Retrieve also the user" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Retrieve a list of Tags" + }, + "response": [ + { + "name": "Return tags list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags?Issuer=true&Search=sint consequat&UserID=sint consequat&Active=true&WithUser=true&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Active", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"active\": true,\n \"createdBy\": {\n \"firstName\": \"###\",\n \"name\": \"###\"\n },\n \"createdOn\": \"2021-03-10T09:58:10.560Z\",\n \"default\": false,\n \"description\": \"##########\",\n \"issuer\": true,\n \"ocpiToken\": null,\n \"userID\": \"###\",\n \"user\": {\n \"email\": \"###\",\n \"firstName\": \"###\",\n \"name\": \"###\",\n \"id\": \"###\"\n },\n \"id\": \"###\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags?Issuer=true&Search=sint consequat&UserID=sint consequat&Active=true&WithUser=true&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Active", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags?Issuer=true&Search=sint consequat&UserID=sint consequat&Active=true&WithUser=true&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Active", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/tags?Issuer=true&Search=sint consequat&UserID=sint consequat&Active=true&WithUser=true&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Active", + "value": "true" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/tags", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"id\": \"T12345678\",\n \"userID\": \"###\",\n \"issuer\": true,\n \"active\": true,\n \"description\": \"Badge description\",\n \"visualID\": \"###\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags" + ] + }, + "description": "Create a Tag" + }, + "response": [ + { + "name": "Tag created successfully", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"id\": \"T12345678\",\n \"userID\": \"###\",\n \"issuer\": true,\n \"active\": true,\n \"description\": \"Badge description\",\n \"visualID\": \"###\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"###\",\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"id\": \"T12345678\",\n \"userID\": \"###\",\n \"issuer\": true,\n \"active\": true,\n \"description\": \"Badge description\",\n \"visualID\": \"###\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"id\": \"T12345678\",\n \"userID\": \"###\",\n \"issuer\": true,\n \"active\": true,\n \"description\": \"Badge description\",\n \"visualID\": \"###\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "User does not exist", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"id\": \"T12345678\",\n \"userID\": \"###\",\n \"issuer\": true,\n \"active\": true,\n \"description\": \"Badge description\",\n \"visualID\": \"###\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"id\": \"T12345678\",\n \"userID\": \"###\",\n \"issuer\": true,\n \"active\": true,\n \"description\": \"Badge description\",\n \"visualID\": \"###\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Tag already exists", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"id\": \"T12345678\",\n \"userID\": \"###\",\n \"issuer\": true,\n \"active\": true,\n \"description\": \"Badge description\",\n \"visualID\": \"###\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags" + ] + } + }, + "code": 576, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/tags", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"tagsIDs\": [\n \"aliquip veniam\",\n \"culpa\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags" + ] + }, + "description": "Delete several Tags" + }, + "response": [ + { + "name": "Tags deletion result", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"tagsIDs\": [\n \"qui Duis\",\n \"eu Duis cillum Ut consequat\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"inSuccess\": 42,\n \"inError\": 0,\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"tagsIDs\": [\n \"qui Duis\",\n \"eu Duis cillum Ut consequat\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"tagsIDs\": [\n \"qui Duis\",\n \"eu Duis cillum Ut consequat\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"tagsIDs\": [\n \"qui Duis\",\n \"eu Duis cillum Ut consequat\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"tagsIDs\": [\n \"qui Duis\",\n \"eu Duis cillum Ut consequat\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/tags/unassign", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"visualIDs\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + "unassign" + ] + }, + "description": "Unassign several Tags" + }, + "response": [ + { + "name": "Tags successfully unassigned", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"visualIDs\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + "unassign" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"visualIDs\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + "unassign" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"visualIDs\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + "unassign" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"visualIDs\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + "unassign" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"visualIDs\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/tags/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tags", + "unassign" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "notifications", + "item": [ + { + "name": "/api/notifications", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/notifications?DateFrom=sint consequat&UserID=sint consequat&Channel=email&Skip=0&SortFields=id&Limit=100", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "notifications" + ], + "query": [ + { + "key": "DateFrom", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "User ID" + }, + { + "key": "Channel", + "value": "email", + "description": "Notification channel" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + } + ] + }, + "description": "Retrieve a list of notifications" + }, + "response": [ + { + "name": "Return notification list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/notifications?DateFrom=sint consequat&UserID=sint consequat&Channel=email&Skip=0&SortFields=id&Limit=100", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "notifications" + ], + "query": [ + { + "key": "DateFrom", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Channel", + "value": "email" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"_id\": \"###\",\n \"userID\": \"###\",\n \"timestamp\": \"2021-09-08T08:29:00.994Z\",\n \"channel\": \"email\",\n \"sourceId\": \"###\",\n \"sourceDescr\": \"###\",\n \"data\": {},\n \"chargeBoxID\": \"###\",\n \"user\": {\n \"email\": \"###\",\n \"firstName\": \"###\",\n \"name\": \"###\",\n \"id\": \"###\"\n }\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/notifications?DateFrom=sint consequat&UserID=sint consequat&Channel=email&Skip=0&SortFields=id&Limit=100", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "notifications" + ], + "query": [ + { + "key": "DateFrom", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Channel", + "value": "email" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/notifications?DateFrom=sint consequat&UserID=sint consequat&Channel=email&Skip=0&SortFields=id&Limit=100", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "notifications" + ], + "query": [ + { + "key": "DateFrom", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Channel", + "value": "email" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/notifications?DateFrom=sint consequat&UserID=sint consequat&Channel=email&Skip=0&SortFields=id&Limit=100", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "notifications" + ], + "query": [ + { + "key": "DateFrom", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Channel", + "value": "email" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/notifications/action/end-user/report-error", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"subject\": \"in anim Duis consequat\",\n \"description\": \"cupidatat labore esse\",\n \"mobile\": \"ea ut\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/notifications/action/end-user/report-error", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "notifications", + "action", + "end-user", + "report-error" + ] + }, + "description": "Report an error" + }, + "response": [ + { + "name": "Error reported successfully", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"subject\": \"in anim Duis consequat\",\n \"description\": \"cupidatat labore esse\",\n \"mobile\": \"ea ut\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/notifications/action/end-user/report-error", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "notifications", + "action", + "end-user", + "report-error" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"subject\": \"in anim Duis consequat\",\n \"description\": \"cupidatat labore esse\",\n \"mobile\": \"ea ut\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/notifications/action/end-user/report-error", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "notifications", + "action", + "end-user", + "report-error" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"subject\": \"in anim Duis consequat\",\n \"description\": \"cupidatat labore esse\",\n \"mobile\": \"ea ut\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/notifications/action/end-user/report-error", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "notifications", + "action", + "end-user", + "report-error" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"subject\": \"in anim Duis consequat\",\n \"description\": \"cupidatat labore esse\",\n \"mobile\": \"ea ut\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/notifications/action/end-user/report-error", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "notifications", + "action", + "end-user", + "report-error" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "sites", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "users", + "item": [ + { + "name": "/api/sites/:id/users", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/sites/:id/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "users" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + }, + "description": "Retrieve site's users" + }, + "response": [ + { + "name": "Return site's user list", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "users" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"siteID\": \"###\",\n \"siteAdmin\": false,\n \"user\": {\n \"email\": \"###\",\n \"firstName\": \"###\",\n \"name\": \"###\",\n \"role\": \"A\",\n \"id\": \"###\"\n }\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "users" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "users" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "users" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "users" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/sites/:id/users/admin", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"userID\": \"commodo occaecat\",\n \"siteAdmin\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites/:id/users/admin", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "users", + "admin" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + }, + "description": "Set user as site admin" + }, + "response": [ + { + "name": "User successfully set/unset as site admin", + "originalRequest": { + "method": "PUT", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"userID\": \"commodo occaecat\",\n \"siteAdmin\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites/:id/users/admin", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "users", + "admin" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"userID\": \"commodo occaecat\",\n \"siteAdmin\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites/:id/users/admin", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "users", + "admin" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"userID\": \"commodo occaecat\",\n \"siteAdmin\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites/:id/users/admin", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "users", + "admin" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"userID\": \"commodo occaecat\",\n \"siteAdmin\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites/:id/users/admin", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "users", + "admin" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"userID\": \"commodo occaecat\",\n \"siteAdmin\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites/:id/users/admin", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "users", + "admin" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/sites/:id/users/owner", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"userID\": \"e\",\n \"siteAdmin\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites/:id/users/owner", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "users", + "owner" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + }, + "description": "Set user as site owner" + }, + "response": [ + { + "name": "User successfully set/unset as site owner", + "originalRequest": { + "method": "PUT", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"userID\": \"e\",\n \"siteAdmin\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites/:id/users/owner", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "users", + "owner" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"userID\": \"e\",\n \"siteAdmin\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites/:id/users/owner", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "users", + "owner" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"userID\": \"e\",\n \"siteAdmin\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites/:id/users/owner", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "users", + "owner" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"userID\": \"e\",\n \"siteAdmin\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites/:id/users/owner", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "users", + "owner" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"userID\": \"e\",\n \"siteAdmin\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites/:id/users/owner", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "users", + "owner" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/sites/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/sites/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + }, + "description": "Retrieve a site" + }, + "response": [ + { + "name": "Return site", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"mollit\",\n \"name\": \"elit veniam anim deserunt\",\n \"address\": {\n \"value\": \"\"\n },\n \"public\": true,\n \"tariffID\": \"in laboris id qui\",\n \"autoUserSiteAssignment\": false,\n \"companyID\": \"enim sunt et\",\n \"image\": \"labore reprehenderit minim est\",\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n },\n \"issuer\": true\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/sites/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"sit ex id esse deserunt\",\n \"address\": {\n \"value\": \"\"\n },\n \"public\": false,\n \"tariffID\": \"nostrud cupid\",\n \"autoUserSiteAssignment\": false,\n \"companyID\": \"sit qui\",\n \"image\": \"Lorem ut dolore tempor deserunt\",\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + }, + "description": "Update a Site" + }, + "response": [ + { + "name": "Site updated successfully", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"sit ex id esse deserunt\",\n \"address\": {\n \"value\": \"\"\n },\n \"public\": false,\n \"tariffID\": \"nostrud cupid\",\n \"autoUserSiteAssignment\": false,\n \"companyID\": \"sit qui\",\n \"image\": \"Lorem ut dolore tempor deserunt\",\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"sit ex id esse deserunt\",\n \"address\": {\n \"value\": \"\"\n },\n \"public\": false,\n \"tariffID\": \"nostrud cupid\",\n \"autoUserSiteAssignment\": false,\n \"companyID\": \"sit qui\",\n \"image\": \"Lorem ut dolore tempor deserunt\",\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"sit ex id esse deserunt\",\n \"address\": {\n \"value\": \"\"\n },\n \"public\": false,\n \"tariffID\": \"nostrud cupid\",\n \"autoUserSiteAssignment\": false,\n \"companyID\": \"sit qui\",\n \"image\": \"Lorem ut dolore tempor deserunt\",\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"sit ex id esse deserunt\",\n \"address\": {\n \"value\": \"\"\n },\n \"public\": false,\n \"tariffID\": \"nostrud cupid\",\n \"autoUserSiteAssignment\": false,\n \"companyID\": \"sit qui\",\n \"image\": \"Lorem ut dolore tempor deserunt\",\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"sit ex id esse deserunt\",\n \"address\": {\n \"value\": \"\"\n },\n \"public\": false,\n \"tariffID\": \"nostrud cupid\",\n \"autoUserSiteAssignment\": false,\n \"companyID\": \"sit qui\",\n \"image\": \"Lorem ut dolore tempor deserunt\",\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Cannot set site to private as one or several charging stations under site are public", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"sit ex id esse deserunt\",\n \"address\": {\n \"value\": \"\"\n },\n \"public\": false,\n \"tariffID\": \"nostrud cupid\",\n \"autoUserSiteAssignment\": false,\n \"companyID\": \"sit qui\",\n \"image\": \"Lorem ut dolore tempor deserunt\",\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "code": 585, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/sites/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/sites/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + }, + "description": "Delete a site" + }, + "response": [ + { + "name": "Site deleted successfully", + "originalRequest": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/sites/:id/assign", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"userIDs\": [\n \"elit mollit tempor\",\n \"qui\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites/:id/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + }, + "description": "Assign users to a site" + }, + "response": [ + { + "name": "Users successfully assigned", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id/assign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "assign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/sites/:id/unassign", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"userIDs\": [\n \"elit mollit tempor\",\n \"qui\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites/:id/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + }, + "description": "Unassign users from a site" + }, + "response": [ + { + "name": "Users successfully unassigned", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites/:id/unassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites", + ":id", + "unassign" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/sites", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/sites?Issuer=true&Search=sint consequat&UserID=sint consequat&id=sint consequat&SiteID=sint consequat&ExcludeSitesOfUserID=sint consequat&SiteAdmin=true&WithCompany=true&WithAvailableChargers=false&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&Skip=0&Limit=100&SortFields=id&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites" + ], + "query": [ + { + "key": "Issuer", + "value": "true", + "description": "Current organization" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "User ID" + }, + { + "key": "id", + "value": "sint consequat", + "description": "Company ID" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Site ID" + }, + { + "key": "ExcludeSitesOfUserID", + "value": "sint consequat", + "description": "Exclude sites of user ID" + }, + { + "key": "SiteAdmin", + "value": "true", + "description": "Only site admin Sites" + }, + { + "key": "WithCompany", + "value": "true", + "description": "With company attribute" + }, + { + "key": "WithAvailableChargers", + "value": "false", + "description": "Request Sites with their available chargers" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898", + "description": "Longitude location" + }, + { + "key": "LocLatitude", + "value": "sint consequat", + "description": "Latitude location" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898", + "description": "Maximum range from location in meters" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Retrieve a list of Sites" + }, + "response": [ + { + "name": "Return site list", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites?Issuer=true&Search=sint consequat&UserID=sint consequat&id=sint consequat&SiteID=sint consequat&ExcludeSitesOfUserID=sint consequat&SiteAdmin=true&WithCompany=true&WithAvailableChargers=false&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&Skip=0&Limit=100&SortFields=id&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "id", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "ExcludeSitesOfUserID", + "value": "sint consequat" + }, + { + "key": "SiteAdmin", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "WithAvailableChargers", + "value": "false" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898" + }, + { + "key": "LocLatitude", + "value": "sint consequat" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites?Issuer=true&Search=sint consequat&UserID=sint consequat&id=sint consequat&SiteID=sint consequat&ExcludeSitesOfUserID=sint consequat&SiteAdmin=true&WithCompany=true&WithAvailableChargers=false&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&Skip=0&Limit=100&SortFields=id&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "id", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "ExcludeSitesOfUserID", + "value": "sint consequat" + }, + { + "key": "SiteAdmin", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "WithAvailableChargers", + "value": "false" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898" + }, + { + "key": "LocLatitude", + "value": "sint consequat" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites?Issuer=true&Search=sint consequat&UserID=sint consequat&id=sint consequat&SiteID=sint consequat&ExcludeSitesOfUserID=sint consequat&SiteAdmin=true&WithCompany=true&WithAvailableChargers=false&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&Skip=0&Limit=100&SortFields=id&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "id", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "ExcludeSitesOfUserID", + "value": "sint consequat" + }, + { + "key": "SiteAdmin", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "WithAvailableChargers", + "value": "false" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898" + }, + { + "key": "LocLatitude", + "value": "sint consequat" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/sites?Issuer=true&Search=sint consequat&UserID=sint consequat&id=sint consequat&SiteID=sint consequat&ExcludeSitesOfUserID=sint consequat&SiteAdmin=true&WithCompany=true&WithAvailableChargers=false&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&Skip=0&Limit=100&SortFields=id&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites" + ], + "query": [ + { + "key": "Issuer", + "value": "true" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "id", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "ExcludeSitesOfUserID", + "value": "sint consequat" + }, + { + "key": "SiteAdmin", + "value": "true" + }, + { + "key": "WithCompany", + "value": "true" + }, + { + "key": "WithAvailableChargers", + "value": "false" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898" + }, + { + "key": "LocLatitude", + "value": "sint consequat" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/sites", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"sit ex id esse deserunt\",\n \"address\": {\n \"value\": \"\"\n },\n \"public\": false,\n \"tariffID\": \"nostrud cupid\",\n \"autoUserSiteAssignment\": false,\n \"companyID\": \"sit qui\",\n \"image\": \"Lorem ut dolore tempor deserunt\",\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites" + ] + }, + "description": "Create a Site" + }, + "response": [ + { + "name": "Site has been created with success", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"sit ex id esse deserunt\",\n \"address\": {\n \"value\": \"\"\n },\n \"public\": false,\n \"tariffID\": \"nostrud cupid\",\n \"autoUserSiteAssignment\": false,\n \"companyID\": \"sit qui\",\n \"image\": \"Lorem ut dolore tempor deserunt\",\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\",\n \"id\": \"###\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"sit ex id esse deserunt\",\n \"address\": {\n \"value\": \"\"\n },\n \"public\": false,\n \"tariffID\": \"nostrud cupid\",\n \"autoUserSiteAssignment\": false,\n \"companyID\": \"sit qui\",\n \"image\": \"Lorem ut dolore tempor deserunt\",\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"sit ex id esse deserunt\",\n \"address\": {\n \"value\": \"\"\n },\n \"public\": false,\n \"tariffID\": \"nostrud cupid\",\n \"autoUserSiteAssignment\": false,\n \"companyID\": \"sit qui\",\n \"image\": \"Lorem ut dolore tempor deserunt\",\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"sit ex id esse deserunt\",\n \"address\": {\n \"value\": \"\"\n },\n \"public\": false,\n \"tariffID\": \"nostrud cupid\",\n \"autoUserSiteAssignment\": false,\n \"companyID\": \"sit qui\",\n \"image\": \"Lorem ut dolore tempor deserunt\",\n \"createdOn\": {\n \"value\": \"\"\n },\n \"lastChangedOn\": {\n \"value\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "sites" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "logs", + "item": [ + { + "name": "/api/logs", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/logs?StartDateTime=sint consequat&EndDateTime=sint consequat&Level=&Source=Batch&Host=sint consequat&Action=sint consequat&ChargingStationID=sint consequat&SiteID=sint consequat&UserID=sint consequat&Search=sint consequat&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "logs" + ], + "query": [ + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "Level", + "value": "", + "description": "Pipe separated log levels (D, I, W, E, NONE, DEFAULT)" + }, + { + "key": "Source", + "value": "Batch", + "description": "Log source" + }, + { + "key": "Host", + "value": "sint consequat", + "description": "Log host" + }, + { + "key": "Action", + "value": "sint consequat", + "description": "Pipe separated log actions" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Charging Station ID" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Site ID" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "User ID" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Retrieve a list of logs" + }, + "response": [ + { + "name": "Return logs list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/logs?StartDateTime=sint consequat&EndDateTime=sint consequat&Level=DEFAULTDD|NONEEENONEEDNONE&Source=Batch&Host=sint consequat&Action=sint consequat&ChargingStationID=sint consequat&SiteID=sint consequat&UserID=sint consequat&Search=sint consequat&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "logs" + ], + "query": [ + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "Level", + "value": "DEFAULTDD|NONEEENONEEDNONE" + }, + { + "key": "Source", + "value": "Batch" + }, + { + "key": "Host", + "value": "sint consequat" + }, + { + "key": "Action", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"level\": \"D\",\n \"source\": \"###\",\n \"host\": \"###\",\n \"process\": \"###\",\n \"type\": \"S\",\n \"timestamp\": \"2021-08-18T09:09:57.129Z\",\n \"module\": \"###\",\n \"method\": \"###\",\n \"action\": \"###\",\n \"message\": \"###\",\n \"user\": {\n \"firstName\": \"###\",\n \"name\": \"###\"\n },\n \"hasDetailedMessages\": true,\n \"id\": \"###\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/logs?StartDateTime=sint consequat&EndDateTime=sint consequat&Level=DEFAULTDD|NONEEENONEEDNONE&Source=Batch&Host=sint consequat&Action=sint consequat&ChargingStationID=sint consequat&SiteID=sint consequat&UserID=sint consequat&Search=sint consequat&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "logs" + ], + "query": [ + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "Level", + "value": "DEFAULTDD|NONEEENONEEDNONE" + }, + { + "key": "Source", + "value": "Batch" + }, + { + "key": "Host", + "value": "sint consequat" + }, + { + "key": "Action", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/logs?StartDateTime=sint consequat&EndDateTime=sint consequat&Level=DEFAULTDD|NONEEENONEEDNONE&Source=Batch&Host=sint consequat&Action=sint consequat&ChargingStationID=sint consequat&SiteID=sint consequat&UserID=sint consequat&Search=sint consequat&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "logs" + ], + "query": [ + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "Level", + "value": "DEFAULTDD|NONEEENONEEDNONE" + }, + { + "key": "Source", + "value": "Batch" + }, + { + "key": "Host", + "value": "sint consequat" + }, + { + "key": "Action", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/logs?StartDateTime=sint consequat&EndDateTime=sint consequat&Level=DEFAULTDD|NONEEENONEEDNONE&Source=Batch&Host=sint consequat&Action=sint consequat&ChargingStationID=sint consequat&SiteID=sint consequat&UserID=sint consequat&Search=sint consequat&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "logs" + ], + "query": [ + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "Level", + "value": "DEFAULTDD|NONEEENONEEDNONE" + }, + { + "key": "Source", + "value": "Batch" + }, + { + "key": "Host", + "value": "sint consequat" + }, + { + "key": "Action", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/logs/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/logs/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "logs", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Log ID" + } + ] + }, + "description": "Retrieve a log" + }, + "response": [ + { + "name": "Returned log", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/logs/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "logs", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Log ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"level\": \"D\",\n \"source\": \"###\",\n \"host\": \"###\",\n \"process\": \"###\",\n \"type\": \"S\",\n \"timestamp\": \"2021-08-18T08:53:00.924Z\",\n \"action\": \"###\",\n \"message\": \"###\",\n \"detailedMessages\": \"###\",\n \"user\": {\n \"firstName\": \"###\",\n \"name\": \"###\"\n },\n \"hasDetailedMessages\": true,\n \"id\": \"###\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/logs/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "logs", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Log ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/logs/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "logs", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Log ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/logs/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "logs", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Log ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/logs/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "logs", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Log ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/logs/action/export", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "text/csv" + } + ], + "url": { + "raw": "{{baseUrl}}/api/logs/action/export?StartDateTime=sint consequat&EndDateTime=sint consequat&Level=DEFAULTDD|NONEEENONEEDNONE&Source=Batch&Host=sint consequat&Action=sint consequat&ChargingStationID=sint consequat&SiteID=sint consequat&UserID=sint consequat&Search=sint consequat&Skip=0&SortFields=id&Limit=100&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "logs", + "action", + "export" + ], + "query": [ + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "Level", + "value": "DEFAULTDD|NONEEENONEEDNONE", + "description": "Pipe separated log levels (D, I, W, E, NONE, DEFAULT)" + }, + { + "key": "Source", + "value": "Batch", + "description": "Log source" + }, + { + "key": "Host", + "value": "sint consequat", + "description": "Log host" + }, + { + "key": "Action", + "value": "sint consequat", + "description": "Pipe separated log actions" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Charging Station ID" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Site ID" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "User ID" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Export logs as CSV file" + }, + "response": [ + { + "name": "Return exported logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/logs/action/export?StartDateTime=sint consequat&EndDateTime=sint consequat&Level=DEFAULTDD|NONEEENONEEDNONE&Source=Batch&Host=sint consequat&Action=sint consequat&ChargingStationID=sint consequat&SiteID=sint consequat&UserID=sint consequat&Search=sint consequat&Skip=0&SortFields=id&Limit=100&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "logs", + "action", + "export" + ], + "query": [ + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "Level", + "value": "DEFAULTDD|NONEEENONEEDNONE" + }, + { + "key": "Source", + "value": "Batch" + }, + { + "key": "Host", + "value": "sint consequat" + }, + { + "key": "Action", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/csv" + } + ], + "cookie": [], + "body": "date,time,level,type,action,message,method,module,source,host,process\n\"2021-08-18\",\"11:36:37\",\"D\",\"S\",\"###\",\"###\",\"###\",\"###\",\"###\",\"###\",\"###\"" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/logs/action/export?StartDateTime=sint consequat&EndDateTime=sint consequat&Level=DEFAULTDD|NONEEENONEEDNONE&Source=Batch&Host=sint consequat&Action=sint consequat&ChargingStationID=sint consequat&SiteID=sint consequat&UserID=sint consequat&Search=sint consequat&Skip=0&SortFields=id&Limit=100&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "logs", + "action", + "export" + ], + "query": [ + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "Level", + "value": "DEFAULTDD|NONEEENONEEDNONE" + }, + { + "key": "Source", + "value": "Batch" + }, + { + "key": "Host", + "value": "sint consequat" + }, + { + "key": "Action", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/logs/action/export?StartDateTime=sint consequat&EndDateTime=sint consequat&Level=DEFAULTDD|NONEEENONEEDNONE&Source=Batch&Host=sint consequat&Action=sint consequat&ChargingStationID=sint consequat&SiteID=sint consequat&UserID=sint consequat&Search=sint consequat&Skip=0&SortFields=id&Limit=100&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "logs", + "action", + "export" + ], + "query": [ + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "Level", + "value": "DEFAULTDD|NONEEENONEEDNONE" + }, + { + "key": "Source", + "value": "Batch" + }, + { + "key": "Host", + "value": "sint consequat" + }, + { + "key": "Action", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/logs/action/export?StartDateTime=sint consequat&EndDateTime=sint consequat&Level=DEFAULTDD|NONEEENONEEDNONE&Source=Batch&Host=sint consequat&Action=sint consequat&ChargingStationID=sint consequat&SiteID=sint consequat&UserID=sint consequat&Search=sint consequat&Skip=0&SortFields=id&Limit=100&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "logs", + "action", + "export" + ], + "query": [ + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "Level", + "value": "DEFAULTDD|NONEEENONEEDNONE" + }, + { + "key": "Source", + "value": "Batch" + }, + { + "key": "Host", + "value": "sint consequat" + }, + { + "key": "Action", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "connections", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/api/connections/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/connections/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Connection ID" + } + ] + }, + "description": "Get integration connection" + }, + "response": [ + { + "name": "Return connection", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/connections/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Connection ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"###\",\n \"connectorId\": \"###\",\n \"createdAt\": \"###\",\n \"validUntil\": \"###\",\n \"lastChangedOn\": \"###\",\n \"createdOn\": \"###\",\n \"createdBy\": {\n \"name\": \"###\",\n \"firstName\": \"###\"\n },\n \"lastChangedBy\": {\n \"name\": \"###\",\n \"firstName\": \"###\"\n }\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/connections/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Connection ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/connections/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Connection ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/connections/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Connection ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/connections/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Connection ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/connections/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/connections/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Connection ID" + } + ] + }, + "description": "Delete an integration connection" + }, + "response": [ + { + "name": "Connection successfully deleted", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/connections/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Connection ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/connections/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Connection ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/connections/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Connection ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/connections/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Connection ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/connections/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Connection ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/connections", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/connections?UserID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections" + ], + "query": [ + { + "key": "UserID", + "value": "sint consequat", + "description": "(Required) User ID" + } + ] + }, + "description": "Get integration connections" + }, + "response": [ + { + "name": "Return connections list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/connections?UserID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections" + ], + "query": [ + { + "key": "UserID", + "value": "sint consequat" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"id\": \"###\",\n \"connectorId\": \"###\",\n \"createdAt\": \"###\",\n \"validUntil\": \"###\",\n \"lastChangedOn\": \"###\",\n \"createdOn\": \"###\",\n \"createdBy\": {\n \"name\": \"###\",\n \"firstName\": \"###\"\n },\n \"lastChangedBy\": {\n \"name\": \"###\",\n \"firstName\": \"###\"\n }\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/connections?UserID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections" + ], + "query": [ + { + "key": "UserID", + "value": "sint consequat" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/connections?UserID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections" + ], + "query": [ + { + "key": "UserID", + "value": "sint consequat" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/connections?UserID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections" + ], + "query": [ + { + "key": "UserID", + "value": "sint consequat" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/connections", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"connectorId\": -13061420.891349226,\n \"userId\": \"ipsum ad in incididunt\",\n \"data\": {}\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/connections", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections" + ] + }, + "description": "Create an integration connection" + }, + "response": [ + { + "name": "Connection created successfully", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"connectorId\": -13061420.891349226,\n \"userId\": \"ipsum ad in incididunt\",\n \"data\": {}\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/connections", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\",\n \"id\": \"###\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"connectorId\": -13061420.891349226,\n \"userId\": \"ipsum ad in incididunt\",\n \"data\": {}\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/connections", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"connectorId\": -13061420.891349226,\n \"userId\": \"ipsum ad in incididunt\",\n \"data\": {}\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/connections", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"connectorId\": -13061420.891349226,\n \"userId\": \"ipsum ad in incididunt\",\n \"data\": {}\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/connections", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "connections" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "car-catalogs", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/api/car-catalogs/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-catalogs/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-catalogs", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Car Catalog ID" + } + ], + "variable": [ + { + "key": "id" + } + ] + }, + "description": "Get car catalog" + }, + "response": [ + { + "name": "Return car catalog", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-catalogs/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-catalogs", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"vehicleMake\": \"Tesla\",\n \"vehicleModel\": \"Model S\",\n \"vehicleModelVersion\": \"Standard Range\",\n \"drivetrainPropulsion\": \"AWD\",\n \"drivetrainPowerHP\": 333,\n \"drivetrainTorque\": 525,\n \"performanceAcceleration\": 4.4,\n \"performanceTopspeed\": 225,\n \"rangeWLTP\": 0,\n \"rangeReal\": 385,\n \"efficiencyReal\": 18.8,\n \"chargePlug\": \"Type 2\",\n \"chargePlugLocation\": \"Left Side - Rear\",\n \"chargeStandardPower\": 16.5,\n \"chargeStandardPhase\": 3,\n \"chargeStandardChargeTime\": 315,\n \"chargeStandardChargeSpeed\": 73,\n \"chargeAlternativePower\": 0,\n \"chargeAlternativePhase\": 0,\n \"chargeAlternativePhaseAmp\": 0,\n \"chargeOptionPower\": 0,\n \"chargeOptionPhase\": 0,\n \"chargeOptionPhaseAmp\": 0,\n \"fastChargePlug\": \"Supercharger\",\n \"fastChargePowerMax\": 100,\n \"batteryCapacityUseable\": 72.5,\n \"batteryCapacityFull\": 75,\n \"miscBody\": \"Liftback Sedan\",\n \"miscSegment\": \"F - Luxury\",\n \"miscSeats\": 5,\n \"miscIsofix\": true,\n \"miscIsofixSeats\": 2,\n \"miscTurningCircle\": 12.4,\n \"hash\": null,\n \"image\": \"###\",\n \"id\": \"###\",\n \"canRead\": true,\n \"canDelete\": false,\n \"canUpdate\": false\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-catalogs/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-catalogs", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-catalogs/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-catalogs", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-catalogs/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-catalogs", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/car-catalogs/:id/images", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-catalogs/:id/images?id=sint consequat&Limit=100&Skip=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-catalogs", + ":id", + "images" + ], + "query": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Car Catalog ID" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + } + ], + "variable": [ + { + "key": "id" + } + ] + }, + "description": "Get car catalog images" + }, + "response": [ + { + "name": "Return car catalog images", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-catalogs/:id/images?id=sint consequat&Limit=100&Skip=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-catalogs", + ":id", + "images" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"id\": \"###\",\n \"image\": \"###\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-catalogs/:id/images?id=sint consequat&Limit=100&Skip=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-catalogs", + ":id", + "images" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-catalogs/:id/images?id=sint consequat&Limit=100&Skip=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-catalogs", + ":id", + "images" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-catalogs/:id/images?id=sint consequat&Limit=100&Skip=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-catalogs", + ":id", + "images" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-catalogs/:id/images?id=sint consequat&Limit=100&Skip=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-catalogs", + ":id", + "images" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/car-catalogs", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-catalogs?CarMaker=sint consequat&Search=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-catalogs" + ], + "query": [ + { + "key": "CarMaker", + "value": "sint consequat", + "description": "Pipe separated car makers" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Get car catalogs list" + }, + "response": [ + { + "name": "Return car catalogs list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-catalogs?CarMaker=sint consequat&Search=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-catalogs" + ], + "query": [ + { + "key": "CarMaker", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"vehicleMake\": \"Tesla\",\n \"vehicleModel\": \"Model S\",\n \"vehicleModelVersion\": \"Standard Range\",\n \"drivetrainPowerHP\": 333,\n \"performanceAcceleration\": 4.4,\n \"performanceTopspeed\": 225,\n \"rangeWLTP\": 0,\n \"rangeReal\": 385,\n \"efficiencyReal\": 18.8,\n \"chargePlug\": \"Type 2\",\n \"chargeStandardPower\": 16.5,\n \"chargeStandardPhase\": 3,\n \"chargeStandardPhaseAmp\": 24,\n \"chargeAlternativePower\": 0,\n \"chargeAlternativePhase\": 0,\n \"chargeAlternativePhaseAmp\": 0,\n \"chargeOptionPower\": 0,\n \"chargeOptionPhase\": 0,\n \"chargeOptionPhaseAmp\": 0,\n \"fastChargePlug\": \"Supercharger\",\n \"fastChargePowerMax\": 100,\n \"batteryCapacityFull\": 75,\n \"image\": \"###\",\n \"id\": \"###\",\n \"canRead\": true,\n \"canDelete\": false,\n \"canUpdate\": false\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-catalogs?CarMaker=sint consequat&Search=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-catalogs" + ], + "query": [ + { + "key": "CarMaker", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-catalogs?CarMaker=sint consequat&Search=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-catalogs" + ], + "query": [ + { + "key": "CarMaker", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-catalogs?CarMaker=sint consequat&Search=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-catalogs" + ], + "query": [ + { + "key": "CarMaker", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/car-catalogs/action/synchronize", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-catalogs/action/synchronize", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-catalogs", + "action", + "synchronize" + ] + }, + "description": "Synchronize car catalogs" + }, + "response": [ + { + "name": "Return car catalogs list", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-catalogs/action/synchronize", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-catalogs", + "action", + "synchronize" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-catalogs/action/synchronize", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-catalogs", + "action", + "synchronize" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-catalogs/action/synchronize", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-catalogs", + "action", + "synchronize" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-catalogs/action/synchronize", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-catalogs", + "action", + "synchronize" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "cars", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/api/cars/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/cars/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Car ID" + } + ], + "variable": [ + { + "key": "id" + } + ] + }, + "description": "Get car" + }, + "response": [ + { + "name": "Return car", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/cars/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"carCatalogID\": 1234,\n \"converter\": {\n \"powerWatts\": 11,\n \"amperagePerPhase\": 16,\n \"numberOfPhases\": 3,\n \"type\": \"S\"\n },\n \"createdOn\": \"2021-01-08T10:13:19.650Z\",\n \"licensePlate\": \"###\",\n \"type\": \"C\",\n \"vin\": \"###\",\n \"default\": true,\n \"lastChangedOn\": \"2021-09-02T14:25:20.771Z\",\n \"userID\": \"###\",\n \"carCatalog\": {\n \"vehicleMake\": \"Tesla\",\n \"vehicleModel\": \"Model 3\",\n \"vehicleModelVersion\": \"Long Range Dual Motor\",\n \"chargeStandardPower\": 11,\n \"chargeStandardPhase\": 3,\n \"chargeStandardPhaseAmp\": 16,\n \"chargeAlternativePower\": 0,\n \"chargeAlternativePhase\": 0,\n \"chargeAlternativePhaseAmp\": 0,\n \"chargeOptionPower\": 0,\n \"chargeOptionPhase\": 0,\n \"chargeOptionPhaseAmp\": 0,\n \"image\": \"###\"\n },\n \"user\": {\n \"firstName\": \"###\",\n \"name\": \"###\",\n \"id\": \"###\"\n },\n \"id\": \"###\",\n \"canRead\": true,\n \"canDelete\": true,\n \"canUpdate\": true,\n \"carConnectorData\": {\n \"carConnectorName\": \"string\",\n \"carConnectorMeterID\": \"string\"\n }\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/cars/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/cars/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/cars/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/cars/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/cars/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"vin\": \"U\",\n \"licensePlate\": \"esse irure id\",\n \"carCatalogID\": -81054393.00127384,\n \"type\": \"P\",\n \"userID\": \"quis et dolor\",\n \"default\": true,\n \"forced\": false,\n \"converter\": {\n \"amperagePerPhase\": {\n \"value\": \"\"\n },\n \"numberOfPhases\": {\n \"value\": \"\"\n },\n \"powerWatts\": {\n \"value\": \"\"\n },\n \"type\": {\n \"value\": \"\"\n }\n },\n \"carConnectorData\": {\n \"carConnectorName\": {\n \"value\": \"\"\n },\n \"carConnectorMeterID\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/cars/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + }, + "description": "Create car" + }, + "response": [ + { + "name": "Car successfully created", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"vin\": \"U\",\n \"licensePlate\": \"esse irure id\",\n \"carCatalogID\": -81054393.00127384,\n \"type\": \"P\",\n \"userID\": \"quis et dolor\",\n \"default\": true,\n \"forced\": false,\n \"converter\": {\n \"amperagePerPhase\": {\n \"value\": \"\"\n },\n \"numberOfPhases\": {\n \"value\": \"\"\n },\n \"powerWatts\": {\n \"value\": \"\"\n },\n \"type\": {\n \"value\": \"\"\n }\n },\n \"carConnectorData\": {\n \"carConnectorName\": {\n \"value\": \"\"\n },\n \"carConnectorMeterID\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/cars/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"###\",\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"vin\": \"U\",\n \"licensePlate\": \"esse irure id\",\n \"carCatalogID\": -81054393.00127384,\n \"type\": \"P\",\n \"userID\": \"quis et dolor\",\n \"default\": true,\n \"forced\": false,\n \"converter\": {\n \"amperagePerPhase\": {\n \"value\": \"\"\n },\n \"numberOfPhases\": {\n \"value\": \"\"\n },\n \"powerWatts\": {\n \"value\": \"\"\n },\n \"type\": {\n \"value\": \"\"\n }\n },\n \"carConnectorData\": {\n \"carConnectorName\": {\n \"value\": \"\"\n },\n \"carConnectorMeterID\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/cars/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"vin\": \"U\",\n \"licensePlate\": \"esse irure id\",\n \"carCatalogID\": -81054393.00127384,\n \"type\": \"P\",\n \"userID\": \"quis et dolor\",\n \"default\": true,\n \"forced\": false,\n \"converter\": {\n \"amperagePerPhase\": {\n \"value\": \"\"\n },\n \"numberOfPhases\": {\n \"value\": \"\"\n },\n \"powerWatts\": {\n \"value\": \"\"\n },\n \"type\": {\n \"value\": \"\"\n }\n },\n \"carConnectorData\": {\n \"carConnectorName\": {\n \"value\": \"\"\n },\n \"carConnectorMeterID\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/cars/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"vin\": \"U\",\n \"licensePlate\": \"esse irure id\",\n \"carCatalogID\": -81054393.00127384,\n \"type\": \"P\",\n \"userID\": \"quis et dolor\",\n \"default\": true,\n \"forced\": false,\n \"converter\": {\n \"amperagePerPhase\": {\n \"value\": \"\"\n },\n \"numberOfPhases\": {\n \"value\": \"\"\n },\n \"powerWatts\": {\n \"value\": \"\"\n },\n \"type\": {\n \"value\": \"\"\n }\n },\n \"carConnectorData\": {\n \"carConnectorName\": {\n \"value\": \"\"\n },\n \"carConnectorMeterID\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/cars/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "The Car with the given VIN and given License plate already exists", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"vin\": \"U\",\n \"licensePlate\": \"esse irure id\",\n \"carCatalogID\": -81054393.00127384,\n \"type\": \"P\",\n \"userID\": \"quis et dolor\",\n \"default\": true,\n \"forced\": false,\n \"converter\": {\n \"amperagePerPhase\": {\n \"value\": \"\"\n },\n \"numberOfPhases\": {\n \"value\": \"\"\n },\n \"powerWatts\": {\n \"value\": \"\"\n },\n \"type\": {\n \"value\": \"\"\n }\n },\n \"carConnectorData\": {\n \"carConnectorName\": {\n \"value\": \"\"\n },\n \"carConnectorMeterID\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/cars/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "code": 591, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/cars/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"vin\": \"U\",\n \"licensePlate\": \"esse irure id\",\n \"carCatalogID\": -81054393.00127384,\n \"type\": \"P\",\n \"userID\": \"quis et dolor\",\n \"default\": true,\n \"forced\": false,\n \"converter\": {\n \"amperagePerPhase\": {\n \"value\": \"\"\n },\n \"numberOfPhases\": {\n \"value\": \"\"\n },\n \"powerWatts\": {\n \"value\": \"\"\n },\n \"type\": {\n \"value\": \"\"\n }\n },\n \"carConnectorData\": {\n \"carConnectorName\": {\n \"value\": \"\"\n },\n \"carConnectorMeterID\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/cars/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Car ID" + } + ], + "variable": [ + { + "key": "id" + } + ] + }, + "description": "Update a car" + }, + "response": [ + { + "name": "Car successfully updated", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"vin\": \"U\",\n \"licensePlate\": \"esse irure id\",\n \"carCatalogID\": -81054393.00127384,\n \"type\": \"P\",\n \"userID\": \"quis et dolor\",\n \"default\": true,\n \"forced\": false,\n \"converter\": {\n \"amperagePerPhase\": {\n \"value\": \"\"\n },\n \"numberOfPhases\": {\n \"value\": \"\"\n },\n \"powerWatts\": {\n \"value\": \"\"\n },\n \"type\": {\n \"value\": \"\"\n }\n },\n \"carConnectorData\": {\n \"carConnectorName\": {\n \"value\": \"\"\n },\n \"carConnectorMeterID\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/cars/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"###\",\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"vin\": \"U\",\n \"licensePlate\": \"esse irure id\",\n \"carCatalogID\": -81054393.00127384,\n \"type\": \"P\",\n \"userID\": \"quis et dolor\",\n \"default\": true,\n \"forced\": false,\n \"converter\": {\n \"amperagePerPhase\": {\n \"value\": \"\"\n },\n \"numberOfPhases\": {\n \"value\": \"\"\n },\n \"powerWatts\": {\n \"value\": \"\"\n },\n \"type\": {\n \"value\": \"\"\n }\n },\n \"carConnectorData\": {\n \"carConnectorName\": {\n \"value\": \"\"\n },\n \"carConnectorMeterID\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/cars/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"vin\": \"U\",\n \"licensePlate\": \"esse irure id\",\n \"carCatalogID\": -81054393.00127384,\n \"type\": \"P\",\n \"userID\": \"quis et dolor\",\n \"default\": true,\n \"forced\": false,\n \"converter\": {\n \"amperagePerPhase\": {\n \"value\": \"\"\n },\n \"numberOfPhases\": {\n \"value\": \"\"\n },\n \"powerWatts\": {\n \"value\": \"\"\n },\n \"type\": {\n \"value\": \"\"\n }\n },\n \"carConnectorData\": {\n \"carConnectorName\": {\n \"value\": \"\"\n },\n \"carConnectorMeterID\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/cars/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"vin\": \"U\",\n \"licensePlate\": \"esse irure id\",\n \"carCatalogID\": -81054393.00127384,\n \"type\": \"P\",\n \"userID\": \"quis et dolor\",\n \"default\": true,\n \"forced\": false,\n \"converter\": {\n \"amperagePerPhase\": {\n \"value\": \"\"\n },\n \"numberOfPhases\": {\n \"value\": \"\"\n },\n \"powerWatts\": {\n \"value\": \"\"\n },\n \"type\": {\n \"value\": \"\"\n }\n },\n \"carConnectorData\": {\n \"carConnectorName\": {\n \"value\": \"\"\n },\n \"carConnectorMeterID\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/cars/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "The Car with the given VIN and given License plate already exists", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"vin\": \"U\",\n \"licensePlate\": \"esse irure id\",\n \"carCatalogID\": -81054393.00127384,\n \"type\": \"P\",\n \"userID\": \"quis et dolor\",\n \"default\": true,\n \"forced\": false,\n \"converter\": {\n \"amperagePerPhase\": {\n \"value\": \"\"\n },\n \"numberOfPhases\": {\n \"value\": \"\"\n },\n \"powerWatts\": {\n \"value\": \"\"\n },\n \"type\": {\n \"value\": \"\"\n }\n },\n \"carConnectorData\": {\n \"carConnectorName\": {\n \"value\": \"\"\n },\n \"carConnectorMeterID\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/cars/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "code": 591, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/cars/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/cars/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Car ID" + } + ], + "variable": [ + { + "key": "id" + } + ] + }, + "description": "Delete a car" + }, + "response": [ + { + "name": "Car successfully deleted", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/cars/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/cars/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/cars/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/cars/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/cars/:id?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars", + ":id" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/cars", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/cars?Search=sint consequat&CarMaker=sint consequat&WithUser=true&UserID=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "CarMaker", + "value": "sint consequat", + "description": "Pipe separated car makers" + }, + { + "key": "WithUser", + "value": "true", + "description": "With user attribute" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "User ID" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Get cars list" + }, + "response": [ + { + "name": "Return cars list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/cars?Search=sint consequat&CarMaker=sint consequat&WithUser=true&UserID=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "CarMaker", + "value": "sint consequat" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"converter\": {\n \"powerWatts\": 11,\n \"amperagePerPhase\": 16,\n \"numberOfPhases\": 3,\n \"type\": \"S\"\n },\n \"createdOn\": \"2021-01-08T10:13:19.650Z\",\n \"lastChangedBy\": {\n \"firstName\": \"###\",\n \"name\": \"###\"\n },\n \"licensePlate\": \"###\",\n \"type\": \"C\",\n \"vin\": \"###\",\n \"default\": true,\n \"lastChangedOn\": \"2021-09-02T14:25:20.771Z\",\n \"userID\": \"###\",\n \"carCatalog\": {\n \"vehicleMake\": \"Tesla\",\n \"vehicleModel\": \"Model 3\",\n \"vehicleModelVersion\": \"Long Range Dual Motor\",\n \"fastChargePowerMax\": 250,\n \"batteryCapacityFull\": 78,\n \"image\": \"###\",\n \"id\": \"###\"\n },\n \"user\": {\n \"firstName\": \"###\",\n \"name\": \"###\",\n \"id\": \"###\"\n },\n \"id\": \"###\",\n \"canRead\": true,\n \"canDelete\": true,\n \"canUpdate\": true\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/cars?Search=sint consequat&CarMaker=sint consequat&WithUser=true&UserID=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "CarMaker", + "value": "sint consequat" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/cars?Search=sint consequat&CarMaker=sint consequat&WithUser=true&UserID=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "CarMaker", + "value": "sint consequat" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/cars?Search=sint consequat&CarMaker=sint consequat&WithUser=true&UserID=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "CarMaker", + "value": "sint consequat" + }, + { + "key": "WithUser", + "value": "true" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/cars", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"vin\": \"U\",\n \"licensePlate\": \"esse irure id\",\n \"carCatalogID\": -81054393.00127384,\n \"type\": \"P\",\n \"userID\": \"quis et dolor\",\n \"default\": true,\n \"forced\": false,\n \"converter\": {\n \"amperagePerPhase\": {\n \"value\": \"\"\n },\n \"numberOfPhases\": {\n \"value\": \"\"\n },\n \"powerWatts\": {\n \"value\": \"\"\n },\n \"type\": {\n \"value\": \"\"\n }\n },\n \"carConnectorData\": {\n \"carConnectorName\": {\n \"value\": \"\"\n },\n \"carConnectorMeterID\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/cars", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars" + ] + }, + "description": "Create car" + }, + "response": [ + { + "name": "Car successfully created", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"vin\": \"U\",\n \"licensePlate\": \"esse irure id\",\n \"carCatalogID\": -81054393.00127384,\n \"type\": \"P\",\n \"userID\": \"quis et dolor\",\n \"default\": true,\n \"forced\": false,\n \"converter\": {\n \"amperagePerPhase\": {\n \"value\": \"\"\n },\n \"numberOfPhases\": {\n \"value\": \"\"\n },\n \"powerWatts\": {\n \"value\": \"\"\n },\n \"type\": {\n \"value\": \"\"\n }\n },\n \"carConnectorData\": {\n \"carConnectorName\": {\n \"value\": \"\"\n },\n \"carConnectorMeterID\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/cars", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"###\",\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"vin\": \"U\",\n \"licensePlate\": \"esse irure id\",\n \"carCatalogID\": -81054393.00127384,\n \"type\": \"P\",\n \"userID\": \"quis et dolor\",\n \"default\": true,\n \"forced\": false,\n \"converter\": {\n \"amperagePerPhase\": {\n \"value\": \"\"\n },\n \"numberOfPhases\": {\n \"value\": \"\"\n },\n \"powerWatts\": {\n \"value\": \"\"\n },\n \"type\": {\n \"value\": \"\"\n }\n },\n \"carConnectorData\": {\n \"carConnectorName\": {\n \"value\": \"\"\n },\n \"carConnectorMeterID\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/cars", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"vin\": \"U\",\n \"licensePlate\": \"esse irure id\",\n \"carCatalogID\": -81054393.00127384,\n \"type\": \"P\",\n \"userID\": \"quis et dolor\",\n \"default\": true,\n \"forced\": false,\n \"converter\": {\n \"amperagePerPhase\": {\n \"value\": \"\"\n },\n \"numberOfPhases\": {\n \"value\": \"\"\n },\n \"powerWatts\": {\n \"value\": \"\"\n },\n \"type\": {\n \"value\": \"\"\n }\n },\n \"carConnectorData\": {\n \"carConnectorName\": {\n \"value\": \"\"\n },\n \"carConnectorMeterID\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/cars", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"vin\": \"U\",\n \"licensePlate\": \"esse irure id\",\n \"carCatalogID\": -81054393.00127384,\n \"type\": \"P\",\n \"userID\": \"quis et dolor\",\n \"default\": true,\n \"forced\": false,\n \"converter\": {\n \"amperagePerPhase\": {\n \"value\": \"\"\n },\n \"numberOfPhases\": {\n \"value\": \"\"\n },\n \"powerWatts\": {\n \"value\": \"\"\n },\n \"type\": {\n \"value\": \"\"\n }\n },\n \"carConnectorData\": {\n \"carConnectorName\": {\n \"value\": \"\"\n },\n \"carConnectorMeterID\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/cars", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "The Car with the given VIN and given License plate already exists", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"vin\": \"U\",\n \"licensePlate\": \"esse irure id\",\n \"carCatalogID\": -81054393.00127384,\n \"type\": \"P\",\n \"userID\": \"quis et dolor\",\n \"default\": true,\n \"forced\": false,\n \"converter\": {\n \"amperagePerPhase\": {\n \"value\": \"\"\n },\n \"numberOfPhases\": {\n \"value\": \"\"\n },\n \"powerWatts\": {\n \"value\": \"\"\n },\n \"type\": {\n \"value\": \"\"\n }\n },\n \"carConnectorData\": {\n \"carConnectorName\": {\n \"value\": \"\"\n },\n \"carConnectorMeterID\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/cars", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "cars" + ] + } + }, + "code": 591, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "assets", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "consumptions", + "item": [ + { + "name": "/api/assets/:id/consumptions", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id/consumptions?StartDate=sint consequat&EndDate=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id", + "consumptions" + ], + "query": [ + { + "key": "StartDate", + "value": "sint consequat", + "description": "(Required) Consumption Start Date (ISO format)" + }, + { + "key": "EndDate", + "value": "sint consequat", + "description": "(Required) Consumption start Date (ISO format)" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + }, + "description": "Get asset's consumptions" + }, + "response": [ + { + "name": "Asset's last consumption retrieved", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id/consumptions?StartDate=sint consequat&EndDate=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id", + "consumptions" + ], + "query": [ + { + "key": "StartDate", + "value": "sint consequat" + }, + { + "key": "EndDate", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id/consumptions?StartDate=sint consequat&EndDate=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id", + "consumptions" + ], + "query": [ + { + "key": "StartDate", + "value": "sint consequat" + }, + { + "key": "EndDate", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id/consumptions?StartDate=sint consequat&EndDate=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id", + "consumptions" + ], + "query": [ + { + "key": "StartDate", + "value": "sint consequat" + }, + { + "key": "EndDate", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id/consumptions?StartDate=sint consequat&EndDate=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id", + "consumptions" + ], + "query": [ + { + "key": "StartDate", + "value": "sint consequat" + }, + { + "key": "EndDate", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id/consumptions?StartDate=sint consequat&EndDate=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id", + "consumptions" + ], + "query": [ + { + "key": "StartDate", + "value": "sint consequat" + }, + { + "key": "EndDate", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/assets/:id/consumptions", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"assetID\": {\n \"value\": \"\"\n },\n \"startedAt\": \"2020-12-31T23:00:00.000Z\",\n \"endedAt\": \"2020-12-31T23:01:00.000Z\",\n \"instantWatts\": 3050155.82163848,\n \"instantWattsL1\": 66727785.281503975,\n \"instantWattsL2\": 92443267.19175455,\n \"instantWattsL3\": 58757642.64684364,\n \"instantAmps\": 21585611.509261817,\n \"instantAmpsL1\": 23214986.9757984,\n \"instantAmpsL2\": -40890822.9139862,\n \"instantAmpsL3\": 21153552.77344984,\n \"instantVolts\": 14832578.144491792,\n \"instantVoltsL1\": -49729478.392291024,\n \"instantVoltsL2\": 97171408.77562782,\n \"instantVoltsL3\": -44676128.305855565,\n \"consumptionWh\": -83364847.20665331,\n \"consumptionAmps\": 47222823.084606886,\n \"stateOfCharge\": 14126840.110686705\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/assets/:id/consumptions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id", + "consumptions" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + }, + "description": "Push latest asset consumption" + }, + "response": [ + { + "name": "Asset consumption created successfully", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"assetID\": {\n \"value\": \"\"\n },\n \"startedAt\": \"2020-12-31T23:00:00.000Z\",\n \"endedAt\": \"2020-12-31T23:01:00.000Z\",\n \"instantWatts\": 3050155.82163848,\n \"instantWattsL1\": 66727785.281503975,\n \"instantWattsL2\": 92443267.19175455,\n \"instantWattsL3\": 58757642.64684364,\n \"instantAmps\": 21585611.509261817,\n \"instantAmpsL1\": 23214986.9757984,\n \"instantAmpsL2\": -40890822.9139862,\n \"instantAmpsL3\": 21153552.77344984,\n \"instantVolts\": 14832578.144491792,\n \"instantVoltsL1\": -49729478.392291024,\n \"instantVoltsL2\": 97171408.77562782,\n \"instantVoltsL3\": -44676128.305855565,\n \"consumptionWh\": -83364847.20665331,\n \"consumptionAmps\": 47222823.084606886,\n \"stateOfCharge\": 14126840.110686705\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/assets/:id/consumptions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id", + "consumptions" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"consumption\": \"###\",\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"assetID\": {\n \"value\": \"\"\n },\n \"startedAt\": \"2020-12-31T23:00:00.000Z\",\n \"endedAt\": \"2020-12-31T23:01:00.000Z\",\n \"instantWatts\": 3050155.82163848,\n \"instantWattsL1\": 66727785.281503975,\n \"instantWattsL2\": 92443267.19175455,\n \"instantWattsL3\": 58757642.64684364,\n \"instantAmps\": 21585611.509261817,\n \"instantAmpsL1\": 23214986.9757984,\n \"instantAmpsL2\": -40890822.9139862,\n \"instantAmpsL3\": 21153552.77344984,\n \"instantVolts\": 14832578.144491792,\n \"instantVoltsL1\": -49729478.392291024,\n \"instantVoltsL2\": 97171408.77562782,\n \"instantVoltsL3\": -44676128.305855565,\n \"consumptionWh\": -83364847.20665331,\n \"consumptionAmps\": 47222823.084606886,\n \"stateOfCharge\": 14126840.110686705\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/assets/:id/consumptions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id", + "consumptions" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"assetID\": {\n \"value\": \"\"\n },\n \"startedAt\": \"2020-12-31T23:00:00.000Z\",\n \"endedAt\": \"2020-12-31T23:01:00.000Z\",\n \"instantWatts\": 3050155.82163848,\n \"instantWattsL1\": 66727785.281503975,\n \"instantWattsL2\": 92443267.19175455,\n \"instantWattsL3\": 58757642.64684364,\n \"instantAmps\": 21585611.509261817,\n \"instantAmpsL1\": 23214986.9757984,\n \"instantAmpsL2\": -40890822.9139862,\n \"instantAmpsL3\": 21153552.77344984,\n \"instantVolts\": 14832578.144491792,\n \"instantVoltsL1\": -49729478.392291024,\n \"instantVoltsL2\": 97171408.77562782,\n \"instantVoltsL3\": -44676128.305855565,\n \"consumptionWh\": -83364847.20665331,\n \"consumptionAmps\": 47222823.084606886,\n \"stateOfCharge\": 14126840.110686705\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/assets/:id/consumptions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id", + "consumptions" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Asset does not exist", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"assetID\": {\n \"value\": \"\"\n },\n \"startedAt\": \"2020-12-31T23:00:00.000Z\",\n \"endedAt\": \"2020-12-31T23:01:00.000Z\",\n \"instantWatts\": 3050155.82163848,\n \"instantWattsL1\": 66727785.281503975,\n \"instantWattsL2\": 92443267.19175455,\n \"instantWattsL3\": 58757642.64684364,\n \"instantAmps\": 21585611.509261817,\n \"instantAmpsL1\": 23214986.9757984,\n \"instantAmpsL2\": -40890822.9139862,\n \"instantAmpsL3\": 21153552.77344984,\n \"instantVolts\": 14832578.144491792,\n \"instantVoltsL1\": -49729478.392291024,\n \"instantVoltsL2\": 97171408.77562782,\n \"instantVoltsL3\": -44676128.305855565,\n \"consumptionWh\": -83364847.20665331,\n \"consumptionAmps\": 47222823.084606886,\n \"stateOfCharge\": 14126840.110686705\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/assets/:id/consumptions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id", + "consumptions" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"assetID\": {\n \"value\": \"\"\n },\n \"startedAt\": \"2020-12-31T23:00:00.000Z\",\n \"endedAt\": \"2020-12-31T23:01:00.000Z\",\n \"instantWatts\": 3050155.82163848,\n \"instantWattsL1\": 66727785.281503975,\n \"instantWattsL2\": 92443267.19175455,\n \"instantWattsL3\": 58757642.64684364,\n \"instantAmps\": 21585611.509261817,\n \"instantAmpsL1\": 23214986.9757984,\n \"instantAmpsL2\": -40890822.9139862,\n \"instantAmpsL3\": 21153552.77344984,\n \"instantVolts\": 14832578.144491792,\n \"instantVoltsL1\": -49729478.392291024,\n \"instantVoltsL2\": 97171408.77562782,\n \"instantVoltsL3\": -44676128.305855565,\n \"consumptionWh\": -83364847.20665331,\n \"consumptionAmps\": 47222823.084606886,\n \"stateOfCharge\": 14126840.110686705\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/assets/:id/consumptions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id", + "consumptions" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/assets/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id?WithSiteArea=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id" + ], + "query": [ + { + "key": "WithSiteArea", + "value": "true", + "description": "With site area attribute" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + }, + "description": "Get asset" + }, + "response": [ + { + "name": "Return asset", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id?WithSiteArea=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id" + ], + "query": [ + { + "key": "WithSiteArea", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"assetType\": \"###\",\n \"connectionID\": \"123456789\",\n \"coordinates\": [\n 7.01672,\n 43.6121039\n ],\n \"createdBy\": null,\n \"createdOn\": \"2021-02-03T22:57:34.435Z\",\n \"currentConsumptionWh\": 3.75,\n \"currentInstantAmps\": 1.3043478260869565,\n \"currentInstantAmpsL1\": 0,\n \"currentInstantAmpsL2\": 0,\n \"currentInstantAmpsL3\": 0,\n \"currentInstantVolts\": 0,\n \"currentInstantVoltsL1\": 0,\n \"currentInstantVoltsL2\": 0,\n \"currentInstantVoltsL3\": 0,\n \"currentInstantWatts\": 300,\n \"currentInstantWattsL1\": 0,\n \"currentInstantWattsL2\": 0,\n \"currentInstantWattsL3\": 0,\n \"dynamicAsset\": true,\n \"fluctuationPercent\": 5,\n \"issuer\": true,\n \"lastChangedBy\": null,\n \"meterID\": \"###\",\n \"name\": \"###\",\n \"siteAreaID\": \"###\",\n \"staticValueWatt\": 10000,\n \"lastConsumption\": {\n \"value\": 3.75,\n \"timestamp\": \"2021-03-05T22:36:00.942Z\"\n },\n \"lastChangedOn\": \"2021-03-04T10:12:52.514Z\",\n \"currentStateOfCharge\": 52,\n \"excludeFromSmartCharging\": false,\n \"siteID\": \"###\",\n \"id\": \"###\",\n \"siteArea\": null\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id?WithSiteArea=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id" + ], + "query": [ + { + "key": "WithSiteArea", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id?WithSiteArea=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id" + ], + "query": [ + { + "key": "WithSiteArea", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id?WithSiteArea=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id" + ], + "query": [ + { + "key": "WithSiteArea", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id?WithSiteArea=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id" + ], + "query": [ + { + "key": "WithSiteArea", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/assets/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"aliquip Lorem eu ut\",\n \"siteAreaID\": \"eu irure nostrud anim incididunt\",\n \"assetType\": \"CO-PR\",\n \"excludeFromSmartCharging\": false,\n \"variationThresholdPercent\": -45869536.649708256,\n \"fluctuationPercent\": 25199115.73143503,\n \"staticValueWatt\": -51604619.126175776,\n \"image\": \"dolor volup\",\n \"dynamicAsset\": true,\n \"connectionID\": \"culpa dolore\",\n \"meterID\": \"est dolore dolor in commodo\",\n \"usesPushAPI\": false,\n \"coordinates\": [\n 0,\n 0\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/assets/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + }, + "description": "Update an Asset" + }, + "response": [ + { + "name": "Asset updated successfully", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"aliquip Lorem eu ut\",\n \"siteAreaID\": \"eu irure nostrud anim incididunt\",\n \"assetType\": \"CO-PR\",\n \"excludeFromSmartCharging\": false,\n \"variationThresholdPercent\": -45869536.649708256,\n \"fluctuationPercent\": 25199115.73143503,\n \"staticValueWatt\": -51604619.126175776,\n \"image\": \"dolor volup\",\n \"dynamicAsset\": true,\n \"connectionID\": \"culpa dolore\",\n \"meterID\": \"est dolore dolor in commodo\",\n \"usesPushAPI\": false,\n \"coordinates\": [\n 0,\n 0\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/assets/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"aliquip Lorem eu ut\",\n \"siteAreaID\": \"eu irure nostrud anim incididunt\",\n \"assetType\": \"CO-PR\",\n \"excludeFromSmartCharging\": false,\n \"variationThresholdPercent\": -45869536.649708256,\n \"fluctuationPercent\": 25199115.73143503,\n \"staticValueWatt\": -51604619.126175776,\n \"image\": \"dolor volup\",\n \"dynamicAsset\": true,\n \"connectionID\": \"culpa dolore\",\n \"meterID\": \"est dolore dolor in commodo\",\n \"usesPushAPI\": false,\n \"coordinates\": [\n 0,\n 0\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/assets/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"aliquip Lorem eu ut\",\n \"siteAreaID\": \"eu irure nostrud anim incididunt\",\n \"assetType\": \"CO-PR\",\n \"excludeFromSmartCharging\": false,\n \"variationThresholdPercent\": -45869536.649708256,\n \"fluctuationPercent\": 25199115.73143503,\n \"staticValueWatt\": -51604619.126175776,\n \"image\": \"dolor volup\",\n \"dynamicAsset\": true,\n \"connectionID\": \"culpa dolore\",\n \"meterID\": \"est dolore dolor in commodo\",\n \"usesPushAPI\": false,\n \"coordinates\": [\n 0,\n 0\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/assets/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"aliquip Lorem eu ut\",\n \"siteAreaID\": \"eu irure nostrud anim incididunt\",\n \"assetType\": \"CO-PR\",\n \"excludeFromSmartCharging\": false,\n \"variationThresholdPercent\": -45869536.649708256,\n \"fluctuationPercent\": 25199115.73143503,\n \"staticValueWatt\": -51604619.126175776,\n \"image\": \"dolor volup\",\n \"dynamicAsset\": true,\n \"connectionID\": \"culpa dolore\",\n \"meterID\": \"est dolore dolor in commodo\",\n \"usesPushAPI\": false,\n \"coordinates\": [\n 0,\n 0\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/assets/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"aliquip Lorem eu ut\",\n \"siteAreaID\": \"eu irure nostrud anim incididunt\",\n \"assetType\": \"CO-PR\",\n \"excludeFromSmartCharging\": false,\n \"variationThresholdPercent\": -45869536.649708256,\n \"fluctuationPercent\": 25199115.73143503,\n \"staticValueWatt\": -51604619.126175776,\n \"image\": \"dolor volup\",\n \"dynamicAsset\": true,\n \"connectionID\": \"culpa dolore\",\n \"meterID\": \"est dolore dolor in commodo\",\n \"usesPushAPI\": false,\n \"coordinates\": [\n 0,\n 0\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/assets/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/assets/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + }, + "description": "Delete an Asset" + }, + "response": [ + { + "name": "Asset deleted successfully", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/assets/:id/connector/consumption/retrieve-last", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id/connector/consumption/retrieve-last", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id", + "connector", + "consumption", + "retrieve-last" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + }, + "description": "Retrieve the asset last consumption" + }, + "response": [ + { + "name": "Asset's last consumption retrieved", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id/connector/consumption/retrieve-last", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id", + "connector", + "consumption", + "retrieve-last" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id/connector/consumption/retrieve-last", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id", + "connector", + "consumption", + "retrieve-last" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id/connector/consumption/retrieve-last", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id", + "connector", + "consumption", + "retrieve-last" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id/connector/consumption/retrieve-last", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id", + "connector", + "consumption", + "retrieve-last" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/:id/connector/consumption/retrieve-last", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + ":id", + "connector", + "consumption", + "retrieve-last" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/assets", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets?Search=sint consequat&Issuer=true&SiteAreaID=sint consequat&SiteID=sint consequat&WithSite=true&WithSiteArea=true&WithNoSiteArea=true&DynamicOnly=true&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "Issuer", + "value": "true", + "description": "Current organization" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + }, + { + "key": "WithSite", + "value": "true", + "description": "With site attribute" + }, + { + "key": "WithSiteArea", + "value": "true", + "description": "With site area attribute" + }, + { + "key": "WithNoSiteArea", + "value": "true", + "description": "With no Site Area" + }, + { + "key": "DynamicOnly", + "value": "true", + "description": "Dynamic assets only" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Get assets list" + }, + "response": [ + { + "name": "Return assets list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets?Search=sint consequat&Issuer=true&SiteAreaID=sint consequat&SiteID=sint consequat&WithSite=true&WithSiteArea=true&WithNoSiteArea=true&DynamicOnly=true&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithNoSiteArea", + "value": "true" + }, + { + "key": "DynamicOnly", + "value": "true" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"assetType\": \"###\",\n \"connectionID\": \"###\",\n \"coordinates\": [\n 7.01672,\n 43.6121039\n ],\n \"currentInstantWatts\": 300,\n \"dynamicAsset\": true,\n \"issuer\": true,\n \"meterID\": \"###\",\n \"name\": \"###\",\n \"siteAreaID\": \"###\",\n \"currentStateOfCharge\": 52,\n \"siteID\": \"###\",\n \"id\": \"###\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets?Search=sint consequat&Issuer=true&SiteAreaID=sint consequat&SiteID=sint consequat&WithSite=true&WithSiteArea=true&WithNoSiteArea=true&DynamicOnly=true&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithNoSiteArea", + "value": "true" + }, + { + "key": "DynamicOnly", + "value": "true" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets?Search=sint consequat&Issuer=true&SiteAreaID=sint consequat&SiteID=sint consequat&WithSite=true&WithSiteArea=true&WithNoSiteArea=true&DynamicOnly=true&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithNoSiteArea", + "value": "true" + }, + { + "key": "DynamicOnly", + "value": "true" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets?Search=sint consequat&Issuer=true&SiteAreaID=sint consequat&SiteID=sint consequat&WithSite=true&WithSiteArea=true&WithNoSiteArea=true&DynamicOnly=true&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "WithNoSiteArea", + "value": "true" + }, + { + "key": "DynamicOnly", + "value": "true" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/assets", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"eu\",\n \"siteAreaID\": \"qui proident id\",\n \"assetType\": \"PR\",\n \"excludeFromSmartCharging\": false,\n \"variationThresholdPercent\": -38229458.82601938,\n \"fluctuationPercent\": -57244047.8889022,\n \"staticValueWatt\": 70207152.35985896,\n \"image\": \"dolor quis pariatur sit\",\n \"dynamicAsset\": false,\n \"connectionID\": \"quis Lorem\",\n \"meterID\": \"irure\",\n \"usesPushAPI\": false,\n \"coordinates\": [\n 0,\n 0\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/assets", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets" + ] + }, + "description": "Create an Asset" + }, + "response": [ + { + "name": "Asset created successfully", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"aliquip Lorem eu ut\",\n \"siteAreaID\": \"eu irure nostrud anim incididunt\",\n \"assetType\": \"CO-PR\",\n \"excludeFromSmartCharging\": false,\n \"variationThresholdPercent\": -45869536.649708256,\n \"fluctuationPercent\": 25199115.73143503,\n \"staticValueWatt\": -51604619.126175776,\n \"image\": \"dolor volup\",\n \"dynamicAsset\": true,\n \"connectionID\": \"culpa dolore\",\n \"meterID\": \"est dolore dolor in commodo\",\n \"usesPushAPI\": false,\n \"coordinates\": [\n 0,\n 0\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/assets", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\",\n \"id\": \"###\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"aliquip Lorem eu ut\",\n \"siteAreaID\": \"eu irure nostrud anim incididunt\",\n \"assetType\": \"CO-PR\",\n \"excludeFromSmartCharging\": false,\n \"variationThresholdPercent\": -45869536.649708256,\n \"fluctuationPercent\": 25199115.73143503,\n \"staticValueWatt\": -51604619.126175776,\n \"image\": \"dolor volup\",\n \"dynamicAsset\": true,\n \"connectionID\": \"culpa dolore\",\n \"meterID\": \"est dolore dolor in commodo\",\n \"usesPushAPI\": false,\n \"coordinates\": [\n 0,\n 0\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/assets", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"aliquip Lorem eu ut\",\n \"siteAreaID\": \"eu irure nostrud anim incididunt\",\n \"assetType\": \"CO-PR\",\n \"excludeFromSmartCharging\": false,\n \"variationThresholdPercent\": -45869536.649708256,\n \"fluctuationPercent\": 25199115.73143503,\n \"staticValueWatt\": -51604619.126175776,\n \"image\": \"dolor volup\",\n \"dynamicAsset\": true,\n \"connectionID\": \"culpa dolore\",\n \"meterID\": \"est dolore dolor in commodo\",\n \"usesPushAPI\": false,\n \"coordinates\": [\n 0,\n 0\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/assets", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"aliquip Lorem eu ut\",\n \"siteAreaID\": \"eu irure nostrud anim incididunt\",\n \"assetType\": \"CO-PR\",\n \"excludeFromSmartCharging\": false,\n \"variationThresholdPercent\": -45869536.649708256,\n \"fluctuationPercent\": 25199115.73143503,\n \"staticValueWatt\": -51604619.126175776,\n \"image\": \"dolor volup\",\n \"dynamicAsset\": true,\n \"connectionID\": \"culpa dolore\",\n \"meterID\": \"est dolore dolor in commodo\",\n \"usesPushAPI\": false,\n \"coordinates\": [\n 0,\n 0\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/assets", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/assets/status/in-error", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/status/in-error?Search=sint consequat&Issuer=true&SiteAreaID=sint consequat&SiteID=sint consequat&WithSiteArea=true&ErrorType=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + "status", + "in-error" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "Issuer", + "value": "true", + "description": "Current organization" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + }, + { + "key": "WithSiteArea", + "value": "true", + "description": "With site area attribute" + }, + { + "key": "ErrorType", + "value": "sint consequat", + "description": "Pipe separated asset error types (missing_site_area)" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Get assets in error list" + }, + "response": [ + { + "name": "Return assets in error list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/status/in-error?Search=sint consequat&Issuer=true&SiteAreaID=sint consequat&SiteID=sint consequat&WithSiteArea=true&ErrorType=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + "status", + "in-error" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "ErrorType", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"name\": \"###\",\n \"errorCode\": \"missing_site_area\",\n \"id\": \"###\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/status/in-error?Search=sint consequat&Issuer=true&SiteAreaID=sint consequat&SiteID=sint consequat&WithSiteArea=true&ErrorType=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + "status", + "in-error" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "ErrorType", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/status/in-error?Search=sint consequat&Issuer=true&SiteAreaID=sint consequat&SiteID=sint consequat&WithSiteArea=true&ErrorType=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + "status", + "in-error" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "ErrorType", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/status/in-error?Search=sint consequat&Issuer=true&SiteAreaID=sint consequat&SiteID=sint consequat&WithSiteArea=true&ErrorType=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + "status", + "in-error" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "WithSiteArea", + "value": "true" + }, + { + "key": "ErrorType", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/assets/connectors/:id/connection/check", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/connectors/:id/connection/check?ID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + "connectors", + ":id", + "connection", + "check" + ], + "query": [ + { + "key": "ID", + "value": "sint consequat", + "description": "(Required) Asset connection ID" + } + ], + "variable": [ + { + "key": "id" + } + ] + }, + "description": "Check the asset connection" + }, + "response": [ + { + "name": "Return asset connection status", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/connectors/:id/connection/check?ID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + "connectors", + ":id", + "connection", + "check" + ], + "query": [ + { + "key": "ID", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\",\n \"connectionIsValid\": true\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/connectors/:id/connection/check?ID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + "connectors", + ":id", + "connection", + "check" + ], + "query": [ + { + "key": "ID", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/connectors/:id/connection/check?ID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + "connectors", + ":id", + "connection", + "check" + ], + "query": [ + { + "key": "ID", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/connectors/:id/connection/check?ID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + "connectors", + ":id", + "connection", + "check" + ], + "query": [ + { + "key": "ID", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/assets/connectors/:id/connection/check?ID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "assets", + "connectors", + ":id", + "connection", + "check" + ], + "query": [ + { + "key": "ID", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "companies", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/api/companies/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/companies/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Company ID" + } + ] + }, + "description": "Retrieve a Company" + }, + "response": [ + { + "name": "Return company", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/companies/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Company ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"type\": \"object\",\n \"required\": [\n \"name\"\n ],\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"address\": {\n \"$ref\": \"#/components/schemas/Address\"\n },\n \"logo\": {\n \"type\": \"string\",\n \"description\": \"Base64 encoded logo\"\n },\n \"issuer\": {\n \"type\": \"boolean\",\n \"readOnly\": true\n },\n \"id\": {\n \"type\": \"string\",\n \"readOnly\": true\n }\n }\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/companies/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Company ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/companies/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Company ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/companies/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Company ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/companies/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Company ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/companies/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"tempor in veniam ad\",\n \"address\": {\n \"value\": \"\"\n },\n \"logo\": \"ipsum sint aliqua esse\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/companies/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + }, + "description": "Update a Company" + }, + "response": [ + { + "name": "Company updated successfully", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"tempor in veniam ad\",\n \"address\": {\n \"value\": \"\"\n },\n \"logo\": \"ipsum sint aliqua esse\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/companies/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"tempor in veniam ad\",\n \"address\": {\n \"value\": \"\"\n },\n \"logo\": \"ipsum sint aliqua esse\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/companies/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"tempor in veniam ad\",\n \"address\": {\n \"value\": \"\"\n },\n \"logo\": \"ipsum sint aliqua esse\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/companies/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"tempor in veniam ad\",\n \"address\": {\n \"value\": \"\"\n },\n \"logo\": \"ipsum sint aliqua esse\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/companies/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"tempor in veniam ad\",\n \"address\": {\n \"value\": \"\"\n },\n \"logo\": \"ipsum sint aliqua esse\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/companies/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/companies/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/companies/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Company ID" + } + ] + }, + "description": "Delete a Company" + }, + "response": [ + { + "name": "Company deleted successfully", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/companies/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Company ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/companies/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Company ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/companies/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Company ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/companies/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Company ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/companies/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Company ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/companies", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/companies?Search=sint consequat&Issuer=true&WithSite=true&WithLogo=true&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "Issuer", + "value": "true", + "description": "Current organization" + }, + { + "key": "WithSite", + "value": "true", + "description": "With site attribute" + }, + { + "key": "WithLogo", + "value": "true", + "description": "With Logo" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898", + "description": "Longitude location" + }, + { + "key": "LocLatitude", + "value": "sint consequat", + "description": "Latitude location" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898", + "description": "Maximum range from location in meters" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Retrieve a list of Companies" + }, + "response": [ + { + "name": "Return companies list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/companies?Search=sint consequat&Issuer=true&WithSite=true&WithLogo=true&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "WithLogo", + "value": "true" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898" + }, + { + "key": "LocLatitude", + "value": "sint consequat" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"address\": {\n \"address1\": \"###\",\n \"address2\": \"###\",\n \"postalCode\": \"###\",\n \"city\": \"###\",\n \"country\": \"###\",\n \"coordinates\": [\n 7.01692790000004,\n 43.6123063\n ]\n },\n \"createdOn\": \"2018-03-30T22:29:08.388Z\",\n \"name\": \"###\",\n \"lastChangedOn\": \"2020-03-15T10:36:56.784Z\",\n \"issuer\": true,\n \"id\": \"###\",\n \"logo\": \"###\",\n \"canRead\": true,\n \"canDelete\": true,\n \"canUpdate\": true\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/companies?Search=sint consequat&Issuer=true&WithSite=true&WithLogo=true&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "WithLogo", + "value": "true" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898" + }, + { + "key": "LocLatitude", + "value": "sint consequat" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/companies?Search=sint consequat&Issuer=true&WithSite=true&WithLogo=true&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "WithLogo", + "value": "true" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898" + }, + { + "key": "LocLatitude", + "value": "sint consequat" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/companies?Search=sint consequat&Issuer=true&WithSite=true&WithLogo=true&LocLongitude=16995143.412301898&LocLatitude=sint consequat&LocMaxDistanceMeters=16995143.412301898&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Issuer", + "value": "true" + }, + { + "key": "WithSite", + "value": "true" + }, + { + "key": "WithLogo", + "value": "true" + }, + { + "key": "LocLongitude", + "value": "16995143.412301898" + }, + { + "key": "LocLatitude", + "value": "sint consequat" + }, + { + "key": "LocMaxDistanceMeters", + "value": "16995143.412301898" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/companies", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"tempor in veniam ad\",\n \"address\": {\n \"value\": \"\"\n },\n \"logo\": \"ipsum sint aliqua esse\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/companies", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies" + ] + }, + "description": "Create a Company" + }, + "response": [ + { + "name": "Company created successfully", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"tempor in veniam ad\",\n \"address\": {\n \"value\": \"\"\n },\n \"logo\": \"ipsum sint aliqua esse\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/companies", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"###\",\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"tempor in veniam ad\",\n \"address\": {\n \"value\": \"\"\n },\n \"logo\": \"ipsum sint aliqua esse\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/companies", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"tempor in veniam ad\",\n \"address\": {\n \"value\": \"\"\n },\n \"logo\": \"ipsum sint aliqua esse\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/companies", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"tempor in veniam ad\",\n \"address\": {\n \"value\": \"\"\n },\n \"logo\": \"ipsum sint aliqua esse\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/companies", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "companies" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "ocpi/endpoints", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "cdrs", + "item": [ + { + "name": "/api/ocpi/endpoints/:id/cdrs/check", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/cdrs/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "cdrs", + "check" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + }, + "description": "Check OCPI Endpoint's CDRs" + }, + "response": [ + { + "name": "OCPI Endpoint's CDRs checked", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/cdrs/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "cdrs", + "check" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/cdrs/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "cdrs", + "check" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/cdrs/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "cdrs", + "check" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/cdrs/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "cdrs", + "check" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/cdrs/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "cdrs", + "check" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/ocpi/endpoints/:id/cdrs/pull", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/cdrs/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "cdrs", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + }, + "description": "Pull OCPI Endpoint's CDRs" + }, + "response": [ + { + "name": "OCPI Endpoint's cdrs pulled", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/cdrs/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "cdrs", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/cdrs/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "cdrs", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/cdrs/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "cdrs", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/cdrs/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "cdrs", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/cdrs/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "cdrs", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "locations", + "item": [ + { + "name": "/api/ocpi/endpoints/:id/locations/check", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/locations/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "locations", + "check" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + }, + "description": "Check OCPI Endpoint's locations" + }, + "response": [ + { + "name": "OCPI Endpoint's locations checked", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/locations/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "locations", + "check" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/locations/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "locations", + "check" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/locations/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "locations", + "check" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/locations/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "locations", + "check" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/locations/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "locations", + "check" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/ocpi/endpoints/:id/locations/pull", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/locations/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "locations", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + }, + "description": "Pull OCPI Endpoint's locations" + }, + "response": [ + { + "name": "OCPI Endpoint's locations pulled", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/locations/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "locations", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/locations/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "locations", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/locations/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "locations", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/locations/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "locations", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/locations/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "locations", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "sessions", + "item": [ + { + "name": "/api/ocpi/endpoints/:id/sessions/check", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/sessions/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "sessions", + "check" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + }, + "description": "Check OCPI Endpoint's sessions" + }, + "response": [ + { + "name": "OCPI Endpoint's sessions checked", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/sessions/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "sessions", + "check" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/sessions/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "sessions", + "check" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/sessions/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "sessions", + "check" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/sessions/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "sessions", + "check" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/sessions/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "sessions", + "check" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/ocpi/endpoints/:id/sessions/pull", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/sessions/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "sessions", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + }, + "description": "Pull OCPI Endpoint's sessions" + }, + "response": [ + { + "name": "OCPI Endpoint's sessions pulled", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/sessions/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "sessions", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/sessions/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "sessions", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/sessions/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "sessions", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/sessions/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "sessions", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/sessions/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "sessions", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "tokens", + "item": [ + { + "name": "/api/ocpi/endpoints/:id/tokens/pull", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/tokens/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "tokens", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + }, + "description": "Pull OCPI Endpoint's tokens" + }, + "response": [ + { + "name": "OCPI Endpoint's tokens pulled", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/tokens/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "tokens", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/tokens/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "tokens", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/tokens/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "tokens", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/tokens/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "tokens", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/tokens/pull", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "tokens", + "pull" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/ocpi/endpoints/:id/tokens/send", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/tokens/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "tokens", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + }, + "description": "Push OCPI Endpoint's tokens" + }, + "response": [ + { + "name": "OCPI Endpoint's tokens pushed", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/tokens/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "tokens", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/tokens/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "tokens", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/tokens/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "tokens", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/tokens/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "tokens", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/tokens/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "tokens", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/ocpi/endpoints/:id/tokens/generate", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"fugiat deserunt nisi Ut\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/tokens/generate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "tokens", + "generate" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + }, + "description": "Generate OCPI Endpoint's local token" + }, + "response": [ + { + "name": "OCPI Endpoint's local tokens generated", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"fugiat deserunt nisi Ut\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/tokens/generate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "tokens", + "generate" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\",\n \"id\": \"###\",\n \"localToken\": \"###\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"fugiat deserunt nisi Ut\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/tokens/generate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "tokens", + "generate" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"fugiat deserunt nisi Ut\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/tokens/generate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "tokens", + "generate" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"fugiat deserunt nisi Ut\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/tokens/generate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "tokens", + "generate" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"fugiat deserunt nisi Ut\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/tokens/generate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "tokens", + "generate" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/ocpi/endpoints/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + }, + "description": "Retrieve an OCPI Endpoint" + }, + "response": [ + { + "name": "Return OCPI Endpoint", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"name\": \"laboris\",\n \"role\": \"CPO\",\n \"baseUrl\": \"cillum exercitati\",\n \"localToken\": \"laboris\",\n \"token\": \"ullamco\",\n \"id\": \"qui sed magna\",\n \"countryCode\": \"Ut consequat nisi\",\n \"partyId\": \"deserunt nulla irure dolor\",\n \"backgroundPatchJob\": true\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/ocpi/endpoints/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"in incididunt quis proident mollit\",\n \"role\": \"CPO\",\n \"baseUrl\": \"sunt ea reprehenderit\",\n \"localToken\": \"ut proident amet\",\n \"token\": \"Lorem in nulla\",\n \"countryCode\": \"\",\n \"partyId\": \"quis Excepteur\",\n \"backgroundPatchJob\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + }, + "description": "Update an OCPI Endpoint" + }, + "response": [ + { + "name": "OCPI Endpoint updated successfully", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"in incididunt quis proident mollit\",\n \"role\": \"CPO\",\n \"baseUrl\": \"sunt ea reprehenderit\",\n \"localToken\": \"ut proident amet\",\n \"token\": \"Lorem in nulla\",\n \"countryCode\": \"\",\n \"partyId\": \"quis Excepteur\",\n \"backgroundPatchJob\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"in incididunt quis proident mollit\",\n \"role\": \"CPO\",\n \"baseUrl\": \"sunt ea reprehenderit\",\n \"localToken\": \"ut proident amet\",\n \"token\": \"Lorem in nulla\",\n \"countryCode\": \"\",\n \"partyId\": \"quis Excepteur\",\n \"backgroundPatchJob\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"in incididunt quis proident mollit\",\n \"role\": \"CPO\",\n \"baseUrl\": \"sunt ea reprehenderit\",\n \"localToken\": \"ut proident amet\",\n \"token\": \"Lorem in nulla\",\n \"countryCode\": \"\",\n \"partyId\": \"quis Excepteur\",\n \"backgroundPatchJob\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"in incididunt quis proident mollit\",\n \"role\": \"CPO\",\n \"baseUrl\": \"sunt ea reprehenderit\",\n \"localToken\": \"ut proident amet\",\n \"token\": \"Lorem in nulla\",\n \"countryCode\": \"\",\n \"partyId\": \"quis Excepteur\",\n \"backgroundPatchJob\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"in incididunt quis proident mollit\",\n \"role\": \"CPO\",\n \"baseUrl\": \"sunt ea reprehenderit\",\n \"localToken\": \"ut proident amet\",\n \"token\": \"Lorem in nulla\",\n \"countryCode\": \"\",\n \"partyId\": \"quis Excepteur\",\n \"backgroundPatchJob\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/ocpi/endpoints/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + }, + "description": "Delete an OCPI Endpoint" + }, + "response": [ + { + "name": "OCPI Endpoint deleted", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/ocpi/endpoints/:id/ping", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"in incididunt quis proident mollit\",\n \"role\": \"CPO\",\n \"baseUrl\": \"sunt ea reprehenderit\",\n \"localToken\": \"ut proident amet\",\n \"token\": \"Lorem in nulla\",\n \"countryCode\": \"\",\n \"partyId\": \"quis Excepteur\",\n \"backgroundPatchJob\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/ping", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "ping" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + }, + "description": "Ping an OCPI Endpoint" + }, + "response": [ + { + "name": "OCPI Endpoint is reachable", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"in incididunt quis proident mollit\",\n \"role\": \"CPO\",\n \"baseUrl\": \"sunt ea reprehenderit\",\n \"localToken\": \"ut proident amet\",\n \"token\": \"Lorem in nulla\",\n \"countryCode\": \"\",\n \"partyId\": \"quis Excepteur\",\n \"backgroundPatchJob\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/ping", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "ping" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\",\n \"statusCode\": 200,\n \"statusText\": \"OK\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"in incididunt quis proident mollit\",\n \"role\": \"CPO\",\n \"baseUrl\": \"sunt ea reprehenderit\",\n \"localToken\": \"ut proident amet\",\n \"token\": \"Lorem in nulla\",\n \"countryCode\": \"\",\n \"partyId\": \"quis Excepteur\",\n \"backgroundPatchJob\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/ping", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "ping" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"in incididunt quis proident mollit\",\n \"role\": \"CPO\",\n \"baseUrl\": \"sunt ea reprehenderit\",\n \"localToken\": \"ut proident amet\",\n \"token\": \"Lorem in nulla\",\n \"countryCode\": \"\",\n \"partyId\": \"quis Excepteur\",\n \"backgroundPatchJob\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/ping", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "ping" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"in incididunt quis proident mollit\",\n \"role\": \"CPO\",\n \"baseUrl\": \"sunt ea reprehenderit\",\n \"localToken\": \"ut proident amet\",\n \"token\": \"Lorem in nulla\",\n \"countryCode\": \"\",\n \"partyId\": \"quis Excepteur\",\n \"backgroundPatchJob\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/ping", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "ping" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"in incididunt quis proident mollit\",\n \"role\": \"CPO\",\n \"baseUrl\": \"sunt ea reprehenderit\",\n \"localToken\": \"ut proident amet\",\n \"token\": \"Lorem in nulla\",\n \"countryCode\": \"\",\n \"partyId\": \"quis Excepteur\",\n \"backgroundPatchJob\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/ping", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "ping" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/ocpi/endpoints/:id/evses/statuses/send", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/evses/statuses/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "evses", + "statuses", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + }, + "description": "Send OCPI EVSE's statuses" + }, + "response": [ + { + "name": "OCPI Endpoint's EVSE's statuses sent", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/evses/statuses/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "evses", + "statuses", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/evses/statuses/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "evses", + "statuses", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/evses/statuses/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "evses", + "statuses", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/evses/statuses/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "evses", + "statuses", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/evses/statuses/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "evses", + "statuses", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/ocpi/endpoints/:id/register", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/register", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "register" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + }, + "description": "Register OCPI Endpoint" + }, + "response": [ + { + "name": "OCPI Endpoint registered", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/register", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "register" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\",\n \"statusCode\": 200,\n \"statusText\": \"OK\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/register", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "register" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/register", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "register" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/register", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "register" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/register", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "register" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/ocpi/endpoints/:id/unregister", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/unregister", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "unregister" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + }, + "description": "Unregister OCPI Endpoint" + }, + "response": [ + { + "name": "OCPI Endpoint unregistered", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/unregister", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "unregister" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\",\n \"statusCode\": 200,\n \"statusText\": \"OK\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/unregister", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "unregister" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/unregister", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "unregister" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/unregister", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "unregister" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/unregister", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "unregister" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/ocpi/endpoints/:id/credentials", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/credentials", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "credentials" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + }, + "description": "Update credentials of an OCPI Endpoint" + }, + "response": [ + { + "name": "OCPI Endpoint updated", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/credentials", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "credentials" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\",\n \"statusCode\": 200,\n \"statusText\": \"OK\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/credentials", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "credentials" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/credentials", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "credentials" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/credentials", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "credentials" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints/:id/credentials", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints", + ":id", + "credentials" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OCPI Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/ocpi/endpoints", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints?Search=sint consequat&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Retrieve a list of OCPI Endpoints" + }, + "response": [ + { + "name": "Return OCPI Endpoints list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints?Search=sint consequat&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"name\": \"###\",\n \"baseUrl\": \"###\",\n \"localToken\": \"###\",\n \"token\": \"###\",\n \"countryCode\": \"##\",\n \"partyId\": \"###\",\n \"backgroundPatchJob\": true,\n \"status\": \"###\",\n \"version\": \"2.1.1\",\n \"lastPatchJobOn\": \"2021-03-05T22:35:03.857Z\",\n \"lastPatchJobResult\": {\n \"successNbr\": 0,\n \"failureNbr\": 0,\n \"totalNbr\": 12\n },\n \"lastChangedOn\": \"2020-11-07T22:36:50.094Z\",\n \"role\": \"###\",\n \"id\": \"###\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints?Search=sint consequat&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints?Search=sint consequat&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints?Search=sint consequat&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/ocpi/endpoints", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"in incididunt quis proident mollit\",\n \"role\": \"CPO\",\n \"baseUrl\": \"sunt ea reprehenderit\",\n \"localToken\": \"ut proident amet\",\n \"token\": \"Lorem in nulla\",\n \"countryCode\": \"\",\n \"partyId\": \"quis Excepteur\",\n \"backgroundPatchJob\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints" + ] + }, + "description": "Create an OCPI Endpoint" + }, + "response": [ + { + "name": "OCPI Endpoint created successfully", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"in incididunt quis proident mollit\",\n \"role\": \"CPO\",\n \"baseUrl\": \"sunt ea reprehenderit\",\n \"localToken\": \"ut proident amet\",\n \"token\": \"Lorem in nulla\",\n \"countryCode\": \"\",\n \"partyId\": \"quis Excepteur\",\n \"backgroundPatchJob\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"###\",\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"in incididunt quis proident mollit\",\n \"role\": \"CPO\",\n \"baseUrl\": \"sunt ea reprehenderit\",\n \"localToken\": \"ut proident amet\",\n \"token\": \"Lorem in nulla\",\n \"countryCode\": \"\",\n \"partyId\": \"quis Excepteur\",\n \"backgroundPatchJob\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"in incididunt quis proident mollit\",\n \"role\": \"CPO\",\n \"baseUrl\": \"sunt ea reprehenderit\",\n \"localToken\": \"ut proident amet\",\n \"token\": \"Lorem in nulla\",\n \"countryCode\": \"\",\n \"partyId\": \"quis Excepteur\",\n \"backgroundPatchJob\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"in incididunt quis proident mollit\",\n \"role\": \"CPO\",\n \"baseUrl\": \"sunt ea reprehenderit\",\n \"localToken\": \"ut proident amet\",\n \"token\": \"Lorem in nulla\",\n \"countryCode\": \"\",\n \"partyId\": \"quis Excepteur\",\n \"backgroundPatchJob\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/ocpi/endpoints", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "ocpi", + "endpoints" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "oicp/endpoints", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "evses", + "item": [ + { + "name": "/api/oicp/endpoints/:id/evses/statuses/send", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/evses/statuses/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "evses", + "statuses", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + }, + "description": "Send OICP EVSE's statuses" + }, + "response": [ + { + "name": "OICP Endpoint's EVSE's statuses sent", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/evses/statuses/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "evses", + "statuses", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"success\": 0,\n \"failure\": 0,\n \"total\": 0,\n \"logs\": null,\n \"objectIDsInFailure\": []\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/evses/statuses/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "evses", + "statuses", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/evses/statuses/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "evses", + "statuses", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/evses/statuses/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "evses", + "statuses", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/evses/statuses/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "evses", + "statuses", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/oicp/endpoints/:id/evses/send", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/evses/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "evses", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + }, + "description": "Send OICP EVSEs" + }, + "response": [ + { + "name": "OICP Endpoint's EVSEs sent", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/evses/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "evses", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"success\": 0,\n \"failure\": 0,\n \"total\": 0,\n \"logs\": null,\n \"objectIDsInFailure\": []\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/evses/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "evses", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/evses/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "evses", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/evses/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "evses", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/evses/send", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "evses", + "send" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/oicp/endpoints/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + }, + "description": "Retrieve an OICP Endpoint" + }, + "response": [ + { + "name": "Return OICP Endpoint", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"name\": \"ex elit qui\",\n \"role\": \"EMSP\",\n \"baseUrl\": \"elit veniam in\",\n \"id\": \"in anim\",\n \"countryCode\": \"ad ut\",\n \"partyId\": \"Lorem adipisicing laboris\",\n \"backgroundPatchJob\": false\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/oicp/endpoints/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"ut veniam non laborum\",\n \"role\": \"EMSP\",\n \"baseUrl\": \"pariatur dolor adipisicing\",\n \"countryCode\": \"cillum aliqua Ut ullamco\",\n \"partyId\": \"ullamco aliqua ad\",\n \"backgroundPatchJob\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + }, + "description": "Update an OICP Endpoint" + }, + "response": [ + { + "name": "OICP Endpoint updated successfully", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"ut veniam non laborum\",\n \"role\": \"EMSP\",\n \"baseUrl\": \"pariatur dolor adipisicing\",\n \"countryCode\": \"cillum aliqua Ut ullamco\",\n \"partyId\": \"ullamco aliqua ad\",\n \"backgroundPatchJob\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"ut veniam non laborum\",\n \"role\": \"EMSP\",\n \"baseUrl\": \"pariatur dolor adipisicing\",\n \"countryCode\": \"cillum aliqua Ut ullamco\",\n \"partyId\": \"ullamco aliqua ad\",\n \"backgroundPatchJob\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"ut veniam non laborum\",\n \"role\": \"EMSP\",\n \"baseUrl\": \"pariatur dolor adipisicing\",\n \"countryCode\": \"cillum aliqua Ut ullamco\",\n \"partyId\": \"ullamco aliqua ad\",\n \"backgroundPatchJob\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"ut veniam non laborum\",\n \"role\": \"EMSP\",\n \"baseUrl\": \"pariatur dolor adipisicing\",\n \"countryCode\": \"cillum aliqua Ut ullamco\",\n \"partyId\": \"ullamco aliqua ad\",\n \"backgroundPatchJob\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"ut veniam non laborum\",\n \"role\": \"EMSP\",\n \"baseUrl\": \"pariatur dolor adipisicing\",\n \"countryCode\": \"cillum aliqua Ut ullamco\",\n \"partyId\": \"ullamco aliqua ad\",\n \"backgroundPatchJob\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/oicp/endpoints/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + }, + "description": "Delete an OICP Endpoint" + }, + "response": [ + { + "name": "OICP Endpoint deleted", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/oicp/endpoints/:id/ping", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"ut veniam non laborum\",\n \"role\": \"EMSP\",\n \"baseUrl\": \"pariatur dolor adipisicing\",\n \"countryCode\": \"cillum aliqua Ut ullamco\",\n \"partyId\": \"ullamco aliqua ad\",\n \"backgroundPatchJob\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/ping", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "ping" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + }, + "description": "Ping an OICP Endpoint" + }, + "response": [ + { + "name": "OICP Endpoint is reachable", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"ut veniam non laborum\",\n \"role\": \"EMSP\",\n \"baseUrl\": \"pariatur dolor adipisicing\",\n \"countryCode\": \"cillum aliqua Ut ullamco\",\n \"partyId\": \"ullamco aliqua ad\",\n \"backgroundPatchJob\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/ping", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "ping" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\",\n \"statusCode\": \"000\",\n \"statusText\": \"OK\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"ut veniam non laborum\",\n \"role\": \"EMSP\",\n \"baseUrl\": \"pariatur dolor adipisicing\",\n \"countryCode\": \"cillum aliqua Ut ullamco\",\n \"partyId\": \"ullamco aliqua ad\",\n \"backgroundPatchJob\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/ping", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "ping" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"ut veniam non laborum\",\n \"role\": \"EMSP\",\n \"baseUrl\": \"pariatur dolor adipisicing\",\n \"countryCode\": \"cillum aliqua Ut ullamco\",\n \"partyId\": \"ullamco aliqua ad\",\n \"backgroundPatchJob\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/ping", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "ping" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"ut veniam non laborum\",\n \"role\": \"EMSP\",\n \"baseUrl\": \"pariatur dolor adipisicing\",\n \"countryCode\": \"cillum aliqua Ut ullamco\",\n \"partyId\": \"ullamco aliqua ad\",\n \"backgroundPatchJob\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/ping", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "ping" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"ut veniam non laborum\",\n \"role\": \"EMSP\",\n \"baseUrl\": \"pariatur dolor adipisicing\",\n \"countryCode\": \"cillum aliqua Ut ullamco\",\n \"partyId\": \"ullamco aliqua ad\",\n \"backgroundPatchJob\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/ping", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "ping" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/oicp/endpoints/:id/register", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/register", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "register" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + }, + "description": "Register OICP Endpoint" + }, + "response": [ + { + "name": "OCPI Endpoint registered", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/register", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "register" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\",\n \"statusCode\": 200,\n \"statusText\": \"OK\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/register", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "register" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/register", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "register" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/register", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "register" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/register", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "register" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/oicp/endpoints/:id/unregister", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/unregister", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "unregister" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + }, + "description": "Unregister OICP Endpoint" + }, + "response": [ + { + "name": "OICP Endpoint unregistered", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/unregister", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "unregister" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\",\n \"statusCode\": 200,\n \"statusText\": \"OK\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/unregister", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "unregister" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/unregister", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "unregister" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/unregister", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "unregister" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints/:id/unregister", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints", + ":id", + "unregister" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) OICP Endpoint ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/oicp/endpoints", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"ut veniam non laborum\",\n \"role\": \"EMSP\",\n \"baseUrl\": \"pariatur dolor adipisicing\",\n \"countryCode\": \"cillum aliqua Ut ullamco\",\n \"partyId\": \"ullamco aliqua ad\",\n \"backgroundPatchJob\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints" + ] + }, + "description": "Create an OICP Endpoint" + }, + "response": [ + { + "name": "OICP Endpoint created successfully", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"ut veniam non laborum\",\n \"role\": \"EMSP\",\n \"baseUrl\": \"pariatur dolor adipisicing\",\n \"countryCode\": \"cillum aliqua Ut ullamco\",\n \"partyId\": \"ullamco aliqua ad\",\n \"backgroundPatchJob\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"###\",\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"ut veniam non laborum\",\n \"role\": \"EMSP\",\n \"baseUrl\": \"pariatur dolor adipisicing\",\n \"countryCode\": \"cillum aliqua Ut ullamco\",\n \"partyId\": \"ullamco aliqua ad\",\n \"backgroundPatchJob\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"ut veniam non laborum\",\n \"role\": \"EMSP\",\n \"baseUrl\": \"pariatur dolor adipisicing\",\n \"countryCode\": \"cillum aliqua Ut ullamco\",\n \"partyId\": \"ullamco aliqua ad\",\n \"backgroundPatchJob\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"ut veniam non laborum\",\n \"role\": \"EMSP\",\n \"baseUrl\": \"pariatur dolor adipisicing\",\n \"countryCode\": \"cillum aliqua Ut ullamco\",\n \"partyId\": \"ullamco aliqua ad\",\n \"backgroundPatchJob\": false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/oicp/endpoints", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "oicp", + "endpoints" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "settings", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/api/settings/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/settings/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Setting ID" + } + ] + }, + "description": "Retrieve a Setting" + }, + "response": [ + { + "name": "Return Setting", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/settings/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Setting ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"backupSensitiveData\": null,\n \"content\": {\n \"type\": \"crypto\",\n \"crypto\": {\n \"key\": \"###\",\n \"keyProperties\": {\n \"blockCypher\": \"aes\",\n \"blockSize\": 256,\n \"operationMode\": \"gcm\"\n }\n }\n },\n \"createdBy\": null,\n \"identifier\": \"crypto\",\n \"lastChangedBy\": null,\n \"lastChangedOn\": \"2021-11-09T13:30:47.173Z\",\n \"sensitiveData\": null,\n \"id\": \"###\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/settings/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Setting ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/settings/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Setting ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/settings/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Setting ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/settings/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Setting ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/settings/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"identifier\": \"reprehen\",\n \"sensitiveData\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"content\": {\n \"type\": {\n \"value\": \"\"\n },\n \"links\": {\n \"value\": \"\"\n },\n \"sac\": {\n \"value\": \"\"\n },\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"concur\": {\n \"value\": \"\"\n },\n \"simple\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"stripe\": {\n \"value\": \"\"\n },\n \"sapSmartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"carConnector\": {\n \"value\": \"\"\n },\n \"crypto\": {\n \"value\": \"\"\n },\n \"user\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/settings/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Setting ID" + } + ] + }, + "description": "Update a Setting" + }, + "response": [ + { + "name": "Setting updated successfully", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"identifier\": \"reprehen\",\n \"sensitiveData\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"content\": {\n \"type\": {\n \"value\": \"\"\n },\n \"links\": {\n \"value\": \"\"\n },\n \"sac\": {\n \"value\": \"\"\n },\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"concur\": {\n \"value\": \"\"\n },\n \"simple\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"stripe\": {\n \"value\": \"\"\n },\n \"sapSmartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"carConnector\": {\n \"value\": \"\"\n },\n \"crypto\": {\n \"value\": \"\"\n },\n \"user\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/settings/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Setting ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"identifier\": \"reprehen\",\n \"sensitiveData\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"content\": {\n \"type\": {\n \"value\": \"\"\n },\n \"links\": {\n \"value\": \"\"\n },\n \"sac\": {\n \"value\": \"\"\n },\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"concur\": {\n \"value\": \"\"\n },\n \"simple\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"stripe\": {\n \"value\": \"\"\n },\n \"sapSmartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"carConnector\": {\n \"value\": \"\"\n },\n \"crypto\": {\n \"value\": \"\"\n },\n \"user\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/settings/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Setting ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"identifier\": \"reprehen\",\n \"sensitiveData\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"content\": {\n \"type\": {\n \"value\": \"\"\n },\n \"links\": {\n \"value\": \"\"\n },\n \"sac\": {\n \"value\": \"\"\n },\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"concur\": {\n \"value\": \"\"\n },\n \"simple\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"stripe\": {\n \"value\": \"\"\n },\n \"sapSmartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"carConnector\": {\n \"value\": \"\"\n },\n \"crypto\": {\n \"value\": \"\"\n },\n \"user\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/settings/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Setting ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"identifier\": \"reprehen\",\n \"sensitiveData\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"content\": {\n \"type\": {\n \"value\": \"\"\n },\n \"links\": {\n \"value\": \"\"\n },\n \"sac\": {\n \"value\": \"\"\n },\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"concur\": {\n \"value\": \"\"\n },\n \"simple\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"stripe\": {\n \"value\": \"\"\n },\n \"sapSmartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"carConnector\": {\n \"value\": \"\"\n },\n \"crypto\": {\n \"value\": \"\"\n },\n \"user\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/settings/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Setting ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"identifier\": \"reprehen\",\n \"sensitiveData\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"content\": {\n \"type\": {\n \"value\": \"\"\n },\n \"links\": {\n \"value\": \"\"\n },\n \"sac\": {\n \"value\": \"\"\n },\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"concur\": {\n \"value\": \"\"\n },\n \"simple\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"stripe\": {\n \"value\": \"\"\n },\n \"sapSmartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"carConnector\": {\n \"value\": \"\"\n },\n \"crypto\": {\n \"value\": \"\"\n },\n \"user\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/settings/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Setting ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/settings/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/settings/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Setting ID" + } + ] + }, + "description": "Delete a Setting" + }, + "response": [ + { + "name": "Setting deleted successfully", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/settings/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Setting ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/settings/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Setting ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/settings/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Setting ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/settings/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Setting ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/settings/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Setting ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/settings", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/settings?Identifier=sint consequat&Search=sint consequat&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings" + ], + "query": [ + { + "key": "Identifier", + "value": "sint consequat", + "description": "Setting Identifier" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Retrieve a list of Settings" + }, + "response": [ + { + "name": "Return Settings list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/settings?Identifier=sint consequat&Search=sint consequat&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings" + ], + "query": [ + { + "key": "Identifier", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"backupSensitiveData\": null,\n \"content\": {\n \"type\": \"crypto\",\n \"crypto\": {\n \"key\": \"###\",\n \"keyProperties\": {\n \"blockCypher\": \"aes\",\n \"blockSize\": 256,\n \"operationMode\": \"gcm\"\n }\n }\n },\n \"createdBy\": null,\n \"identifier\": \"crypto\",\n \"lastChangedBy\": null,\n \"lastChangedOn\": \"2021-11-09T13:30:47.173Z\",\n \"sensitiveData\": null,\n \"id\": \"###\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/settings?Identifier=sint consequat&Search=sint consequat&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings" + ], + "query": [ + { + "key": "Identifier", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/settings?Identifier=sint consequat&Search=sint consequat&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings" + ], + "query": [ + { + "key": "Identifier", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/settings?Identifier=sint consequat&Search=sint consequat&Skip=0&SortFields=id&Limit=100&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings" + ], + "query": [ + { + "key": "Identifier", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/settings", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"identifier\": \"exercitation culpa\",\n \"sensitiveData\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"content\": {\n \"type\": {\n \"value\": \"\"\n },\n \"links\": {\n \"value\": \"\"\n },\n \"sac\": {\n \"value\": \"\"\n },\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"concur\": {\n \"value\": \"\"\n },\n \"simple\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"stripe\": {\n \"value\": \"\"\n },\n \"sapSmartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"carConnector\": {\n \"value\": \"\"\n },\n \"crypto\": {\n \"value\": \"\"\n },\n \"user\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/settings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings" + ] + }, + "description": "Create a Setting" + }, + "response": [ + { + "name": "Setting created successfully", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"identifier\": \"reprehen\",\n \"sensitiveData\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"content\": {\n \"type\": {\n \"value\": \"\"\n },\n \"links\": {\n \"value\": \"\"\n },\n \"sac\": {\n \"value\": \"\"\n },\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"concur\": {\n \"value\": \"\"\n },\n \"simple\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"stripe\": {\n \"value\": \"\"\n },\n \"sapSmartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"carConnector\": {\n \"value\": \"\"\n },\n \"crypto\": {\n \"value\": \"\"\n },\n \"user\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/settings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"###\",\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"identifier\": \"reprehen\",\n \"sensitiveData\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"content\": {\n \"type\": {\n \"value\": \"\"\n },\n \"links\": {\n \"value\": \"\"\n },\n \"sac\": {\n \"value\": \"\"\n },\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"concur\": {\n \"value\": \"\"\n },\n \"simple\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"stripe\": {\n \"value\": \"\"\n },\n \"sapSmartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"carConnector\": {\n \"value\": \"\"\n },\n \"crypto\": {\n \"value\": \"\"\n },\n \"user\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/settings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"identifier\": \"reprehen\",\n \"sensitiveData\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"content\": {\n \"type\": {\n \"value\": \"\"\n },\n \"links\": {\n \"value\": \"\"\n },\n \"sac\": {\n \"value\": \"\"\n },\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"concur\": {\n \"value\": \"\"\n },\n \"simple\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"stripe\": {\n \"value\": \"\"\n },\n \"sapSmartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"carConnector\": {\n \"value\": \"\"\n },\n \"crypto\": {\n \"value\": \"\"\n },\n \"user\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/settings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"identifier\": \"reprehen\",\n \"sensitiveData\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"content\": {\n \"type\": {\n \"value\": \"\"\n },\n \"links\": {\n \"value\": \"\"\n },\n \"sac\": {\n \"value\": \"\"\n },\n \"ocpi\": {\n \"value\": \"\"\n },\n \"oicp\": {\n \"value\": \"\"\n },\n \"concur\": {\n \"value\": \"\"\n },\n \"simple\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"stripe\": {\n \"value\": \"\"\n },\n \"sapSmartCharging\": {\n \"value\": \"\"\n },\n \"asset\": {\n \"value\": \"\"\n },\n \"carConnector\": {\n \"value\": \"\"\n },\n \"crypto\": {\n \"value\": \"\"\n },\n \"user\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/settings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "settings" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "registration-tokens", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/api/registration-tokens/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + }, + "description": "Retrieve a Registration Token" + }, + "response": [ + { + "name": "Return registration Token", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"createdBy\": {\n \"firstName\": \"###\",\n \"name\": \"###\"\n },\n \"createdOn\": \"2021-11-23T15:30:50.509Z\",\n \"description\": \"###\",\n \"expirationDate\": \"2021-12-23T15:30:50.509Z\",\n \"revocationDate\": null,\n \"siteAreaID\": null,\n \"id\": \"###\",\n \"ocpp15SOAPSecureUrl\": \"###\",\n \"ocpp16SOAPSecureUrl\": \"###\",\n \"ocpp16JSONSecureUrl\": \"###\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/registration-tokens/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"laboris consequat\",\n \"siteAreaID\": \"Lorem deserunt nisi\",\n \"expirationDate\": \"2004-10-31T20:00:52.904Z\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + }, + "description": "Update a Registration Token" + }, + "response": [ + { + "name": "Registration Token updated successfully", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"laboris consequat\",\n \"siteAreaID\": \"Lorem deserunt nisi\",\n \"expirationDate\": \"2004-10-31T20:00:52.904Z\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"laboris consequat\",\n \"siteAreaID\": \"Lorem deserunt nisi\",\n \"expirationDate\": \"2004-10-31T20:00:52.904Z\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"laboris consequat\",\n \"siteAreaID\": \"Lorem deserunt nisi\",\n \"expirationDate\": \"2004-10-31T20:00:52.904Z\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"laboris consequat\",\n \"siteAreaID\": \"Lorem deserunt nisi\",\n \"expirationDate\": \"2004-10-31T20:00:52.904Z\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"laboris consequat\",\n \"siteAreaID\": \"Lorem deserunt nisi\",\n \"expirationDate\": \"2004-10-31T20:00:52.904Z\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/registration-tokens/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + }, + "description": "Delete a Registration Token" + }, + "response": [ + { + "name": "Registration Token deleted successfully", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/registration-tokens/:id/revoke", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id/revoke", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id", + "revoke" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + }, + "description": "Revoke a Registration Token" + }, + "response": [ + { + "name": "Registration Token revoked successfully", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id/revoke", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id", + "revoke" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id/revoke", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id", + "revoke" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id/revoke", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id", + "revoke" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id/revoke", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id", + "revoke" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens/:id/revoke", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens", + ":id", + "revoke" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Registration token ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/registration-tokens", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens?SiteAreaID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens" + ], + "query": [ + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Site Area ID" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + } + ] + }, + "description": "Retrieve a list of Registration Tokens" + }, + "response": [ + { + "name": "Return Registration Tokens list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens?SiteAreaID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens" + ], + "query": [ + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"createdBy\": {\n \"firstName\": \"###\",\n \"name\": \"###\"\n },\n \"createdOn\": \"2021-11-08T14:39:10.363Z\",\n \"description\": \"###\",\n \"expirationDate\": \"2021-12-08T14:39:10.363Z\",\n \"revocationDate\": null,\n \"siteAreaID\": null,\n \"id\": \"###\",\n \"ocpp15SOAPSecureUrl\": \"###\",\n \"ocpp16SOAPSecureUrl\": \"###\",\n \"ocpp16JSONSecureUrl\": \"###\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens?SiteAreaID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens" + ], + "query": [ + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens?SiteAreaID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens" + ], + "query": [ + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/registration-tokens?SiteAreaID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens" + ], + "query": [ + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/registration-tokens", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"laboris consequat\",\n \"siteAreaID\": \"Lorem deserunt nisi\",\n \"expirationDate\": \"2004-10-31T20:00:52.904Z\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/registration-tokens", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens" + ] + }, + "description": "Create a registration token" + }, + "response": [ + { + "name": "Registration token created successfully", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"laboris consequat\",\n \"siteAreaID\": \"Lorem deserunt nisi\",\n \"expirationDate\": \"2004-10-31T20:00:52.904Z\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/registration-tokens", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"###\",\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"laboris consequat\",\n \"siteAreaID\": \"Lorem deserunt nisi\",\n \"expirationDate\": \"2004-10-31T20:00:52.904Z\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/registration-tokens", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"laboris consequat\",\n \"siteAreaID\": \"Lorem deserunt nisi\",\n \"expirationDate\": \"2004-10-31T20:00:52.904Z\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/registration-tokens", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"laboris consequat\",\n \"siteAreaID\": \"Lorem deserunt nisi\",\n \"expirationDate\": \"2004-10-31T20:00:52.904Z\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/registration-tokens", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "registration-tokens" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "statistics", + "item": [ + { + "name": "charging-stations", + "item": [ + { + "name": "/api/statistics/charging-stations/consumption", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/consumption?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "consumption" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268", + "description": "Year" + }, + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + } + ] + }, + "description": "Get Charging stations consumption Statistics" + }, + "response": [ + { + "name": "Return charging stations consumption statistics", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/consumption?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "consumption" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"month\": {\n \"value\": \"\"\n },\n \"###\": {\n \"value\": \"\"\n }\n },\n {\n \"month\": {\n \"value\": \"\"\n },\n \"###\": {\n \"value\": \"\"\n }\n }\n]" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/consumption?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "consumption" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/consumption?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "consumption" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/consumption?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "consumption" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/statistics/charging-stations/usage", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/usage?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "usage" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268", + "description": "Year" + }, + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + } + ] + }, + "description": "Get Charging stations usage Statistics" + }, + "response": [ + { + "name": "Return charging stations usage statistics", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/usage?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "usage" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"month\": {\n \"value\": \"\"\n },\n \"###\": {\n \"value\": \"\"\n }\n },\n {\n \"month\": {\n \"value\": \"\"\n },\n \"###\": {\n \"value\": \"\"\n }\n }\n]" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/usage?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "usage" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/usage?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "usage" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/usage?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "usage" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/statistics/charging-stations/inactivity", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/inactivity?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "inactivity" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268", + "description": "Year" + }, + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + } + ] + }, + "description": "Get Charging stations inactivity Statistics" + }, + "response": [ + { + "name": "Return charging stations inactivity statistics", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/inactivity?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "inactivity" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"month\": {\n \"value\": \"\"\n },\n \"###\": {\n \"value\": \"\"\n }\n },\n {\n \"month\": {\n \"value\": \"\"\n },\n \"###\": {\n \"value\": \"\"\n }\n }\n]" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/inactivity?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "inactivity" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/inactivity?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "inactivity" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/inactivity?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "inactivity" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/statistics/charging-stations/transactions", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/transactions?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "transactions" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268", + "description": "Year" + }, + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + } + ] + }, + "description": "Get Charging stations transactions Statistics" + }, + "response": [ + { + "name": "Return charging stations transactions statistics", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/transactions?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "transactions" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"month\": {\n \"value\": \"\"\n },\n \"###\": {\n \"value\": \"\"\n }\n },\n {\n \"month\": {\n \"value\": \"\"\n },\n \"###\": {\n \"value\": \"\"\n }\n }\n]" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/transactions?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "transactions" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/transactions?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "transactions" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/transactions?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "transactions" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/statistics/charging-stations/pricing", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/pricing?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "pricing" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268", + "description": "Year" + }, + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + } + ] + }, + "description": "Get Charging stations princing Statistics" + }, + "response": [ + { + "name": "Return charging stations pricing statistics", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/pricing?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "pricing" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"month\": {\n \"value\": \"\"\n },\n \"###\": {\n \"value\": \"\"\n }\n },\n {\n \"month\": {\n \"value\": \"\"\n },\n \"###\": {\n \"value\": \"\"\n }\n }\n]" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/pricing?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "pricing" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/pricing?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "pricing" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/charging-stations/pricing?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "charging-stations", + "pricing" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "users", + "item": [ + { + "name": "/api/statistics/users/consumption", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/consumption?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "consumption" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268", + "description": "Year" + }, + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + } + ] + }, + "description": "Get users consumption Statistics" + }, + "response": [ + { + "name": "Return user consumption statistics", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/consumption?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "consumption" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"month\": {\n \"value\": \"\"\n },\n \"###\": {\n \"value\": \"\"\n }\n },\n {\n \"month\": {\n \"value\": \"\"\n },\n \"###\": {\n \"value\": \"\"\n }\n }\n]" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/consumption?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "consumption" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/consumption?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "consumption" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/consumption?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "consumption" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/statistics/users/usage", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/usage?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "usage" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268", + "description": "Year" + }, + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + } + ] + }, + "description": "Get users usage Statistics" + }, + "response": [ + { + "name": "Return users usage statistics", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/usage?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "usage" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"month\": {\n \"value\": \"\"\n },\n \"###\": {\n \"value\": \"\"\n }\n },\n {\n \"month\": {\n \"value\": \"\"\n },\n \"###\": {\n \"value\": \"\"\n }\n }\n]" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/usage?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "usage" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/usage?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "usage" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/usage?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "usage" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/statistics/users/inactivity", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/inactivity?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "inactivity" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268", + "description": "Year" + }, + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + } + ] + }, + "description": "Get users inactivity Statistics" + }, + "response": [ + { + "name": "Return users inactivity statistics", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/inactivity?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "inactivity" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"month\": {\n \"value\": \"\"\n },\n \"###\": {\n \"value\": \"\"\n }\n },\n {\n \"month\": {\n \"value\": \"\"\n },\n \"###\": {\n \"value\": \"\"\n }\n }\n]" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/inactivity?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "inactivity" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/inactivity?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "inactivity" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/inactivity?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "inactivity" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/statistics/users/transactions", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/transactions?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "transactions" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268", + "description": "Year" + }, + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + } + ] + }, + "description": "Get users transactions Statistics" + }, + "response": [ + { + "name": "Return users transactions statistics", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/transactions?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "transactions" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"month\": {\n \"value\": \"\"\n },\n \"###\": {\n \"value\": \"\"\n }\n },\n {\n \"month\": {\n \"value\": \"\"\n },\n \"###\": {\n \"value\": \"\"\n }\n }\n]" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/transactions?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "transactions" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/transactions?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "transactions" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/transactions?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "transactions" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/statistics/users/pricing", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/pricing?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "pricing" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268", + "description": "Year" + }, + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + } + ] + }, + "description": "Get users princing Statistics" + }, + "response": [ + { + "name": "Return users pricing statistics", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/pricing?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "pricing" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"month\": {\n \"value\": \"\"\n },\n \"###\": {\n \"value\": \"\"\n }\n },\n {\n \"month\": {\n \"value\": \"\"\n },\n \"###\": {\n \"value\": \"\"\n }\n }\n]" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/pricing?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "pricing" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/pricing?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "pricing" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/users/pricing?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "users", + "pricing" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/statistics/action/export", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "text/csv" + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/action/export?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat&DataType=Consumption&DataCategory=C&DataScope=month", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "action", + "export" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268", + "description": "Year" + }, + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "SiteAreaID", + "value": "sint consequat", + "description": "Pipe separated Site Area IDs" + }, + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Pipe separated Charging Station IDs" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "SiteID", + "value": "sint consequat", + "description": "Pipe separated Site IDs" + }, + { + "key": "DataType", + "value": "Consumption", + "description": "Data type" + }, + { + "key": "DataCategory", + "value": "C", + "description": "Data category (C = charging stations, U = users)" + }, + { + "key": "DataScope", + "value": "month", + "description": "Data scope" + } + ] + }, + "description": "Export Statistics" + }, + "response": [ + { + "name": "Return statistics", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/action/export?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat&DataType=Consumption&DataCategory=C&DataScope=month", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "action", + "export" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "DataType", + "value": "Consumption" + }, + { + "key": "DataCategory", + "value": "C" + }, + { + "key": "DataScope", + "value": "month" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/csv" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/action/export?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat&DataType=Consumption&DataCategory=C&DataScope=month", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "action", + "export" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "DataType", + "value": "Consumption" + }, + { + "key": "DataCategory", + "value": "C" + }, + { + "key": "DataScope", + "value": "month" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/action/export?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat&DataType=Consumption&DataCategory=C&DataScope=month", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "action", + "export" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "DataType", + "value": "Consumption" + }, + { + "key": "DataCategory", + "value": "C" + }, + { + "key": "DataScope", + "value": "month" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/statistics/action/export?Year=74018058.78365268&StartDateTime=sint consequat&EndDateTime=sint consequat&SiteAreaID=sint consequat&ChargingStationID=sint consequat&UserID=sint consequat&SiteID=sint consequat&DataType=Consumption&DataCategory=C&DataScope=month", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "statistics", + "action", + "export" + ], + "query": [ + { + "key": "Year", + "value": "74018058.78365268" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "SiteAreaID", + "value": "sint consequat" + }, + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "SiteID", + "value": "sint consequat" + }, + { + "key": "DataType", + "value": "Consumption" + }, + { + "key": "DataCategory", + "value": "C" + }, + { + "key": "DataScope", + "value": "month" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "billing", + "item": [ + { + "name": "sub-accounts", + "item": [ + { + "name": "/api/billing/sub-accounts", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing/sub-accounts?UserID=sint consequat&Status=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&Search=sint consequat&Skip=0&Limit=100&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "sub-accounts" + ], + "query": [ + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "Status", + "value": "sint consequat", + "description": "Pipe separated invoice status (idle, pending, active)" + }, + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + } + ] + }, + "description": "Get Sub-Accounts" + }, + "response": [ + { + "name": "Return sub-accounts", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing/sub-accounts?UserID=sint consequat&Status=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&Search=sint consequat&Skip=0&Limit=100&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "sub-accounts" + ], + "query": [ + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Status", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing/sub-accounts?UserID=sint consequat&Status=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&Search=sint consequat&Skip=0&Limit=100&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "sub-accounts" + ], + "query": [ + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Status", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing/sub-accounts?UserID=sint consequat&Status=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&Search=sint consequat&Skip=0&Limit=100&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "sub-accounts" + ], + "query": [ + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Status", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing/sub-accounts?UserID=sint consequat&Status=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&Search=sint consequat&Skip=0&Limit=100&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "sub-accounts" + ], + "query": [ + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Status", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/billing/sub-accounts", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"businessOwnerID\": \"fugiat qui voluptate\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/billing/sub-accounts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "sub-accounts" + ] + }, + "description": "Create a Billing sub-account" + }, + "response": [ + { + "name": "Pending sub-account created", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"businessOwnerID\": \"fugiat qui voluptate\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/billing/sub-accounts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "sub-accounts" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"businessOwnerID\": \"###\",\n \"accountExternalID\": \"###\",\n \"activationLink\": \"###\",\n \"status\": \"idle\",\n \"id\": \"###\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"businessOwnerID\": \"fugiat qui voluptate\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/billing/sub-accounts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "sub-accounts" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"businessOwnerID\": \"fugiat qui voluptate\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/billing/sub-accounts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "sub-accounts" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"businessOwnerID\": \"fugiat qui voluptate\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/billing/sub-accounts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "sub-accounts" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"businessOwnerID\": \"fugiat qui voluptate\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/billing/sub-accounts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "sub-accounts" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/billing/sub-accounts/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing/sub-accounts/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "sub-accounts", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Sub-account ID" + } + ] + }, + "description": "Get Sub-Accounts" + }, + "response": [ + { + "name": "Return sub-account", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing/sub-accounts/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "sub-accounts", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Sub-account ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"accountID\": \"sunt ea p\",\n \"userID\": \"aute aliqua do\",\n \"id\": \"dolor\",\n \"user\": {\n \"value\": \"\"\n }\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing/sub-accounts/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "sub-accounts", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Sub-account ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing/sub-accounts/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "sub-accounts", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Sub-account ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing/sub-accounts/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "sub-accounts", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Sub-account ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing/sub-accounts/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "sub-accounts", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Sub-account ID" + } + ] + } + }, + "code": 550, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/billing/taxes", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing/taxes", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "taxes" + ] + }, + "description": "Get billing taxes" + }, + "response": [ + { + "name": "Return billing taxes", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing/taxes", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "taxes" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"id\": \"###\",\n \"description\": \"###\",\n \"displayName\": \"###\",\n \"percentage\": -4038597.9385395497\n },\n {\n \"id\": \"###\",\n \"description\": \"###\",\n \"displayName\": \"###\",\n \"percentage\": 14806309.865734056\n }\n]" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing/taxes", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "taxes" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing/taxes", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "taxes" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing/taxes", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "taxes" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/billing/check", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "check" + ] + }, + "description": "Check the connection with the billing provider" + }, + "response": [ + { + "name": "Billing provider is reachable", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "check" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"connectionIsValid\": true,\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "check" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "check" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing/check", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing", + "check" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "billing-setting", + "item": [ + { + "name": "/api/billing-setting", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing-setting", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing-setting" + ] + }, + "description": "Get billing settings" + }, + "response": [ + { + "name": "Return billing settings", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing-setting", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing-setting" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"id\": \"consectetur reprehenderit\",\n \"identifier\": \"occaecat ad dolor elit\",\n \"sensitiveData\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"content\": {\n \"type\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"stripe\": {\n \"value\": \"\"\n }\n }\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing-setting", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing-setting" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing-setting", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing-setting" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/billing-setting", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing-setting" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/billing-setting", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"identifier\": \"esse mollit aute ullamco\",\n \"sensitiveData\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"content\": {\n \"type\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"stripe\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/billing-setting", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing-setting" + ] + }, + "description": "Update billing settings" + }, + "response": [ + { + "name": "Billing settings successfully updated", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"identifier\": \"esse mollit aute ullamco\",\n \"sensitiveData\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"content\": {\n \"type\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"stripe\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/billing-setting", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing-setting" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"Success\"\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"identifier\": \"esse mollit aute ullamco\",\n \"sensitiveData\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"content\": {\n \"type\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"stripe\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/billing-setting", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing-setting" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"identifier\": \"esse mollit aute ullamco\",\n \"sensitiveData\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"content\": {\n \"type\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"stripe\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/billing-setting", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing-setting" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "PUT", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"identifier\": \"esse mollit aute ullamco\",\n \"sensitiveData\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"content\": {\n \"type\": {\n \"value\": \"\"\n },\n \"billing\": {\n \"value\": \"\"\n },\n \"stripe\": {\n \"value\": \"\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/billing-setting", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "billing-setting" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "invoices", + "item": [ + { + "name": "{id}", + "item": [ + { + "name": "/api/invoices/:id", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/invoices/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "invoices", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Invoice ID" + } + ] + }, + "description": "Get Invoice by id" + }, + "response": [ + { + "name": "Return invoice", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/invoices/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "invoices", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Invoice ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"amount\": 10125271.548865065,\n \"createdOn\": {\n \"value\": \"\"\n },\n \"currency\": \"sit nisi in commodo irure\",\n \"downloadable\": true,\n \"number\": \"exercitation\",\n \"status\": \"paid\",\n \"userID\": \"in sint pariatur\",\n \"user\": {\n \"value\": \"\"\n },\n \"id\": \"nulla officia\",\n \"sessions\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/invoices/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "invoices", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Invoice ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/invoices/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "invoices", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Invoice ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/invoices/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "invoices", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Invoice ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/invoices/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "invoices", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Invoice ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/invoices/:id/download", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/pdf" + } + ], + "url": { + "raw": "{{baseUrl}}/api/invoices/:id/download", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "invoices", + ":id", + "download" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Invoice ID" + } + ] + }, + "description": "Download Invoice as PDF" + }, + "response": [ + { + "name": "Return invoice as PDF", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/invoices/:id/download", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "invoices", + ":id", + "download" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Invoice ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "application/pdf" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/invoices/:id/download", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "invoices", + ":id", + "download" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Invoice ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/invoices/:id/download", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "invoices", + ":id", + "download" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Invoice ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/invoices/:id/download", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "invoices", + ":id", + "download" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Invoice ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/invoices/:id/download", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "invoices", + ":id", + "download" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Invoice ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/invoices", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/invoices?UserID=sint consequat&Status=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&Search=sint consequat&Skip=0&Limit=100&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "invoices" + ], + "query": [ + { + "key": "UserID", + "value": "sint consequat", + "description": "Pipe separated User IDs" + }, + { + "key": "Status", + "value": "sint consequat", + "description": "Pipe separated invoice status (paid, open, draft, void, uncollectible, deleted)" + }, + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + }, + { + "key": "EndDateTime", + "value": "sint consequat", + "description": "End Date (ISO format)" + }, + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + } + ] + }, + "description": "Get Invoices" + }, + "response": [ + { + "name": "Return invoices", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/invoices?UserID=sint consequat&Status=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&Search=sint consequat&Skip=0&Limit=100&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "invoices" + ], + "query": [ + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Status", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/invoices?UserID=sint consequat&Status=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&Search=sint consequat&Skip=0&Limit=100&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "invoices" + ], + "query": [ + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Status", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/invoices?UserID=sint consequat&Status=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&Search=sint consequat&Skip=0&Limit=100&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "invoices" + ], + "query": [ + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Status", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/invoices?UserID=sint consequat&Status=sint consequat&StartDateTime=sint consequat&EndDateTime=sint consequat&Search=sint consequat&Skip=0&Limit=100&SortFields=id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "invoices" + ], + "query": [ + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "Status", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + }, + { + "key": "EndDateTime", + "value": "sint consequat" + }, + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "SortFields", + "value": "id" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/api/pricing-model/resolve", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/pricing-model/resolve?ChargingStationID=sint consequat&ConnectorID=16995143.412301898&UserID=sint consequat&StartDateTime=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "pricing-model", + "resolve" + ], + "query": [ + { + "key": "ChargingStationID", + "value": "sint consequat", + "description": "Charging Station ID" + }, + { + "key": "ConnectorID", + "value": "16995143.412301898", + "description": "Connector ID" + }, + { + "key": "UserID", + "value": "sint consequat", + "description": "User ID" + }, + { + "key": "StartDateTime", + "value": "sint consequat", + "description": "Start Date (ISO format)" + } + ] + }, + "description": "Resolve pricing context" + }, + "response": [ + { + "name": "Return tariffs matching a pricing context", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/pricing-model/resolve?ChargingStationID=sint consequat&ConnectorID=16995143.412301898&UserID=sint consequat&StartDateTime=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "pricing-model", + "resolve" + ], + "query": [ + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "16995143.412301898" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/pricing-model/resolve?ChargingStationID=sint consequat&ConnectorID=16995143.412301898&UserID=sint consequat&StartDateTime=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "pricing-model", + "resolve" + ], + "query": [ + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "16995143.412301898" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/pricing-model/resolve?ChargingStationID=sint consequat&ConnectorID=16995143.412301898&UserID=sint consequat&StartDateTime=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "pricing-model", + "resolve" + ], + "query": [ + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "16995143.412301898" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/pricing-model/resolve?ChargingStationID=sint consequat&ConnectorID=16995143.412301898&UserID=sint consequat&StartDateTime=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "pricing-model", + "resolve" + ], + "query": [ + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "16995143.412301898" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/pricing-model/resolve?ChargingStationID=sint consequat&ConnectorID=16995143.412301898&UserID=sint consequat&StartDateTime=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "pricing-model", + "resolve" + ], + "query": [ + { + "key": "ChargingStationID", + "value": "sint consequat" + }, + { + "key": "ConnectorID", + "value": "16995143.412301898" + }, + { + "key": "UserID", + "value": "sint consequat" + }, + { + "key": "StartDateTime", + "value": "sint consequat" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/api/car-makers", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-makers?Search=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-makers" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat", + "description": "Search" + }, + { + "key": "Limit", + "value": "100", + "description": "(Required) Limit the number of records" + }, + { + "key": "Skip", + "value": "0", + "description": "Skip number of records" + }, + { + "key": "SortFields", + "value": "id", + "description": "Sorted fields" + }, + { + "key": "OnlyRecordCount", + "value": "false", + "description": "Return only the number of records" + }, + { + "key": "ProjectFields", + "value": "", + "description": "Pipe separated projected fields" + } + ] + }, + "description": "Get car makers list" + }, + "response": [ + { + "name": "Return car makers list", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-makers?Search=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-makers" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": 1,\n \"result\": [\n {\n \"carMaker\": \"###\"\n }\n ]\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-makers?Search=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-makers" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-makers?Search=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-makers" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/car-makers?Search=sint consequat&Limit=100&Skip=0&SortFields=id&OnlyRecordCount=false&ProjectFields=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "car-makers" + ], + "query": [ + { + "key": "Search", + "value": "sint consequat" + }, + { + "key": "Limit", + "value": "100" + }, + { + "key": "Skip", + "value": "0" + }, + { + "key": "SortFields", + "value": "id" + }, + { + "key": "OnlyRecordCount", + "value": "false" + }, + { + "key": "ProjectFields", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "util", + "item": [ + { + "name": "/util/tenants/logo", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/util/tenants/logo?id=sint consequat&Subdomain=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "tenants", + "logo" + ], + "query": [ + { + "key": "id", + "value": "sint consequat", + "description": "Tenant ID" + }, + { + "key": "Subdomain", + "value": "sint consequat", + "description": "Tenant subdomain" + } + ] + }, + "description": "Retrieve a Tenant logo" + }, + "response": [ + { + "name": "Return the Tenant logo", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/tenants/logo?id=sint consequat&Subdomain=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "tenants", + "logo" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + }, + { + "key": "Subdomain", + "value": "sint consequat" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/tenants/logo?id=sint consequat&Subdomain=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "tenants", + "logo" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + }, + { + "key": "Subdomain", + "value": "sint consequat" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/tenants/logo?id=sint consequat&Subdomain=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "tenants", + "logo" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + }, + { + "key": "Subdomain", + "value": "sint consequat" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/tenants/logo?id=sint consequat&Subdomain=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "tenants", + "logo" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + }, + { + "key": "Subdomain", + "value": "sint consequat" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/tenants/logo?id=sint consequat&Subdomain=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "tenants", + "logo" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + }, + { + "key": "Subdomain", + "value": "sint consequat" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/util/site-areas/:id/image", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/util/site-areas/:id/image?TenantID=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "site-areas", + ":id", + "image" + ], + "query": [ + { + "key": "TenantID", + "value": "true", + "description": "(Required) Tenant ID" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + }, + "description": "Retrieve Site Area's image" + }, + "response": [ + { + "name": "Return the image", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/site-areas/:id/image?TenantID=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "site-areas", + ":id", + "image" + ], + "query": [ + { + "key": "TenantID", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/site-areas/:id/image?TenantID=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "site-areas", + ":id", + "image" + ], + "query": [ + { + "key": "TenantID", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/site-areas/:id/image?TenantID=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "site-areas", + ":id", + "image" + ], + "query": [ + { + "key": "TenantID", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/site-areas/:id/image?TenantID=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "site-areas", + ":id", + "image" + ], + "query": [ + { + "key": "TenantID", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/site-areas/:id/image?TenantID=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "site-areas", + ":id", + "image" + ], + "query": [ + { + "key": "TenantID", + "value": "true" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site Area ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/util/charging-stations/firmware/download", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/octet-stream" + } + ], + "url": { + "raw": "{{baseUrl}}/util/charging-stations/firmware/download?FileName=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "charging-stations", + "firmware", + "download" + ], + "query": [ + { + "key": "FileName", + "value": "sint consequat", + "description": "(Required) Firmware file name" + } + ] + }, + "description": "Get Charging Station firmware" + }, + "response": [ + { + "name": "Return Charging Station firmware file", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/charging-stations/firmware/download?FileName=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "charging-stations", + "firmware", + "download" + ], + "query": [ + { + "key": "FileName", + "value": "sint consequat" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "application/octet-stream" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/charging-stations/firmware/download?FileName=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "charging-stations", + "firmware", + "download" + ], + "query": [ + { + "key": "FileName", + "value": "sint consequat" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/charging-stations/firmware/download?FileName=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "charging-stations", + "firmware", + "download" + ], + "query": [ + { + "key": "FileName", + "value": "sint consequat" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Firmware not found", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/charging-stations/firmware/download?FileName=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "charging-stations", + "firmware", + "download" + ], + "query": [ + { + "key": "FileName", + "value": "sint consequat" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/charging-stations/firmware/download?FileName=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "charging-stations", + "firmware", + "download" + ], + "query": [ + { + "key": "FileName", + "value": "sint consequat" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/util/sites/:id/image", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/util/sites/:id/image?TenantID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "sites", + ":id", + "image" + ], + "query": [ + { + "key": "TenantID", + "value": "sint consequat", + "description": "(Required) Tenant ID" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + }, + "description": "Retrieve site's image" + }, + "response": [ + { + "name": "Return site's image", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/util/sites/:id/image?TenantID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "sites", + ":id", + "image" + ], + "query": [ + { + "key": "TenantID", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/util/sites/:id/image?TenantID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "sites", + ":id", + "image" + ], + "query": [ + { + "key": "TenantID", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/util/sites/:id/image?TenantID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "sites", + ":id", + "image" + ], + "query": [ + { + "key": "TenantID", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/util/sites/:id/image?TenantID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "sites", + ":id", + "image" + ], + "query": [ + { + "key": "TenantID", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/util/sites/:id/image?TenantID=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "sites", + ":id", + "image" + ], + "query": [ + { + "key": "TenantID", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Site ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/util/car-catalogs/:id/image", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/util/car-catalogs/:id/image?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "car-catalogs", + ":id", + "image" + ], + "query": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Car Catalog ID" + } + ], + "variable": [ + { + "key": "id" + } + ] + }, + "description": "Get car catalog image" + }, + "response": [ + { + "name": "Return car catalog image", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/car-catalogs/:id/image?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "car-catalogs", + ":id", + "image" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/car-catalogs/:id/image?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "car-catalogs", + ":id", + "image" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/car-catalogs/:id/image?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "car-catalogs", + ":id", + "image" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/car-catalogs/:id/image?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "car-catalogs", + ":id", + "image" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/car-catalogs/:id/image?id=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "car-catalogs", + ":id", + "image" + ], + "query": [ + { + "key": "id", + "value": "sint consequat" + } + ], + "variable": [ + { + "key": "id" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/util/assets/:id/image", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/util/assets/:id/image", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "assets", + ":id", + "image" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + }, + "description": "Get asset's image" + }, + "response": [ + { + "name": "Returned asset's image", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/assets/:id/image", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "assets", + ":id", + "image" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/assets/:id/image", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "assets", + ":id", + "image" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/assets/:id/image", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "assets", + ":id", + "image" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/assets/:id/image", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "assets", + ":id", + "image" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/util/assets/:id/image", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "util", + "assets", + ":id", + "image" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) Asset ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "auth", + "item": [ + { + "name": "eula", + "item": [ + { + "name": "/auth/eula", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/auth/eula?Language=en", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "eula" + ], + "query": [ + { + "key": "Language", + "value": "en", + "description": "Browser language" + } + ] + }, + "description": "Get tenant EULA" + }, + "response": [ + { + "name": "Successfully retrieved tenant's EULA", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/auth/eula?Language=en", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "eula" + ], + "query": [ + { + "key": "Language", + "value": "en" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"text\": \"

End-user Agreement Usage of the e-Mobility Software

...\"\n}" + }, + { + "name": "Unknown tenant", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/auth/eula?Language=en", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "eula" + ], + "query": [ + { + "key": "Language", + "value": "en" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/auth/eula?Language=en", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "eula" + ], + "query": [ + { + "key": "Language", + "value": "en" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/auth/eula/check", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/auth/eula/check?Email=user@domain.com&Tenant=slf", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "eula", + "check" + ], + "query": [ + { + "key": "Email", + "value": "user@domain.com", + "description": "(Required) " + }, + { + "key": "Tenant", + "value": "slf", + "description": "(Required) " + } + ] + }, + "description": "Check if a user accepted latest EULA" + }, + "response": [ + { + "name": "User accepted latest EULA", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/auth/eula/check?Email=user@domain.com&Tenant=slf", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "eula", + "check" + ], + "query": [ + { + "key": "Email", + "value": "user@domain.com" + }, + { + "key": "Tenant", + "value": "slf" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"acceptedEula\": true\n}" + }, + { + "name": "Unknown tenant", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/auth/eula/check?Email=user@domain.com&Tenant=slf", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "eula", + "check" + ], + "query": [ + { + "key": "Email", + "value": "user@domain.com" + }, + { + "key": "Tenant", + "value": "slf" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/auth/eula/check?Email=user@domain.com&Tenant=slf", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "eula", + "check" + ], + "query": [ + { + "key": "Email", + "value": "user@domain.com" + }, + { + "key": "Tenant", + "value": "slf" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "mail", + "item": [ + { + "name": "/auth/mail/check", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/auth/mail/check?Email=user@domain.com&Tenant=user@domain.com&VerificationToken=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "mail", + "check" + ], + "query": [ + { + "key": "Email", + "value": "user@domain.com", + "description": "(Required) " + }, + { + "key": "Tenant", + "value": "user@domain.com", + "description": "(Required) " + }, + { + "key": "VerificationToken", + "value": "sint consequat", + "description": "(Required) " + } + ] + }, + "description": "Verify email" + }, + "response": [ + { + "name": "Successfully validated email", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/auth/mail/check?Email=user@domain.com&Tenant=user@domain.com&VerificationToken=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "mail", + "check" + ], + "query": [ + { + "key": "Email", + "value": "user@domain.com" + }, + { + "key": "Tenant", + "value": "user@domain.com" + }, + { + "key": "VerificationToken", + "value": "sint consequat" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unknown tenant or user does not exist", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/auth/mail/check?Email=user@domain.com&Tenant=user@domain.com&VerificationToken=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "mail", + "check" + ], + "query": [ + { + "key": "Email", + "value": "user@domain.com" + }, + { + "key": "Tenant", + "value": "user@domain.com" + }, + { + "key": "VerificationToken", + "value": "sint consequat" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/auth/mail/check?Email=user@domain.com&Tenant=user@domain.com&VerificationToken=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "mail", + "check" + ], + "query": [ + { + "key": "Email", + "value": "user@domain.com" + }, + { + "key": "Tenant", + "value": "user@domain.com" + }, + { + "key": "VerificationToken", + "value": "sint consequat" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Invalid verification token", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/auth/mail/check?Email=user@domain.com&Tenant=user@domain.com&VerificationToken=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "mail", + "check" + ], + "query": [ + { + "key": "Email", + "value": "user@domain.com" + }, + { + "key": "Tenant", + "value": "user@domain.com" + }, + { + "key": "VerificationToken", + "value": "sint consequat" + } + ] + } + }, + "code": 540, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Account already activated", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/auth/mail/check?Email=user@domain.com&Tenant=user@domain.com&VerificationToken=sint consequat", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "mail", + "check" + ], + "query": [ + { + "key": "Email", + "value": "user@domain.com" + }, + { + "key": "Tenant", + "value": "user@domain.com" + }, + { + "key": "VerificationToken", + "value": "sint consequat" + } + ] + } + }, + "code": 591, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/auth/mail/resend", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"tenant\": \"slf\",\n \"captcha\": \"03AGdBq261sQ2KzqROGD8E2Xb2ljxLkmQbUumIL9m6FqtJZau9Z5Aq4Pp8K-VzbjTwuvnBvdaZBgD-6VU0IY8PMSyGmSJNH9Ctkgde4l8XoQUVLYLhspglIRSjkPS15-DZQtJ2gLG910Kq3RXE-S5M9gkuXBfEh6Y-81qC9gRb-FFwN_Ao5_NO7j6iu1kZqJHpyxHvwVqtbLK5APvTngU_8gx9tRDfXUBtLMmgZAofmkIE1qbefMNTDceJsiNKtHHykP-xFIt-lNRN1H6h_HZ8EbRjncT5k_AeqjL8ClBTZy9Pdqwy9jkpvas4l5EH7WPVT-9VPV0C0tuwKkwwwesMhzYSo2Vso_wN15G5x1Zgji8xsndjvMthTkIWe4zyRNKNr2gc4z1Sgfy-dGcRkDc7lUnet0fJfII5bXKl_njo_S8no8KGVZ2IeOTzhTKigA7A0hdtNrKnAOmU\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/mail/resend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "mail", + "resend" + ] + }, + "description": "Resend a verification email" + }, + "response": [ + { + "name": "Successfully resent email", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"tenant\": \"slf\",\n \"captcha\": \"03AGdBq261sQ2KzqROGD8E2Xb2ljxLkmQbUumIL9m6FqtJZau9Z5Aq4Pp8K-VzbjTwuvnBvdaZBgD-6VU0IY8PMSyGmSJNH9Ctkgde4l8XoQUVLYLhspglIRSjkPS15-DZQtJ2gLG910Kq3RXE-S5M9gkuXBfEh6Y-81qC9gRb-FFwN_Ao5_NO7j6iu1kZqJHpyxHvwVqtbLK5APvTngU_8gx9tRDfXUBtLMmgZAofmkIE1qbefMNTDceJsiNKtHHykP-xFIt-lNRN1H6h_HZ8EbRjncT5k_AeqjL8ClBTZy9Pdqwy9jkpvas4l5EH7WPVT-9VPV0C0tuwKkwwwesMhzYSo2Vso_wN15G5x1Zgji8xsndjvMthTkIWe4zyRNKNr2gc4z1Sgfy-dGcRkDc7lUnet0fJfII5bXKl_njo_S8no8KGVZ2IeOTzhTKigA7A0hdtNrKnAOmU\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/mail/resend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "mail", + "resend" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unknown tenant or user does not exist", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"tenant\": \"slf\",\n \"captcha\": \"03AGdBq261sQ2KzqROGD8E2Xb2ljxLkmQbUumIL9m6FqtJZau9Z5Aq4Pp8K-VzbjTwuvnBvdaZBgD-6VU0IY8PMSyGmSJNH9Ctkgde4l8XoQUVLYLhspglIRSjkPS15-DZQtJ2gLG910Kq3RXE-S5M9gkuXBfEh6Y-81qC9gRb-FFwN_Ao5_NO7j6iu1kZqJHpyxHvwVqtbLK5APvTngU_8gx9tRDfXUBtLMmgZAofmkIE1qbefMNTDceJsiNKtHHykP-xFIt-lNRN1H6h_HZ8EbRjncT5k_AeqjL8ClBTZy9Pdqwy9jkpvas4l5EH7WPVT-9VPV0C0tuwKkwwwesMhzYSo2Vso_wN15G5x1Zgji8xsndjvMthTkIWe4zyRNKNr2gc4z1Sgfy-dGcRkDc7lUnet0fJfII5bXKl_njo_S8no8KGVZ2IeOTzhTKigA7A0hdtNrKnAOmU\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/mail/resend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "mail", + "resend" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"tenant\": \"slf\",\n \"captcha\": \"03AGdBq261sQ2KzqROGD8E2Xb2ljxLkmQbUumIL9m6FqtJZau9Z5Aq4Pp8K-VzbjTwuvnBvdaZBgD-6VU0IY8PMSyGmSJNH9Ctkgde4l8XoQUVLYLhspglIRSjkPS15-DZQtJ2gLG910Kq3RXE-S5M9gkuXBfEh6Y-81qC9gRb-FFwN_Ao5_NO7j6iu1kZqJHpyxHvwVqtbLK5APvTngU_8gx9tRDfXUBtLMmgZAofmkIE1qbefMNTDceJsiNKtHHykP-xFIt-lNRN1H6h_HZ8EbRjncT5k_AeqjL8ClBTZy9Pdqwy9jkpvas4l5EH7WPVT-9VPV0C0tuwKkwwwesMhzYSo2Vso_wN15G5x1Zgji8xsndjvMthTkIWe4zyRNKNr2gc4z1Sgfy-dGcRkDc7lUnet0fJfII5bXKl_njo_S8no8KGVZ2IeOTzhTKigA7A0hdtNrKnAOmU\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/mail/resend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "mail", + "resend" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Account already activated", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"tenant\": \"slf\",\n \"captcha\": \"03AGdBq261sQ2KzqROGD8E2Xb2ljxLkmQbUumIL9m6FqtJZau9Z5Aq4Pp8K-VzbjTwuvnBvdaZBgD-6VU0IY8PMSyGmSJNH9Ctkgde4l8XoQUVLYLhspglIRSjkPS15-DZQtJ2gLG910Kq3RXE-S5M9gkuXBfEh6Y-81qC9gRb-FFwN_Ao5_NO7j6iu1kZqJHpyxHvwVqtbLK5APvTngU_8gx9tRDfXUBtLMmgZAofmkIE1qbefMNTDceJsiNKtHHykP-xFIt-lNRN1H6h_HZ8EbRjncT5k_AeqjL8ClBTZy9Pdqwy9jkpvas4l5EH7WPVT-9VPV0C0tuwKkwwwesMhzYSo2Vso_wN15G5x1Zgji8xsndjvMthTkIWe4zyRNKNr2gc4z1Sgfy-dGcRkDc7lUnet0fJfII5bXKl_njo_S8no8KGVZ2IeOTzhTKigA7A0hdtNrKnAOmU\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/mail/resend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "mail", + "resend" + ] + } + }, + "code": 591, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "/auth/signin", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"password\": \"password\",\n \"acceptEula\": true,\n \"tenant\": \"slf\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/signin", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "signin" + ] + }, + "description": "Sign in" + }, + "response": [ + { + "name": "Logged in successfully", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"password\": \"password\",\n \"acceptEula\": true,\n \"tenant\": \"slf\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/signin", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "signin" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unknown tenant, user does not exists, or credentials are invalid", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"password\": \"password\",\n \"acceptEula\": true,\n \"tenant\": \"slf\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/signin", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "signin" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"password\": \"password\",\n \"acceptEula\": true,\n \"tenant\": \"slf\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/signin", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "signin" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "The End-user License Agreement is mandatory", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"password\": \"password\",\n \"acceptEula\": true,\n \"tenant\": \"slf\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/signin", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "signin" + ] + } + }, + "code": 520, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Account is locked", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"password\": \"password\",\n \"acceptEula\": true,\n \"tenant\": \"slf\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/signin", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "signin" + ] + } + }, + "code": 590, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Account is pending", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"password\": \"password\",\n \"acceptEula\": true,\n \"tenant\": \"slf\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/signin", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "signin" + ] + } + }, + "code": 592, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Account is blocked", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"password\": \"password\",\n \"acceptEula\": true,\n \"tenant\": \"slf\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/signin", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "signin" + ] + } + }, + "code": 593, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Account is inactive", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"password\": \"password\",\n \"acceptEula\": true,\n \"tenant\": \"slf\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/signin", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "signin" + ] + } + }, + "code": 594, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/auth/signon", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"name\": \"Demo\",\n \"firstName\": \"User\",\n \"password\": \"password\",\n \"acceptEula\": true,\n \"tenant\": \"\",\n \"captcha\": \"03AGdBq27rf-WyiNvo8yOO11OjDwgST4ZiQ-dtKxxDvVzxtU7XG6Oqff-M-KXe8RwCsHrlgU-4BCi_Y9CLLSC-DHMZkK-YS2fIJ4TpVxwn2mCQ7PwgIi8HUJHudaq5Jb7W88zebKr_xWBa9zyLp4k8exaWwQ9v2Pnj-FSKTHHDpT66PZiHOfRVjg9Za6eQIHhbXkNK5m6ZKWgT92XYigaJuTEPigGK7N5kbXHydXZFX6Ku5lntg9FRl7n737SRSAsO0joBb5XtgJV1vfZGyvnSjHECf3lmNdhZCQbdhGjEqn2vtHuodFk1i3kFzgEgMOS59A42m_zr4AME1Avd-hyAW80dybsbSKWbThyQx6iBRcOydgM9b10TI9kIpL8feLHBCvnmVutnhlp_Zz9MDTop5_Fdi3xvZHW-tLcLYHljECgnTHbApkcHfCSzgSJBlkB7_qifzRGitTfCUFGztgOCho6pKXeHAzc4XQ\",\n \"mobile\": \"+33666696969\",\n \"locale\": \"en-US\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/signon", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "signon" + ] + }, + "description": "Register" + }, + "response": [ + { + "name": "Registered successfully", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"name\": \"Demo\",\n \"firstName\": \"User\",\n \"password\": \"password\",\n \"acceptEula\": true,\n \"tenant\": \"\",\n \"captcha\": \"03AGdBq27rf-WyiNvo8yOO11OjDwgST4ZiQ-dtKxxDvVzxtU7XG6Oqff-M-KXe8RwCsHrlgU-4BCi_Y9CLLSC-DHMZkK-YS2fIJ4TpVxwn2mCQ7PwgIi8HUJHudaq5Jb7W88zebKr_xWBa9zyLp4k8exaWwQ9v2Pnj-FSKTHHDpT66PZiHOfRVjg9Za6eQIHhbXkNK5m6ZKWgT92XYigaJuTEPigGK7N5kbXHydXZFX6Ku5lntg9FRl7n737SRSAsO0joBb5XtgJV1vfZGyvnSjHECf3lmNdhZCQbdhGjEqn2vtHuodFk1i3kFzgEgMOS59A42m_zr4AME1Avd-hyAW80dybsbSKWbThyQx6iBRcOydgM9b10TI9kIpL8feLHBCvnmVutnhlp_Zz9MDTop5_Fdi3xvZHW-tLcLYHljECgnTHbApkcHfCSzgSJBlkB7_qifzRGitTfCUFGztgOCho6pKXeHAzc4XQ\",\n \"mobile\": \"+33666696969\",\n \"locale\": \"en-US\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/signon", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "signon" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "User tried to register with an unknown tenant", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"name\": \"Demo\",\n \"firstName\": \"User\",\n \"password\": \"password\",\n \"acceptEula\": true,\n \"tenant\": \"\",\n \"captcha\": \"03AGdBq27rf-WyiNvo8yOO11OjDwgST4ZiQ-dtKxxDvVzxtU7XG6Oqff-M-KXe8RwCsHrlgU-4BCi_Y9CLLSC-DHMZkK-YS2fIJ4TpVxwn2mCQ7PwgIi8HUJHudaq5Jb7W88zebKr_xWBa9zyLp4k8exaWwQ9v2Pnj-FSKTHHDpT66PZiHOfRVjg9Za6eQIHhbXkNK5m6ZKWgT92XYigaJuTEPigGK7N5kbXHydXZFX6Ku5lntg9FRl7n737SRSAsO0joBb5XtgJV1vfZGyvnSjHECf3lmNdhZCQbdhGjEqn2vtHuodFk1i3kFzgEgMOS59A42m_zr4AME1Avd-hyAW80dybsbSKWbThyQx6iBRcOydgM9b10TI9kIpL8feLHBCvnmVutnhlp_Zz9MDTop5_Fdi3xvZHW-tLcLYHljECgnTHbApkcHfCSzgSJBlkB7_qifzRGitTfCUFGztgOCho6pKXeHAzc4XQ\",\n \"mobile\": \"+33666696969\",\n \"locale\": \"en-US\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/signon", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "signon" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"name\": \"Demo\",\n \"firstName\": \"User\",\n \"password\": \"password\",\n \"acceptEula\": true,\n \"tenant\": \"\",\n \"captcha\": \"03AGdBq27rf-WyiNvo8yOO11OjDwgST4ZiQ-dtKxxDvVzxtU7XG6Oqff-M-KXe8RwCsHrlgU-4BCi_Y9CLLSC-DHMZkK-YS2fIJ4TpVxwn2mCQ7PwgIi8HUJHudaq5Jb7W88zebKr_xWBa9zyLp4k8exaWwQ9v2Pnj-FSKTHHDpT66PZiHOfRVjg9Za6eQIHhbXkNK5m6ZKWgT92XYigaJuTEPigGK7N5kbXHydXZFX6Ku5lntg9FRl7n737SRSAsO0joBb5XtgJV1vfZGyvnSjHECf3lmNdhZCQbdhGjEqn2vtHuodFk1i3kFzgEgMOS59A42m_zr4AME1Avd-hyAW80dybsbSKWbThyQx6iBRcOydgM9b10TI9kIpL8feLHBCvnmVutnhlp_Zz9MDTop5_Fdi3xvZHW-tLcLYHljECgnTHbApkcHfCSzgSJBlkB7_qifzRGitTfCUFGztgOCho6pKXeHAzc4XQ\",\n \"mobile\": \"+33666696969\",\n \"locale\": \"en-US\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/signon", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "signon" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Email already used", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"name\": \"Demo\",\n \"firstName\": \"User\",\n \"password\": \"password\",\n \"acceptEula\": true,\n \"tenant\": \"\",\n \"captcha\": \"03AGdBq27rf-WyiNvo8yOO11OjDwgST4ZiQ-dtKxxDvVzxtU7XG6Oqff-M-KXe8RwCsHrlgU-4BCi_Y9CLLSC-DHMZkK-YS2fIJ4TpVxwn2mCQ7PwgIi8HUJHudaq5Jb7W88zebKr_xWBa9zyLp4k8exaWwQ9v2Pnj-FSKTHHDpT66PZiHOfRVjg9Za6eQIHhbXkNK5m6ZKWgT92XYigaJuTEPigGK7N5kbXHydXZFX6Ku5lntg9FRl7n737SRSAsO0joBb5XtgJV1vfZGyvnSjHECf3lmNdhZCQbdhGjEqn2vtHuodFk1i3kFzgEgMOS59A42m_zr4AME1Avd-hyAW80dybsbSKWbThyQx6iBRcOydgM9b10TI9kIpL8feLHBCvnmVutnhlp_Zz9MDTop5_Fdi3xvZHW-tLcLYHljECgnTHbApkcHfCSzgSJBlkB7_qifzRGitTfCUFGztgOCho6pKXeHAzc4XQ\",\n \"mobile\": \"+33666696969\",\n \"locale\": \"en-US\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/signon", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "signon" + ] + } + }, + "status": "Not Extended (RFC 2774)", + "code": 510, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "End-user License Agreement has not been accepted", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"name\": \"Demo\",\n \"firstName\": \"User\",\n \"password\": \"password\",\n \"acceptEula\": true,\n \"tenant\": \"\",\n \"captcha\": \"03AGdBq27rf-WyiNvo8yOO11OjDwgST4ZiQ-dtKxxDvVzxtU7XG6Oqff-M-KXe8RwCsHrlgU-4BCi_Y9CLLSC-DHMZkK-YS2fIJ4TpVxwn2mCQ7PwgIi8HUJHudaq5Jb7W88zebKr_xWBa9zyLp4k8exaWwQ9v2Pnj-FSKTHHDpT66PZiHOfRVjg9Za6eQIHhbXkNK5m6ZKWgT92XYigaJuTEPigGK7N5kbXHydXZFX6Ku5lntg9FRl7n737SRSAsO0joBb5XtgJV1vfZGyvnSjHECf3lmNdhZCQbdhGjEqn2vtHuodFk1i3kFzgEgMOS59A42m_zr4AME1Avd-hyAW80dybsbSKWbThyQx6iBRcOydgM9b10TI9kIpL8feLHBCvnmVutnhlp_Zz9MDTop5_Fdi3xvZHW-tLcLYHljECgnTHbApkcHfCSzgSJBlkB7_qifzRGitTfCUFGztgOCho6pKXeHAzc4XQ\",\n \"mobile\": \"+33666696969\",\n \"locale\": \"en-US\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/signon", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "signon" + ] + } + }, + "code": 520, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/auth/signout", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/auth/signout", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "signout" + ] + }, + "description": "Sign out" + }, + "response": [ + { + "name": "Successfully signed out", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/auth/signout", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "signout" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/auth/signout", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "signout" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/auth/password/reset", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"captcha\": \"03AGdBq26Ca8rdqn0-odDV18kJCLnVytzGPXVPyW811IY4pqyQuak-o59MZlYfUIVS-ToLBiL4o7fBfPPvmkAhQLKoMXtqitKxRTG016wmGbFLvZWnOSkJKreB1Kx6n3dB7uYd302UVyVpJJ0BGFcmXWnWZmGnR3ZJC8IE1r7oVohcYVLttnKXtuhJwg5IdHe0HleYzOjxCBw9FnCJhVoSmaPn6FeVjWC9d8vSDwBq-18dA_cm6CQb7BhZm6LXWhMdW1_e_5DcSs1koj_vn3FGB7UQESsPp81WBfr6msCNiddNc1D4MRfF4wXeimJ1wplqoGOmMmI2Y_i-120grLrjkfzBNgDPQPWvfpUjeyW1f_T-5SaObYpUFEEZ4YW6Xt2revAWMmZ6i9_QOWWUcukaZU3jr_MzR1YIMscKrnBP3Zhl45zLXOY-0Bi28z6XxsMqqSHE8lY_C8B-7M-X3PNc_293qtrEnE2rhG9PU-RdFJG4dqBcwU6YfZJwwyXDWG7eyNG8iJoBDgCWrbib2jLKTmuwWCowApAoeA\",\n \"tenant\": \"slf\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/password/reset", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "password", + "reset" + ] + }, + "description": "Reset password" + }, + "response": [ + { + "name": "Password reset notification sent successfully or password has been reset ", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"captcha\": \"03AGdBq26Ca8rdqn0-odDV18kJCLnVytzGPXVPyW811IY4pqyQuak-o59MZlYfUIVS-ToLBiL4o7fBfPPvmkAhQLKoMXtqitKxRTG016wmGbFLvZWnOSkJKreB1Kx6n3dB7uYd302UVyVpJJ0BGFcmXWnWZmGnR3ZJC8IE1r7oVohcYVLttnKXtuhJwg5IdHe0HleYzOjxCBw9FnCJhVoSmaPn6FeVjWC9d8vSDwBq-18dA_cm6CQb7BhZm6LXWhMdW1_e_5DcSs1koj_vn3FGB7UQESsPp81WBfr6msCNiddNc1D4MRfF4wXeimJ1wplqoGOmMmI2Y_i-120grLrjkfzBNgDPQPWvfpUjeyW1f_T-5SaObYpUFEEZ4YW6Xt2revAWMmZ6i9_QOWWUcukaZU3jr_MzR1YIMscKrnBP3Zhl45zLXOY-0Bi28z6XxsMqqSHE8lY_C8B-7M-X3PNc_293qtrEnE2rhG9PU-RdFJG4dqBcwU6YfZJwwyXDWG7eyNG8iJoBDgCWrbib2jLKTmuwWCowApAoeA\",\n \"tenant\": \"slf\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/password/reset", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "password", + "reset" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unknown tenant or user does not exist", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"captcha\": \"03AGdBq26Ca8rdqn0-odDV18kJCLnVytzGPXVPyW811IY4pqyQuak-o59MZlYfUIVS-ToLBiL4o7fBfPPvmkAhQLKoMXtqitKxRTG016wmGbFLvZWnOSkJKreB1Kx6n3dB7uYd302UVyVpJJ0BGFcmXWnWZmGnR3ZJC8IE1r7oVohcYVLttnKXtuhJwg5IdHe0HleYzOjxCBw9FnCJhVoSmaPn6FeVjWC9d8vSDwBq-18dA_cm6CQb7BhZm6LXWhMdW1_e_5DcSs1koj_vn3FGB7UQESsPp81WBfr6msCNiddNc1D4MRfF4wXeimJ1wplqoGOmMmI2Y_i-120grLrjkfzBNgDPQPWvfpUjeyW1f_T-5SaObYpUFEEZ4YW6Xt2revAWMmZ6i9_QOWWUcukaZU3jr_MzR1YIMscKrnBP3Zhl45zLXOY-0Bi28z6XxsMqqSHE8lY_C8B-7M-X3PNc_293qtrEnE2rhG9PU-RdFJG4dqBcwU6YfZJwwyXDWG7eyNG8iJoBDgCWrbib2jLKTmuwWCowApAoeA\",\n \"tenant\": \"slf\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/password/reset", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "password", + "reset" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"user@domain.com\",\n \"captcha\": \"03AGdBq26Ca8rdqn0-odDV18kJCLnVytzGPXVPyW811IY4pqyQuak-o59MZlYfUIVS-ToLBiL4o7fBfPPvmkAhQLKoMXtqitKxRTG016wmGbFLvZWnOSkJKreB1Kx6n3dB7uYd302UVyVpJJ0BGFcmXWnWZmGnR3ZJC8IE1r7oVohcYVLttnKXtuhJwg5IdHe0HleYzOjxCBw9FnCJhVoSmaPn6FeVjWC9d8vSDwBq-18dA_cm6CQb7BhZm6LXWhMdW1_e_5DcSs1koj_vn3FGB7UQESsPp81WBfr6msCNiddNc1D4MRfF4wXeimJ1wplqoGOmMmI2Y_i-120grLrjkfzBNgDPQPWvfpUjeyW1f_T-5SaObYpUFEEZ4YW6Xt2revAWMmZ6i9_QOWWUcukaZU3jr_MzR1YIMscKrnBP3Zhl45zLXOY-0Bi28z6XxsMqqSHE8lY_C8B-7M-X3PNc_293qtrEnE2rhG9PU-RdFJG4dqBcwU6YfZJwwyXDWG7eyNG8iJoBDgCWrbib2jLKTmuwWCowApAoeA\",\n \"tenant\": \"slf\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/auth/password/reset", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "auth", + "password", + "reset" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "users/{id}/payment-methods/{payment Method ID}", + "item": [ + { + "name": "/users/:id/payment-methods/:paymentMethodID/attach", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/users/:id/payment-methods/:paymentMethodID/attach", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "users", + ":id", + "payment-methods", + ":paymentMethodID", + "attach" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + }, + { + "key": "paymentMethodID", + "value": "sint consequat", + "description": "(Required) Payment Method ID" + } + ] + }, + "description": "Creates a new payment method and attach it to the user as its default" + }, + "response": [ + { + "name": "Successfully attached user payment method", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/users/:id/payment-methods/:paymentMethodID/attach", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "users", + ":id", + "payment-methods", + ":paymentMethodID", + "attach" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + }, + { + "key": "paymentMethodID", + "value": "sint consequat", + "description": "(Required) Payment Method ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"succeeded\": true,\n \"error\": {},\n \"internalData\": {}\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/users/:id/payment-methods/:paymentMethodID/attach", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "users", + ":id", + "payment-methods", + ":paymentMethodID", + "attach" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + }, + { + "key": "paymentMethodID", + "value": "sint consequat", + "description": "(Required) Payment Method ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/users/:id/payment-methods/:paymentMethodID/attach", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "users", + ":id", + "payment-methods", + ":paymentMethodID", + "attach" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + }, + { + "key": "paymentMethodID", + "value": "sint consequat", + "description": "(Required) Payment Method ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/users/:id/payment-methods/:paymentMethodID/attach", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "users", + ":id", + "payment-methods", + ":paymentMethodID", + "attach" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + }, + { + "key": "paymentMethodID", + "value": "sint consequat", + "description": "(Required) Payment Method ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/users/:id/payment-methods/:paymentMethodID/attach", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "users", + ":id", + "payment-methods", + ":paymentMethodID", + "attach" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + }, + { + "key": "paymentMethodID", + "value": "sint consequat", + "description": "(Required) Payment Method ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/users/:id/payment-methods/:paymentMethodID/detach", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/users/:id/payment-methods/:paymentMethodID/detach", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "users", + ":id", + "payment-methods", + ":paymentMethodID", + "detach" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + }, + { + "key": "paymentMethodID", + "value": "sint consequat", + "description": "(Required) Payment Method ID" + } + ] + }, + "description": "Detach a payment method from the user" + }, + "response": [ + { + "name": "Successfully detached user payment method", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/users/:id/payment-methods/:paymentMethodID/detach", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "users", + ":id", + "payment-methods", + ":paymentMethodID", + "detach" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + }, + { + "key": "paymentMethodID", + "value": "sint consequat", + "description": "(Required) Payment Method ID" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"succeeded\": true,\n \"error\": {},\n \"internalData\": {}\n}" + }, + { + "name": "Unauthorized access to the API", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/users/:id/payment-methods/:paymentMethodID/detach", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "users", + ":id", + "payment-methods", + ":paymentMethodID", + "detach" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + }, + { + "key": "paymentMethodID", + "value": "sint consequat", + "description": "(Required) Payment Method ID" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Not authorized to execute this operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/users/:id/payment-methods/:paymentMethodID/detach", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "users", + ":id", + "payment-methods", + ":paymentMethodID", + "detach" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + }, + { + "key": "paymentMethodID", + "value": "sint consequat", + "description": "(Required) Payment Method ID" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Resource does not exist", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/users/:id/payment-methods/:paymentMethodID/detach", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "users", + ":id", + "payment-methods", + ":paymentMethodID", + "detach" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + }, + { + "key": "paymentMethodID", + "value": "sint consequat", + "description": "(Required) Payment Method ID" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + }, + { + "name": "Unexpected Backend error, checks the Logs", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/users/:id/payment-methods/:paymentMethodID/detach", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "users", + ":id", + "payment-methods", + ":paymentMethodID", + "detach" + ], + "variable": [ + { + "key": "id", + "value": "sint consequat", + "description": "(Required) User ID" + }, + { + "key": "paymentMethodID", + "value": "sint consequat", + "description": "(Required) Payment Method ID" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "body": "" + } + ] + } + ] + } + ], + "variable": [ + { + "key": "baseUrl", + "value": "/v1", + "type": "string" + } + ] +} \ No newline at end of file diff --git a/src/assets/configs-aws b/src/assets/configs-aws index 0badec3872..4314b5e40c 160000 --- a/src/assets/configs-aws +++ b/src/assets/configs-aws @@ -1 +1 @@ -Subproject commit 0badec387282dab71c4d649043c05266f2be7a18 +Subproject commit 4314b5e40cd42cd9a8027d7701b91731ea08c364 diff --git a/src/assets/schemas/billing/billing-subaccount.json b/src/assets/schemas/billing/billing-subaccount.json index 5158435fe9..20d90735ec 100644 --- a/src/assets/schemas/billing/billing-subaccount.json +++ b/src/assets/schemas/billing/billing-subaccount.json @@ -3,6 +3,19 @@ "definitions": { "accountID": { "$ref": "common#/definitions/id" + }, + "platformFeeStrategy": { + "type": "object", + "properties": { + "flatFeePerSession": { + "type": "number", + "sanitize": "mongo" + }, + "percentage": { + "type": "number", + "sanitize": "mongo" + } + } } } } diff --git a/src/assets/server/rest/v1/docs/e-mobility-oas.json b/src/assets/server/rest/v1/docs/e-mobility-oas.json index 1697da41d6..b2b31d129d 100644 --- a/src/assets/server/rest/v1/docs/e-mobility-oas.json +++ b/src/assets/server/rest/v1/docs/e-mobility-oas.json @@ -13940,10 +13940,10 @@ "application/json": { "schema": { "required": [ - "userID" + "businessOwnerID" ], "properties": { - "userID": { + "businessOwnerID": { "type": "string" } } @@ -13957,10 +13957,10 @@ "content": { "application/json": { "example": { - "userID": "###", - "accountID": "###", + "businessOwnerID": "###", + "accountExternalID": "###", "activationLink": "###", - "pending": true, + "status": "idle", "id": "###" } } @@ -14029,6 +14029,93 @@ } } }, + "/api/billing/transfers": { + "get": { + "security": [ + { + "bearerAuth": [] + } + ], + "description": "Get Transfers", + "parameters": [ + { + "in": "query", + "name": "AccountID", + "description": "Account ID", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "TransferExternalID", + "description": "Transfer External ID", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "Status", + "description": "Pipe separated invoice status (draft, pending, transferred)", + "required": false, + "schema": { + "type": "string" + } + }, + { + "$ref": "#/components/parameters/Search" + }, + { + "$ref": "#/components/parameters/Skip" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/SortFields" + } + ], + "tags": [ + "Billing" + ], + "responses": { + "200": { + "description": "Return transfers", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number", + "example": 1 + }, + "result": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Transfer" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "403": { + "$ref": "#/components/responses/ForbiddenError" + }, + "500": { + "$ref": "#/components/responses/BackendError" + } + } + } + }, "/api/invoices": { "get": { "security": [ @@ -15374,6 +15461,25 @@ "issuer": { "type": "boolean", "readOnly": true + }, + "accountData": { + "type": "object", + "properties": { + "accountID": { + "type": "string" + }, + "platformFeeStrategy": { + "type": "object", + "properties": { + "flatFeePerSession": { + "type": "number" + }, + "percentage": { + "type": "number" + } + } + } + } } } }, @@ -15610,6 +15716,25 @@ "id": { "type": "string", "readOnly": true + }, + "accountData": { + "type": "object", + "properties": { + "accountID": { + "type": "string" + }, + "platformFeeStrategy": { + "type": "object", + "properties": { + "flatFeePerSession": { + "type": "number" + }, + "percentage": { + "type": "number" + } + } + } + } } } }, @@ -16493,6 +16618,78 @@ "$ref": "#/components/schemas/User" } } + }, + "Transfer": { + "type": "object", + "properties": { + "accountID": { + "type": "string" + }, + "id": { + "type": "string", + "readOnly": true + }, + "status": { + "type": "string", + "enum": [ + "draft", + "pending", + "transferred" + ] + }, + "sessions": { + "type": "object", + "properties": { + "transactionID": { + "type": "number" + }, + "invoiceID": { + "type": "string" + }, + "invoiceNumber": { + "type": "string" + }, + "amountAsDecimal": { + "type": "object" + }, + "amount": { + "type": "number" + }, + "roundedAmount": { + "type": "number" + }, + "platformFeeStrategy": { + "type": "object" + } + } + }, + "amount": { + "type": "number" + }, + "transferredAmount": { + "type": "number" + }, + "platformFeeData": { + "type": "object", + "properties": { + "taxExternalID": { + "type": "string" + }, + "feeAmount": { + "type": "number" + }, + "feeTaxAmount": { + "type": "number" + }, + "invoiceExternalID": { + "type": "string" + } + } + }, + "transferExternalID": { + "type": "string" + } + } } }, "parameters": { diff --git a/src/assets/server/rest/v1/schemas/billing/billing-create-sub-account.json b/src/assets/server/rest/v1/schemas/billing/billing-create-sub-account.json index 7caaf8eb0c..d272f6ef47 100644 --- a/src/assets/server/rest/v1/schemas/billing/billing-create-sub-account.json +++ b/src/assets/server/rest/v1/schemas/billing/billing-create-sub-account.json @@ -3,11 +3,11 @@ "title": "Create a Billing sub-account Request", "type": "object", "properties": { - "userID": { + "businessOwnerID": { "$ref": "common#/definitions/id" } }, "required": [ - "userID" + "businessOwnerID" ] } diff --git a/src/assets/server/rest/v1/schemas/billing/billing-sub-accounts-get.json b/src/assets/server/rest/v1/schemas/billing/billing-sub-accounts-get.json index 21cb3d1a87..8317914472 100644 --- a/src/assets/server/rest/v1/schemas/billing/billing-sub-accounts-get.json +++ b/src/assets/server/rest/v1/schemas/billing/billing-sub-accounts-get.json @@ -3,6 +3,9 @@ "title": "Get billing sub accounts Request", "type": "object", "properties": { + "ID": { + "$ref": "common#/definitions/ids" + }, "userID": { "$ref": "common#/definitions/ids" }, diff --git a/src/assets/server/rest/v1/schemas/billing/billing-transfers-get.json b/src/assets/server/rest/v1/schemas/billing/billing-transfers-get.json new file mode 100644 index 0000000000..5604a5597e --- /dev/null +++ b/src/assets/server/rest/v1/schemas/billing/billing-transfers-get.json @@ -0,0 +1,42 @@ +{ + "$id": "billing-transfers-get", + "title": "Get billing transfers Request", + "type": "object", + "properties": { + "ID": { + "$ref": "common#/definitions/ids" + }, + "Status": { + "type": "string", + "enum": [ + "pending", + "draft", + "transferred" + ] + }, + "AccountID": { + "$ref": "common#/definitions/ids" + }, + "TransferExternalID": { + "type": "string" + }, + "Search": { + "$ref": "common#/definitions/search" + }, + "SortFields": { + "$ref": "common#/definitions/sortFields" + }, + "Limit": { + "$ref": "common#/definitions/limit" + }, + "Skip": { + "$ref": "common#/definitions/skip" + }, + "OnlyRecordCount": { + "$ref": "common#/definitions/onlyRecordCount" + }, + "ProjectFields": { + "$ref": "common#/definitions/projectFields" + } + } +} diff --git a/src/assets/server/rest/v1/schemas/company/company-create.json b/src/assets/server/rest/v1/schemas/company/company-create.json index 3f2acaf65d..c469eba6be 100644 --- a/src/assets/server/rest/v1/schemas/company/company-create.json +++ b/src/assets/server/rest/v1/schemas/company/company-create.json @@ -12,13 +12,20 @@ "logo": { "$ref": "common#/definitions/logo" }, - "billingData": { + "accountData": { "type": "object", "properties": { "accountID": { "$ref": "billing-subaccount#/definitions/accountID" + }, + "platformFeeStrategy": { + "$ref": "billing-subaccount#/definitions/platformFeeStrategy" } - } + }, + "required": [ + "accountID", + "platformFeeStrategy" + ] } }, "required": [ diff --git a/src/assets/server/rest/v1/schemas/company/company-update.json b/src/assets/server/rest/v1/schemas/company/company-update.json index 148c6dc986..35cdd11c24 100644 --- a/src/assets/server/rest/v1/schemas/company/company-update.json +++ b/src/assets/server/rest/v1/schemas/company/company-update.json @@ -15,13 +15,20 @@ "logo": { "$ref": "common#/definitions/logo" }, - "billingData": { + "accountData": { "type": "object", "properties": { "accountID": { "$ref": "billing-subaccount#/definitions/accountID" + }, + "platformFeeStrategy": { + "$ref": "billing-subaccount#/definitions/platformFeeStrategy" } - } + }, + "required": [ + "accountID", + "platformFeeStrategy" + ] } }, "required": [ diff --git a/src/assets/server/rest/v1/schemas/site/site-create.json b/src/assets/server/rest/v1/schemas/site/site-create.json index 0e181bb8ac..762f92ff67 100644 --- a/src/assets/server/rest/v1/schemas/site/site-create.json +++ b/src/assets/server/rest/v1/schemas/site/site-create.json @@ -24,13 +24,20 @@ "image": { "$ref": "site#/definitions/image" }, - "billingData": { + "accountData": { "type": "object", "properties": { "accountID": { "$ref": "billing-subaccount#/definitions/accountID" + }, + "platformFeeStrategy": { + "$ref": "billing-subaccount#/definitions/platformFeeStrategy" } - } + }, + "required": [ + "accountID", + "platformFeeStrategy" + ] } }, "required": [ diff --git a/src/assets/server/rest/v1/schemas/site/site-update.json b/src/assets/server/rest/v1/schemas/site/site-update.json index f463f46e03..742b4c30ae 100644 --- a/src/assets/server/rest/v1/schemas/site/site-update.json +++ b/src/assets/server/rest/v1/schemas/site/site-update.json @@ -27,13 +27,20 @@ "image": { "$ref": "site#/definitions/image" }, - "billingData": { + "accountData": { "type": "object", "properties": { "accountID": { "$ref": "billing-subaccount#/definitions/accountID" + }, + "platformFeeStrategy": { + "$ref": "billing-subaccount#/definitions/platformFeeStrategy" } - } + }, + "required": [ + "accountID", + "platformFeeStrategy" + ] } }, "required": [ diff --git a/src/async-task/AsyncTaskManager.ts b/src/async-task/AsyncTaskManager.ts index e98388ee87..5c1023e2da 100644 --- a/src/async-task/AsyncTaskManager.ts +++ b/src/async-task/AsyncTaskManager.ts @@ -18,6 +18,7 @@ import OCPIPullSessionsAsyncTask from './tasks/ocpi/OCPIPullSessionsAsyncTask'; import OCPIPullTokensAsyncTask from './tasks/ocpi/OCPIPullTokensAsyncTask'; import OCPIPushEVSEStatusesAsyncTask from './tasks/ocpi/OCPIPushEVSEStatusesAsyncTask'; import OCPIPushTokensAsyncTask from './tasks/ocpi/OCPIPushTokensAsyncTask'; +import PrepareInvoiceTransferAsyncTask from './tasks/PrepareInvoiceTransferAsyncTask'; import { Promise } from 'bluebird'; import { ServerAction } from '../types/Server'; import SynchronizeCarCatalogsAsyncTask from './tasks/SynchronizeCarCatalogsAsyncTask'; @@ -153,8 +154,10 @@ export default class AsyncTaskManager { `{{inSuccess}} asynchronous task(s) were successfully processed in ${totalDurationSecs} secs and {{inError}} failed`, 'No asynchronous task to process' ); + // Retrigger the Async Framework + void AsyncTaskManager.handleAsyncTasks(); } else { - await Logging.logInfo({ + await Logging.logDebug({ tenantID: Constants.DEFAULT_TENANT_ID, action: ServerAction.ASYNC_TASK, module: MODULE_NAME, method: 'handleAsyncTasks', @@ -168,6 +171,8 @@ export default class AsyncTaskManager { switch (asyncTask.name) { case AsyncTasks.BILL_TRANSACTION: return new BillTransactionAsyncTask(asyncTask, correlationID); + case AsyncTasks.PREPARE_INVOICE_TRANSFER: + return new PrepareInvoiceTransferAsyncTask(asyncTask, correlationID); case AsyncTasks.TAGS_IMPORT: return new TagsImportAsyncTask(asyncTask, correlationID); case AsyncTasks.USERS_IMPORT: diff --git a/src/async-task/tasks/PrepareInvoiceTransferAsyncTask.ts b/src/async-task/tasks/PrepareInvoiceTransferAsyncTask.ts new file mode 100644 index 0000000000..e9e81cfd3c --- /dev/null +++ b/src/async-task/tasks/PrepareInvoiceTransferAsyncTask.ts @@ -0,0 +1,51 @@ +import AbstractAsyncTask from '../AsyncTask'; +import BillingFactory from '../../integration/billing/BillingFactory'; +import { BillingInvoiceStatus } from '../../types/Billing'; +import BillingStorage from '../../storage/mongodb/BillingStorage'; +import LockingHelper from '../../locking/LockingHelper'; +import LockingManager from '../../locking/LockingManager'; +import Logging from '../../utils/Logging'; +import { ServerAction } from '../../types/Server'; +import { TenantComponents } from '../../types/Tenant'; +import TenantStorage from '../../storage/mongodb/TenantStorage'; +import Utils from '../../utils/Utils'; + +export default class PrepareInvoiceTransferAsyncTask extends AbstractAsyncTask { + protected async executeAsyncTask(): Promise { + const tenant = await TenantStorage.getTenant(this.getAsyncTask().tenantID); + // Check if Billing Platform component is active + if (Utils.isTenantComponentActive(tenant, TenantComponents.BILLING_PLATFORM)) { + try { + const billingImpl = await BillingFactory.getBillingImpl(tenant); + if (billingImpl) { + // Get the Transaction to bill + const invoiceID: string = this.getAsyncTask().parameters.invoiceID; + if (!invoiceID) { + throw new Error('Unexpected situation - some required parameters are missing'); + } + const lock = await LockingHelper.acquireBillingPrepareInvoiceTransferLock(tenant.id, invoiceID); + if (lock) { + try { + const invoice = await BillingStorage.getInvoice(tenant, invoiceID); + if (!invoice) { + throw new Error(`Unknown Invoice ID '${invoiceID}'`); + } + if (invoice.status !== BillingInvoiceStatus.PAID) { + throw new Error(`Unexpected situation - invoice '${invoiceID}' is not yet PAID`); + } + // Prepare a transfer per CPO + await billingImpl.prepareInvoiceTransfer(invoice); + } finally { + // Release the lock + await LockingManager.release(lock); + } + } else { + throw new Error(`Unexpected situation - concurrent invoice transfer - invoice ID: '${invoiceID}'`); + } + } + } catch (error) { + await Logging.logActionExceptionMessage(tenant.id, ServerAction.BILLING_PREPARE_TRANSFER, error); + } + } + } +} diff --git a/src/authorization/AuthorizationsDefinition.ts b/src/authorization/AuthorizationsDefinition.ts index 63a3c57c77..8fef676cf8 100644 --- a/src/authorization/AuthorizationsDefinition.ts +++ b/src/authorization/AuthorizationsDefinition.ts @@ -175,7 +175,7 @@ export const AUTHORIZATION_DEFINITION: AuthorizationDefinition = { 'id', 'name', 'address.address1', 'address.address2', 'address.postalCode', 'address.city', 'address.department', 'address.region', 'address.country', 'address.coordinates', 'logo', 'issuer', 'distanceMeters', 'createdOn', 'lastChangedOn', - 'createdBy.name', 'createdBy.firstName', 'lastChangedBy.name', 'lastChangedBy.firstName', 'billingData.accountID' + 'createdBy.name', 'createdBy.firstName', 'lastChangedBy.name', 'lastChangedBy.firstName', 'accountData' ] }, { @@ -218,7 +218,7 @@ export const AUTHORIZATION_DEFINITION: AuthorizationDefinition = { attributes: [ 'id', 'name', 'issuer', 'logo', 'address.address1', 'address.address2', 'address.postalCode', 'address.city', - 'address.department', 'address.region', 'address.country', 'address.coordinates', 'billingData.accountID' + 'address.department', 'address.region', 'address.country', 'address.coordinates', 'accountData' ] }, { @@ -241,7 +241,7 @@ export const AUTHORIZATION_DEFINITION: AuthorizationDefinition = { 'address.department', 'address.region', 'address.country', 'address.coordinates', 'companyID', 'company.name', 'autoUserSiteAssignment', 'issuer', 'autoUserSiteAssignment', 'distanceMeters', 'public', 'createdOn', 'lastChangedOn', - 'createdBy.name', 'createdBy.firstName', 'lastChangedBy.name', 'lastChangedBy.firstName', 'connectorStats', 'billingData.accountID' + 'createdBy.name', 'createdBy.firstName', 'lastChangedBy.name', 'lastChangedBy.firstName', 'connectorStats', 'accountData' ] }, { @@ -250,7 +250,7 @@ export const AUTHORIZATION_DEFINITION: AuthorizationDefinition = { 'id', 'name', 'companyID', 'company.name', 'autoUserSiteAssignment', 'issuer', 'autoUserSiteAssignment', 'distanceMeters', 'public', 'createdOn', 'lastChangedOn', 'tariffID', 'address.address1', 'address.address2', 'address.postalCode', 'address.city', - 'address.department', 'address.region', 'address.country', 'address.coordinates', 'billingData.accountID' + 'address.department', 'address.region', 'address.country', 'address.coordinates', 'accountData' ] }, { @@ -392,12 +392,16 @@ export const AUTHORIZATION_DEFINITION: AuthorizationDefinition = { }, { resource: Entity.BILLING, action: [Action.CHECK_CONNECTION, Action.CLEAR_BILLING_TEST_DATA] }, { - resource: Entity.BILLING_PLATFORM, - action: [Action.BILLING_CREATE_SUB_ACCOUNT, Action.BILLING_ONBOARD_SUB_ACCOUNT, Action.LIST, Action.READ], + resource: Entity.BILLING_SUB_ACCOUNT, + action: [Action.LIST, Action.CREATE, Action.READ, Action.UPDATE, Action.DELETE, Action.BILLING_ONBOARD_SUB_ACCOUNT], attributes: [ - 'id', 'accountID', 'userID', 'user.id', 'user.firstName', 'user.lastName', 'user.email', 'status' + 'id', 'accountExternalID', 'businessOwnerID', 'user.id', 'user.firstName', 'user.lastName', 'user.email', 'status' ] }, + { + resource: Entity.BILLING_TRANSFER, + action: [Action.LIST] + }, { resource: Entity.TAX, action: [Action.LIST] }, { resource: Entity.INVOICE, action: [Action.LIST], diff --git a/src/integration/billing/BillingHelpers.ts b/src/integration/billing/BillingHelpers.ts new file mode 100644 index 0000000000..22ad8ff861 --- /dev/null +++ b/src/integration/billing/BillingHelpers.ts @@ -0,0 +1,29 @@ +import { BillingInvoiceItem } from '../../types/Billing'; +import Decimal from 'decimal.js'; +import { PricedConsumptionData } from '../../types/Pricing'; +import Utils from '../../utils/Utils'; + +export default class BillingHelpers { + + public static getItemPrice(billingInvoiceItem: BillingInvoiceItem): Decimal { + return BillingHelpers.getBilledPrice(billingInvoiceItem.pricingData); + } + + public static getBilledPrice(pricedData: PricedConsumptionData[]): Decimal { + let price = Utils.createDecimal(0); + if (pricedData) { + // -------------------------------------------------------------------------------- + // TODO - this code is tax agnostic - This should not be! + // Right now the result may include the taxes or not! + // This depends on the tax rate settings (exclusive/inclusive) + // -------------------------------------------------------------------------------- + pricedData.forEach((pricedConsumptionData) => { + price = price.plus(pricedConsumptionData.flatFee?.amountAsDecimal || 0); + price = price.plus(pricedConsumptionData.energy?.amountAsDecimal || 0); + price = price.plus(pricedConsumptionData.parkingTime?.amountAsDecimal || 0); + price = price.plus(pricedConsumptionData.chargingTime?.amountAsDecimal || 0); + }); + } + return price; + } +} diff --git a/src/integration/billing/BillingIntegration.ts b/src/integration/billing/BillingIntegration.ts index e5dd382ea3..3470fd46c5 100644 --- a/src/integration/billing/BillingIntegration.ts +++ b/src/integration/billing/BillingIntegration.ts @@ -1,9 +1,13 @@ -import { BillingAccount, BillingChargeInvoiceAction, BillingDataTransactionStart, BillingDataTransactionStop, BillingDataTransactionUpdate, BillingInvoice, BillingInvoiceItem, BillingInvoiceStatus, BillingOperationResult, BillingPaymentMethod, BillingStatus, BillingTax, BillingUser } from '../../types/Billing'; +/* eslint-disable @typescript-eslint/member-ordering */ +import { AsyncTaskType, AsyncTasks } from '../../types/AsyncTask'; +import { BillingAccount, BillingChargeInvoiceAction, BillingDataTransactionStart, BillingDataTransactionStop, BillingDataTransactionUpdate, BillingInvoice, BillingInvoiceItem, BillingInvoiceStatus, BillingOperationResult, BillingPaymentMethod, BillingSessionAccountData, BillingSessionData, BillingStatus, BillingTax, BillingTransfer, BillingTransferSession, BillingTransferStatus, BillingUser } from '../../types/Billing'; import Tenant, { TenantComponents } from '../../types/Tenant'; import Transaction, { StartTransactionErrorCode } from '../../types/Transaction'; import User, { UserStatus } from '../../types/User'; +import AsyncTaskBuilder from '../../async-task/AsyncTaskBuilder'; import BackendError from '../../exception/BackendError'; +import BillingHelpers from './BillingHelpers'; import { BillingPeriodicOperationTaskConfig } from '../../types/TaskConfig'; import { BillingSettings } from '../../types/Setting'; import BillingStorage from '../../storage/mongodb/BillingStorage'; @@ -18,7 +22,7 @@ import { Promise } from 'bluebird'; import { Request } from 'express'; import { ServerAction } from '../../types/Server'; import SiteArea from '../../types/SiteArea'; -import TenantStorage from '../../storage/mongodb/TenantStorage'; +import SiteStorage from '../../storage/mongodb/SiteStorage'; import TransactionStorage from '../../storage/mongodb/TransactionStorage'; import UserStorage from '../../storage/mongodb/UserStorage'; import Utils from '../../utils/Utils'; @@ -171,7 +175,6 @@ export default abstract class BillingIntegration { // Do not send notifications for invoices that are not yet finalized! if (billingInvoice.status === BillingInvoiceStatus.OPEN || billingInvoice.status === BillingInvoiceStatus.PAID) { // Send link to the user using our notification framework (link to the front-end + download) - const tenant = await TenantStorage.getTenant(this.tenant.id); // Stripe saves amount in cents const invoiceAmountAsDecimal = new Decimal(billingInvoice.amount).div(100); // Format amount with currency symbol depending on locale @@ -183,9 +186,9 @@ export default abstract class BillingIntegration { billingInvoice.user, { user: billingInvoice.user, - evseDashboardInvoiceURL: Utils.buildEvseBillingInvoicesURL(tenant.subdomain), - evseDashboardURL: Utils.buildEvseURL(tenant.subdomain), - invoiceDownloadUrl: Utils.buildEvseBillingDownloadInvoicesURL(tenant.subdomain, billingInvoice.id), + evseDashboardInvoiceURL: Utils.buildEvseBillingInvoicesURL(this.tenant.subdomain), + evseDashboardURL: Utils.buildEvseURL(this.tenant.subdomain), + invoiceDownloadUrl: Utils.buildEvseBillingDownloadInvoicesURL(this.tenant.subdomain, billingInvoice.id), // Empty url allows to decide wether to display "pay" button in the email payInvoiceUrl: billingInvoice.status === BillingInvoiceStatus.OPEN ? billingInvoice.payInvoiceUrl : '', invoiceAmount: invoiceAmount, @@ -369,6 +372,24 @@ export default abstract class BillingIntegration { return totalDuration; } + protected async retrieveAccountData(transaction: Transaction) : Promise { + if (Utils.isTenantComponentActive(this.tenant, TenantComponents.BILLING_PLATFORM)) { + const site = await SiteStorage.getSite(this.tenant, transaction.siteID, { withCompany: true }); + let accountData = site.accountData; + if (!accountData?.accountID) { + accountData = site.company?.accountData; + } + if (accountData?.accountID) { + return { + withTransferActive: true, + accountID: accountData.accountID, + platformFeeStrategy: accountData.platformFeeStrategy + }; + } + } + return null; + } + private async _synchronizeUser(user: User, forceMode = false): Promise { // Check if we need to create or update a STRIPE customer let billingUser: BillingUser = null; @@ -687,4 +708,102 @@ export default abstract class BillingIntegration { abstract precheckStartTransactionPrerequisites(user: User): Promise; abstract createSubAccount(): Promise; + + protected async triggerTransferPreparation(billingInvoice: BillingInvoice): Promise { + if (!billingInvoice.sessions) { + // This should not happen! + return; + } + // The invoice may include several sessions - let's check if at least one of these needs a transfer + const sessions = billingInvoice.sessions.filter((session) => session?.accountData?.withTransferActive); + if (sessions.length > 0) { + // Create async task to proceed with the transfer of funds + await AsyncTaskBuilder.createAndSaveAsyncTasks({ + name: AsyncTasks.PREPARE_INVOICE_TRANSFER, + action: ServerAction.BILLING_PREPARE_TRANSFER, + type: AsyncTaskType.TASK, + tenantID: this.tenant.id, + parameters: { + invoiceID: billingInvoice.id + }, + module: MODULE_NAME, + method: 'triggerTransferPreparation', + }); + } + } + + public async prepareInvoiceTransfer(billingInvoice: BillingInvoice): Promise { + if (!billingInvoice.sessions) { + // This should not happen! + return; + } + // The invoice may include several sessions - let's check if at least one of these needs a transfer + const sessions = billingInvoice.sessions.filter((session) => session?.accountData?.withTransferActive); + if (sessions.length > 0) { + // Get the list of account IDs + const allAccountIDs = sessions.map((session) => session?.accountData?.accountID); + // Remove duplicates + const accountIDs = [ ...new Set(allAccountIDs)]; + if (accountIDs.length > 0) { + for (const accountID of accountIDs) { + await this.processTransferForAccount(accountID, billingInvoice); + } + } + } + } + + public async processTransferForAccount(accountID: string, invoice: BillingInvoice): Promise { + try { + const sessions = invoice.sessions.filter((session) => accountID === session?.accountData?.accountID); + // Get the existing DRAFT transfer (if any) + const transfers = await BillingStorage.getTransfers( + this.tenant, { + accountIDs: [accountID], + status: [BillingTransferStatus.DRAFT], + }, Constants.DB_PARAMS_SINGLE_RECORD + ); + let transfer: BillingTransfer = transfers.result[0]; + if (!transfer) { + transfer = { + accountID, status: BillingTransferStatus.DRAFT, sessions: [], amount: 0, transferredAmount: 0, + platformFeeData: null, transferExternalID: null, + }; + } + // Process all sessions of the invoice matching the current account ID + for (const session of sessions) { + // Compute the session amount (adding the 4 pricing dimensions) + const amountAsDecimal = BillingHelpers.getBilledPrice(session.pricingData); // TODO - consider tax rate settings! + // Extract current session data + const sessionData: BillingTransferSession = { + transactionID: session.transactionID, + invoiceID: invoice.id, + invoiceNumber: invoice.number, + amountAsDecimal, + amount: amountAsDecimal.toNumber(), + roundedAmount: Utils.roundTo(amountAsDecimal, 2), + platformFeeStrategy: session.accountData.platformFeeStrategy + }; + // Update the collection of sessions in the DRAFT transfer + transfer.sessions.push(sessionData); + } + // Accumulate the amount of each session + let transferAmountAsDecimal = Utils.createDecimal(0); + transfer.sessions.forEach((session) => { + transferAmountAsDecimal = transferAmountAsDecimal.plus(session.amountAsDecimal); + }); + // Round the final result only! + transfer.amount = Utils.roundTo(transferAmountAsDecimal, 2); + // Finally - create or update the transfer + await BillingStorage.saveTransfer(this.tenant, transfer); + } catch (error) { + await Logging.logError({ + tenantID: this.tenant.id, + action: ServerAction.BILLING_PREPARE_TRANSFER, + module: MODULE_NAME, method: 'processTransferForAccount', + message: `Transfer preparation failed - accountID: ${accountID} - Invoice: ${invoice.id} - ${invoice.number}`, + detailedMessages: { error: error.stack } + }); + } + } + } diff --git a/src/integration/billing/stripe/StripeBillingIntegration.ts b/src/integration/billing/stripe/StripeBillingIntegration.ts index 3bb5656948..dde252d0f5 100644 --- a/src/integration/billing/stripe/StripeBillingIntegration.ts +++ b/src/integration/billing/stripe/StripeBillingIntegration.ts @@ -1,6 +1,6 @@ import { AsyncTaskType, AsyncTasks } from '../../../types/AsyncTask'; /* eslint-disable @typescript-eslint/member-ordering */ -import { BillingAccount, BillingAccountStatus, BillingDataTransactionStart, BillingDataTransactionStop, BillingDataTransactionUpdate, BillingInvoice, BillingInvoiceItem, BillingInvoiceStatus, BillingOperationResult, BillingPaymentMethod, BillingStatus, BillingTax, BillingUser, BillingUserData } from '../../../types/Billing'; +import { BillingAccount, BillingAccountStatus, BillingDataTransactionStart, BillingDataTransactionStop, BillingDataTransactionUpdate, BillingInvoice, BillingInvoiceItem, BillingInvoiceStatus, BillingOperationResult, BillingPaymentMethod, BillingSessionAccountData, BillingStatus, BillingTax, BillingUser, BillingUserData } from '../../../types/Billing'; import { DimensionType, PricedConsumptionData, PricedDimensionData } from '../../../types/Pricing'; import FeatureToggles, { Feature } from '../../../utils/FeatureToggles'; import StripeHelpers, { StripeChargeOperationResult } from './StripeHelpers'; @@ -295,7 +295,7 @@ export default class StripeBillingIntegration extends BillingIntegration { return stripeInvoice; } - public async synchronizeAsBillingInvoice(stripeInvoice: Stripe.Invoice): Promise { + public async convertToBillingInvoice(stripeInvoice: Stripe.Invoice): Promise { if (!stripeInvoice) { throw new BackendError({ message: 'Unexpected situation - invoice is not set', @@ -323,22 +323,26 @@ export default class StripeBillingIntegration extends BillingIntegration { } // Get the corresponding BillingInvoice (if any) const billingInvoice: BillingInvoice = await BillingStorage.getInvoiceByInvoiceID(this.tenant, stripeInvoice.id); - const invoiceToSave: BillingInvoice = { - id: billingInvoice?.id, // ACHTUNG: billingInvoice is null when creating the Billing Invoice - // eslint-disable-next-line id-blacklist - userID, invoiceID, customerID, liveMode, number, amount, amountPaid, currency, createdOn, downloadUrl, downloadable: !!downloadUrl, - status: status as BillingInvoiceStatus, payInvoiceUrl, - }; - // Let's persist the invoice with up-to-date data - const freshInvoiceId = await BillingStorage.saveInvoice(this.tenant, invoiceToSave); - // Let's get a clean invoice instance - let freshBillingInvoice = await BillingStorage.getInvoice(this.tenant, freshInvoiceId); - if (!freshBillingInvoice) { - // This should not happen - but it happened several times - so let's wait a bit and try again - await Utils.sleep(2000); - freshBillingInvoice = await BillingStorage.getInvoice(this.tenant, freshInvoiceId); + let invoiceToSave: BillingInvoice; + if (billingInvoice) { + // Update existing invoice + invoiceToSave = { + ...billingInvoice, // includes the id + // eslint-disable-next-line id-blacklist + invoiceID, liveMode, userID, number, status: status as BillingInvoiceStatus, + amount, amountPaid, currency, customerID, createdOn, downloadable: !!downloadUrl, downloadUrl, payInvoiceUrl, + }; + } else { + // Create new invoice + invoiceToSave = { + id: null, + // eslint-disable-next-line id-blacklist + invoiceID, liveMode, userID, number, status: status as BillingInvoiceStatus, + amount, amountPaid, currency, customerID, createdOn, downloadable: !!downloadUrl, downloadUrl, payInvoiceUrl, + sessions: [] + }; } - return freshBillingInvoice; + return invoiceToSave; } private async createStripeInvoiceItem(parameters: Stripe.InvoiceItemCreateParams, idempotencyKey: string | number): Promise { @@ -420,7 +424,8 @@ export default class StripeBillingIntegration extends BillingIntegration { const operationResult = await this.chargeStripeInvoice(billingInvoice.invoiceID); if (!operationResult?.succeeded && operationResult?.error) { if (StripeHelpers.isResourceMissingError(operationResult.error)) { - await StripeHelpers.updateInvoiceAdditionalData(this.tenant, billingInvoice, operationResult); + StripeHelpers.enrichInvoiceWithAdditionalData(billingInvoice, operationResult); + await BillingStorage.saveInvoice(this.tenant, billingInvoice); throw operationResult.error; } else { await Logging.logError({ @@ -440,14 +445,19 @@ export default class StripeBillingIntegration extends BillingIntegration { stripeInvoice = await this.getStripeInvoice(billingInvoice.invoiceID); } // Let's replicate some information on our side - billingInvoice = await this.synchronizeAsBillingInvoice(stripeInvoice); - if (!billingInvoice) { - throw new Error(`Unexpected situation - failed to synchronize ${stripeInvoice.id} - the invoice is null`); - } - await StripeHelpers.updateInvoiceAdditionalData(this.tenant, billingInvoice, operationResult); - // Send a notification to the user + billingInvoice = await this.convertToBillingInvoice(stripeInvoice); + StripeHelpers.enrichInvoiceWithAdditionalData(billingInvoice, operationResult); + // Save invoice + const invoiceID = await BillingStorage.saveInvoice(this.tenant, billingInvoice); + billingInvoice.id = invoiceID; + // Notification the user about the new invoice void this.sendInvoiceNotification(billingInvoice); + // Update transactions with invoice data await this.updateTransactionsBillingData(billingInvoice); + // Trigger transfer preparation task + if (billingInvoice.status === BillingInvoiceStatus.PAID) { + await this.triggerTransferPreparation(billingInvoice); + } return billingInvoice; } @@ -998,8 +1008,10 @@ export default class StripeBillingIntegration extends BillingIntegration { module: MODULE_NAME, method: 'billTransaction', message: `Billing process is about to start - transaction ID: ${transaction.id}`, }); - // ACHTUNG: a single transaction may generate several lines in the invoice - const invoiceItem: BillingInvoiceItem = this.convertToBillingInvoiceItem(transaction); + // Retrieve billing sub-account settings from the company or the site + const accountData = await this.retrieveAccountData(transaction); + // ACHTUNG: a single transaction may generate several lines in the invoice - one line per paring dimension + const invoiceItem: BillingInvoiceItem = this.convertToBillingInvoiceItem(transaction, accountData); const billingInvoice = await this.billInvoiceItem(transaction.user, invoiceItem); // Send a notification to the user void this.sendInvoiceNotification(billingInvoice); @@ -1057,28 +1069,26 @@ export default class StripeBillingIntegration extends BillingIntegration { private shrinkInvoiceItem(fatInvoiceItem: BillingInvoiceItem): BillingInvoiceItem { // The initial invoice item includes redundant transaction data - const { transactionID, currency, pricingData } = fatInvoiceItem; + const { transactionID, currency, pricingData, accountData = null } = fatInvoiceItem; // Let's return only essential information const lightInvoiceItem: BillingInvoiceItem = { transactionID, currency, - pricingData + pricingData, + accountData }; return lightInvoiceItem; } - private convertToBillingInvoiceItem(transaction: Transaction) : BillingInvoiceItem { - return this.convertPricingDataToBillingInvoiceItem(transaction); - } - - private convertPricingDataToBillingInvoiceItem(transaction: Transaction) : BillingInvoiceItem { + private convertToBillingInvoiceItem(transaction: Transaction, accountData: BillingSessionAccountData) : BillingInvoiceItem { const transactionID = transaction.id; const currency = transaction.stop.priceUnit; - const pricingData: PricedConsumptionData[] = this.extractTransactionPricingData(transaction); + const pricingData = this.extractTransactionPricingData(transaction); const billingInvoiceItem: BillingInvoiceItem = { transactionID, currency, pricingData, + accountData, metadata: { // Let's keep track of the initial data for troubleshooting purposes tenantID: this.tenant.id, @@ -1195,12 +1205,19 @@ export default class StripeBillingIntegration extends BillingIntegration { stripeInvoice = await this.getStripeInvoice(stripeInvoice.id); } // Let's replicate some information on our side - const billingInvoice = await this.synchronizeAsBillingInvoice(stripeInvoice); + const billingInvoice = await this.convertToBillingInvoice(stripeInvoice); if (!billingInvoice) { throw new Error(`Unexpected situation - failed to synchronize ${stripeInvoice.id} - the invoice is null`); } // We have now a Billing Invoice - Let's update it with details about the last operation result - await StripeHelpers.updateInvoiceAdditionalData(this.tenant, billingInvoice, operationResult, billingInvoiceItem); + StripeHelpers.enrichInvoiceWithAdditionalData(billingInvoice, operationResult, billingInvoiceItem); + // Save invoice + const invoiceID = await BillingStorage.saveInvoice(this.tenant, billingInvoice); + billingInvoice.id = invoiceID; + // Trigger transfer preparation task + if (billingInvoice.status === BillingInvoiceStatus.PAID) { + await this.triggerTransferPreparation(billingInvoice); + } // Return the billing invoice return billingInvoice; } @@ -1662,10 +1679,10 @@ export default class StripeBillingIntegration extends BillingIntegration { transaction.billingData.stop.invoiceStatus = billingInvoice.status; transaction.billingData.stop.invoiceNumber = billingInvoice.number; transaction.billingData.lastUpdate = new Date(); - // Add pricing data + // Add pricing data when built-in pricing engine was used if (!transaction.billingData.stop.invoiceItem && transaction.pricingModel) { - // Only set when the built-in pricing model was used - const invoiceItem = this.convertToBillingInvoiceItem(transaction); + const accountData = await this.retrieveAccountData(transaction); + const invoiceItem = this.convertToBillingInvoiceItem(transaction, accountData); transaction.billingData.stop.invoiceItem = this.shrinkInvoiceItem(invoiceItem); } // Save repaired billing data @@ -1718,9 +1735,8 @@ export default class StripeBillingIntegration extends BillingIntegration { method: 'createSubAccount', }); } - return { - accountID: subAccount.id, + accountExternalID: subAccount.id, activationLink: activationLink.url, status: BillingAccountStatus.IDLE }; diff --git a/src/integration/billing/stripe/StripeHelpers.ts b/src/integration/billing/stripe/StripeHelpers.ts index a62af15e91..5a2e4d80d2 100644 --- a/src/integration/billing/stripe/StripeHelpers.ts +++ b/src/integration/billing/stripe/StripeHelpers.ts @@ -1,11 +1,9 @@ -import { BillingAdditionalData, BillingError, BillingErrorCode, BillingErrorType, BillingInvoice, BillingInvoiceItem, BillingSessionData } from '../../../types/Billing'; +import { BillingError, BillingErrorCode, BillingErrorType, BillingInvoice, BillingInvoiceItem, BillingSessionData } from '../../../types/Billing'; -import BillingStorage from '../../../storage/mongodb/BillingStorage'; import Constants from '../../../utils/Constants'; import Countries from 'i18n-iso-countries'; import I18nManager from '../../../utils/I18nManager'; import Stripe from 'stripe'; -import Tenant from '../../../types/Tenant'; import User from '../../../types/User'; import Utils from '../../../utils/Utils'; @@ -17,31 +15,25 @@ export interface StripeChargeOperationResult { export default class StripeHelpers { - public static async updateInvoiceAdditionalData(tenant: Tenant, - billingInvoice: BillingInvoice, - operationResult: StripeChargeOperationResult, - billingInvoiceItem?: BillingInvoiceItem): Promise { - // Do we have an error to preserve - let billingError: BillingError; + public static enrichInvoiceWithAdditionalData(billingInvoice: BillingInvoice, operationResult: StripeChargeOperationResult, billingInvoiceItem?: BillingInvoiceItem): void { if (operationResult && !operationResult.succeeded) { - // The operation failed - billingError = StripeHelpers.convertToBillingError(operationResult.error); + // The operation failed + const billingError = StripeHelpers.convertToBillingError(operationResult.error); + if (billingError) { + billingInvoice.lastError = billingError; + } } - // Do we have a new charging session? - let session: BillingSessionData; if (billingInvoiceItem) { - session = { + const session: BillingSessionData = { transactionID: billingInvoiceItem.transactionID, pricingData: billingInvoiceItem.pricingData, + accountData: billingInvoiceItem.accountData, }; - } - // Is there anything to update? - if (session || billingError) { - const additionalData: BillingAdditionalData = { - session, - lastError: billingError - }; - await BillingStorage.updateInvoiceAdditionalData(tenant, billingInvoice, additionalData); + if (billingInvoice.sessions) { + billingInvoice.sessions.push(session); + } else { + billingInvoice.sessions = [ session ]; + } } } diff --git a/src/integration/charging-station-vendor/ChargingStationVendorIntegration.ts b/src/integration/charging-station-vendor/ChargingStationVendorIntegration.ts index 03777e9e1d..6fb3eae206 100644 --- a/src/integration/charging-station-vendor/ChargingStationVendorIntegration.ts +++ b/src/integration/charging-station-vendor/ChargingStationVendorIntegration.ts @@ -358,9 +358,18 @@ export default abstract class ChargingStationVendorIntegration { } public async getCurrentConnectorLimit(tenant: Tenant, chargingStation: ChargingStation, chargePoint: ChargePoint, connectorID: number): Promise { + const connector = Utils.getConnectorFromID(chargingStation, connectorID); + if (!connector) { + throw new BackendError({ + ...LoggingHelper.getChargingStationProperties(chargingStation), + action: ServerAction.GET_CONNECTOR_CURRENT_LIMIT, + module: MODULE_NAME, method: 'getCurrentConnectorLimit', + message: `Cannot get the Connector ID '${connectorID}'`, + }); + } // Default - const limitDefaultMaxAmps = Utils.getConnectorFromID(chargingStation, connectorID).amperageLimit; - const limitDefaultMaxPower = Utils.getConnectorFromID(chargingStation, connectorID).power; + const limitDefaultMaxAmps = connector.amperageLimit; + const limitDefaultMaxPower = connector.power; // Should fail safe! try { if (connectorID === 0) { @@ -382,10 +391,10 @@ export default abstract class ChargingStationVendorIntegration { chargingProfile.connectorID === connectorID && chargingProfile.profile.chargingProfilePurpose === ChargingProfilePurposeType.TX_PROFILE ); - let result = await this.getCurrentConnectorLimitFromProfiles( + let resultChargingProfile = await this.getCurrentConnectorLimitFromProfiles( tenant, chargingStation, chargePoint, connectorID, txChargingProfiles); - if (result) { - return result; + if (resultChargingProfile) { + return resultChargingProfile; } // Check the TX Default Charging Profiles from the DB let txDefaultChargingProfiles = chargingProfiles.filter((chargingProfile) => @@ -398,20 +407,20 @@ export default abstract class ChargingStationVendorIntegration { chargingProfile.profile.chargingProfilePurpose === ChargingProfilePurposeType.TX_DEFAULT_PROFILE ); } - result = await this.getCurrentConnectorLimitFromProfiles( + resultChargingProfile = await this.getCurrentConnectorLimitFromProfiles( tenant, chargingStation, chargePoint, connectorID, txDefaultChargingProfiles); - if (result) { - return result; + if (resultChargingProfile) { + return resultChargingProfile; } // Check the Max Charging Profiles from the DB const maxChargingProfiles = chargingProfiles.filter((chargingProfile) => chargingProfile.connectorID === connectorID && chargingProfile.profile.chargingProfilePurpose === ChargingProfilePurposeType.CHARGE_POINT_MAX_PROFILE ); - result = await this.getCurrentConnectorLimitFromProfiles( + resultChargingProfile = await this.getCurrentConnectorLimitFromProfiles( tenant, chargingStation, chargePoint, connectorID, maxChargingProfiles); - if (result) { - return result; + if (resultChargingProfile) { + return resultChargingProfile; } } // Check next the power limitation @@ -419,7 +428,7 @@ export default abstract class ChargingStationVendorIntegration { // Read the static limitation from connector const connectorLimitAmps = this.getStaticPowerLimitation(chargingStation, chargePoint, connectorID); if (connectorLimitAmps > 0) { - const result: ConnectorCurrentLimit = { + const resultConnector: ConnectorCurrentLimit = { limitAmps: connectorLimitAmps, limitWatts: Utils.convertAmpToWatt(chargingStation, chargePoint, connectorID, connectorLimitAmps), limitSource: ConnectorCurrentLimitSource.STATIC_LIMITATION, @@ -428,11 +437,11 @@ export default abstract class ChargingStationVendorIntegration { ...LoggingHelper.getChargingStationProperties(chargingStation), tenantID: tenant.id, action: ServerAction.GET_CONNECTOR_CURRENT_LIMIT, - message: `${Utils.buildConnectorInfo(connectorID)} Current limit: ${result.limitAmps} A, ${result.limitWatts} W, source '${Utils.getConnectorLimitSourceString(result.limitSource)}'`, + message: `${Utils.buildConnectorInfo(connectorID)} Current limit: ${resultConnector.limitAmps} A, ${resultConnector.limitWatts} W, source '${Utils.getConnectorLimitSourceString(resultConnector.limitSource)}'`, module: MODULE_NAME, method: 'getCurrentConnectorLimit', - detailedMessages: { result } + detailedMessages: { result: resultConnector } }); - return result; + return resultConnector; } } } catch (error) { diff --git a/src/locking/LockingHelper.ts b/src/locking/LockingHelper.ts index 409a0dc7a6..0ea9273b6d 100644 --- a/src/locking/LockingHelper.ts +++ b/src/locking/LockingHelper.ts @@ -72,22 +72,23 @@ export default class LockingHelper { return lock; } - public static async acquireBillingSyncInvoicesLock(tenantID: string): Promise { - const lock = LockingManager.createExclusiveLock(tenantID, LockEntity.INVOICE, 'synchronize-billing-invoices'); + public static async acquireBillingPeriodicOperationLock(tenantID: string): Promise { + const lock = LockingManager.createExclusiveLock(tenantID, LockEntity.INVOICE, 'periodic-billing'); if (!(await LockingManager.acquire(lock))) { return null; } return lock; } - public static async acquireBillingPeriodicOperationLock(tenantID: string): Promise { - const lock = LockingManager.createExclusiveLock(tenantID, LockEntity.INVOICE, 'periodic-billing'); + public static async acquireBillingPrepareInvoiceTransferLock(tenantID: string, invoiceID: string): Promise { + const lock = LockingManager.createExclusiveLock(tenantID, LockEntity.INVOICE, `prepare-invoice-transfer-${invoiceID}`); if (!(await LockingManager.acquire(lock))) { return null; } return lock; } + public static async acquireAssetRetrieveConsumptionsLock(tenantID: string, asset: Asset): Promise { const lock = LockingManager.createExclusiveLock(tenantID, LockEntity.ASSET, `${asset.id}-consumptions`); if (!(await LockingManager.acquire(lock))) { @@ -180,7 +181,7 @@ export default class LockingHelper { const lock = LockingManager.createExclusiveLock(tenantID, LockEntity.USER, `bill-user-${userID}`); // ---------------------------------------------------------------------------------------- // We may have concurrent attempts to create an invoice when running billing async tasks. - // On the otherhand, we cannot just give up too early in case of conflicts + // On the other hand, we cannot just give up too early in case of conflicts // To prevent such situation, we have here a timeout of 60 seconds. // This means that we assume here that the billing concrete layer (stripe) will be able to // create within a minute both the invoice item and the corresponding invoice. diff --git a/src/notification/remote-push-notification/RemotePushNotificationTask.ts b/src/notification/remote-push-notification/RemotePushNotificationTask.ts index d89dc23e63..bea5d29cb2 100644 --- a/src/notification/remote-push-notification/RemotePushNotificationTask.ts +++ b/src/notification/remote-push-notification/RemotePushNotificationTask.ts @@ -1,16 +1,16 @@ -import { AccountVerificationNotification, BillingInvoiceSynchronizationFailedNotification, BillingNewInvoiceNotification, BillingPeriodicOperationFailedNotification, BillingSubAccountActivationNotification, BillingSubAccountCreationLinkNotification, BillingUserSynchronizationFailedNotification, CarCatalogSynchronizationFailedNotification, ChargingStationRegisteredNotification, ChargingStationStatusErrorNotification, ComputeAndApplyChargingProfilesFailedNotification, EndOfChargeNotification, EndOfSessionNotification, EndOfSignedSessionNotification, EndUserErrorNotification, NewRegisteredUserNotification, NotificationSeverity, OCPIPatchChargingStationsStatusesErrorNotification, OICPPatchChargingStationsErrorNotification, OICPPatchChargingStationsStatusesErrorNotification, OfflineChargingStationNotification, OptimalChargeReachedNotification, PreparingSessionNotStartedNotification, RequestPasswordNotification, SessionNotStartedNotification, TransactionStartedNotification, UnknownUserBadgedNotification, UserAccountInactivityNotification, UserAccountStatusChangedNotification, UserNotificationType, VerificationEmailNotification } from '../../types/UserNotifications'; -import User, { UserStatus } from '../../types/User'; +import { Promise } from 'bluebird'; +import admin from 'firebase-admin'; +import { ServerAction } from '../../types/Server'; +import Tenant from '../../types/Tenant'; +import User, { UserStatus } from '../../types/User'; +import { AccountVerificationNotification, BillingInvoiceSynchronizationFailedNotification, BillingNewInvoiceNotification, BillingPeriodicOperationFailedNotification, BillingSubAccountActivationNotification, BillingSubAccountCreationLinkNotification, BillingUserSynchronizationFailedNotification, CarCatalogSynchronizationFailedNotification, ChargingStationRegisteredNotification, ChargingStationStatusErrorNotification, ComputeAndApplyChargingProfilesFailedNotification, EndOfChargeNotification, EndOfSessionNotification, EndOfSignedSessionNotification, EndUserErrorNotification, NewRegisteredUserNotification, NotificationSeverity, OCPIPatchChargingStationsStatusesErrorNotification, OICPPatchChargingStationsErrorNotification, OICPPatchChargingStationsStatusesErrorNotification, OfflineChargingStationNotification, OptimalChargeReachedNotification, PreparingSessionNotStartedNotification, RequestPasswordNotification, SessionNotStartedNotification, TransactionStartedNotification, UnknownUserBadgedNotification, UserAccountInactivityNotification, UserAccountStatusChangedNotification, UserNotificationType, VerificationEmailNotification } from '../../types/UserNotifications'; import Configuration from '../../utils/Configuration'; import Constants from '../../utils/Constants'; import I18nManager from '../../utils/I18nManager'; import Logging from '../../utils/Logging'; -import NotificationTask from '../NotificationTask'; -import { Promise } from 'bluebird'; -import { ServerAction } from '../../types/Server'; -import Tenant from '../../types/Tenant'; import Utils from '../../utils/Utils'; -import admin from 'firebase-admin'; +import NotificationTask from '../NotificationTask'; const MODULE_NAME = 'RemotePushNotificationTask'; @@ -479,26 +479,43 @@ export default class RemotePushNotificationTask implements NotificationTask { message = this.createMessage(tenant, notificationType, title, body, data, severity); // Get the right firebase app const app = this.getFirebaseAppFromTenant(tenant); - // Send message - admin.messaging(app).sendToDevice( - user.mobileToken, - message, - { priority: 'high', timeToLive: 60 * 60 * 24 } - ).then((response) => { - // Response is a message ID string. - void Logging.logDebug({ - tenantID: tenant.id, - siteID: data?.siteID, - siteAreaID: data?.siteAreaID, - companyID: data?.companyID, - chargingStationID: data?.chargeBoxID, - action: ServerAction.REMOTE_PUSH_NOTIFICATION, - module: MODULE_NAME, method: 'sendRemotePushNotificationToUsers', - message: `Notification Sent: '${notificationType}' - '${title}'`, - actionOnUser: user.id, - detailedMessages: { message, response } - }); - }).catch((error: Error) => { + try { + // Send message + const response = await admin.messaging(app).sendToDevice( + user.mobileToken, + message, + { priority: 'high', timeToLive: 60 * 60 * 24 } + ); + // Error + if (response.failureCount > 0) { + void Logging.logError({ + tenantID: tenant.id, + siteID: data?.siteID, + siteAreaID: data?.siteAreaID, + companyID: data?.companyID, + chargingStationID: data?.chargeBoxID, + action: ServerAction.REMOTE_PUSH_NOTIFICATION, + module: MODULE_NAME, method: 'sendRemotePushNotificationToUsers', + message: `Error when sending Notification: '${notificationType}' - Error code: '${response.results[0]?.error?.code}'`, + actionOnUser: user.id, + detailedMessages: { message, response } + }); + // Success + } else { + void Logging.logDebug({ + tenantID: tenant.id, + siteID: data?.siteID, + siteAreaID: data?.siteAreaID, + companyID: data?.companyID, + chargingStationID: data?.chargeBoxID, + action: ServerAction.REMOTE_PUSH_NOTIFICATION, + module: MODULE_NAME, method: 'sendRemotePushNotificationToUsers', + message: `Notification Sent: '${notificationType}' - '${title}'`, + actionOnUser: user.id, + detailedMessages: { message, response } + }); + } + } catch (error) { void Logging.logError({ tenantID: tenant.id, siteID: data?.siteID, @@ -507,11 +524,11 @@ export default class RemotePushNotificationTask implements NotificationTask { chargingStationID: data?.chargeBoxID, action: ServerAction.REMOTE_PUSH_NOTIFICATION, module: MODULE_NAME, method: 'sendRemotePushNotificationToUsers', - message: `Error when sending Notification: '${notificationType}' - '${error.message}'`, + message: `Error when sending Notification: '${notificationType}' - '${error.message as string}'`, actionOnUser: user.id, detailedMessages: { error: error.stack, message } }); - }); + } } finally { await Logging.traceNotificationEnd(tenant, MODULE_NAME, 'sendRemotePushNotificationToUser', startTime, notificationType, message, user.id); } diff --git a/src/server/ocpi/OCPIUtils.ts b/src/server/ocpi/OCPIUtils.ts index c12d480d15..5df1750cdf 100644 --- a/src/server/ocpi/OCPIUtils.ts +++ b/src/server/ocpi/OCPIUtils.ts @@ -183,7 +183,8 @@ export default class OCPIUtils { public static getOcpiTokenTypeFromID(tagID: string): OCPITokenType { // Virtual badges handling - return tagID.length % 8 === 0 ? OCPITokenType.RFID : OCPITokenType.OTHER; + return (tagID.length % 8 === 0 || tagID.length === 14) && + Utils.isHexString(tagID) ? OCPITokenType.RFID : OCPITokenType.OTHER; } public static buildEmspTokenFromTag(tenant: Tenant, tag: Tag): OCPIToken { diff --git a/src/server/ocpp/json/web-socket/JsonWSConnection.ts b/src/server/ocpp/json/web-socket/JsonWSConnection.ts index 56289f5030..e817aa748c 100644 --- a/src/server/ocpp/json/web-socket/JsonWSConnection.ts +++ b/src/server/ocpp/json/web-socket/JsonWSConnection.ts @@ -70,7 +70,8 @@ export default class JsonWSConnection extends WSConnection { if (typeof this.chargingStationService[methodName] === 'function') { this.headers.currentIPAddress = this.getClientIP(); // Check the Charging Station - const { tenant, chargingStation, token } = await OCPPUtils.checkAndGetChargingStationConnectionData(OCPPUtils.buildServerActionFromOcppCommand(command), + const { tenant, chargingStation, token } = await OCPPUtils.checkAndGetChargingStationConnectionData( + OCPPUtils.buildServerActionFromOcppCommand(command), this.getTenantID(), this.getChargingStationID(), this.getTokenID()); // Set the header this.headers.tenant = tenant; diff --git a/src/server/ocpp/utils/OCPPUtils.ts b/src/server/ocpp/utils/OCPPUtils.ts index 15c3735bc1..407b858ad6 100644 --- a/src/server/ocpp/utils/OCPPUtils.ts +++ b/src/server/ocpp/utils/OCPPUtils.ts @@ -1261,54 +1261,51 @@ export default class OCPPUtils { message: 'Charging Station does not exist!' }); } - } else { - // Update the DB (Migration for existing charging stations) - if (!chargingStation.tokenID) { - chargingStation.tokenID = tokenID; - } - if (chargingStation.tokenID !== tokenID) { - // Must have a valid connection Token - token = await OCPPUtils.ensureChargingStationHasValidConnectionToken(action, tenant, chargingStationID, tokenID); - // Ok, set it - await Logging.logInfo({ - ...LoggingHelper.getChargingStationProperties(chargingStation), - tenantID: tenant.id, - action, module: MODULE_NAME, method: 'checkAndGetChargingStationData', - message: `New security Token ID '${tokenID}' has been assigned to the Charging Station (old one was '${chargingStation.tokenID}')` - }); - chargingStation.tokenID = tokenID; - } - // Deleted? - if (chargingStation.deleted) { - throw new BackendError({ - ...LoggingHelper.getChargingStationProperties(chargingStation), - module: MODULE_NAME, - method: 'checkAndGetChargingStationData', - message: 'Charging Station has been deleted!' - }); - } - // Inactive? - if (chargingStation.forceInactive) { - throw new BackendError({ - ...LoggingHelper.getChargingStationProperties(chargingStation), - module: MODULE_NAME, - method: 'checkAndGetChargingStationData', - message: 'Charging Station has been forced as inactive!' - }); - } - // Reassign to the Charging station - chargingStation.lastSeen = new Date(); + return { tenant, token }; + } + // Same Token? + if (chargingStation.tokenID !== tokenID) { + // Must have a valid connection Token + token = await OCPPUtils.ensureChargingStationHasValidConnectionToken(action, tenant, chargingStationID, tokenID); + // Ok, set it + await Logging.logInfo({ + ...LoggingHelper.getChargingStationProperties(chargingStation), + tenantID: tenant.id, + action, module: MODULE_NAME, method: 'checkAndGetChargingStationData', + message: `New security Token ID '${tokenID}' has been assigned to the Charging Station (old one was '${chargingStation.tokenID}')` + }); chargingStation.tokenID = tokenID; - chargingStation.cloudHostIP = Utils.getHostIP(); - chargingStation.cloudHostName = Utils.getHostName(); - // Save Charging Station runtime data - await ChargingStationStorage.saveChargingStationRuntimeData(tenant, chargingStation.id, { - lastSeen: chargingStation.lastSeen, - tokenID: chargingStation.tokenID, - cloudHostIP: chargingStation.cloudHostIP, - cloudHostName: chargingStation.cloudHostName, + } + // Deleted? + if (chargingStation.deleted) { + throw new BackendError({ + ...LoggingHelper.getChargingStationProperties(chargingStation), + module: MODULE_NAME, + method: 'checkAndGetChargingStationData', + message: 'Charging Station has been deleted!' + }); + } + // Inactive? + if (chargingStation.forceInactive) { + throw new BackendError({ + ...LoggingHelper.getChargingStationProperties(chargingStation), + module: MODULE_NAME, + method: 'checkAndGetChargingStationData', + message: 'Charging Station has been forced as inactive!' }); } + // Reassign to the Charging station + chargingStation.lastSeen = new Date(); + chargingStation.tokenID = tokenID; + chargingStation.cloudHostIP = Utils.getHostIP(); + chargingStation.cloudHostName = Utils.getHostName(); + // Save Charging Station runtime data + await ChargingStationStorage.saveChargingStationRuntimeData(tenant, chargingStation.id, { + lastSeen: chargingStation.lastSeen, + tokenID: chargingStation.tokenID, + cloudHostIP: chargingStation.cloudHostIP, + cloudHostName: chargingStation.cloudHostName, + }); return { tenant, chargingStation, token }; } diff --git a/src/server/ocpp/validator/OCPPValidator.ts b/src/server/ocpp/validator/OCPPValidator.ts index 10548ff1d8..6a6e574e43 100644 --- a/src/server/ocpp/validator/OCPPValidator.ts +++ b/src/server/ocpp/validator/OCPPValidator.ts @@ -152,9 +152,11 @@ export default class OCPPValidator extends SchemaValidator { } private cleanUpTagID(tagID: string): string { - // Handle bug in Tag ID ending with ;NULL on some Charging Stations - if (tagID && typeof tagID === 'string' && tagID.toLowerCase().endsWith(';null')) { - tagID = tagID.slice(0, tagID.length - 5); + // Handle Tag ID containing ';' usually sent by Charging Station's payment terminals + if (tagID && + typeof tagID === 'string' && + tagID.toLowerCase().includes(';')) { + tagID = tagID.split(';')[1]; } return tagID; } diff --git a/src/server/rest/v1/router/api/BillingRouter.ts b/src/server/rest/v1/router/api/BillingRouter.ts index 09f6848e02..1a2cf927e5 100644 --- a/src/server/rest/v1/router/api/BillingRouter.ts +++ b/src/server/rest/v1/router/api/BillingRouter.ts @@ -47,6 +47,7 @@ export default class BillingRouter { this.buildRouteBillingGetSubAccounts(); this.buildRouteBillingGetSubAccount(); this.buildRouteBillingSendSubAccountOnboarding(); + this.buildRouteBillingGetTransfers(); return this.router; } @@ -171,4 +172,10 @@ export default class BillingRouter { void RouterUtils.handleRestServerAction(BillingService.handleOnboardAccount.bind(this), ServerAction.BILLING_SUB_ACCOUNT_ONBOARD, req, res, next); }); } + + private buildRouteBillingGetTransfers(): void { + this.router.get(`/${RESTServerRoute.REST_BILLING_TRANSFERS}`, (req: Request, res: Response, next: NextFunction) => { + void RouterUtils.handleRestServerAction(BillingService.handleBillingGetTransfers.bind(this), ServerAction.BILLING_TRANSFERS, req, res, next); + }); + } } diff --git a/src/server/rest/v1/service/AuthService.ts b/src/server/rest/v1/service/AuthService.ts index 27691209a6..b1669b5c6a 100644 --- a/src/server/rest/v1/service/AuthService.ts +++ b/src/server/rest/v1/service/AuthService.ts @@ -194,7 +194,7 @@ export default class AuthService { // Create default Tag if (tenant.id !== Constants.DEFAULT_TENANT_ID) { const tag: Tag = { - id: Utils.generateTagID(newUser.name, newUser.firstName), + id: await TagStorage.findAvailableID(tenant), active: true, issuer: true, userID: newUser.id, diff --git a/src/server/rest/v1/service/AuthorizationService.ts b/src/server/rest/v1/service/AuthorizationService.ts index 2d8c055aae..0c3b37b43d 100644 --- a/src/server/rest/v1/service/AuthorizationService.ts +++ b/src/server/rest/v1/service/AuthorizationService.ts @@ -1,9 +1,9 @@ import { Action, AuthorizationActions, AuthorizationContext, AuthorizationFilter, Entity } from '../../../../types/Authorization'; -import { AssetDataResult, BillingInvoiceDataResult, BillingPaymentMethodDataResult, BillingSubaccountsDataResult, CarCatalogDataResult, CarDataResult, CompanyDataResult, DataResult, LogDataResult, PricingDefinitionDataResult, RegistrationTokenDataResult, SiteAreaDataResult, SiteDataResult, TagDataResult, UserDataResult } from '../../../../types/DataResult'; +import { AssetDataResult, BillingInvoiceDataResult, BillingPaymentMethodDataResult, BillingSubaccountsDataResult, BillingTransfersDataResult, CarCatalogDataResult, CarDataResult, CompanyDataResult, DataResult, LogDataResult, PricingDefinitionDataResult, RegistrationTokenDataResult, SiteAreaDataResult, SiteDataResult, TagDataResult, UserDataResult } from '../../../../types/DataResult'; import { BillingAccount, BillingInvoice, BillingPaymentMethod } from '../../../../types/Billing'; import { Car, CarCatalog } from '../../../../types/Car'; import { HttpAssetGetRequest, HttpAssetsGetRequest } from '../../../../types/requests/HttpAssetRequest'; -import { HttpBillingInvoiceRequest, HttpBillingInvoicesRequest, HttpBillingSubAccountGetRequest, HttpDeletePaymentMethod, HttpPaymentMethods, HttpSetupPaymentMethod } from '../../../../types/requests/HttpBillingRequest'; +import { HttpBillingInvoiceRequest, HttpBillingInvoicesRequest, HttpBillingSubAccountGetRequest, HttpBillingSubAccountsGetRequest, HttpBillingTransfersGetRequest, HttpDeletePaymentMethod, HttpPaymentMethods, HttpSetupPaymentMethod } from '../../../../types/requests/HttpBillingRequest'; import { HttpCarCatalogGetRequest, HttpCarCatalogsGetRequest, HttpCarGetRequest, HttpCarsGetRequest } from '../../../../types/requests/HttpCarRequest'; import { HttpChargingStationGetRequest, HttpChargingStationsGetRequest } from '../../../../types/requests/HttpChargingStationRequest'; import { HttpCompaniesGetRequest, HttpCompanyGetRequest } from '../../../../types/requests/HttpCompanyRequest'; @@ -608,7 +608,35 @@ export default class AuthorizationService { public static async checkAndGetBillingSubAccountAuthorizations(tenant: Tenant, userToken: UserToken, filteredRequest: Partial, authAction: Action, entityData?: EntityData): Promise { return AuthorizationService.checkAndGetEntityAuthorizations( - tenant, Entity.BILLING_PLATFORM, userToken, filteredRequest, filteredRequest.ID ? { id: filteredRequest.ID } : {}, authAction, entityData); + tenant, Entity.BILLING_SUB_ACCOUNT, userToken, filteredRequest, filteredRequest.ID ? { id: filteredRequest.ID } : {}, authAction, entityData); + } + + public static async checkAndGetBillingSubAccountsAuthorizations(tenant: Tenant, userToken: UserToken, + filteredRequest?: Partial, failsWithException = true): Promise { + const authorizations: AuthorizationFilter = { + filters: {}, + dataSources: new Map(), + projectFields: [], + authorized: false + }; + // Check static & dynamic authorization + await this.canPerformAuthorizationAction( + tenant, userToken, Entity.BILLING_SUB_ACCOUNT, Action.LIST, authorizations, filteredRequest, null, failsWithException); + return authorizations; + } + + public static async checkAndGetBillingTransfersAuthorizations(tenant: Tenant, userToken: UserToken, + filteredRequest?: Partial, failsWithException = true): Promise { + const authorizations: AuthorizationFilter = { + filters: {}, + dataSources: new Map(), + projectFields: [], + authorized: false + }; + // Check static & dynamic authorization + await this.canPerformAuthorizationAction( + tenant, userToken, Entity.BILLING_TRANSFER, Action.LIST, authorizations, filteredRequest, null, failsWithException); + return authorizations; } public static async checkAndGetTaxesAuthorizations(tenant: Tenant, userToken: UserToken, failsWithException = true): Promise { @@ -676,6 +704,14 @@ export default class AuthorizationService { billingSubAccount.canRead = true; } + public static async addTransfersAuthorizations(tenant: Tenant, userToken: UserToken, billingSubAccounts: BillingTransfersDataResult, + authorizationFilter: AuthorizationFilter): Promise { + // Add Meta Data + billingSubAccounts.metadata = authorizationFilter.metadata; + billingSubAccounts.canListSubAccounts = await AuthorizationService.canPerformAuthorizationAction( + tenant, userToken, Entity.BILLING_SUB_ACCOUNT, Action.LIST, authorizationFilter); + } + public static async checkAndGetPaymentMethodsAuthorizations(tenant: Tenant, userToken: UserToken, filteredRequest: Partial, failsWithException = true): Promise { const authorizations: AuthorizationFilter = { diff --git a/src/server/rest/v1/service/BillingService.ts b/src/server/rest/v1/service/BillingService.ts index a0593f6fe8..b10106a684 100644 --- a/src/server/rest/v1/service/BillingService.ts +++ b/src/server/rest/v1/service/BillingService.ts @@ -474,10 +474,10 @@ export default class BillingService { public static async handleCreateSubAccount(action: ServerAction, req: Request, res: Response, next: NextFunction): Promise { // Check if component is active UtilsService.assertComponentIsActiveFromToken(req.user, TenantComponents.BILLING_PLATFORM, - Action.BILLING_CREATE_SUB_ACCOUNT, Entity.BILLING_PLATFORM, MODULE_NAME, 'handleCreateSubAccount'); + Action.CREATE, Entity.BILLING_SUB_ACCOUNT, MODULE_NAME, 'handleCreateSubAccount'); const filteredRequest = BillingValidatorRest.getInstance().validateBillingCreateSubAccountReq(req.body); // Check authorization - await AuthorizationService.checkAndGetBillingPlatformAuthorizations(req.tenant, req.user, Action.BILLING_CREATE_SUB_ACCOUNT); + await AuthorizationService.checkAndGetBillingSubAccountAuthorizations(req.tenant, req.user, {}, Action.CREATE, filteredRequest); // Get the billing impl const billingImpl = await BillingFactory.getBillingImpl(req.tenant); if (!billingImpl) { @@ -490,12 +490,12 @@ export default class BillingService { }); } // Get the user - const user = await UserStorage.getUser(req.tenant, filteredRequest.userID); - UtilsService.assertObjectExists(action, user, `User ID '${filteredRequest.userID}' does not exist`, + const user = await UserStorage.getUser(req.tenant, filteredRequest.businessOwnerID); + UtilsService.assertObjectExists(action, user, `User ID '${filteredRequest.businessOwnerID}' does not exist`, MODULE_NAME, 'handleCreateSubAccount', req.user); // Create the sub account const subAccount = await billingImpl.createSubAccount(); - subAccount.userID = user.id; + subAccount.businessOwnerID = user.id; // Save the sub account subAccount.id = await BillingStorage.saveSubAccount(req.tenant, subAccount); res.status(StatusCodes.CREATED).json(subAccount); @@ -520,8 +520,8 @@ export default class BillingService { }); } // Get the sub account owner - const user = await UserStorage.getUser(tenant, subAccount.userID); - UtilsService.assertObjectExists(action, user, `User ID '${subAccount.userID}' does not exist`, MODULE_NAME, 'handleActivateSubAccount', req.user); + const user = await UserStorage.getUser(tenant, subAccount.businessOwnerID); + UtilsService.assertObjectExists(action, user, `User ID '${subAccount.businessOwnerID}' does not exist`, MODULE_NAME, 'handleActivateSubAccount', req.user); // Activate and save the sub account subAccount.status = BillingAccountStatus.ACTIVE; await BillingStorage.saveSubAccount(tenant, subAccount); @@ -535,17 +535,15 @@ export default class BillingService { public static async handleBillingGetSubAccounts(action: ServerAction, req: Request, res: Response, next: NextFunction): Promise { // Filter const filteredRequest = BillingValidatorRest.getInstance().validateBillingSubAccountsGetReq(req.query); - // Check if component is active - UtilsService.assertComponentIsActiveFromToken(req.user, TenantComponents.BILLING_PLATFORM, - Action.LIST, Entity.BILLING_PLATFORM, MODULE_NAME, 'handleBillingGetSubAccounts'); - const authorizations = await AuthorizationService.checkAndGetBillingPlatformAuthorizations(req.tenant, req.user, Action.LIST); + // Check auth + const authorizations = await AuthorizationService.checkAndGetBillingSubAccountsAuthorizations(req.tenant, req.user, filteredRequest /* , false */); if (!authorizations.authorized) { UtilsService.sendEmptyDataResult(res, next); return; } // Get the billing sub accounts const subAccounts = await BillingStorage.getSubAccounts(req.tenant, { - subAccountIDs: filteredRequest.SubAccountID ? filteredRequest.SubAccountID.split('|') : null, + IDs: filteredRequest.ID ? filteredRequest.ID.split('|') : null, userIDs: filteredRequest.UserID ? filteredRequest.UserID.split('|') : null, search: filteredRequest.Search ? filteredRequest.Search : null, status: filteredRequest.Status ? filteredRequest.Status.split('|') : null, @@ -567,7 +565,7 @@ export default class BillingService { const filteredRequest = BillingValidatorRest.getInstance().validateBillingSubAccountGetReq(req.params); // Check if component is active UtilsService.assertComponentIsActiveFromToken(req.user, TenantComponents.BILLING_PLATFORM, - Action.READ, Entity.BILLING_PLATFORM, MODULE_NAME, 'handleBillingGetSubAccount'); + Action.READ, Entity.BILLING_SUB_ACCOUNT, MODULE_NAME, 'handleBillingGetSubAccount'); // Get the billing sub accounts const subAccount = await UtilsService.checkAndGetBillingSubAccountAuthorization(req.tenant, req.user, filteredRequest.ID, Action.READ, action, null, {}, true); res.json(subAccount); @@ -577,10 +575,10 @@ export default class BillingService { public static async handleOnboardAccount(action: ServerAction, req: Request, res: Response, next: NextFunction): Promise { // Check if component is active UtilsService.assertComponentIsActiveFromToken(req.user, TenantComponents.BILLING_PLATFORM, - Action.BILLING_ONBOARD_SUB_ACCOUNT, Entity.BILLING_PLATFORM, MODULE_NAME, 'handleOnboardAccount'); + Action.BILLING_ONBOARD_SUB_ACCOUNT, Entity.BILLING_SUB_ACCOUNT, MODULE_NAME, 'handleOnboardAccount'); const filteredRequest = BillingValidatorRest.getInstance().validateBillingSubAccountGetReq(req.params); // Check authorization - await AuthorizationService.checkAndGetBillingPlatformAuthorizations(req.tenant, req.user, Action.BILLING_ONBOARD_SUB_ACCOUNT); + await AuthorizationService.checkAndGetBillingSubAccountAuthorizations(req.tenant, req.user, filteredRequest, Action.BILLING_ONBOARD_SUB_ACCOUNT); const subAccount = await BillingStorage.getSubAccountByID(req.tenant, filteredRequest.ID); UtilsService.assertObjectExists(action, subAccount, `Sub account ID '${filteredRequest.ID}' does not exist`, MODULE_NAME, 'handleOnboardAccount', req.user); // Check if the sub account onboarding is already sent @@ -594,8 +592,8 @@ export default class BillingService { }); } // Get the sub account owner - const user = await UserStorage.getUser(req.tenant, subAccount.userID); - UtilsService.assertObjectExists(action, user, `User ID '${subAccount.userID}' does not exist`, MODULE_NAME, 'handleOnboardAccount', req.user); + const user = await UserStorage.getUser(req.tenant, subAccount.businessOwnerID); + UtilsService.assertObjectExists(action, user, `User ID '${subAccount.businessOwnerID}' does not exist`, MODULE_NAME, 'handleOnboardAccount', req.user); // Activate and save the sub account subAccount.status = BillingAccountStatus.PENDING; await BillingStorage.saveSubAccount(req.tenant, subAccount); @@ -606,6 +604,35 @@ export default class BillingService { next(); } + public static async handleBillingGetTransfers(action: ServerAction, req: Request, res: Response, next: NextFunction): Promise { + // Filter + const filteredRequest = BillingValidatorRest.getInstance().validateBillingTransfersGetReq(req.query); + // Check auth + const authorizations = await AuthorizationService.checkAndGetBillingTransfersAuthorizations(req.tenant, req.user, filteredRequest /* , false */); + if (!authorizations.authorized) { + UtilsService.sendEmptyDataResult(res, next); + return; + } + // Get the billing sub accounts + const transfers = await BillingStorage.getTransfers(req.tenant, { + IDs: filteredRequest.ID ? filteredRequest.ID.split('|') : null, + accountIDs: filteredRequest.AccountID ? filteredRequest.AccountID.split('|') : null, + transferExternalIDs: filteredRequest.TransferExternalID ? filteredRequest.TransferExternalID.split('|') : null, + search: filteredRequest.Search ? filteredRequest.Search : null, + status: filteredRequest.Status ? filteredRequest.Status.split('|') : null, + }, { + sort: UtilsService.httpSortFieldsToMongoDB(filteredRequest.SortFields), + skip: filteredRequest.Skip, + limit: filteredRequest.Limit, + onlyRecordCount: filteredRequest.OnlyRecordCount + }, + authorizations.projectFields + ); + await AuthorizationService.addTransfersAuthorizations(req.tenant, req.user, transfers, authorizations); + res.json(transfers); + next(); + } + private static async checkActivationPrerequisites(action: ServerAction, req: Request): Promise { const billingImpl = await BillingFactory.getBillingImpl(req.tenant); if (!billingImpl) { diff --git a/src/server/rest/v1/service/CompanyService.ts b/src/server/rest/v1/service/CompanyService.ts index 5fd75022d6..48d461f403 100644 --- a/src/server/rest/v1/service/CompanyService.ts +++ b/src/server/rest/v1/service/CompanyService.ts @@ -147,12 +147,11 @@ export default class CompanyService { createdOn: new Date() } as Company; // If the company is assigned to a billing sub-account, check if the billing is active - if (filteredRequest.billingData) { + if (filteredRequest.accountData) { UtilsService.assertComponentIsActiveFromToken(req.user, TenantComponents.BILLING_PLATFORM, Action.CREATE, Entity.COMPANY, MODULE_NAME, 'handleCreateCompany'); - const billingSubAccount = await BillingStorage.getSubAccountByID(req.tenant, filteredRequest.billingData.accountID); - UtilsService.assertObjectExists(action, billingSubAccount, `Billing Sub-Account ID '${filteredRequest.billingData.accountID}' does not exist`, MODULE_NAME, 'handleCreateCompany', req.user); - newCompany.billingData = { accountID: billingSubAccount.id }; + const billingSubAccount = await BillingStorage.getSubAccountByID(req.tenant, filteredRequest.accountData.accountID); + UtilsService.assertObjectExists(action, billingSubAccount, `Billing Sub-Account ID '${filteredRequest.accountData.accountID}' does not exist`, MODULE_NAME, 'handleCreateCompany', req.user); } // Save newCompany.id = await CompanyStorage.saveCompany(req.tenant, newCompany); @@ -185,12 +184,15 @@ export default class CompanyService { company.lastChangedBy = { 'id': req.user.id }; company.lastChangedOn = new Date(); // If the company is assigned to a billing sub-account, check if the billing is active - if (filteredRequest.billingData) { + if (filteredRequest.accountData) { UtilsService.assertComponentIsActiveFromToken(req.user, TenantComponents.BILLING_PLATFORM, Action.CREATE, Entity.COMPANY, MODULE_NAME, 'handleUpdateCompany'); - const billingSubAccount = await BillingStorage.getSubAccountByID(req.tenant, filteredRequest.billingData.accountID); - UtilsService.assertObjectExists(action, billingSubAccount, `Billing Sub-Account ID '${filteredRequest.billingData.accountID}' does not exist`, MODULE_NAME, 'handleUpdateCompany', req.user); - company.billingData = { accountID: billingSubAccount.id }; + const billingSubAccount = await BillingStorage.getSubAccountByID(req.tenant, filteredRequest.accountData.accountID); + UtilsService.assertObjectExists(action, billingSubAccount, `Billing Sub-Account ID '${filteredRequest.accountData.accountID}' does not exist`, MODULE_NAME, 'handleUpdateCompany', req.user); + company.accountData = { + accountID: billingSubAccount.id, + platformFeeStrategy: filteredRequest.accountData.platformFeeStrategy, + }; } // Update Company await CompanyStorage.saveCompany(req.tenant, company, Utils.objectHasProperty(filteredRequest, 'logo') ? true : false); diff --git a/src/server/rest/v1/service/SiteService.ts b/src/server/rest/v1/service/SiteService.ts index ba9f03a0fd..ac2e2bebff 100644 --- a/src/server/rest/v1/service/SiteService.ts +++ b/src/server/rest/v1/service/SiteService.ts @@ -307,12 +307,11 @@ export default class SiteService { createdOn: new Date() } as Site; // If the site is assigned to a billing sub-account, check if the billing is active - if (filteredRequest.billingData) { + if (filteredRequest.accountData) { UtilsService.assertComponentIsActiveFromToken(req.user, TenantComponents.BILLING_PLATFORM, Action.CREATE, Entity.SITE, MODULE_NAME, 'handleCreateSite'); - const billingSubAccount = await BillingStorage.getSubAccountByID(req.tenant, filteredRequest.billingData.accountID); - UtilsService.assertObjectExists(action, billingSubAccount, `Billing Sub-Account ID '${filteredRequest.billingData.accountID}' does not exist`, MODULE_NAME, 'handleCreateSite', req.user); - site.billingData = { accountID: billingSubAccount.id }; + const billingSubAccount = await BillingStorage.getSubAccountByID(req.tenant, filteredRequest.accountData.accountID); + UtilsService.assertObjectExists(action, billingSubAccount, `Billing Sub-Account ID '${filteredRequest.accountData.accountID}' does not exist`, MODULE_NAME, 'handleCreateSite', req.user); } // Save site.id = await SiteStorage.saveSite(req.tenant, site, Utils.objectHasProperty(filteredRequest, 'image')); @@ -379,12 +378,15 @@ export default class SiteService { site.lastChangedBy = { 'id': req.user.id }; site.lastChangedOn = new Date(); // If the site is assigned to a billing sub-account, check if the billing is active - if (filteredRequest.billingData) { + if (filteredRequest.accountData) { UtilsService.assertComponentIsActiveFromToken(req.user, TenantComponents.BILLING_PLATFORM, Action.CREATE, Entity.SITE, MODULE_NAME, 'handleUpdateSite'); - const billingSubAccount = await BillingStorage.getSubAccountByID(req.tenant, filteredRequest.billingData.accountID); - UtilsService.assertObjectExists(action, billingSubAccount, `Billing Sub-Account ID '${filteredRequest.billingData.accountID}' does not exist`, MODULE_NAME, 'handleUpdateSite', req.user); - site.billingData = { accountID: billingSubAccount.id }; + const billingSubAccount = await BillingStorage.getSubAccountByID(req.tenant, filteredRequest.accountData.accountID); + UtilsService.assertObjectExists(action, billingSubAccount, `Billing Sub-Account ID '${filteredRequest.accountData.accountID}' does not exist`, MODULE_NAME, 'handleUpdateSite', req.user); + site.accountData = { + accountID: billingSubAccount.id, + platformFeeStrategy: filteredRequest.accountData.platformFeeStrategy, + }; } // Save await SiteStorage.saveSite(req.tenant, site, Utils.objectHasProperty(filteredRequest, 'image')); diff --git a/src/server/rest/v1/service/TransactionService.ts b/src/server/rest/v1/service/TransactionService.ts index 18cbad47e8..1dbd604368 100644 --- a/src/server/rest/v1/service/TransactionService.ts +++ b/src/server/rest/v1/service/TransactionService.ts @@ -57,7 +57,7 @@ export default class TransactionService { 'currentCumulatedPrice', 'currentInactivityStatus', 'roundedPrice', 'price', 'priceUnit', 'stop.roundedPrice', 'stop.price', 'stop.priceUnit', 'stop.inactivityStatus', 'stop.stateOfCharge', 'stop.timestamp', 'stop.totalConsumptionWh', 'stop.totalDurationSecs', 'stop.totalInactivitySecs', 'stop.extraInactivitySecs', 'stop.meterStop', - 'billingData.stop.invoiceNumber', 'stop.reason', 'ocpi', 'ocpiWithCdr', 'tagID', 'stop.tagID', 'tag.visualID', 'stop.tag.visualID', + 'billingData.stop.invoiceNumber', 'stop.reason', 'ocpi', 'ocpiWithCdr', 'tagID', 'stop.tagID', 'tag.visualID', 'tag.description', 'stop.tag.visualID', 'site.name', 'siteArea.name', 'company.name' ]); res.json(transactions); @@ -723,7 +723,7 @@ export default class TransactionService { const transactions = await TransactionService.getTransactions(req, action, {}, filteredRequest, [ 'id', 'chargeBoxID', 'timestamp', 'issuer', 'stateOfCharge', 'timezone', 'connectorId', 'status', 'meterStart', 'siteAreaID', 'siteID', 'companyID', 'currentTotalDurationSecs', 'currentTotalInactivitySecs', 'currentInstantWatts', 'currentTotalConsumptionWh', 'currentStateOfCharge', - 'currentCumulatedPrice', 'currentInactivityStatus', 'roundedPrice', 'price', 'priceUnit', 'tagID', 'tag.visualID', 'site.name', 'siteArea.name', 'company.name' + 'currentCumulatedPrice', 'currentInactivityStatus', 'roundedPrice', 'price', 'priceUnit', 'tagID', 'tag.visualID', 'tag.description', 'site.name', 'siteArea.name', 'company.name' ]); res.json(transactions); next(); @@ -740,7 +740,7 @@ export default class TransactionService { 'stop.roundedPrice', 'stop.price', 'stop.priceUnit', 'stop.inactivityStatus', 'stop.stateOfCharge', 'stop.timestamp', 'stop.totalConsumptionWh', 'stop.totalDurationSecs', 'stop.totalInactivitySecs', 'stop.extraInactivitySecs', 'stop.meterStop', 'site.name', 'siteArea.name', 'company.name', - 'billingData.stop.invoiceNumber', 'stop.reason', 'ocpi', 'ocpiWithCdr', 'tagID', 'tag.visualID', 'stop.tagID', 'stop.tag.visualID' + 'billingData.stop.invoiceNumber', 'stop.reason', 'ocpi', 'ocpiWithCdr', 'tagID', 'tag.visualID', 'tag.description', 'stop.tagID', 'stop.tag.visualID' ]); res.json(transactions); next(); diff --git a/src/server/rest/v1/validator/BillingValidatorRest.ts b/src/server/rest/v1/validator/BillingValidatorRest.ts index 98e546af40..4de4a0b615 100644 --- a/src/server/rest/v1/validator/BillingValidatorRest.ts +++ b/src/server/rest/v1/validator/BillingValidatorRest.ts @@ -1,4 +1,4 @@ -import { HttpBillingInvoiceRequest, HttpBillingInvoicesRequest, HttpBillingSubAccountActivateRequest, HttpBillingSubAccountCreateRequest, HttpBillingSubAccountGetRequest, HttpBillingSubAccountsGetRequest, HttpDeletePaymentMethod, HttpPaymentMethods, HttpSetupPaymentMethod } from '../../../../types/requests/HttpBillingRequest'; +import { HttpBillingInvoiceRequest, HttpBillingInvoicesRequest, HttpBillingSubAccountActivateRequest, HttpBillingSubAccountCreateRequest, HttpBillingSubAccountGetRequest, HttpBillingSubAccountsGetRequest, HttpBillingTransfersGetRequest, HttpDeletePaymentMethod, HttpPaymentMethods, HttpSetupPaymentMethod } from '../../../../types/requests/HttpBillingRequest'; import { BillingSettings } from '../../../../types/Setting'; import Schema from '../../../../types/validator/Schema'; @@ -18,6 +18,7 @@ export default class BillingValidatorRest extends SchemaValidator { private billingActivateSubAccount: Schema = JSON.parse(fs.readFileSync(`${global.appRoot}/assets/server/rest/v1/schemas/billing/billing-activate-sub-account.json`, 'utf8')); private billingSubAccountsGet: Schema = JSON.parse(fs.readFileSync(`${global.appRoot}/assets/server/rest/v1/schemas/billing/billing-sub-accounts-get.json`, 'utf8')); private billingSubAccountGet: Schema = JSON.parse(fs.readFileSync(`${global.appRoot}/assets/server/rest/v1/schemas/billing/billing-sub-account-get.json`, 'utf8')); + private billingTransfersGet: Schema = JSON.parse(fs.readFileSync(`${global.appRoot}/assets/server/rest/v1/schemas/billing/billing-transfers-get.json`, 'utf8')); private constructor() { super('BillingValidatorRest'); @@ -69,4 +70,8 @@ export default class BillingValidatorRest extends SchemaValidator { public validateBillingSubAccountGetReq(data: Record): HttpBillingSubAccountGetRequest { return this.validate(this.billingSubAccountGet, data); } + + public validateBillingTransfersGetReq(data: Record): HttpBillingTransfersGetRequest { + return this.validate(this.billingTransfersGet, data); + } } diff --git a/src/storage/mongodb/BillingStorage.ts b/src/storage/mongodb/BillingStorage.ts index 8f4a6bac7c..1dd2b96095 100644 --- a/src/storage/mongodb/BillingStorage.ts +++ b/src/storage/mongodb/BillingStorage.ts @@ -1,4 +1,4 @@ -import { BillingAccount, BillingAdditionalData, BillingInvoice, BillingInvoiceStatus, BillingSessionData } from '../../types/Billing'; +import { BillingAccount, BillingInvoice, BillingInvoiceStatus, BillingTransfer } from '../../types/Billing'; import global, { DatabaseCount, FilterParams } from '../../types/GlobalType'; import Constants from '../../utils/Constants'; @@ -170,6 +170,12 @@ export default class BillingStorage { downloadUrl: invoiceToSave.downloadUrl, payInvoiceUrl: invoiceToSave.payInvoiceUrl }; + if (invoiceToSave.sessions) { + invoiceMDB.sessions = invoiceToSave.sessions; + } + if (invoiceToSave.lastError) { + invoiceMDB.lastError = invoiceToSave.lastError; + } // Modify and return the modified document await global.database.getCollection(tenant.id, 'invoices').findOneAndUpdate( { _id: invoiceMDB._id }, @@ -180,25 +186,6 @@ export default class BillingStorage { return invoiceMDB._id.toString(); } - public static async updateInvoiceAdditionalData(tenant: Tenant, invoiceToUpdate: BillingInvoice, additionalData: BillingAdditionalData): Promise { - const startTime = Logging.traceDatabaseRequestStart(); - DatabaseUtils.checkTenantObject(tenant); - // Preserve the previous list of sessions - const sessions: BillingSessionData[] = invoiceToUpdate.sessions || []; - if (additionalData.session) { - sessions.push(additionalData.session); - } - // Set data - const updatedInvoiceMDB: any = { - sessions, - lastError: additionalData.lastError - }; - await global.database.getCollection(tenant.id, 'invoices').findOneAndUpdate( - { '_id': DatabaseUtils.convertToObjectID(invoiceToUpdate.id) }, - { $set: updatedInvoiceMDB }); - await Logging.traceDatabaseRequestEnd(tenant, MODULE_NAME, 'saveInvoiceAdditionalData', startTime, updatedInvoiceMDB); - } - public static async deleteInvoice(tenant: Tenant, id: string): Promise { const startTime = Logging.traceDatabaseRequestStart(); DatabaseUtils.checkTenantObject(tenant); @@ -223,11 +210,13 @@ export default class BillingStorage { // Properties to save const subAccountMDB: any = { _id: subAccount.id ? DatabaseUtils.convertToObjectID(subAccount.id) : new ObjectId(), - accountID: subAccount.accountID, + accountExternalID: subAccount.accountExternalID, status: subAccount.status, - userID: DatabaseUtils.convertToObjectID(subAccount.userID) + businessOwnerID: DatabaseUtils.convertToObjectID(subAccount.businessOwnerID) }; - // Modify and return the modified document + // Check Created/Last Changed By + DatabaseUtils.addLastChangedCreatedProps(subAccountMDB, subAccount); + // Save await global.database.getCollection(tenant.id, 'billingsubaccounts').findOneAndUpdate( { _id: subAccountMDB._id }, { $set: subAccountMDB }, @@ -239,7 +228,7 @@ export default class BillingStorage { public static async getSubAccounts(tenant: Tenant, params: { - subAccountIDs?: string[], subAccountAccountIDs?: string[], search?: string, userIDs?: string[], status?: string[] + IDs?: string[], accountExternalIDs?: string[], search?: string, userIDs?: string[], status?: string[] } = {}, dbParams: DbParams, projectFields?: string[]): Promise> { const startTime = Logging.traceDatabaseRequestStart(); @@ -258,21 +247,21 @@ export default class BillingStorage { // Filter by other properties if (params.search) { filters.$or = [ - { 'accountID': { $regex: params.search, $options: 'i' } } + { 'accountExternalID': { $regex: params.search, $options: 'i' } } ]; } - if (!Utils.isEmptyArray(params.subAccountIDs)) { + if (!Utils.isEmptyArray(params.IDs)) { filters._id = { - $in: params.subAccountIDs.map((subAccountID) => DatabaseUtils.convertToObjectID(subAccountID)) + $in: params.IDs.map((id) => DatabaseUtils.convertToObjectID(id)) }; } - if (!Utils.isEmptyArray(params.subAccountAccountIDs)) { - filters.accountID = { - $in: params.subAccountAccountIDs + if (!Utils.isEmptyArray(params.accountExternalIDs)) { + filters.accountExternalID = { + $in: params.accountExternalIDs }; } if (!Utils.isEmptyArray(params.userIDs)) { - filters.userID = { + filters.businessOwnerID = { $in: params.userIDs.map((userID) => DatabaseUtils.convertToObjectID(userID)) }; } @@ -317,7 +306,7 @@ export default class BillingStorage { }); // Add Users DatabaseUtils.pushUserLookupInAggregation({ - tenantID: tenant.id, aggregation: aggregation, asField: 'user', localField: 'userID', + tenantID: tenant.id, aggregation: aggregation, asField: 'user', localField: 'businessOwnerID', foreignField: '_id', oneToOneCardinality: true, oneToOneCardinalityNotNull: false }); // Add Last Changed / Created @@ -325,7 +314,7 @@ export default class BillingStorage { // Handle the ID DatabaseUtils.pushRenameDatabaseID(aggregation); // Convert Object ID to string - DatabaseUtils.pushConvertObjectIDToString(aggregation, 'userID'); + DatabaseUtils.pushConvertObjectIDToString(aggregation, 'businessOwnerID'); // Project DatabaseUtils.projectFields(aggregation, projectFields); // Read DB @@ -341,8 +330,160 @@ export default class BillingStorage { public static async getSubAccountByID(tenant: Tenant, id: string, projectFields?: string[]): Promise { const subAccountMDB = await BillingStorage.getSubAccounts(tenant, { - subAccountIDs: [id] + IDs: [id] }, Constants.DB_PARAMS_SINGLE_RECORD, projectFields); return subAccountMDB.count === 1 ? subAccountMDB.result[0] : null; } + + public static async saveTransfer(tenant: Tenant, transfer: BillingTransfer): Promise { + const startTime = Logging.traceDatabaseRequestStart(); + // Build Request + // Properties to save + const transferMDB: any = { + _id: transfer.id ? DatabaseUtils.convertToObjectID(transfer.id) : new ObjectId(), + status: transfer.status, + amount: transfer.amount, + transferredAmount: transfer.transferredAmount, + accountID: DatabaseUtils.convertToObjectID(transfer.accountID), + transferExternalID: transfer.transferExternalID, + sessions: transfer.sessions.map((session) => ({ + transactionID: session.transactionID, + invoiceID: session.invoiceID, + invoiceNumber: session.invoiceNumber, + amountAsDecimal: session.amountAsDecimal, + amount: session.amount, + roundedAmount: session.roundedAmount, + platformFeeStrategy: session.platformFeeStrategy, + })) + }; + if (transfer.platformFeeData) { + transferMDB.platformFeeData = { + taxExternalID: transfer.platformFeeData.taxExternalID, + feeAmount: transfer.platformFeeData.feeAmount, + feeTaxAmount: transfer.platformFeeData.feeTaxAmount, + invoiceExternalID: transfer.platformFeeData.invoiceExternalID + }; + } + // Check Created/Last Changed By + DatabaseUtils.addLastChangedCreatedProps(transferMDB, transfer); + // Save + await global.database.getCollection(tenant.id, 'billingtransfers').findOneAndUpdate( + { _id: transferMDB._id }, + { $set: transferMDB }, + { upsert: true, returnDocument: 'after' } + ); + await Logging.traceDatabaseRequestEnd(tenant, MODULE_NAME, 'saveTransfer', startTime, transferMDB); + return transferMDB._id.toString(); + } + + public static async getTransfers(tenant: Tenant, + params: { + IDs?: string[], status?: string[], accountIDs?: string[], search?: string, transferExternalIDs?: string[] + } = {}, + dbParams: DbParams, projectFields?: string[]): Promise> { + const startTime = Logging.traceDatabaseRequestStart(); + DatabaseUtils.checkTenantObject(tenant); + // Clone before updating the values + dbParams = Utils.cloneObject(dbParams); + // Check Limit + dbParams.limit = Utils.checkRecordLimit(dbParams.limit); + // Check Skip + dbParams.skip = Utils.checkRecordSkip(dbParams.skip); + // Create Aggregation + const aggregation = []; + // Search filters + const filters: FilterParams = {}; + // Search + // Filter by other properties + if (params.search) { + filters.$or = [ + { 'id': { $regex: params.search, $options: 'i' } }, + { 'accountID': { $regex: params.search, $options: 'i' } }, + { 'transferExternalID': { $regex: params.search, $options: 'i' } }, + ]; + } + if (!Utils.isEmptyArray(params.IDs)) { + filters._id = { + $in: params.IDs.map((id) => DatabaseUtils.convertToObjectID(id)) + }; + } + if (!Utils.isEmptyArray(params.status)) { + filters.status = { + $in: params.status + }; + } + if (!Utils.isEmptyArray(params.accountIDs)) { + filters.accountID = { + $in: params.accountIDs.map((accountID) => DatabaseUtils.convertToObjectID(accountID)) + }; + } + if (!Utils.isEmptyArray(params.transferExternalIDs)) { + filters.transferExternalID = { + $in: params.transferExternalIDs.map((transferExternalID) => DatabaseUtils.convertToObjectID(transferExternalID)) + }; + } + // Set filters + if (!Utils.isEmptyJSon(filters)) { + aggregation.push({ + $match: filters + }); + } + // Limit records? + if (!dbParams.onlyRecordCount) { + aggregation.push({ $limit: Constants.DB_RECORD_COUNT_CEIL }); + } + // Count Records + const transferCountMDB = await global.database.getCollection(tenant.id, 'billingtransfers') + .aggregate([...aggregation, { $count: 'count' }], DatabaseUtils.buildAggregateOptions()) + .toArray() as DatabaseCount[]; + // Check if only the total count is requested + if (dbParams.onlyRecordCount) { + await Logging.traceDatabaseRequestEnd(tenant, MODULE_NAME, 'getTransfers', startTime, aggregation, transferCountMDB); + return { + count: (transferCountMDB.length > 0 ? transferCountMDB[0].count : 0), + result: [] + }; + } + // Remove the limit + aggregation.pop(); + // Sort + if (!dbParams.sort) { + dbParams.sort = { _id: 1 }; + } + aggregation.push({ + $sort: dbParams.sort + }); + // Skip + aggregation.push({ + $skip: dbParams.skip + }); + // Limit + aggregation.push({ + $limit: dbParams.limit + }); + // Add Last Changed / Created + DatabaseUtils.pushCreatedLastChangedInAggregation(tenant.id, aggregation); + // Handle the ID + DatabaseUtils.pushRenameDatabaseID(aggregation); + // Convert Object ID to string + DatabaseUtils.pushConvertObjectIDToString(aggregation, 'accountID'); + // Project + DatabaseUtils.projectFields(aggregation, projectFields); + // Read DB + const transferMDB = await global.database.getCollection(tenant.id, 'billingtransfers') + .aggregate(aggregation, DatabaseUtils.buildAggregateOptions()) + .toArray() as BillingTransfer[]; + await Logging.traceDatabaseRequestEnd(tenant, MODULE_NAME, 'getTransfers', startTime, aggregation, transferMDB); + return { + count: DatabaseUtils.getCountFromDatabaseCount(transferCountMDB[0]), + result: transferMDB + }; + } + + public static async getTransferByID(tenant: Tenant, id: string, projectFields?: string[]): Promise { + const transferMDB = await BillingStorage.getTransfers(tenant, { + IDs: [id] + }, Constants.DB_PARAMS_SINGLE_RECORD, projectFields); + return transferMDB.count === 1 ? transferMDB.result[0] : null; + } } diff --git a/src/storage/mongodb/CompanyStorage.ts b/src/storage/mongodb/CompanyStorage.ts index d5c1fdb68d..6671394da3 100644 --- a/src/storage/mongodb/CompanyStorage.ts +++ b/src/storage/mongodb/CompanyStorage.ts @@ -61,9 +61,10 @@ export default class CompanyStorage { (coordinate) => Utils.convertToFloat(coordinate)) : [], }; } - if (companyToSave.billingData) { - companyMDB.billingData = { - accountID: DatabaseUtils.convertToObjectID(companyToSave.billingData.accountID), + if (companyToSave.accountData) { + companyMDB.accountData = { + accountID: DatabaseUtils.convertToObjectID(companyToSave.accountData.accountID), + platformFeeStrategy: companyToSave.accountData.platformFeeStrategy, }; } // Add Last Changed/Created props diff --git a/src/storage/mongodb/SiteStorage.ts b/src/storage/mongodb/SiteStorage.ts index d52dc1e358..52a3e3ea81 100644 --- a/src/storage/mongodb/SiteStorage.ts +++ b/src/storage/mongodb/SiteStorage.ts @@ -271,9 +271,10 @@ export default class SiteStorage { (coordinate) => Utils.convertToFloat(coordinate)) : [], }; } - if (siteToSave.billingData) { - siteMDB.billingData = { - accountID: DatabaseUtils.convertToObjectID(siteToSave.billingData.accountID) + if (siteToSave.accountData) { + siteMDB.accountData = { + accountID: DatabaseUtils.convertToObjectID(siteToSave.accountData.accountID), + platformFeeStrategy: siteToSave.accountData.platformFeeStrategy, }; } // Add Last Changed/Created props diff --git a/src/storage/mongodb/TagStorage.ts b/src/storage/mongodb/TagStorage.ts index 84214f1d18..aaf277b847 100644 --- a/src/storage/mongodb/TagStorage.ts +++ b/src/storage/mongodb/TagStorage.ts @@ -7,6 +7,7 @@ import DatabaseUtils from './DatabaseUtils'; import DbParams from '../../types/database/DbParams'; import Logging from '../../utils/Logging'; import { ObjectId } from 'mongodb'; +import { ServerAction } from '../../types/Server'; import Tenant from '../../types/Tenant'; import Utils from '../../utils/Utils'; import moment from 'moment'; @@ -14,6 +15,28 @@ import moment from 'moment'; const MODULE_NAME = 'TagStorage'; export default class TagStorage { + public static async findAvailableID(tenant: Tenant): Promise { + const startTime = Logging.traceDatabaseRequestStart(); + DatabaseUtils.checkTenantObject(tenant); + let existingTag: Tag; + do { + // Generate new transaction ID + const id = Utils.generateTagID(); + existingTag = await TagStorage.getTag(tenant, id); + if (existingTag) { + await Logging.logWarning({ + tenantID: tenant.id, + module: MODULE_NAME, method: 'findAvailableID', + action: ServerAction.TAG_CREATE, + message: `Tag ID '${id}' already exists, generating a new one...` + }); + } else { + return id; + } + } while (existingTag); + await Logging.traceDatabaseRequestEnd(tenant, MODULE_NAME, 'findAvailableID', startTime, {}); + } + public static async saveTag(tenant: Tenant, tag: Tag): Promise { const startTime = Logging.traceDatabaseRequestStart(); diff --git a/src/types/AsyncTask.ts b/src/types/AsyncTask.ts index 703d4d3834..8c9fb853c1 100644 --- a/src/types/AsyncTask.ts +++ b/src/types/AsyncTask.ts @@ -32,6 +32,7 @@ export enum AsyncTaskStatus { export enum AsyncTasks { BILL_TRANSACTION = 'BillTransactionAsyncTask', + PREPARE_INVOICE_TRANSFER = 'PrepareInvoiceTransferAsyncTask', TAGS_IMPORT = 'TagsImportAsyncTask', USERS_IMPORT = 'UsersImportAsyncTask', OCPI_PUSH_TOKENS = 'OCPIPushTokensAsyncTask', diff --git a/src/types/Authorization.ts b/src/types/Authorization.ts index 701e99895b..dbfbbb4f07 100644 --- a/src/types/Authorization.ts +++ b/src/types/Authorization.ts @@ -77,6 +77,8 @@ export enum Entity { PRICING_DEFINITION = 'PricingDefinition', BILLING = 'Billing', BILLING_PLATFORM = 'BillingPlatform', + BILLING_SUB_ACCOUNT = 'BillingSubAccount', + BILLING_TRANSFER = 'BillingTransfer', SETTING = 'Setting', ASYNC_TASK = 'AsyncTask', OCPI_ENDPOINT = 'OcpiEndpoint', @@ -135,7 +137,6 @@ export enum Action { BILLING_PAYMENT_METHODS = 'BillingPaymentMethods', BILLING_DELETE_PAYMENT_METHOD = 'BillingDeletePaymentMethod', BILLING_CHARGE_INVOICE = 'BillingChargeInvoice', - BILLING_CREATE_SUB_ACCOUNT = 'BillingSubAccountCreate', BILLING_ACTIVATE_SUB_ACCOUNT = 'BillingSubAccountActivate', BILLING_ONBOARD_SUB_ACCOUNT = 'BillingSubAccountOnboard', CHECK_CONNECTION = 'CheckConnection', @@ -232,6 +233,14 @@ export interface BillingInvoiceAuthorizationActions extends AuthorizationActions canDownload?: boolean; } +export interface BillingAccountAuthorizationActions extends AuthorizationActions { + canOnboard?: boolean; +} + +export interface BillingTransferAuthorizationActions extends AuthorizationActions { + canTransfer?: boolean; +} + export enum DynamicAuthorizationFilterName { ASSIGNED_SITES_COMPANIES = 'AssignedSitesCompanies', SITES_ADMIN = 'SitesAdmin', diff --git a/src/types/Billing.ts b/src/types/Billing.ts index 9e5aee5342..3d20bcbe0a 100644 --- a/src/types/Billing.ts +++ b/src/types/Billing.ts @@ -1,7 +1,8 @@ -import { AuthorizationActions, BillingInvoiceAuthorizationActions } from './Authorization'; +import { AuthorizationActions, BillingInvoiceAuthorizationActions, BillingTransferAuthorizationActions } from './Authorization'; import { ActionsResponse } from './GlobalType'; import CreatedUpdatedProps from './CreatedUpdatedProps'; +import Decimal from 'decimal.js'; import { PricedConsumptionData } from './Pricing'; import User from './User'; @@ -88,6 +89,7 @@ export interface BillingInvoiceItem { transactionID: number; currency: string; pricingData: PricedConsumptionData[] + accountData?: BillingSessionAccountData; // Each session may target a distinct sub-account - but the 4 pricing dimensions MUST share the same info headerDescription?: string, metadata?: { // Just a flat list of key/value pairs! @@ -98,6 +100,7 @@ export interface BillingInvoiceItem { export interface BillingSessionData { transactionID: number; pricingData: PricedConsumptionData[]; + accountData?: BillingSessionAccountData; // Each session may target a distinct sub-account } export enum BillingInvoiceStatus { @@ -148,26 +151,68 @@ export enum BillingErrorCode { CARD_ERROR = 'card_error', } -export interface BillingAdditionalData { - session?: BillingSessionData, - lastError?: BillingError, -} - export enum BillingAccountStatus { IDLE = 'idle', PENDING = 'pending', ACTIVE = 'active' } -export interface BillingAccount extends AuthorizationActions { +export interface BillingPlatformFeeStrategy { + flatFeePerSession: number; // e.g.: 0.25 per charging session + percentage: number; // e.g.: 2% per charging session +} + +export interface BillingAccount extends CreatedUpdatedProps, BillingTransferAuthorizationActions { id?: string; - accountID: string; - activationLink?: string; - userID?: string; + businessOwnerID?: string; status: BillingAccountStatus; + activationLink?: string; + accountExternalID: string; } export interface BillingAccountData { accountID: string; + platformFeeStrategy?: BillingPlatformFeeStrategy; +} + +export interface BillingSessionAccountData extends BillingAccountData { + withTransferActive: boolean +} + +export enum BillingTransferStatus { + DRAFT = 'draft', + PENDING = 'pending', + TRANSFERRED = 'transferred' +} + +export interface BillingPlatformFeeData { + taxExternalID: string; // Tax to apply on the platform fee + feeAmount: number; + feeTaxAmount: number; + invoiceExternalID?: string; // Invoice sent to the CPO +} + +export interface BillingTransfer extends CreatedUpdatedProps, BillingTransferAuthorizationActions { + id?: string; + status: BillingTransferStatus; + sessions: BillingTransferSession[]; + amount: number; // Depends on the fee strategy and thus on the final number of sessions + transferredAmount: number // Amount transferred after applying platform fees + accountID: string; + platformFeeData: BillingPlatformFeeData; + transferExternalID?: string; // Transfer sent to the CPO +} + +// Very important - preserve maximal precision - Decimal type is persisted as an object in the DB +export type BillingAmount = Decimal.Value; + +export interface BillingTransferSession { + transactionID: number; + invoiceID: string; + invoiceNumber: string; + amountAsDecimal: BillingAmount + amount: number; // ACHTUNG - That one should not include any taxes + roundedAmount: number; + platformFeeStrategy: BillingPlatformFeeStrategy; } diff --git a/src/types/Company.ts b/src/types/Company.ts index 9259161d2a..7c1476403b 100644 --- a/src/types/Company.ts +++ b/src/types/Company.ts @@ -14,5 +14,5 @@ export default interface Company extends CreatedUpdatedProps, AuthorizationActio sites?: Site[]; distanceMeters?: number; openingTimes?: OpeningTimes; - billingData?: BillingAccountData; + accountData?: BillingAccountData; } diff --git a/src/types/DataResult.ts b/src/types/DataResult.ts index 2f6dabed85..f6ce139ce6 100644 --- a/src/types/DataResult.ts +++ b/src/types/DataResult.ts @@ -1,4 +1,4 @@ -import { BillingAccount, BillingInvoice, BillingPaymentMethod } from './Billing'; +import { BillingAccount, BillingInvoice, BillingPaymentMethod, BillingTransfer } from './Billing'; import { Car, CarCatalog } from './Car'; import Transaction, { TransactionStats } from './Transaction'; @@ -94,6 +94,10 @@ export interface BillingSubaccountsDataResult extends DataResult canListUsers?: boolean; } +export interface BillingTransfersDataResult extends DataResult { + canListSubAccounts?: boolean; +} + export interface TransactionRefundDataResult { count: number; result: Transaction[]; diff --git a/src/types/GlobalType.ts b/src/types/GlobalType.ts index c48d47dd24..5408e6d23f 100644 --- a/src/types/GlobalType.ts +++ b/src/types/GlobalType.ts @@ -1,4 +1,4 @@ -import { BillingInvoice, BillingPaymentMethod } from './Billing'; +import { BillingAccount, BillingInvoice, BillingPaymentMethod } from './Billing'; import { Car, CarCatalog } from './Car'; import ChargingStation from './ChargingStation'; @@ -84,7 +84,7 @@ export enum ImportStatus { ERROR = 'E', } -export type EntityData = Car|User|Company|Site|SiteArea|Tag|CarCatalog|ChargingStation|PricingDefinition|Log|RegistrationToken|BillingInvoice|BillingPaymentMethod|Setting; +export type EntityData = Car|User|Company|Site|SiteArea|Tag|CarCatalog|ChargingStation|PricingDefinition|Log|RegistrationToken|BillingInvoice|BillingPaymentMethod|Setting|BillingAccount; interface TSGlobal extends Global { database: MongoDBStorage; diff --git a/src/types/Server.ts b/src/types/Server.ts index fd7914c917..90d9df2326 100644 --- a/src/types/Server.ts +++ b/src/types/Server.ts @@ -437,6 +437,7 @@ export enum ServerAction { BILLING = 'Billing', BILLING_TRANSACTION = 'BillingTransaction', + BILLING_PREPARE_TRANSFER = 'BillingPrepareTransfer', BILLING_SYNCHRONIZE_USER = 'BillingSynchronizeUser', BILLING_FORCE_SYNCHRONIZE_USER = 'BillingForceSynchronizeUser', CHECK_BILLING_CONNECTION = 'CheckBillingConnection', @@ -457,6 +458,7 @@ export enum ServerAction { BILLING_SUB_ACCOUNT_ONBOARD = 'BillingSubAccountOnboard', BILLING_SUB_ACCOUNT = 'BillingSubAccount', BILLING_SUB_ACCOUNTS = 'BillingSubAccounts', + BILLING_TRANSFERS = 'BillingTransfers', PRICING = 'Pricing', PRICING_DEFINITION = 'PricingDefinition', @@ -696,6 +698,8 @@ export enum RESTServerRoute { // BILLING URLs for Non-CRUD operations on INVOICES REST_BILLING_DOWNLOAD_INVOICE = 'invoices/:invoiceID/download', + REST_BILLING_TRANSFERS = 'billing/transfers', + // PRICING URLs for CRUD operations REST_PRICING_DEFINITIONS = 'pricing-definitions', REST_PRICING_DEFINITION = 'pricing-definitions/:id', diff --git a/src/types/Site.ts b/src/types/Site.ts index 41249797ae..513929d257 100644 --- a/src/types/Site.ts +++ b/src/types/Site.ts @@ -23,7 +23,7 @@ export default interface Site extends CreatedUpdatedProps, SiteAuthorizationActi public?: boolean; openingTimes?: OpeningTimes; tariffID?: string; - billingData?: BillingAccountData; + accountData?: BillingAccountData; } export interface SiteUser { diff --git a/src/types/requests/HttpBillingRequest.ts b/src/types/requests/HttpBillingRequest.ts index 523c2306a1..4286d27a53 100644 --- a/src/types/requests/HttpBillingRequest.ts +++ b/src/types/requests/HttpBillingRequest.ts @@ -1,4 +1,5 @@ -import { BillingInvoiceStatus } from '../Billing'; +import { BillingAccount, BillingInvoiceStatus } from '../Billing'; + import HttpByIDRequest from './HttpByIDRequest'; import HttpDatabaseRequest from './HttpDatabaseRequest'; @@ -29,8 +30,12 @@ export interface HttpDeletePaymentMethod { paymentMethodId: string; } -export interface HttpBillingSubAccountCreateRequest { - userID: string; +// eslint-disable-next-line @typescript-eslint/no-empty-interface +export interface HttpBillingSubAccountCreateRequest extends BillingAccount { +} + +// eslint-disable-next-line @typescript-eslint/no-empty-interface +export interface HttpBillingSubAccountUpdateRequest extends BillingAccount { } export interface HttpBillingSubAccountActivateRequest { @@ -39,7 +44,7 @@ export interface HttpBillingSubAccountActivateRequest { } export interface HttpBillingSubAccountsGetRequest extends HttpDatabaseRequest { - SubAccountID?: string; + ID?: string; UserID?: string; Status?: string; StartDateTime?: Date; @@ -47,6 +52,14 @@ export interface HttpBillingSubAccountsGetRequest extends HttpDatabaseRequest { Search?: string; } -export interface HttpBillingSubAccountGetRequest { +export interface HttpBillingSubAccountGetRequest extends HttpByIDRequest { ID: string; } + +export interface HttpBillingTransfersGetRequest extends HttpDatabaseRequest { + ID?: string; + AccountID?: string; + Status?: string; + TransferExternalID?: string; + Search?: string; +} diff --git a/src/utils/Utils.ts b/src/utils/Utils.ts index 1ca669bb61..befe13872b 100644 --- a/src/utils/Utils.ts +++ b/src/utils/Utils.ts @@ -279,20 +279,8 @@ export default class Utils { return data.slice(data.length - 5, data.length); } - public static generateTagID(name: string, firstName: string): string { - let tagID = ''; - if (name && name.length > 0) { - tagID = name[0].toUpperCase(); - } else { - tagID = 'S'; - } - if (firstName && firstName.length > 0) { - tagID += firstName[0].toUpperCase(); - } else { - tagID += 'F'; - } - tagID += Utils.getRandomIntSafe(); - return tagID; + public static generateTagID(size = 8): string { + return [...Array(size)].map(() => Math.floor(Math.random() * 16).toString(16)).join('').toUpperCase(); } public static isIterable(obj: any): boolean { @@ -1021,7 +1009,7 @@ export default class Utils { return recordLimit; } - public static roundTo(value: number, scale: number): number { + public static roundTo(value: Decimal.Value, scale: number): number { const roundPower = Math.pow(10, scale); return Utils.createDecimal(value).mul(roundPower).round().div(roundPower).toNumber(); } @@ -1327,6 +1315,11 @@ export default class Utils { return `'${tenant.name}' ('${tenant.subdomain}')`; } + public static isHexString(hexValue: string): boolean { + // eslint-disable-next-line no-useless-escape + return /^[0-9A-Fa-f]*$/i.test(hexValue); + } + public static isChargingStationIDValid(name: string): boolean { // eslint-disable-next-line no-useless-escape return /^[A-Za-z0-9_\.\-~]*$/.test(name); diff --git a/test/api/BillingPlatformTest.ts b/test/api/BillingPlatformTest.ts new file mode 100644 index 0000000000..81a8a1d901 --- /dev/null +++ b/test/api/BillingPlatformTest.ts @@ -0,0 +1,115 @@ +/* eslint-disable max-len */ +import { BillingAccount, BillingAccountStatus, BillingChargeInvoiceAction, BillingInvoiceStatus } from '../../src/types/Billing'; +import chai, { expect } from 'chai'; + +import { BillingPeriodicOperationTaskConfig } from '../types/TaskConfig'; +import BillingStorage from '../../src/storage/mongodb/BillingStorage'; +import BillingTestHelper from './BillingTestHelper'; +import { BillingTransferFactory } from '../factories/BillingFactory'; +import CentralServerService from './client/CentralServerService'; +import CompanyFactory from '../factories/CompanyFactory'; +import Constants from '../../src/utils/Constants'; +import ContextDefinition from './context/ContextDefinition'; +import MongoDBStorage from '../../src/storage/mongodb/MongoDBStorage'; +import SiteFactory from '../factories/SiteFactory'; +import { StatusCodes } from 'http-status-codes'; +import StripeTestHelper from './StripeTestHelper'; +import assert from 'assert'; +import chaiSubset from 'chai-subset'; +import config from '../config'; +import global from '../../src/types/GlobalType'; +import responseHelper from '../helpers/responseHelper'; + +chai.use(chaiSubset); +chai.use(responseHelper); + +const stripeTestHelper = new StripeTestHelper(); +const billingTestHelper = new BillingTestHelper(); +// Conditional test execution function +const describeif = (condition) => condition ? describe : describe.skip; +// Do not run the tests when the settings are not properly set +const isBillingProperlyConfigured = stripeTestHelper.isBillingProperlyConfigured(); + +describeif(isBillingProperlyConfigured)('Billing', () => { + // Do not run the tests when the settings are not properly set + jest.setTimeout(1000000); + + beforeAll(async () => { + global.database = new MongoDBStorage(config.get('storage')); + await global.database.start(); + }); + + describe('Billing Service (utbillingplatform)', () => { + beforeAll(async () => { + await billingTestHelper.initialize(ContextDefinition.TENANT_CONTEXTS.TENANT_BILLING_PLATFORM); + // Initialize the Billing module + billingTestHelper.billingImpl = await billingTestHelper.setBillingSystemValidCredentials(); + }); + + describe('Where admin user', () => { + // eslint-disable-next-line @typescript-eslint/require-await + beforeAll(async () => { + billingTestHelper.initUserContextAsAdmin(); + }); + + // eslint-disable-next-line @typescript-eslint/require-await + beforeAll(async () => { + billingTestHelper.initUserContextAsAdmin(); + // Initialize the charging station context + await billingTestHelper.initChargingStationContext2TestChargingTime(); + }); + + it('should create an invoice, and get transfers generated', async () => { + await billingTestHelper.userService.billingApi.forceSynchronizeUser({ id: billingTestHelper.userContext.id }); + const userWithBillingData = await billingTestHelper.billingImpl.getUser(billingTestHelper.userContext); + await billingTestHelper.assignPaymentMethod(userWithBillingData, 'tok_fr'); + const transactionID = await billingTestHelper.generateTransaction(billingTestHelper.userContext); + assert(transactionID, 'transactionID should not be null'); + // Check that we have a new invoice with an invoiceID and but no invoiceNumber yet + await billingTestHelper.checkTransactionBillingData(transactionID, BillingInvoiceStatus.DRAFT); + // Let's simulate the periodic billing operation + const taskConfiguration: BillingPeriodicOperationTaskConfig = { + onlyProcessUnpaidInvoices: false, + forceOperation: true + }; + const operationResult: BillingChargeInvoiceAction = await billingTestHelper.billingImpl.chargeInvoices(taskConfiguration); + assert(operationResult.inSuccess > 0, 'The operation should have been able to process at least one invoice'); + assert(operationResult.inError === 0, 'The operation should detect any errors'); + // The transaction should now have a different status and know the final invoice number + await billingTestHelper.checkTransactionBillingData(transactionID, BillingInvoiceStatus.PAID); + // The user should have no DRAFT invoices + const nbDraftInvoices = await billingTestHelper.checkForDraftInvoices(); + assert(nbDraftInvoices === 0, 'The expected number of DRAFT invoices is not correct'); + }); + + }); + + }); + + // describe('Billing Test Data Cleanup (utbilling)', () => { + // beforeAll(async () => { + // await stripeTestHelper.initialize(); + // }); + + // describe('with a STRIPE live account (a fake one!)', () => { + // beforeAll(async () => { + // await stripeTestHelper.fakeLiveBillingSettings(); + // }); + + // it('should NOT cleanup all billing test data', async () => { + // await stripeTestHelper.checkTestDataCleanup(false); + // }); + // }); + + // describe('with a STRIPE test account', () => { + // beforeAll(async () => { + // await stripeTestHelper.setBillingSystemValidCredentials(true); + // }); + + // it('should cleanup all billing test data', async () => { + // await stripeTestHelper.checkTestDataCleanup(true); + // }); + // }); + // }); + +}); diff --git a/test/api/BillingTest.ts b/test/api/BillingTest.ts index 48a25da1c6..54768fd06e 100644 --- a/test/api/BillingTest.ts +++ b/test/api/BillingTest.ts @@ -1,9 +1,11 @@ /* eslint-disable max-len */ import { BillingAccount, BillingAccountStatus, BillingChargeInvoiceAction, BillingInvoiceStatus } from '../../src/types/Billing'; +import { BillingPlatformFeeStrategyFactory, BillingTransferFactory } from '../factories/BillingFactory'; import { BillingSettings, BillingSettingsType } from '../../src/types/Setting'; import chai, { expect } from 'chai'; import { BillingPeriodicOperationTaskConfig } from '../../src/types/TaskConfig'; +import BillingStorage from '../../src/storage/mongodb/BillingStorage'; import BillingTestHelper from './BillingTestHelper'; import CentralServerService from './client/CentralServerService'; import CompanyFactory from '../factories/CompanyFactory'; @@ -90,19 +92,16 @@ describeif(isBillingProperlyConfigured)('Billing', () => { describe('Sub-accounts', () => { it('Should create a sub-account with its associated activation link', async () => { const subAccount = await stripeTestHelper.createSubAccount(); - expect(subAccount.accountID).to.exist; + expect(subAccount.accountExternalID).to.exist; expect(subAccount.activationLink).to.include('https://connect.stripe.com/setup/s/'); expect(subAccount.status).to.be.eq(BillingAccountStatus.IDLE); }); }); - it('Should add a different source to BILLING-TEST user', async () => { - await stripeTestHelper.assignPaymentMethod('tok_fr'); - }); - it( 'should create and pay a second invoice for BILLING-TEST user', async () => { + await stripeTestHelper.assignPaymentMethod('tok_fr'); await stripeTestHelper.checkImmediateBillingWithTaxes(); } ); @@ -979,20 +978,21 @@ describeif(isBillingProperlyConfigured)('Billing', () => { describe('Sub accounts', () => { it('should create a sub account', async () => { const response = await billingTestHelper.userService.billingApi.createSubAccount({ - userID: billingTestHelper.userContext.id + businessOwnerID: billingTestHelper.userContext.id }); + const subAccount = response.data as BillingAccount; expect(response.status).to.be.eq(StatusCodes.CREATED); - expect(response.data.id).to.not.be.null; - expect(response.data.accountID).to.not.be.null; - expect(response.data.userID).to.eq(billingTestHelper.userContext.id); - expect(response.data.activationLink).to.not.be.null; - expect(response.data.status).to.be.eq(BillingAccountStatus.IDLE); + expect(subAccount.id).to.not.be.null; + expect(subAccount.accountExternalID).to.not.be.null; + expect(subAccount.businessOwnerID).to.eq(billingTestHelper.userContext.id); + expect(subAccount.activationLink).to.not.be.null; + expect(subAccount.status).to.be.eq(BillingAccountStatus.IDLE); }); it('should create a sub account and activate it', async () => { // Create a sub account const response = await billingTestHelper.userService.billingApi.createSubAccount({ - userID: billingTestHelper.userContext.id + businessOwnerID: billingTestHelper.userContext.id }); expect(response.status).to.be.eq(StatusCodes.CREATED); // Send the activation link @@ -1013,7 +1013,7 @@ describeif(isBillingProperlyConfigured)('Billing', () => { it('should not activate a sub account twice', async () => { // Create a sub account const response = await billingTestHelper.userService.billingApi.createSubAccount({ - userID: billingTestHelper.userContext.id + businessOwnerID: billingTestHelper.userContext.id }); expect(response.status).to.be.eq(StatusCodes.CREATED); // Send the activation link @@ -1028,44 +1028,52 @@ describeif(isBillingProperlyConfigured)('Billing', () => { it('should create a company assigned to a sub-account', async () => { const subAccountResponse = await billingTestHelper.userService.billingApi.createSubAccount({ - userID: billingTestHelper.userContext.id + businessOwnerID: billingTestHelper.userContext.id }); expect(subAccountResponse.status).to.be.eq(StatusCodes.CREATED); + const platformFeeStrategy = BillingPlatformFeeStrategyFactory.build(); let companyResponse = await billingTestHelper.userService.companyApi.create({ ...CompanyFactory.build(), - billingData: { - accountID: subAccountResponse.data.id + accountData: { + accountID: subAccountResponse.data.id, + platformFeeStrategy } }); expect(companyResponse.status).to.be.eq(StatusCodes.OK); companyResponse = await billingTestHelper.userService.companyApi.readById(companyResponse.data.id); - expect(companyResponse.data.billingData.accountID).to.eq(subAccountResponse.data.id); + expect(companyResponse.data.accountData.accountID).to.eq(subAccountResponse.data.id); + expect(companyResponse.data.accountData.platformFeeStrategy).to.deep.eq(platformFeeStrategy); }); it('should update a company to assign a sub-account', async () => { const subAccountResponse = await billingTestHelper.userService.billingApi.createSubAccount({ - userID: billingTestHelper.userContext.id + businessOwnerID: billingTestHelper.userContext.id }); expect(subAccountResponse.status).to.be.eq(StatusCodes.CREATED); let companyResponse = await billingTestHelper.userService.companyApi.create(CompanyFactory.build()); expect(companyResponse.status).to.be.eq(StatusCodes.OK); const companyID = companyResponse.data.id; + const platformFeeStrategy = BillingPlatformFeeStrategyFactory.build(); companyResponse = await billingTestHelper.userService.companyApi.update({ id: companyID, ...CompanyFactory.build(), - billingData: { accountID: subAccountResponse.data.id } + accountData: { + accountID: subAccountResponse.data.id, + platformFeeStrategy + } }); expect(companyResponse.status).to.be.eq(StatusCodes.OK); companyResponse = await billingTestHelper.userService.companyApi.readById(companyID); - expect(companyResponse.data.billingData.accountID).to.eq(subAccountResponse.data.id); + expect(companyResponse.data.accountData.accountID).to.eq(subAccountResponse.data.id); + expect(companyResponse.data.accountData.platformFeeStrategy).to.deep.eq(platformFeeStrategy); }); it('should create a site assigned to a sub-account', async () => { const subAccountResponse = await billingTestHelper.userService.billingApi.createSubAccount({ - userID: billingTestHelper.userContext.id + businessOwnerID: billingTestHelper.userContext.id }); expect(subAccountResponse.status).to.be.eq(StatusCodes.CREATED); @@ -1073,21 +1081,24 @@ describeif(isBillingProperlyConfigured)('Billing', () => { const companyResponse = await billingTestHelper.userService.companyApi.create(CompanyFactory.build()); expect(companyResponse.status).to.be.eq(StatusCodes.OK); // Create a site + const platformFeeStrategy = BillingPlatformFeeStrategyFactory.build(); let siteResponse = await billingTestHelper.userService.siteApi.create({ ...SiteFactory.build(), companyID: companyResponse.data.id, - billingData: { - accountID: subAccountResponse.data.id + accountData: { + accountID: subAccountResponse.data.id, + platformFeeStrategy } }); expect(siteResponse.status).to.be.eq(StatusCodes.OK); siteResponse = await billingTestHelper.userService.siteApi.readById(siteResponse.data.id); - expect(siteResponse.data.billingData.accountID).to.eq(subAccountResponse.data.id); + expect(siteResponse.data.accountData.accountID).to.eq(subAccountResponse.data.id); + expect(siteResponse.data.accountData.platformFeeStrategy).to.deep.eq(platformFeeStrategy); }); it('should update a site to assign a sub-account', async () => { const subAccountResponse = await billingTestHelper.userService.billingApi.createSubAccount({ - userID: billingTestHelper.userContext.id + businessOwnerID: billingTestHelper.userContext.id }); expect(subAccountResponse.status).to.be.eq(StatusCodes.CREATED); @@ -1102,47 +1113,56 @@ describeif(isBillingProperlyConfigured)('Billing', () => { expect(siteResponse.status).to.be.eq(StatusCodes.OK); const siteID = siteResponse.data.id; + const platformFeeStrategy = BillingPlatformFeeStrategyFactory.build(); siteResponse = await billingTestHelper.userService.siteApi.update({ id: siteID, ...SiteFactory.build(), companyID: companyResponse.data.id, - billingData: { accountID: subAccountResponse.data.id } + accountData: { + accountID: subAccountResponse.data.id, + platformFeeStrategy + } }); expect(siteResponse.status).to.be.eq(StatusCodes.OK); siteResponse = await billingTestHelper.userService.siteApi.readById(siteID); - expect(siteResponse.data.billingData.accountID).to.eq(subAccountResponse.data.id); + expect(siteResponse.data.accountData.accountID).to.eq(subAccountResponse.data.id); + expect(siteResponse.data.accountData.platformFeeStrategy).to.deep.eq(platformFeeStrategy); }); it('should list sub-accounts', async () => { const subAccountResponse = await billingTestHelper.userService.billingApi.createSubAccount({ - userID: billingTestHelper.userContext.id + businessOwnerID: billingTestHelper.userContext.id }); expect(subAccountResponse.status).to.be.eq(StatusCodes.CREATED); // List sub-accounts - const subAccountsResponse = await billingTestHelper.userService.billingApi.readAllSubAccounts({}); + const subAccountsResponse = await billingTestHelper.userService.billingApi.readSubAccounts({ + userID: billingTestHelper.userContext.id, + ID: subAccountResponse.data.id + }); expect(subAccountsResponse.status).to.be.eq(StatusCodes.OK); expect(subAccountsResponse.data.result.map((subAccount: BillingAccount) => subAccount.id)).to.include(subAccountResponse.data.id); }); it('should read sub-account', async () => { const subAccountCreateResponse = await billingTestHelper.userService.billingApi.createSubAccount({ - userID: billingTestHelper.userContext.id + businessOwnerID: billingTestHelper.userContext.id }); expect(subAccountCreateResponse.status).to.be.eq(StatusCodes.CREATED); - // List sub-accounts + // Get the sub-account const subAccountResponse = await billingTestHelper.userService.billingApi.readSubAccount(subAccountCreateResponse.data.id); + const subAccount = subAccountResponse.data as BillingAccount; expect(subAccountResponse.status).to.be.eq(StatusCodes.OK); - expect(subAccountResponse.data.id).to.be.eq(subAccountCreateResponse.data.id); - expect(subAccountResponse.data.userID).to.be.eq(billingTestHelper.userContext.id); - expect(subAccountResponse.data.status).to.be.eq(BillingAccountStatus.IDLE); + expect(subAccount.id).to.be.eq(subAccountCreateResponse.data.id); + expect(subAccount.businessOwnerID).to.be.eq(billingTestHelper.userContext.id); + expect(subAccount.status).to.be.eq(BillingAccountStatus.IDLE); }); it('should send sub-account onboarding', async () => { const subAccountCreateResponse = await billingTestHelper.userService.billingApi.createSubAccount({ - userID: billingTestHelper.userContext.id + businessOwnerID: billingTestHelper.userContext.id }); expect(subAccountCreateResponse.status).to.be.eq(StatusCodes.CREATED); @@ -1153,7 +1173,7 @@ describeif(isBillingProperlyConfigured)('Billing', () => { it('should not able to send sub-account onboarding twice', async () => { const subAccountCreateResponse = await billingTestHelper.userService.billingApi.createSubAccount({ - userID: billingTestHelper.userContext.id + businessOwnerID: billingTestHelper.userContext.id }); expect(subAccountCreateResponse.status).to.be.eq(StatusCodes.CREATED); @@ -1168,7 +1188,7 @@ describeif(isBillingProperlyConfigured)('Billing', () => { it('should not able to send sub-account onboarding for an activated sub-account', async () => { // Create the sub account const subAccountCreateResponse = await billingTestHelper.userService.billingApi.createSubAccount({ - userID: billingTestHelper.userContext.id + businessOwnerID: billingTestHelper.userContext.id }); expect(subAccountCreateResponse.status).to.be.eq(StatusCodes.CREATED); // Send onboarding @@ -1184,6 +1204,24 @@ describeif(isBillingProperlyConfigured)('Billing', () => { expect(subAccountOnboardResponse.status).to.be.eq(StatusCodes.INTERNAL_SERVER_ERROR); }); }); + + describe('Transfers', () => { + it('should list transfers', async () => { + const transfer = BillingTransferFactory.build(); + const transferID = await BillingStorage.saveTransfer(billingTestHelper.tenantContext.getTenant(), transfer); + transfer.id = transferID; + // const transfersResponse = await billingTestHelper.userService.billingApi.readTransfers({},{ limit: 1, skip: 0 }, [{ field: '-createdOn' }]); + const transfersResponse = await billingTestHelper.userService.billingApi.readTransfers({ ID: transferID }); + expect(transfersResponse.status).to.be.eq(StatusCodes.OK); + const savedTransfer = transfersResponse.data.result?.[0]; + expect(savedTransfer).not.to.be.null; + delete savedTransfer.createdOn; + delete savedTransfer.createdBy; + delete savedTransfer.lastChangedOn; + delete savedTransfer.lastChangedBy; + expect(savedTransfer).to.containSubset(transfer); + }); + }); }); describe('Where basic user', () => { @@ -1200,32 +1238,62 @@ describeif(isBillingProperlyConfigured)('Billing', () => { it('should not be able to create a sub account', async () => { const response = await billingTestHelper.userService.billingApi.createSubAccount({ - userID: billingTestHelper.userContext.id + businessOwnerID: billingTestHelper.userContext.id }); expect(response.status).to.be.eq(StatusCodes.FORBIDDEN); }); it('should not activate an inexistent sub account', async () => { - const activationResponse = await billingTestHelper.userService.billingApi.activateSubAccount({ accountID: '5ce249a1a39ae1c056c389bd', TenantID: billingTestHelper.tenantContext.getTenant().id }); + const activationResponse = await billingTestHelper.userService.billingApi.activateSubAccount({ + accountID: '5ce249a1a39ae1c056c389bd', // inexistent sub account + TenantID: billingTestHelper.tenantContext.getTenant().id + }); expect(activationResponse.status).to.be.eq(StatusCodes.NOT_FOUND); }); it('should not be able to list sub-accounts', async () => { - const subAccountsResponse = await billingTestHelper.userService.billingApi.readAllSubAccounts({}); + const subAccountsResponse = await billingTestHelper.userService.billingApi.readSubAccounts({}); expect(subAccountsResponse.status).to.be.eq(StatusCodes.FORBIDDEN); }); it('should not be able to read sub-account', async () => { // List sub-accounts - const subAccountResponse = await billingTestHelper.userService.billingApi.readSubAccount('62978713f146ea8cb3bf8a95'); + const subAccountResponse = await billingTestHelper.userService.billingApi.readSubAccount('62978713f146ea8cb3bf8a95'); // inexistent sub account expect(subAccountResponse.status).to.be.eq(StatusCodes.FORBIDDEN); }); it('should not be able to send sub-account onboarding', async () => { // List sub-accounts - const subAccountResponse = await billingTestHelper.userService.billingApi.sendSubAccountOnboarding('62978713f146ea8cb3bf8a95'); + const subAccountResponse = await billingTestHelper.userService.billingApi.sendSubAccountOnboarding('62978713f146ea8cb3bf8a95'); // inexistent sub account expect(subAccountResponse.status).to.be.eq(StatusCodes.FORBIDDEN); }); + + it('should not be able to list transfers', async () => { + const transfersResponse = await billingTestHelper.userService.billingApi.readTransfers({}); + expect(transfersResponse.status).to.be.eq(StatusCodes.FORBIDDEN); + }); + }); + + describe('Storage', () => { + it('should save a billing transfer', async () => { + const transfer = BillingTransferFactory.build(); + const transferID = await BillingStorage.saveTransfer(billingTestHelper.tenantContext.getTenant(), transfer); + expect(transferID).to.not.be.null; + + const retrievedTransfer = await BillingStorage.getTransferByID(billingTestHelper.tenantContext.getTenant(), transferID); + expect(retrievedTransfer).to.containSubset(transfer); + }); + + it('should list billing transfers', async () => { + const transfers = [ + BillingTransferFactory.build(), + BillingTransferFactory.build(), + ]; + const ids = await Promise.all(transfers.map(async (transfer) => BillingStorage.saveTransfer(billingTestHelper.tenantContext.getTenant(), transfer))); + + const retrievedTransfers = await BillingStorage.getTransfers(billingTestHelper.tenantContext.getTenant(), {}, Constants.DB_PARAMS_MAX_LIMIT); + expect(retrievedTransfers.result.map((transfer) => transfer.id)).to.include.members(ids); + }); }); }); diff --git a/test/api/client/BillingApi.ts b/test/api/client/BillingApi.ts index f4ef8ee1dd..8ba7b39f3d 100644 --- a/test/api/client/BillingApi.ts +++ b/test/api/client/BillingApi.ts @@ -49,7 +49,7 @@ export default class BillingApi extends CrudApi { } public async readInvoices(params, paging = TestConstants.DEFAULT_PAGING, ordering = TestConstants.DEFAULT_ORDERING) { - return super.readAll(params, paging, ordering, super.buildRestEndpointUrl(RESTServerRoute.REST_BILLING_INVOICES, params)); + return super.readAll(params, paging, ordering, super.buildRestEndpointUrl(RESTServerRoute.REST_BILLING_INVOICES)); } public async createSubAccount(params) { @@ -60,7 +60,7 @@ export default class BillingApi extends CrudApi { return super.patch(params, super.buildUtilRestEndpointUrl(RESTServerRoute.REST_BILLING_SUB_ACCOUNT_ACTIVATE, { id: params.accountID })); } - public async readAllSubAccounts(params, paging = TestConstants.DEFAULT_PAGING, ordering = TestConstants.DEFAULT_ORDERING) { + public async readSubAccounts(params, paging = TestConstants.DEFAULT_PAGING, ordering = TestConstants.DEFAULT_ORDERING) { return super.readAll(params, paging, ordering, super.buildRestEndpointUrl(RESTServerRoute.REST_BILLING_SUB_ACCOUNTS)); } @@ -71,4 +71,8 @@ export default class BillingApi extends CrudApi { public async sendSubAccountOnboarding(id: string) { return super.patch({}, super.buildRestEndpointUrl(RESTServerRoute.REST_BILLING_SUB_ACCOUNT_ONBOARD, { id })); } + + public async readTransfers(params, paging = TestConstants.DEFAULT_PAGING, ordering = TestConstants.DEFAULT_ORDERING) { + return super.readAll(params, paging, ordering, super.buildRestEndpointUrl(RESTServerRoute.REST_BILLING_TRANSFERS)); + } } diff --git a/test/api/context/ContextBuilder.ts b/test/api/context/ContextBuilder.ts index f4b763203f..a96a15d698 100644 --- a/test/api/context/ContextBuilder.ts +++ b/test/api/context/ContextBuilder.ts @@ -100,7 +100,7 @@ export default class ContextBuilder { if (process.env.TENANT_FILTER) { // Just an optimization allowing to only initialize a single tenant // e.g.: npm run mochatest:create:utbilling - tenantDefinitions = ContextDefinition.TENANT_CONTEXT_LIST.filter((def) => def.subdomain === process.env.TENANT_FILTER); + tenantDefinitions = ContextDefinition.TENANT_CONTEXT_LIST.filter((def) => RegExp(process.env.TENANT_FILTER).exec(def.subdomain)); } for (const tenantContextDef of tenantDefinitions) { await this.buildTenantContext(tenantContextDef); diff --git a/test/factories/BillingFactory.ts b/test/factories/BillingFactory.ts new file mode 100644 index 0000000000..6ab1934a95 --- /dev/null +++ b/test/factories/BillingFactory.ts @@ -0,0 +1,31 @@ +import { BillingPlatformFeeStrategy, BillingTransfer, BillingTransferSession, BillingTransferStatus } from '../../src/types/Billing'; + +import { Factory } from 'rosie'; +import faker from 'faker'; + +export const BillingTransferFactory = Factory.define('billingtransfer') + .attr('amount', () => faker.datatype.number()) + .attr('accountID', () => faker.datatype.hexaDecimal(24).substring(2).toLowerCase()) + .attr('status', () => faker.random.arrayElement([BillingTransferStatus.DRAFT, BillingTransferStatus.PENDING, BillingTransferStatus.TRANSFERRED])) + .attr('transferredAmount', () => faker.datatype.number()) + .attr('transferExternalID', () => faker.datatype.uuid()) + .attr('platformFeeData', () => ({ + feeAmount: faker.datatype.number(), + feeTaxAmount: faker.datatype.number(), + taxExternalID: faker.datatype.uuid(), + invoiceExternalID: faker.datatype.uuid(), + })) + .attr('sessions', () => + [BillingTransferSessionFactory.build()]); + +export const BillingTransferSessionFactory = Factory.define('billingtransfersession') + .attr('transactionID', () => faker.datatype.number()) + .attr('amount', () => faker.datatype.number()) + .attr('platformFeeStrategy', () => ({ + flatFeePerSession: faker.datatype.number(), + percentage: faker.datatype.number(), + })); + +export const BillingPlatformFeeStrategyFactory = Factory.define('billingplatformfeestrategy') + .attr('flatFeePerSession', () => faker.datatype.number()) + .attr('percentage', () => faker.datatype.number());