qrCode
object
Description
Object containing the information needed to show, for some enabled couriers, a multi-purpose QR code.
"qrCode":{
"url":"XXXXXX", // QR code di questo url
"post_upload":{ // crea 1 oggetto S3 sul bucket su cui poi verrà fatto PUT oggetto
"file_type" :"PDF" // nome univoco deciso da Gsped (id spedizione)
},
"registrazione_esito":true
}This object can be set in only one way at a time.
url
string
Fixed URL to show in the qrCode
post_upload
object
Container of keys used to create an S3 object on the bucket, which will then be filled with a PUT
post_upload.file_type
string
Extension of the file that will be uploaded later
registrazione_esito
bool
Creates a qrCode pointing to a page where whoever has access (normally the driver who sees the label) can change the shipment status on Gsped.
You enter directly the url you want to show in the QR code
You fill in only the post_upload part, entering the extension of the file that will be uploaded later.
You set registrazione_esito to create a URL for changing the shipment status.
post_upload details
With post_upload, the response to the SHIPMENT POST will give you a URL (inside the qrCode object) to which you upload the file once it is available.
Here is an upload example:
For tidiness and consistency, the file name must be the GSPED ID of the newly created shipment including the file extension, for example 12345.pdf
registrazione_esito details
The page shown to whoever lands on the qrCode page looks like this and lets them report the following statuses:

Protection with a PIN code
You can protect your QR code from unwanted access by using a PIN code.
Regardless of the usage mode, just add the pin_code parameter with the desired code.
This way, when the QR code is scanned, the PIN code will be requested before proceeding.
The code must be at least 6 and at most 32 characters long.
Here are some examples:
Enabled couriers
1
BRT
2
TNT
19
Poste Delivery Business Inviosystem
70
Dummy1
71
Dummy2
72
Dummy3
73
Dummy4
74
Dummy5
75
Dummy6
76
Dummy7
77
Dummy8
78
Dummy9
79
Dummy10
90
Italsempione
91
Logisticando
92
CSILogistica
93
Ribosped
94
Zust - Tiesse
95
Lynx
97
Speditalia
101
GLS
104
DHL
131
Fercam
182
DHL WLA
