added clienti in template, export
This commit is contained in:
@@ -0,0 +1,90 @@
|
||||
CAMPIONE #0
|
||||
curl --location --request POST 'https://93.43.5.102/limsapi/api/odata/Campione' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header 'Authorization: Bearer ••••••' \
|
||||
--data '{
|
||||
"Commessa": 565085,
|
||||
"Matrice": 7714,
|
||||
"SottoMatrice": null,
|
||||
"SchemaCustomField": 82,
|
||||
"NoteWeb": "Parte AAA",
|
||||
"ConsegnaRichiesta": "2026-04-08"
|
||||
}'
|
||||
|
||||
RESPONSE:
|
||||
{
|
||||
"@odata.context": "https:\/\/bvcpsitaly-elims.com\/limsapi\/api\/odata\/$metadata#Campione\/$entity",
|
||||
"IdCampione": 736899,
|
||||
"CodiceCampione": "11038",
|
||||
"CodiceCampioneWeb": "11038",
|
||||
"StatoCampione": "Nuovo",
|
||||
"DataCreazioneWeb": "2026-03-19T10:03:19.8547279+01:00",
|
||||
"RiferimentoWeb": "",
|
||||
"ConsegnaRichiesta": "2026-04-08T00:00:00+02:00",
|
||||
"DataAccettazioneLims": null,
|
||||
"Riferimento": null,
|
||||
"NoteWeb": "Parte AAA",
|
||||
"GruppiRicercati": null
|
||||
}
|
||||
|
||||
---
|
||||
CAMPIONE #1
|
||||
curl --location --request POST 'https://93.43.5.102/limsapi/api/odata/Campione' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header 'Authorization: Bearer ••••••' \
|
||||
--data '{
|
||||
"Commessa": 565085,
|
||||
"Matrice": 7714,
|
||||
"SottoMatrice": null,
|
||||
"SchemaCustomField": 82,
|
||||
"NoteWeb": "Parte BBB",
|
||||
"ConsegnaRichiesta": "2026-04-08"
|
||||
}'
|
||||
|
||||
RESPONSE:
|
||||
{
|
||||
"@odata.context": "https:\/\/bvcpsitaly-elims.com\/limsapi\/api\/odata\/$metadata#Campione\/$entity",
|
||||
"IdCampione": 736900,
|
||||
"CodiceCampione": "11039",
|
||||
"CodiceCampioneWeb": "11039",
|
||||
"StatoCampione": "Nuovo",
|
||||
"DataCreazioneWeb": "2026-03-19T10:03:22.0431135+01:00",
|
||||
"RiferimentoWeb": "",
|
||||
"ConsegnaRichiesta": "2026-04-08T00:00:00+02:00",
|
||||
"DataAccettazioneLims": null,
|
||||
"Riferimento": null,
|
||||
"NoteWeb": "Parte BBB",
|
||||
"GruppiRicercati": null
|
||||
}
|
||||
|
||||
---
|
||||
CAMPIONE #2
|
||||
curl --location --request POST 'https://93.43.5.102/limsapi/api/odata/Campione' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header 'Authorization: Bearer ••••••' \
|
||||
--data '{
|
||||
"Commessa": 565085,
|
||||
"Matrice": 7714,
|
||||
"SottoMatrice": null,
|
||||
"SchemaCustomField": 82,
|
||||
"NoteWeb": "Parte CCC",
|
||||
"ConsegnaRichiesta": "2026-04-08"
|
||||
}'
|
||||
|
||||
RESPONSE:
|
||||
{
|
||||
"@odata.context": "https:\/\/bvcpsitaly-elims.com\/limsapi\/api\/odata\/$metadata#Campione\/$entity",
|
||||
"IdCampione": 736901,
|
||||
"CodiceCampione": "11040",
|
||||
"CodiceCampioneWeb": "11040",
|
||||
"StatoCampione": "Nuovo",
|
||||
"DataCreazioneWeb": "2026-03-19T10:03:23.6170597+01:00",
|
||||
"RiferimentoWeb": "",
|
||||
"ConsegnaRichiesta": "2026-04-08T00:00:00+02:00",
|
||||
"DataAccettazioneLims": null,
|
||||
"Riferimento": null,
|
||||
"NoteWeb": "Parte CCC",
|
||||
"GruppiRicercati": null
|
||||
}
|
||||
|
||||
---
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,20 @@
|
||||
curl --location --request POST 'https://93.43.5.102/limsapi/api/odata/CommessaWeb(565085)/ImportaCommessa' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header 'Authorization: Bearer ••••••' \
|
||||
--data '{
|
||||
"IdUtente": 285
|
||||
}'
|
||||
|
||||
RESPONSE:
|
||||
{
|
||||
"@odata.context": "https:\/\/bvcpsitaly-elims.com\/limsapi\/api\/odata\/$metadata#CommessaWeb\/$entity",
|
||||
"IdCommessa": 565085,
|
||||
"CodiceCommessa": "26C0089",
|
||||
"RiferimentoCertificato": null,
|
||||
"StatoCommessaWeb": "Elaborata",
|
||||
"DataCreazioneWeb": "2026-03-19T10:03:18.653+01:00",
|
||||
"CodiceCommessaWeb": "26C0089",
|
||||
"DataInviatoWeb": "2026-03-19T10:03:30.603+01:00",
|
||||
"Richiedente": "From TRFSmart Application",
|
||||
"Descrizione": "From TRFSmart Application"
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
Photos for CommessaWeb 565085 (iddatadb=1279):
|
||||
Total photos found: 2, campioni: 3
|
||||
|
||||
=== Campione 736899 (main) ===
|
||||
curl --location --request POST 'https://93.43.5.102/limsapi/api/odata/Campione(736899)/UploadCampioneFile' \
|
||||
--header 'Authorization: Bearer ••••••' \
|
||||
--form 'file=@C:\xampp\htdocs\trf_certest\public\photostrf\1279-20260319090037-1e672dd9-5420-4432-b422-02d8d271c178.jpg' \
|
||||
--form 'StampaNelRapporto=true' \
|
||||
--form 'PrimaPagina=true'
|
||||
|
||||
RESPONSE:
|
||||
{
|
||||
"@odata.context": "https:\/\/bvcpsitaly-elims.com\/limsapi\/api\/odata\/$metadata#CampioneFiles\/$entity",
|
||||
"IdCampioneFile": 1786602,
|
||||
"FileName": "1279-20260319090037-1e672dd9-5420-4432-b422-02d8d271c178.jpg",
|
||||
"Web": false,
|
||||
"AllegaAlRapporto": false,
|
||||
"StampaNelRapporto": false,
|
||||
"ReportGermania": false,
|
||||
"PrimaPagina": false,
|
||||
"Duplica": false,
|
||||
"LastUpdate": "2026-03-19T10:03:25.2757049+01:00",
|
||||
"Titolo": null
|
||||
}
|
||||
|
||||
---
|
||||
curl --location --request POST 'https://93.43.5.102/limsapi/api/odata/Campione(736899)/UploadCampioneFile' \
|
||||
--header 'Authorization: Bearer ••••••' \
|
||||
--form 'file=@C:\xampp\htdocs\trf_certest\public\photostrf\1279-20260319090037-104a2ca5-8a4c-4df8-b2ca-a28f518b7b25.jpg' \
|
||||
--form 'StampaNelRapporto=false' \
|
||||
--form 'PrimaPagina=false'
|
||||
|
||||
RESPONSE:
|
||||
{
|
||||
"@odata.context": "https:\/\/bvcpsitaly-elims.com\/limsapi\/api\/odata\/$metadata#CampioneFiles\/$entity",
|
||||
"IdCampioneFile": 1786603,
|
||||
"FileName": "1279-20260319090037-104a2ca5-8a4c-4df8-b2ca-a28f518b7b25.jpg",
|
||||
"Web": false,
|
||||
"AllegaAlRapporto": false,
|
||||
"StampaNelRapporto": false,
|
||||
"ReportGermania": false,
|
||||
"PrimaPagina": false,
|
||||
"Duplica": false,
|
||||
"LastUpdate": "2026-03-19T10:03:26.7566613+01:00",
|
||||
"Titolo": null
|
||||
}
|
||||
|
||||
---
|
||||
@@ -0,0 +1,18 @@
|
||||
curl --location --request POST 'https://93.43.5.102/limsapi/api/odata/CommessaWeb(565085)/InviaCommessa' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header 'Authorization: Bearer ••••••' \
|
||||
--data '{}'
|
||||
|
||||
RESPONSE:
|
||||
{
|
||||
"@odata.context": "https:\/\/bvcpsitaly-elims.com\/limsapi\/api\/odata\/$metadata#CommessaWeb\/$entity",
|
||||
"IdCommessa": 565085,
|
||||
"CodiceCommessa": "26C0089",
|
||||
"RiferimentoCertificato": null,
|
||||
"StatoCommessaWeb": "Nuova",
|
||||
"DataCreazioneWeb": "2026-03-19T10:03:18.653+01:00",
|
||||
"CodiceCommessaWeb": "26C0089",
|
||||
"DataInviatoWeb": "2026-03-19T10:03:30.6022436+01:00",
|
||||
"Richiedente": "From TRFSmart Application",
|
||||
"Descrizione": "From TRFSmart Application"
|
||||
}
|
||||
@@ -0,0 +1,226 @@
|
||||
curl --location --request PATCH 'https://93.43.5.102/limsapi/api/odata/CommessaWeb(565085)' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header 'Authorization: Bearer ••••••' \
|
||||
--data '{
|
||||
"CommesseCustomFields": [
|
||||
{
|
||||
"IdCommesseCustomFields": 23328248,
|
||||
"Valore": "18/03/2026"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328249,
|
||||
"Valore": "09:00"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328250,
|
||||
"Valore": "9299"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328251,
|
||||
"Valore": "17/03/2026"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328252,
|
||||
"Valore": "/"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328253,
|
||||
"Valore": "5"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328259,
|
||||
"Valore": "673"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328260,
|
||||
"Valore": "674"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328261,
|
||||
"Valore": "669"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328263,
|
||||
"Valore": "1469"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328264,
|
||||
"Valore": "1604"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328265,
|
||||
"Valore": "12875"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328266,
|
||||
"Valore": "8755"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328267,
|
||||
"Valore": ""
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328227,
|
||||
"Valore": "13497"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328228,
|
||||
"Valore": "20262"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328229,
|
||||
"Valore": "ART. PEACH"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328268,
|
||||
"Valore": "1892"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328269,
|
||||
"Valore": ""
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328270,
|
||||
"Valore": ""
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328271,
|
||||
"Valore": "19/03/2026"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328272,
|
||||
"Valore": "18/03/2026"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328273,
|
||||
"Valore": ""
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328274,
|
||||
"Valore": "09:00"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328275,
|
||||
"Valore": "09:03"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328276,
|
||||
"Valore": "09:58"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328277,
|
||||
"Valore": "19/03/2026"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328278,
|
||||
"Valore": ""
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328279,
|
||||
"Valore": ""
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328280,
|
||||
"Valore": ""
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328230,
|
||||
"Valore": "L209B4M00110M7280"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328231,
|
||||
"Valore": "BLACK"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328232,
|
||||
"Valore": "PE007J"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328233,
|
||||
"Valore": "264"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328234,
|
||||
"Valore": "420"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328235,
|
||||
"Valore": "AAA"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328236,
|
||||
"Valore": "3055"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328237,
|
||||
"Valore": "AAA"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328238,
|
||||
"Valore": "AAA"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328239,
|
||||
"Valore": "P"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328240,
|
||||
"Valore": "RM-ACC"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328241,
|
||||
"Valore": "\u00a0CONCERIA M2 SRL"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328242,
|
||||
"Valore": "344"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328243,
|
||||
"Valore": "1208"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328244,
|
||||
"Valore": "AAA"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328245,
|
||||
"Valore": "AAA"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328246,
|
||||
"Valore": "Not provided"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328247,
|
||||
"Valore": "AAA"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328254,
|
||||
"Valore": "aaa"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328255,
|
||||
"Valore": "4678"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328256,
|
||||
"Valore": "Leather&Fur"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328257,
|
||||
"Valore": "278"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328258,
|
||||
"Valore": "2089"
|
||||
},
|
||||
{
|
||||
"IdCommesseCustomFields": 23328262,
|
||||
"Valore": "745"
|
||||
}
|
||||
]
|
||||
}'
|
||||
|
||||
RESPONSE:
|
||||
null
|
||||
@@ -0,0 +1,29 @@
|
||||
curl --location --request POST 'https://93.43.5.102/limsapi/api/odata/CommessaWeb' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header 'Authorization: Bearer ••••••' \
|
||||
--data '{
|
||||
"Cliente": 3378,
|
||||
"SchemaCustomField": 82,
|
||||
"Richiedente": "From TRFSmart Application",
|
||||
"Descrizione": "From TRFSmart Application",
|
||||
"ClienteResponsabile": 7586,
|
||||
"MoltiplicatorePrezzo": 2,
|
||||
"AnagraficaCertestObject": 8973,
|
||||
"AnagraficaCertestService": 9007,
|
||||
"ClienteFornitore": 4505,
|
||||
"ClienteAnalisi": null
|
||||
}'
|
||||
|
||||
RESPONSE:
|
||||
{
|
||||
"@odata.context": "https:\/\/bvcpsitaly-elims.com\/limsapi\/api\/odata\/$metadata#CommessaWeb\/$entity",
|
||||
"IdCommessa": 565085,
|
||||
"CodiceCommessa": "26C0089",
|
||||
"RiferimentoCertificato": null,
|
||||
"StatoCommessaWeb": "Nuova",
|
||||
"DataCreazioneWeb": "2026-03-19T10:03:18.6527414+01:00",
|
||||
"CodiceCommessaWeb": "26C0089",
|
||||
"DataInviatoWeb": null,
|
||||
"Richiedente": "From TRFSmart Application",
|
||||
"Descrizione": "From TRFSmart Application"
|
||||
}
|
||||
Reference in New Issue
Block a user