Files
verver-tools/postman/mf17a.postman_collection.json
2018-04-26 22:40:20 +02:00

2340 lines
52 KiB
JSON

{
"info": {
"_postman_id": "9e40ead2-65a2-4eb9-be5b-b3030bdf0773",
"name": "mf17a",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Users",
"description": "Requests on /users endpoint.",
"item": [
{
"name": "createUser()",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "getUsers()",
"request": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "getUser(id)",
"request": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{url}}/users/1",
"host": [
"{{url}}"
],
"path": [
"users",
"1"
]
}
},
"response": []
},
{
"name": "updateUser(id)",
"request": {
"method": "PUT",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"anotheradress2@test.com\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": [],\n \"contact\": null\n}"
},
"url": {
"raw": "{{url}}/users/7",
"host": [
"{{url}}"
],
"path": [
"users",
"7"
]
}
},
"response": []
},
{
"name": "deleteUser(id)",
"request": {
"method": "DELETE",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{url}}/users/3",
"host": [
"{{url}}"
],
"path": [
"users",
"3"
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"id": "e77eeedf-7719-4683-b2ff-a1faed5dbf2c",
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "c39bcc0e-6ddd-4258-9027-e46e06c35a97",
"type": "text/javascript",
"exec": [
""
]
}
}
]
},
{
"name": "Contacts",
"description": "Requests on /contacts endpoint.",
"item": [
{
"name": "createContact()",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"014825693\",\n \"address\": \"Teststr. 42, 04318 Leipzig\",\n \"bankDetails\": \"string\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "getContacts()",
"request": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"name\": \"David\"\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "getContact(id)",
"request": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{url}}/contacts/2",
"host": [
"{{url}}"
],
"path": [
"contacts",
"2"
]
}
},
"response": []
},
{
"name": "updateContact(id)",
"request": {
"method": "PUT",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact3@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"0123456\",\n \"address\": \"NewAddressStr. 42, 04318 Leipzig\",\n \"bankDetails\": \"newBankDetails\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts/1",
"host": [
"{{url}}"
],
"path": [
"contacts",
"1"
]
}
},
"response": []
},
{
"name": "deleteContact(id)",
"request": {
"method": "DELETE",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{url}}/contacts/1",
"host": [
"{{url}}"
],
"path": [
"contacts",
"1"
]
}
},
"response": []
}
]
},
{
"name": "Groups",
"description": "Requests on /groups endpoint.",
"item": [
{
"name": "createGroup()",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"Mustergruppe\",\n \"permission\": \"ADMINISTRATION\",\n \"contacts\": [],\n \"responsibles\": [],\n \"users\": []\n}"
},
"url": {
"raw": "{{url}}/groups",
"host": [
"{{url}}"
],
"path": [
"groups"
]
}
},
"response": []
},
{
"name": "getGroups()",
"request": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{url}}/groups",
"host": [
"{{url}}"
],
"path": [
"groups"
]
}
},
"response": []
},
{
"name": "getGroup(id)",
"request": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{url}}/groups/1",
"host": [
"{{url}}"
],
"path": [
"groups",
"1"
]
}
},
"response": []
},
{
"name": "updateGroup(id)",
"request": {
"method": "PUT",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"Mustergruppe2\",\n \"permission\": \"ADMINISTRATION\",\n \"contacts\": [],\n \"responsibles\": [],\n \"users\": []\n}"
},
"url": {
"raw": "{{url}}/groups/6",
"host": [
"{{url}}"
],
"path": [
"groups",
"6"
]
}
},
"response": []
},
{
"name": "deleteGroup(id)",
"request": {
"method": "DELETE",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{url}}/groups/1",
"host": [
"{{url}}"
],
"path": [
"groups",
"1"
]
}
},
"response": []
}
]
},
{
"name": "Roles",
"description": "Requests on /roles endpoint.",
"item": [
{
"name": "createRole()",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"Musterrolle\",\n \"permissions\": [],\n \"users\": []\n}"
},
"url": {
"raw": "{{url}}/roles",
"host": [
"{{url}}"
],
"path": [
"roles"
]
}
},
"response": []
},
{
"name": "getRoles()",
"request": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{url}}/roles",
"host": [
"{{url}}"
],
"path": [
"roles"
]
}
},
"response": []
},
{
"name": "getRole(id)",
"request": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{url}}/roles/1",
"host": [
"{{url}}"
],
"path": [
"roles",
"1"
]
}
},
"response": []
},
{
"name": "updateRole(id)",
"request": {
"method": "PUT",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"UpdatedMusterrolle\",\n \"permissions\": [],\n \"users\": []\n}"
},
"url": {
"raw": "{{url}}/roles/1",
"host": [
"{{url}}"
],
"path": [
"roles",
"1"
]
}
},
"response": []
},
{
"name": "deleteRole(id)",
"request": {
"method": "DELETE",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{url}}/roles/1",
"host": [
"{{url}}"
],
"path": [
"roles",
"1"
]
}
},
"response": []
}
]
},
{
"name": "Login",
"description": "Logging in as sereval different principals. Currently these are hardcoded into the database.",
"item": [
{
"name": "Login as admin",
"event": [
{
"listen": "test",
"script": {
"id": "01f9971f-cec7-4d43-a6cb-59e7438c7b9e",
"type": "text/javascript",
"exec": [
"var data = JSON.parse(responseBody);",
"postman.setEnvironmentVariable(\"token\", data.access_token);"
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"username\": \"admin@test.com\",\n\t\"password\": \"admin\"\n}"
},
"url": {
"raw": "{{url}}/login",
"host": [
"{{url}}"
],
"path": [
"login"
]
}
},
"response": []
},
{
"name": "Login as admin2",
"event": [
{
"listen": "test",
"script": {
"id": "1962db94-33ba-4d77-8bf8-6602c1354f61",
"type": "text/javascript",
"exec": [
"var data = JSON.parse(responseBody);",
"postman.setEnvironmentVariable(\"token\", data.access_token);"
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"username\": \"admin2@test.com\",\n\t\"password\": \"admin\"\n}"
},
"url": {
"raw": "{{url}}/login",
"host": [
"{{url}}"
],
"path": [
"login"
]
}
},
"response": []
},
{
"name": "Login as user",
"event": [
{
"listen": "test",
"script": {
"id": "e35b5d35-1922-4bd2-9eea-369789350bce",
"type": "text/javascript",
"exec": [
"var data = JSON.parse(responseBody);",
"postman.setEnvironmentVariable(\"token\", data.access_token);"
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"username\": \"user@test.com\",\n\t\"password\": \"password\"\n}"
},
"url": {
"raw": "{{url}}/login",
"host": [
"{{url}}"
],
"path": [
"login"
]
}
},
"response": []
},
{
"name": "Login as disabled user",
"event": [
{
"listen": "test",
"script": {
"id": "4b97e33b-955e-4872-9257-b0429485a2df",
"type": "text/javascript",
"exec": [
"var data = JSON.parse(responseBody);",
"postman.setEnvironmentVariable(\"token\", data.access_token);"
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"username\": \"disabled@test.com\",\n\t\"password\": \"password\"\n}"
},
"url": {
"raw": "{{url}}/login",
"host": [
"{{url}}"
],
"path": [
"login"
]
}
},
"response": []
}
]
},
{
"name": "Sugnup",
"description": null,
"item": [
{
"name": "Signup as user",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"email4signup@test.com\",\n \"password\": \"testPW\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/signup",
"host": [
"{{url}}"
],
"path": [
"signup"
]
}
},
"response": []
},
{
"name": "Activate user",
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{url}}/signup/(addYourToken)",
"host": [
"{{url}}"
],
"path": [
"signup",
"(addYourToken)"
]
}
},
"response": []
}
]
},
{
"name": "Logout",
"description": null,
"item": [
{
"name": "Logout",
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{url}}/logout",
"host": [
"{{url}}"
],
"path": [
"logout"
]
}
},
"response": []
}
]
},
{
"name": "Populate database",
"description": "",
"item": [
{
"name": "Login as admin Copy",
"event": [
{
"listen": "test",
"script": {
"id": "01f9971f-cec7-4d43-a6cb-59e7438c7b9e",
"type": "text/javascript",
"exec": [
"var data = JSON.parse(responseBody);",
"postman.setEnvironmentVariable(\"token\", data.access_token);"
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"username\": \"admin@test.com\",\n\t\"password\": \"admin\"\n}"
},
"url": {
"raw": "{{url}}/login",
"host": [
"{{url}}"
],
"path": [
"login"
]
}
},
"response": []
},
{
"name": "createUser() Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "createUser() Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser1@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "createUser() Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser2@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "createUser() Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser3@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "createUser() Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser4@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "createUser() Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser5@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "createUser() Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser6@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "createUser() Copy Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser7@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "createUser() Copy Copy Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser8@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "createUser() Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser9@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "createUser() Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser10@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "createUser() Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser11@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "createUser() Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser12@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "createUser() Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser13@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "createUser() Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser14@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "createUser() Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser15@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "createUser() Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser16@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "createUser() Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser17@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "createUser() Copy Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser18@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "createUser() Copy Copy Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser19@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "createUser() Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"Testuser20@test.de\",\n \"password\": \"nullseinszweidrei\",\n \"enabled\": true,\n \"admin\": true,\n \"roles\": [],\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/users",
"host": [
"{{url}}"
],
"path": [
"users"
]
}
},
"response": []
},
{
"name": "createContact() Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact1@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"014825693\",\n \"address\": \"Teststr. 42, 04318 Leipzig\",\n \"bankDetails\": \"string\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "createContact() Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact2@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"014825693\",\n \"address\": \"Teststr. 42, 04318 Leipzig\",\n \"bankDetails\": \"string\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "createContact() Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact3@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"014825693\",\n \"address\": \"Teststr. 42, 04318 Leipzig\",\n \"bankDetails\": \"string\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "createContact() Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact4@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"014825693\",\n \"address\": \"Teststr. 42, 04318 Leipzig\",\n \"bankDetails\": \"string\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "createContact() Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact5@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"014825693\",\n \"address\": \"Teststr. 42, 04318 Leipzig\",\n \"bankDetails\": \"string\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "createContact() Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact6@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"014825693\",\n \"address\": \"Teststr. 42, 04318 Leipzig\",\n \"bankDetails\": \"string\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "createContact() Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact7@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"014825693\",\n \"address\": \"Teststr. 42, 04318 Leipzig\",\n \"bankDetails\": \"string\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "createContact() Copy Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact8@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"014825693\",\n \"address\": \"Teststr. 42, 04318 Leipzig\",\n \"bankDetails\": \"string\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "createContact() Copy Copy Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact9@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"014825693\",\n \"address\": \"Teststr. 42, 04318 Leipzig\",\n \"bankDetails\": \"string\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "createContact() Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact10@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"014825693\",\n \"address\": \"Teststr. 42, 04318 Leipzig\",\n \"bankDetails\": \"string\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "createContact() Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact11@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"014825693\",\n \"address\": \"Teststr. 42, 04318 Leipzig\",\n \"bankDetails\": \"string\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "createContact() Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact12@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"014825693\",\n \"address\": \"Teststr. 42, 04318 Leipzig\",\n \"bankDetails\": \"string\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "createContact() Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact13@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"014825693\",\n \"address\": \"Teststr. 42, 04318 Leipzig\",\n \"bankDetails\": \"string\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "createContact() Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact14@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"014825693\",\n \"address\": \"Teststr. 42, 04318 Leipzig\",\n \"bankDetails\": \"string\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "createContact() Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact15@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"014825693\",\n \"address\": \"Teststr. 42, 04318 Leipzig\",\n \"bankDetails\": \"string\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "createContact() Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact16@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"014825693\",\n \"address\": \"Teststr. 42, 04318 Leipzig\",\n \"bankDetails\": \"string\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "createContact() Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact17@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"014825693\",\n \"address\": \"Teststr. 42, 04318 Leipzig\",\n \"bankDetails\": \"string\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "createContact() Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact18@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"014825693\",\n \"address\": \"Teststr. 42, 04318 Leipzig\",\n \"bankDetails\": \"string\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "createContact() Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact19@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"014825693\",\n \"address\": \"Teststr. 42, 04318 Leipzig\",\n \"bankDetails\": \"string\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "createContact() Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"testcontact20@test.com\",\n \"firstName\": \"TestFirstName\",\n \"lastName\": \"TestLastName\",\n \"phone\": \"014825693\",\n \"address\": \"Teststr. 42, 04318 Leipzig\",\n \"bankDetails\": \"string\",\n \"groups\": []\n}"
},
"url": {
"raw": "{{url}}/contacts",
"host": [
"{{url}}"
],
"path": [
"contacts"
]
}
},
"response": []
},
{
"name": "createGroup() Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"Mustergruppe1\",\n \"permission\": \"ADMINISTRATION\",\n \"contacts\": [1,2,3,4],\n \"responsibles\": [5,6,7,8],\n \"users\": [9,10,11,12]\n}"
},
"url": {
"raw": "{{url}}/groups",
"host": [
"{{url}}"
],
"path": [
"groups"
]
}
},
"response": []
},
{
"name": "createGroup() Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"Mustergruppe2\",\n \"permission\": \"ADMINISTRATION\",\n \"contacts\": [2,3,4,5],\n \"responsibles\": [6,7,8,9],\n \"users\": [5,6,7,8]\n}"
},
"url": {
"raw": "{{url}}/groups",
"host": [
"{{url}}"
],
"path": [
"groups"
]
}
},
"response": []
},
{
"name": "createGroup() Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"Mustergruppe3\",\n \"permission\": \"ADMINISTRATION\",\n \"contacts\": [9,10,11,12],\n \"responsibles\": [11,12,13,14],\n \"users\": [15,16,17,18]\n}"
},
"url": {
"raw": "{{url}}/groups",
"host": [
"{{url}}"
],
"path": [
"groups"
]
}
},
"response": []
},
{
"name": "createGroup() Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"Mustergruppe4\",\n \"permission\": \"ADMINISTRATION\",\n \"contacts\": [14,15,16,17],\n \"responsibles\": [17,18,19,20],\n \"users\": [1,2,3,4]\n}"
},
"url": {
"raw": "{{url}}/groups",
"host": [
"{{url}}"
],
"path": [
"groups"
]
}
},
"response": []
},
{
"name": "createGroup() Copy Copy Copy Copy Copy",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"Mustergruppe5\",\n \"permission\": \"ADMINISTRATION\",\n \"contacts\": [5,6,15,16],\n \"responsibles\": [17,19,1,3],\n \"users\": [1,2,3,4]\n}"
},
"url": {
"raw": "{{url}}/groups",
"host": [
"{{url}}"
],
"path": [
"groups"
]
}
},
"response": []
}
]
}
]
}