{{baseUrl}}/richiesta/:_id
POST {{baseUrl}}/richiesta/:_id
Services that have the parameter 'ricerca' : 1 allow you to add additional searches to the first service request
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Accept
|
string |
RESPONSES
status OK
{
"data": {
"_id": "5f2829ce065afc21cc60ad0e",
"state": 1,
"hash_visura": "eccbc87e4b5ce2fe28308fd9f2a7baf3",
"nome": "Visura Camerale Ordinaria - società di Capitale ",
"callback": "_rib_cam_Ordinaria",
"ricerca": true,
"id_ricerca": null,
"prezzo_visura": 4.78,
"prezzo_ricerca": 0.38,
"indice_ricerca": null,
"stato_richiesta": "In ricerca",
"email_target": null,
"allegati": [],
"timestamp_creation": 1596467662,
"timestamp_last_update": 1596469730,
"timestamp_stati": {
"in_ricerca": 1596469730
},
"callback_data": false,
"opzioni": null,
"owner": "a.venanzoni@altravia.com",
"sincrona": false,
"ricerche": [
{
"id_ricerca": "5f2829ce065afc21cc60ad0e_0",
"stato_ricerca": "Ricerca evasa",
"json_ricerca": "{\"$1\":\"12485671007\",\"$0\":\"\"}",
"json_mappato": {
"Partita Iva o Codice Fiscale": "12485671007",
"Denominazione/Ragione Sociale": ""
},
"json_risultato": "{\"indice_0\":{\"Cciaa\":\"RM\",\"NRea\":\"1378273\",\"Denominazione\":\"ALTRAVIA SERVIZI SOCIETA' A RESPONSABILITA' LIMITATA\",\"CodFisc\":\"12485671007\",\"PIva\":\"12485671007\",\"NatGiu\":{\"!cod\":\"SR\",\"!gruppo\":\"1\",\"!\":\"SOCIETA' A RESPONSABILITA' LIMITATA\"},\"StatoAttivitaR\":{\"!cod\":\"R\",\"!semaforo\":\"V\",\"!\":\"REGISTRATA\"},\"Ateco07\":{\"!cod\":\"6201\",\"!\":\"Produzione di software non connesso all'edizione\"},\"Indirizzo\":{\"Provincia\":{\"!regione\":\"12\",\"!\":\"RM\"},\"Comune\":\"ROMA\",\"Toponimo\":\"VIALE\",\"Via\":\"F TOMMASO MARINETTI\",\"NCivico\":\"221\",\"Cap\":\"00143\"},\"!completa\":\"S\",\"!idBicAzienda\":\"126507\"}}"
},
{
"id_ricerca": "5f2829ce065afc21cc60ad0e_1",
"json_ricerca": "{\"$1\":\"12345678910\",\"$0\":\"\"}",
"json_mappato": {
"Partita Iva o Codice Fiscale": "12345678910",
"Denominazione/Ragione Sociale": ""
},
"stato_ricerca": "Errore su richiesta dati",
"json_risultato": null
}
],
"esito": {
"codice": "101",
"info": "Errore parametro input: KO - Attenzione Codice Fiscale non valido! Nessun soggetto trovato su ANITA. Inibito acquisto su IC."
Curl curl -X POST 'baseUrl/richiesta/:_id' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"json_visura":{"$0":"\u003cstring\u003e","$n":"\u003cstring\u003e"}}' ENDPOINTS |