Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qa #46

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open

Qa #46

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions QA/Login.http
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ POST https://clinica-medica-production.up.railway.app/api/v1/user
Content-Type: application/json

{
<<<<<<< HEAD
"email": "string",
"password": "string"
=======
"email": "[email protected]",
"password": "45678"
>>>>>>> 8346b700fd14ef1473311489ce4f196a925dc230
}
50 changes: 25 additions & 25 deletions QA/doctor.http
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
### crear doctor https://clinica-medica-production.up.railway.app/api/v1/
POST https://clinica-medica-production.up.railway.app/api/v1/doctor/create
### Actualizar doctor por ID
PUT https://clinica-medica-production.up.railway.app/api/v1/doctor/update/45
Content-Type: application/json

{
"name": "Ana Paula",
"name": "Ana Maria Paula",
"password": "1234567",
"email": "[email protected]",
"dni": "56123456",
"obraSocial": "ospe",
"dni": "58123456",
"obraSocial": "Fatsa",
"numeroAsociado": "m12345699",
"phone": "112322222",
"img": "string",
Expand All @@ -16,37 +16,37 @@ Content-Type: application/json
"licenseNumber": "m6543210"
}

### buscar todos los doctores
GET https://clinica-medica-production.up.railway.app/api/v1/doctor/allDoctors
### crear doctor https://clinica-medica-production.up.railway.app/api/v1/
POST https://clinica-medica-production.up.railway.app/api/v1/doctor/create
Content-Type: application/json

{
"name": "Ana",
"password": "1234567",
"email": "[email protected]",
"dni": "56123456",
"obraSocial": "ospe",
"numeroAsociado": "m12345",
"phone": "112322222",
"img": "string",
"active": true,
"specialization": "gastroenterologa",
"licenseNumber": "m6543210"
}

### buscar doctor por id
GET https://clinica-medica-production.up.railway.app/api/v1/doctor/getById/45
GET https://clinica-medica-production.up.railway.app/api/v1/doctor/getById/24

### buscar todos los doctores
GET https://clinica-medica-production.up.railway.app/api/v1/doctor/allDoctors

### buscar todos los doctores paginacion
GET https://clinica-medica-production.up.railway.app/api/v1/doctor/allDoctors-page?page=0&size=10

### Eliminar doctor
DELETE https://clinica-medica-production.up.railway.app/api/v1/doctor/delete/45
DELETE https://clinica-medica-production.up.railway.app/api/v1/doctor/delete/24

### Actualizar doctor por ID
PUT https://clinica-medica-production.up.railway.app/api/v1/doctor/update/45
Content-Type: application/json

{
"name": "Ana Maria Paula",
"password": "1234567",
"email": "[email protected]",
"dni": "58123456",
"obraSocial": "Fatsa",
"numeroAsociado": "m12345699",
"phone": "112322222",
"img": "string",
"active": true,
"specialization": "gastroenterologa",
"licenseNumber": "m6543210"
}



Expand Down
36 changes: 35 additions & 1 deletion QA/pasient.http
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<<<<<<< HEAD
=======
### crear pacientes https://clinica-medica-production.up.railway.app/api/v1/
POST https://clinica-medica-production.up.railway.app/api/v1/patients/create
Content-Type: application/json
Expand All @@ -21,6 +23,7 @@ Content-Type: application/json
### buscar paciente por id
GET https://clinica-medica-production.up.railway.app/api/v1/patients/search/59

>>>>>>> 8346b700fd14ef1473311489ce4f196a925dc230
### actualizar paciente
PUT https://clinica-medica-production.up.railway.app/api/v1/patients/update/33
Content-Type: application/json
Expand All @@ -36,8 +39,39 @@ Content-Type: application/json
"active": true,
"insurer": "Suim"
}
<<<<<<< HEAD

### crear pacientes https://clinica-medica-production.up.railway.app/api/v1/
POST https://clinica-medica-production.up.railway.app/api/v1/patients/create
Content-Type: application/json

{
"user": {
"name": "Dani",
"dni": "96123456",
"obraSocial": "OSDE",
"numeroAsociado": "M123",
"password": "123456",
"email": "[email protected]",
"phone": "1123232323",
"img": "string",
"active": true
},
"insurer": "OSDE"
}

### buscar paciente por id
GET https://clinica-medica-production.up.railway.app/api/v1/patients/search/43



###Eliminar paciente
DELETE https://clinica-medica-production.up.railway.app/api/v1/patients/delete/33
Content-Type: application/json
=======


###Eliminar paciente
DELETE https://clinica-medica-production.up.railway.app/api/v1/patients/delete/59
Content-Type: application/json
Content-Type: application/json
>>>>>>> 8346b700fd14ef1473311489ce4f196a925dc230