cURL
curl --request POST \ --url https://services.pref.rio/rmi/v1/memory/{phone_number} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "description": "<string>", "memory_name": "<string>", "memory_type": "base", "relevance": "low", "value": "<string>", "created_at": "<string>", "memory_id": "<string>", "updated_at": "<string>" } '
{ "description": "<string>", "memory_name": "<string>", "memory_type": "base", "relevance": "low", "value": "<string>", "created_at": "<string>", "memory_id": "<string>", "updated_at": "<string>" }
Cria uma única memória associada ao telefone do cidadão.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Número do telefone
Dados da memória a ser criada
base
appended
low
medium
high
Memória criada com sucesso