Hi all I'm struggling with getting some code to request and parse a JSON even after reading lots of examples.
I have the following variables set
Dim dataURL As String = "https://hostingserver.com" (unable to publish correct url publically)
Dim BranchID As String = "22"
I need to send the URL the required branch ID as part of the request which should look like {"branchid": "22"}
I should then get back a JSON to parse in the following structure
Response
JSon{
BranchId
Order: [
{
SaleOrder ID
CustomerName
VehicleReg
CollectionBay
Status
},
{
SaleOrder ID
CustomerName
VehicleReg
CollectionBay
Status
}
]
inStoreCollection: [
{
SaleOrder ID
VehicleReg
CollectionBay
Status
},
{
SaleOrder ID
VehicleReg
CollectionBay
Status
}
]
Is anyone able to help me create the code so that I can call this from my Sub to request and parse the data so that I can then update the labels with the data returned
Thanks
I have the following variables set
Dim dataURL As String = "https://hostingserver.com" (unable to publish correct url publically)
Dim BranchID As String = "22"
I need to send the URL the required branch ID as part of the request which should look like {"branchid": "22"}
I should then get back a JSON to parse in the following structure
Response
JSon{
BranchId
Order: [
{
SaleOrder ID
CustomerName
VehicleReg
CollectionBay
Status
},
{
SaleOrder ID
CustomerName
VehicleReg
CollectionBay
Status
}
]
inStoreCollection: [
{
SaleOrder ID
VehicleReg
CollectionBay
Status
},
{
SaleOrder ID
VehicleReg
CollectionBay
Status
}
]
Is anyone able to help me create the code so that I can call this from my Sub to request and parse the data so that I can then update the labels with the data returned
Thanks