{{baseUrl}}/richiesta/:_id
PUT {{baseUrl}}/richiesta/:_id
This call allows you to update the search fields of the request and to close the transaction
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Accept
|
string |
RESPONSES
status OK
{
"data": {
"_id": "5f283eae065afc21cf466ea4",
"state": 1,
"hash_visura": "eccbc87e4b5ce2fe28308fd9f2a7baf3",
"nome": "Visura Camerale Ordinaria - società di Capitale ",
"callback": "_rib_cam_Ordinaria",
"ricerca": false,
"id_ricerca": null,
"prezzo_visura": 4.78,
"prezzo_ricerca": 0,
"indice_ricerca": null,
"stato_richiesta": "In erogazione",
"email_target": null,
"allegati": [],
"timestamp_creation": 1596473006,
"timestamp_last_update": 1596473023,
"timestamp_stati": {
"in_ricerca": 1596473023,
"in_erogazione": 1596473023
},
"callback_data": false,
"opzioni": null,
"owner": "a.venanzoni@altravia.com",
"sincrona": false,
"ricerche": [
{
"id_ricerca": "5f283eae065afc21cf466ea4_0",
"stato_ricerca": "Ricerca evasa",
"json_ricerca": "{\"$1\":\"BS\",\"$0\":\"572372\"}",
"json_mappato": {
"NRea": "572372",
"Cciaa": "BS"
},
"json_risultato": null
}
],
"esito": {
"codice": "0",
"info": "OK"
}
},
"success": true,
"message": "",
"error": null
} |
ENDPOINTS