Usuário selecionado

Detalhes do usuário selecionado

GET http://utility-assistant.local/selected-user

Detalhes do usuário selecionado (ativo)

Headers

NameTypeDescription

Accept

string

application/json

{
	"name": "NOME DO USUÁRIO",
	"username": "01234567890",
	"date_last_update": "2019-01-26 10:14:36",
	"photo": "Foto/Thumbnail encodada em base64, veja RFC2397",
	"detail": {
		"code": 1124,
		"status": "SELECTED_USER_DETAIL",
		"message": "Selected user detail"
	}
}

Alternar usuário selecionado

PUT http://utility-assistant.local/selected-user

Headers

NameTypeDescription

Content-Type

string

application/x-www-form-urlencoded

Accept

string

application/json

Request Body

NameTypeDescription

username

string

Usuário (CPF/CNPJ)

{
	"detail": {
		"code": 1125,
		"status": "SELECTED_USER_CHANGED",
		"message": "Changed selected user"
	}
}

Certificados do usuário selecionado

GET http://utility-assistant.local/selected-user/certificates

Headers

NameTypeDescription

Accept

string

application/json

{
	"certificates": [{
		"index": 0,
		"alias": "NOME DO USUARIO:01234567890"
	}],
	"detail": {
		"code": 1109,
		"status": "CERTIFICATES_LISTED",
		"message": "Certificate Listing"
	}
}

Last updated