{ "info": { "_postman_id": "d8e906d2-ab2f-456c-95da-9e98c10ab860", "name": "API RPA", "description": "API RPA", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "v1/ext_process", "item": [ { "name": "create", "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"auth_tkn\":\"5d5ec66f-357d-4c2d-bbc1-2012278d2361\",\n\t\"ext_ctx\":{\n\t\t\"uuid\":\"\",\n\t\t\"ext_id\":\"125\",\n\t\t\"name\":\"Процесс 3 (внешняя)\",\n\t\t\"desc\":\"Описание процесса 3 внешней системы \",\n\t\t\"ctx\":[\n\t\t\t{\n\t\t\t\t\"name\":\"name11\",\n\t\t\t\t\"desc\":\"2\",\n\t\t\t\t\"type\":\"string\",\n\t\t\t\t\"elementType\":\"\",\n\t\t\t\t\"scope\":\"In\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"name\":\"name2\",\n\t\t\t\t\"desc\":\"2\",\n\t\t\t\t\"type\":\"double\",\n\t\t\t\t\"elementType\":\"\",\n\t\t\t\t\"scope\":\"Out\"\n\t\t\t}\t\t\t\n\t\t]\n\t}\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://rpa-server.sale.elewise.com:48080/v1/ext_process/create", "protocol": "http", "host": [ "rpa-server", "sale", "elewise", "com" ], "port": "48080", "path": [ "v1", "ext_process", "create" ] } }, "response": [] }, { "name": "read", "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"auth_tkn\":\"5d5ec66f-357d-4c2d-bbc1-2012278d2361\",\n\t\"uuid\":\"79c8947e-a32b-426c-8b9a-ad4d81c556b7\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://rpa-server.sale.elewise.com:48080/v1/ext_process/read", "protocol": "http", "host": [ "rpa-server", "sale", "elewise", "com" ], "port": "48080", "path": [ "v1", "ext_process", "read" ] } }, "response": [] }, { "name": "update", "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"auth_tkn\":\"5d5ec66f-357d-4c2d-bbc1-2012278d2362\",\n\t\"ext_ctx\":{\n\t\t\"uuid\":\"abd862a2-025e-4133-8549-fa987e69805f\",\n\t\t\"ext_id\":\"id ELMA процесса\",\n\t\t\"name\":\"RPA_test\",\n\t\t\"desc\":\"Процесс тестирования RPA решения\",\n\t\t\"ctx\":[\n\t\t\t{\n\t\t\t\t\"name\":\"inputStr\",\n\t\t\t\t\"desc\":\"Строка для ввода в блокнот\",\n\t\t\t\t\"type\":\"string\",\n\t\t\t\t\"elementType\":\"\",\n\t\t\t\t\"scope\":\"In\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"name\":\"inputStr\",\n\t\t\t\t\"desc\":\"Строка для ввода в блокнот\",\n\t\t\t\t\"type\":\"string\",\n\t\t\t\t\"elementType\":\"\",\n\t\t\t\t\"scope\":\"In\"\n\t\t\t}\t\t\t\n\t\t]\n\t}\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://rpa-server.sale.elewise.com:48080/v1/ext_process/update", "protocol": "http", "host": [ "rpa-server", "sale", "elewise", "com" ], "port": "48080", "path": [ "v1", "ext_process", "update" ] } }, "response": [] }, { "name": "delete", "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"auth_tkn\":\"5d5ec66f-357d-4c2d-bbc1-2012278d2361\",\n\t\"uuid\":\"eac9a49c-620f-4941-81e6-5c23060805f2\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://rpa-server.sale.elewise.com:48080/v1/ext_process/delete", "protocol": "http", "host": [ "rpa-server", "sale", "elewise", "com" ], "port": "48080", "path": [ "v1", "ext_process", "delete" ] } }, "response": [] }, { "name": "list", "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"auth_tkn\":\"5d5ec66f-357d-4c2d-bbc1-2012278d2361\",\n\t\"page\":0,\n\t\"limit\":0,\n\t\"ext_id\":\"\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://rpa-server.sale.elewise.com:48080/v1/ext_process/list", "protocol": "http", "host": [ "rpa-server", "sale", "elewise", "com" ], "port": "48080", "path": [ "v1", "ext_process", "list" ] } }, "response": [] } ], "description": "API загрузки шаблонов процессов от внешней системы. Данные процессы могут являтся шаблонами для создания процессов в RPA.", "event": [ { "listen": "prerequest", "script": { "id": "bbebab76-4494-4d8e-943c-1fc3ee114086", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "1f728767-ff24-41d7-96d6-9adb2d15eef7", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {} }, { "name": "Authentication", "item": [ { "name": "Request to register an external system", "request": { "method": "POST", "header": [ { "key": "", "type": "text", "value": "3bc723f5-4a81-4c72-9b7b-659be7881e80", "disabled": true }, { "key": "name", "type": "text", "value": "0YLQtdGB0YLQvtCy0LDRjyDRgdC40YHRgtC10LzQsA==", "disabled": true }, { "key": "desc", "type": "text", "value": "0JfQsNC/0YDQvtGBINC+0YIg0YLQtdGB0YLQvtCy0L7QuSDRgdC40YHRgtC10LzRiw==", "disabled": true }, { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n\t\"uuid\":\"5d5ec66f-357d-4c2d-bbc1-2012278d2361\",\n\t\"name\":\"Название системы\",\n\t\"desc\":\"Описание системы\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://rpa-server.sale.elewise.com:48080/v1/orchestra/system/registration", "protocol": "http", "host": [ "rpa-server", "sale", "elewise", "com" ], "port": "48080", "path": [ "v1", "orchestra", "system", "registration" ] }, "description": "Запрос на регистрацию системы" }, "response": [] }, { "name": "Checking access rights", "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"uuid\":\"5d5ec66f-357d-4c2d-bbc1-2012278d2361\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://rpa-server.sale.elewise.com:48080/v1/orchestra/system/status", "protocol": "http", "host": [ "rpa-server", "sale", "elewise", "com" ], "port": "48080", "path": [ "v1", "orchestra", "system", "status" ] }, "description": "Проверка статуса авторизации" }, "response": [] } ], "description": "API аутентификации", "event": [ { "listen": "prerequest", "script": { "id": "bb1d62d6-944a-4f03-9533-def5201c93d6", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "e9a7582e-78ca-4bb8-afa6-630ec310a714", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {} }, { "name": "Task", "item": [ { "name": "Create task", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\"auth_tkn\":\"5d5ec66f-357d-4c2d-bbc1-2012278d2361\",\n\"task\":\n\t{\n\t\"process\":\"c39f99de-cb8f-4661-a206-b282a4830cbf\",\n\t\"version\":0,\n\t\"ctx\": \"{\\\"StringParam_in\\\":\\\"Строковое значение\\\",\\\"FileParam_in\\\":\\\"http://127.0.0.1:8088/v1/task/download_elma?uid=c054ab8e-cd33-429e-b4f3-7f61abcfd381&system=5d5ec66f-357d-4c2d-bbc1-2012278d2361\\\",\\\"DateTimeParam_in\\\":\\\"2020-03-22T00:00:00Z\\\",\\\"BoolParam_in\\\":true,\\\"DoubleParam_in\\\":12.2,\\\"IntParam_in\\\":76,\\\"ArrayParam_in\\\":[\\\"http://127.0.0.1:8088/v1/task/download_elma?uid=c054ab8e-cd33-429e-b4f3-7f61abcfd381&system=5d5ec66f-357d-4c2d-bbc1-2012278d2361\\\",\\\"http://127.0.0.1:8088/v1/task/download_elma?uid=c054ab8e-cd33-429e-b4f3-7f61abcfd381&system=5d5ec66f-357d-4c2d-bbc1-2012278d2361\\\"]}\"\n\t}\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://rpa-server.sale.elewise.com:48080/v1/orchestra/task/create", "protocol": "http", "host": [ "rpa-server", "sale", "elewise", "com" ], "port": "48080", "path": [ "v1", "orchestra", "task", "create" ] }, "description": "Создание задачи" }, "response": [] }, { "name": "Receive the status", "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"auth_tkn\":\"5d5ec66f-357d-4c2d-bbc1-2012278d2362\",\n \"id\":955\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://rpa-server.sale.elewise.com:48080/v1/orchestra/task/status", "protocol": "http", "host": [ "rpa-server", "sale", "elewise", "com" ], "port": "48080", "path": [ "v1", "orchestra", "task", "status" ] }, "description": "Получение статуса задачи" }, "response": [] }, { "name": "Get the outgoing context file", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"auth_tkn\":\"5d5ec66f-357d-4c2d-bbc1-2012278d2362\",\n\t\"taskid\":717,\n\t\"filename\":\"12.txt\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://rpa-server.sale.elewise.com:48080/v1/repository/task/download", "protocol": "http", "host": [ "rpa-server", "sale", "elewise", "com" ], "port": "48080", "path": [ "v1", "repository", "task", "download" ] }, "description": "Получение файла из исходящего контекста" }, "response": [] } ], "description": "API оркестратора для постановки задач и получения статуса их выполнения", "event": [ { "listen": "prerequest", "script": { "id": "90b8cf73-b1bc-494b-a0e3-934067280902", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "1ac93a31-4ee4-4ccb-a673-04f838bcd1bb", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {} }, { "name": "Repository", "item": [ { "name": "Get a list of current versions of processes", "request": { "method": "POST", "header": [ { "key": "", "value": "", "type": "text", "disabled": true }, { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"auth_tkn\":\"5d5ec66f-357d-4c2d-bbc1-2012278d2362\",\n\t\"page\":0,\n\t\"limit\":0\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://rpa-server.sale.elewise.com:48080/v1/repository/actual", "protocol": "http", "host": [ "rpa-server", "sale", "elewise", "com" ], "port": "48080", "path": [ "v1", "repository", "actual" ] }, "description": "Перечень актуальных версий процессов" }, "response": [] }, { "name": "Get a list of process versions", "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"auth_tkn\":\"5d5ec66f-357d-4c2d-bbc1-2012278d2362\",\n\t\"page\":0,\n\t\"limit\":0,\n\t\"token\":\"c39f99de-cb8f-4661-a206-b282a4830cbf\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://rpa-server.sale.elewise.com:48080/v1/repository/history", "protocol": "http", "host": [ "rpa-server", "sale", "elewise", "com" ], "port": "48080", "path": [ "v1", "repository", "history" ] }, "description": "История версий процесса" }, "response": [] }, { "name": "Finding a description of the process", "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n\t\"auth_tkn\":\"5d5ec66f-357d-4c2d-bbc1-2012278d2362\",\n\t\"token\":\"c39f99de-cb8f-4661-a206-b282a4830cbf\",\n\t\"version\":0\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://rpa-server.sale.elewise.com:48080/v1/repository/find", "protocol": "http", "host": [ "rpa-server", "sale", "elewise", "com" ], "port": "48080", "path": [ "v1", "repository", "find" ] }, "description": "Получение данных о процессе по его токену и версии, если версию передать 0, то берется последняя актуальная версия" }, "response": [] }, { "name": "Get the process context", "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n\t\"auth_tkn\":\"5d5ec66f-357d-4c2d-bbc1-2012278d2362\",\r\n\t\"uuid\":\"cb2540fc-ce3a-4ffc-bb36-9f040c0d9ad8\" \r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://rpa-server.sale.elewise.com:48080/v1/repository/context", "protocol": "http", "host": [ "rpa-server", "sale", "elewise", "com" ], "port": "48080", "path": [ "v1", "repository", "context" ] }, "description": "Получение контекста процесса" }, "response": [] } ], "description": "API получения информаци о процессах из репозиторя RPA", "event": [ { "listen": "prerequest", "script": { "id": "450343ca-ca8b-48cc-8d1f-9640ad100440", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "dffbfa6f-9dc6-482d-9644-fafd5e663117", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {} } ], "event": [ { "listen": "prerequest", "script": { "id": "e86e1a64-c46b-4abe-a7a1-6168c8676005", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "19de1b75-64d6-440e-9d10-94222c26ef78", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {} }