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

[WEB] GET: Get Lista de Médicos #41

Open
henriquelcardoso opened this issue Apr 20, 2018 · 1 comment
Open

[WEB] GET: Get Lista de Médicos #41

henriquelcardoso opened this issue Apr 20, 2018 · 1 comment

Comments

@henriquelcardoso
Copy link

Uma rota para receber uma lista de todos os Médicos.
Campos:

  • Nome do Médico
  • Um id do Médico para depois conseguir fazer um pedido para a informação de um determinado médico
@luisfmelo
Copy link
Member

luisfmelo commented Apr 21, 2018

Assim @henriquelcardoso ?

{
	"code": 200,
	"message": "Success",
	"details": "",
	"count": 2,
	"total_pages": 1,
	"page": 1,
	"next": null,
	"previous": null,
	"data": [
		{
			"id": 2,
			"name": "Sample Doctor",
			"email": "[email protected]",
			"phone": null,
			"is_active": false,
			"role_id": 2,
			"role_name": "Doctor",
			"department": null
		},
		{
			"id": 1,
			"name": "Admin",
			"email": "[email protected]",
			"phone": null,
			"is_active": false,
			"role_id": 1,
			"role_name": "Admin",
			"department": null
		}
	]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants