* apply and misapply by open contracts + modals

feature: #8
This commit is contained in:
2023-01-08 00:30:41 +01:00
parent 1872097882
commit 1f9db78a4f
12 changed files with 411 additions and 83 deletions

View File

@@ -190,7 +190,107 @@
"_postman_previewlanguage": null,
"header": null,
"cookie": [],
"body": "{\r\n \"openContracts\": [\r\n {\r\n \"id\" : \"DZ22\",\r\n \"name\" : \"Name1\",\r\n \"status\" : \"open\",\r\n \"appointment\" : \"2020-01-01T12:00:00Z\",\r\n \"notes\" : \"From Feb 2023 To March 2023\"\r\n },\r\n {\r\n \"id\" : \"PC22\",\r\n \"name\" : \"Name2\",\r\n \"status\" : \"open\",\r\n \"appointment\" : \"2020-01-12T12:00:00Z\",\r\n \"notes\" : \"From Feb 2023 To March 2023\"\r\n }\r\n ]\r\n}"
"body": "{\r\n \"openContracts\": [\r\n {\r\n \"id\" : \"DZ22\",\r\n \"name\" : \"Name1\",\r\n \"status\" : \"open\",\r\n \"appointment\" : \"2020-01-01T12:00:00Z\",\r\n \"notes\" : \"From Feb 2023 To March 2023\",\r\n \"registered\" : true\r\n },\r\n {\r\n \"id\" : \"PC22\",\r\n \"name\" : \"Name2\",\r\n \"status\" : \"open\",\r\n \"appointment\" : \"2020-01-12T12:00:00Z\",\r\n \"notes\" : \"From Feb 2023 To March 2023\",\r\n \"registered\" : false\r\n }\r\n ]\r\n}"
}
]
},
{
"name": "Apply for contract",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"id\" : \"DZ2022\",\r\n \"role\" : \"leiter\"\r\n}"
},
"url": {
"raw": "{{url}}/contract/apply",
"host": [
"{{url}}"
],
"path": [
"contract",
"apply"
]
}
},
"response": [
{
"name": "Apply for contract",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"id\" : \"DZ2022\",\r\n \"role\" : \"leiter\" \r\n}"
},
"url": {
"raw": "{{url}}/contract/apply",
"host": [
"{{url}}"
],
"path": [
"contract",
"apply"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": null,
"header": null,
"cookie": [],
"body": ""
}
]
},
{
"name": "New Request",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"id\" : \"DZ2022\"\r\n}"
},
"url": {
"raw": "{{url}}/contract/misapply",
"host": [
"{{url}}"
],
"path": [
"contract",
"misapply"
]
}
},
"response": [
{
"name": "New Request",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"id\" : \"DZ2022\"\r\n}"
},
"url": {
"raw": "{{url}}/contract/misapply",
"host": [
"{{url}}"
],
"path": [
"contract",
"misapply"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": null,
"header": null,
"cookie": [],
"body": null
}
]
}