Download OpenAPI specification:Download
{- "username": "speedfox_admin",
- "password": "p@55w0rd"
}{- "status": 200,
- "responseCode": "AUTH_SUCCESS",
- "message": "Authentication Successful",
- "body": {
- "token": "eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2dlb2ludC5hZnJpY2EiLCJhdWQiOiJzcGVlZGZveC1hcGkiLCJyb2xlIjoiUk9MRV9TVVBFUlVTRVIiLCJleHAiOjE3MDUyNDQ0MzUsInN1YiI6InNwZWVkZm94X2FkbWluIiwiaWF0IjoxNzA1MjQwODM1fQ.IBv5xzedw733kjsmJA4htVR1VX43euYNGiuPrmnG8wo",
- "refreshToken": "eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2dlb2ludC5hZnJpY2EiLCJhdWQiOiJzcGVlZGZveC1hcGkiLCJyb2xlIjoiUk9MRV9TVVBFUlVTRVIiLCJleHAiOjE3MDUyNDQ0MzUsInNpZCI6ImE2ZTcwMWI3LWQ1M2QtNDU3Mi04NjNjLWIzMWI0YjVkMDM4MyIsInN1YiI6InNwZWVkZm94X2FkbWluIiwiaWF0IjoxNzA1MjQwODM1fQ.m6_qIoerxn4jHeYC3VNqv1BzlcaAPAnjtBKbvRCOtWM",
- "type": "Bearer",
- "username": "speedfox_admin",
- "status": "200",
- "message": "Authentication Successful"
}
}{- "refreshToken": "eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2dlb2ludC5hZnJpY2EiLCJhdWQiOiJzcGVlZGZveC1hcGkiLCJyb2xlIjoiUk9MRV9TVVBFUlVTRVIiLCJleHAiOjE3MDUzNTI3MjAsInNpZCI6ImU2NzZmNTI2LTg5NzEtNDVhMy05NGI2LTRiMmQ1NjBiOGY5NyIsInN1YiI6InNwZWVkZm94X2FkbWluIiwiaWF0IjoxNzA1MzQ5MTIwfQ.VcxFzX_ytMQKhs27GJGEvxjdItEURCPK2f0b7HL-yUs"
}{- "token": "eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2dlb2ludC5hZnJpY2EiLCJhdWQiOiJzcGVlZGZveC1hcGkiLCJyb2xlIjoiUk9MRV9TVVBFUlVTRVIiLCJleHAiOjE3MDUzNTI3MjAsInNpZCI6ImU2NzZmNTI2LTg5NzEtNDVhMy05NGI2LTRiMmQ1NjBiOGY5NyIsInN1YiI6InNwZWVkZm94X2FkbWluIiwiaWF0IjoxNzA1MzQ5MTIwfQ.VcxFzX_ytMQKhs27GJGEvxjdItEURCPK2f0b7HL-yUs"
}{- "token": "eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2dlb2ludC5hZnJpY2EiLCJhdWQiOiJzcGVlZGZveC1hcGkiLCJyb2xlIjoiUk9MRV9TVVBFUlVTRVIiLCJleHAiOjE3MDUyNjM2NjQsInN1YiI6InNwZWVkZm94X2FkbWluIiwiaWF0IjoxNzA1MjYwMDY0fQ.5i74h7Fd_Q63F3B9lpf3ABgGNXAJTBFG1kt7u8NcpHs"
}{- "username": "speedfox_admin"
}{- "status": 200,
- "responseCode": "200",
- "message": "Request Forgot Password",
- "body": {
- "token": "eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2dlb2ludC5hZnJpY2EiLCJhdWQiOiJzcGVlZGZveC1hcGkiLCJyb2xlIjoiRm9yZ290UGFzc3dvcmQiLCJleHAiOjE3MDMzNDU4NDEsInNpZCI6IjM4YmIyYzZhLWU4N2QtNGFkZS04YWM0LWFhMzAyOGM0ZGJkOSIsInN1YiI6InNwZWVkZm94X2FkbWluIiwiaWF0IjoxNzAzMzQyMjQxfQ.4oGLFCZCG6RDDONs4wSClxaCQ5OQdIUdWVNUrGiXk0A",
- "status": "200",
- "message": "Request Forgot Password",
- "otp": "520984"
}
}{- "username": "speedfox_admin",
- "otp": "732626",
- "password": "p@55w0rd",
- "confirmPassword": "p@55w0rd"
}{- "status": 400,
- "responseCode": "400",
- "message": "Reset Password Failed",
- "body": {
- "status": "400",
- "message": "Reset Password Failed"
}
}{- "id": 10,
- "username": "jarvish",
- "firstName": "Simz",
- "lastName": "Jarvis",
- "email": "jarvis@gmailmj.com",
- "isSuperUser": true,
- "isStaff": false,
- "isActive": true,
- "dateJoined": "2024-01-15T22:33:32.679+00:00"
}{- "name": "SpeedFox ConfigurationTest",
- "organizationId": 38
}{- "status": 200,
- "responseCode": "ADD_NET_PLAN_CONFIG",
- "message": "Net Plan Config Added",
- "body": {
- "id": 1,
- "name": "Config",
- "organizationId": "3"
}
}{- "status": 200,
- "responseCode": "GET_ALL_POLICIES",
- "message": "Get All Policies",
- "body": [
- {
- "id": 21,
- "name": "test",
- "organizationId": 3,
- "units": "mph",
- "stage": "testing",
- "generalSpeedRange": "80",
- "maxSpeedLimit": "120",
- "generalSpeedRangeGravel": 60,
- "isGeneralSpeedRangeGravelHard": true,
- "generalSpeedRangeTowing": 80,
- "isGeneralSpeedRangeTowingHard": false,
- "speedRangeVulnerablePoi": 60,
- "isGeneralSpeedRangeVulnerablePoiHard": true,
- "generalSpeedRangeVulnerablePoiDistance": 100,
- "isLoggingGps": true,
- "isLoggingLimit": true,
- "onRampMergeSpeed": 20,
- "isOnRampMergeLimit": true,
- "topLimitExceedenceTarget": 100,
- "topLimitExceedenceValue": 200,
- "created": "2024-01-14T14:37:14.379+00:00"
}, - {
- "id": 22,
- "name": "test 2",
- "organizationId": 3,
- "units": "mph",
- "stage": "testing",
- "generalSpeedRange": "80",
- "maxSpeedLimit": "120",
- "generalSpeedRangeGravel": 60,
- "isGeneralSpeedRangeGravelHard": true,
- "generalSpeedRangeTowing": 80,
- "isGeneralSpeedRangeTowingHard": false,
- "speedRangeVulnerablePoi": 60,
- "isGeneralSpeedRangeVulnerablePoiHard": true,
- "generalSpeedRangeVulnerablePoiDistance": 100,
- "isLoggingGps": true,
- "isLoggingLimit": true,
- "onRampMergeSpeed": 20,
- "isOnRampMergeLimit": true,
- "topLimitExceedenceTarget": 100,
- "topLimitExceedenceValue": 200,
- "created": "2024-01-14T15:04:57.940+00:00"
}
]
}{- "status": 200,
- "responseCode": "GET_POLICIES",
- "message": "Get Policies",
- "body": [
- {
- "id": 21,
- "name": "test",
- "organizationId": 3,
- "units": "mph",
- "stage": "testing",
- "generalSpeedRange": "80",
- "maxSpeedLimit": "120",
- "generalSpeedRangeGravel": 60,
- "isGeneralSpeedRangeGravelHard": true,
- "generalSpeedRangeTowing": 80,
- "isGeneralSpeedRangeTowingHard": false,
- "speedRangeVulnerablePoi": 60,
- "isGeneralSpeedRangeVulnerablePoiHard": true,
- "generalSpeedRangeVulnerablePoiDistance": 100,
- "isLoggingGps": true,
- "isLoggingLimit": true,
- "onRampMergeSpeed": 20,
- "isOnRampMergeLimit": true,
- "topLimitExceedenceTarget": 100,
- "topLimitExceedenceValue": 200,
- "created": "2024-01-14T14:37:14.379+00:00"
}, - {
- "id": 22,
- "name": "test 2",
- "organizationId": 3,
- "units": "mph",
- "stage": "testing",
- "generalSpeedRange": "80",
- "maxSpeedLimit": "120",
- "generalSpeedRangeGravel": 60,
- "isGeneralSpeedRangeGravelHard": true,
- "generalSpeedRangeTowing": 80,
- "isGeneralSpeedRangeTowingHard": false,
- "speedRangeVulnerablePoi": 60,
- "isGeneralSpeedRangeVulnerablePoiHard": true,
- "generalSpeedRangeVulnerablePoiDistance": 100,
- "isLoggingGps": true,
- "isLoggingLimit": true,
- "onRampMergeSpeed": 20,
- "isOnRampMergeLimit": true,
- "topLimitExceedenceTarget": 100,
- "topLimitExceedenceValue": 200,
- "created": "2024-01-14T15:04:57.940+00:00"
}
]
}{- "name": "SpeedFox testOrg",
- "organizationId": 38,
- "units": "mph",
- "stage": "testing",
- "generalSpeedRange": 80,
- "maxSpeedLimit": 120,
- "generalSpeedRangeGravel": 60,
- "isGeneralSpeedRangeGravelHard": true,
- "generalSpeedRangeTowing": 80,
- "isGeneralSpeedRangeTowingHard": false,
- "speedRangeVulnerablePoi": 60,
- "isGeneralSpeedRangeVulnerablePoiHard": true,
- "generalSpeedRangeVulnerablePoiDistance": 100,
- "isLoggingGps": true,
- "isLoggingLimit": true,
- "onRampMergeSpeed": 20,
- "isOnRampMergeLimit": true,
- "topLimitExceedenceTarget": 100,
- "topLimitExceedenceValue": "200",
- "netPlanConfigId": 1,
- "validFrom": "2024-05-01",
- "validTo": "2024-06-09"
}{- "status": 200,
- "responseCode": "ADD_POLICIES",
- "message": "Policies Added",
- "body": {
- "id": 21,
- "name": "test",
- "organizationId": 3,
- "units": "mph",
- "stage": "testing",
- "generalSpeedRange": "80",
- "maxSpeedLimit": "120",
- "generalSpeedRangeGravel": 60,
- "isGeneralSpeedRangeGravelHard": true,
- "generalSpeedRangeTowing": 80,
- "isGeneralSpeedRangeTowingHard": false,
- "speedRangeVulnerablePoi": 60,
- "isGeneralSpeedRangeVulnerablePoiHard": true,
- "generalSpeedRangeVulnerablePoiDistance": 100,
- "isLoggingGps": true,
- "isLoggingLimit": true,
- "onRampMergeSpeed": 20,
- "isOnRampMergeLimit": true,
- "topLimitExceedenceTarget": 100,
- "topLimitExceedenceValue": 200,
- "created": "2024-01-14T14:37:14.379+00:00"
}
}{- "name": "test 21",
- "organizationId": 13,
- "units": "mph",
- "stage": "testing",
- "generalSpeedRange": 80,
- "maxSpeedLimit": 120,
- "generalSpeedRangeGravel": 60,
- "isGeneralSpeedRangeGravelHard": true,
- "generalSpeedRangeTowing": 80,
- "isGeneralSpeedRangeTowingHard": false,
- "speedRangeVulnerablePoi": 60,
- "isGeneralSpeedRangeVulnerablePoiHard": true,
- "generalSpeedRangeVulnerablePoiDistance": 100,
- "isLoggingGps": true,
- "isLoggingLimit": true,
- "onRampMergeSpeed": 20,
- "isOnRampMergeLimit": true,
- "topLimitExceedenceTarget": 100,
- "topLimitExceedenceValue": "200",
- "netPlanConfigId": 1,
- "validFrom": "2024-05-01",
- "validTo": "2024-06-09",
- "geoPackageId": 0
}{- "id": 8,
- "name": "test 7",
- "organizationId": 13,
- "units": "mph",
- "stage": "testing",
- "generalSpeedRange": 80,
- "maxSpeedLimit": 120,
- "generalSpeedRangeGravel": 60,
- "isGeneralSpeedRangeGravelHard": true,
- "generalSpeedRangeTowing": 80,
- "isGeneralSpeedRangeTowingHard": false,
- "speedRangeVulnerablePoi": 60,
- "isGeneralSpeedRangeVulnerablePoiHard": true,
- "generalSpeedRangeVulnerablePoiDistance": 100,
- "isLoggingGps": true,
- "isLoggingLimit": true,
- "onRampMergeSpeed": 20,
- "isOnRampMergeLimit": true,
- "topLimitExceedenceTarget": 100,
- "topLimitExceedenceValue": "200",
- "netPlanConfigId": 1,
- "validFrom": "2024-05-01",
- "validTo": "2024-06-09"
}{- "status": 200,
- "responseCode": "GET_ALL_CONFIGURATIONS",
- "message": "Get All Configurations",
- "body": [
- {
- "id": 3,
- "speedFoxConfigId": 21,
- "netPlanConfigId": 1,
- "validFrom": "2024-01-14T14:37:14.572+00:00",
- "validTo": "2024-01-14T14:37:14.572+00:00",
- "created": "2024-01-14T14:37:14.572+00:00"
}, - {
- "id": 4,
- "speedFoxConfigId": 22,
- "netPlanConfigId": 1,
- "validFrom": "2024-01-14T15:04:58.412+00:00",
- "validTo": "2024-01-14T15:04:58.412+00:00",
- "created": "2024-01-14T15:04:58.412+00:00"
}
]
}{- "name": "Tesla",
- "country": "usa"
}{- "status": 200,
- "responseCode": "ADD_VEHICLE_MAKE",
- "message": "Vehicle Make Added",
- "body": {
- "id": 1,
- "name": "Toyota",
- "country": "zw"
}
}{- "status": 200,
- "responseCode": "GET_ALL_VEHICLE_GROUP",
- "message": "Get All Vehicle Groups",
- "body": [
- {
- "id": 3,
- "name": "Vehicle Group 1",
- "organizationId": 3,
- "organization": {
- "id": 3,
- "contact": "Speedfox Sub",
- "title": "Speedfox Sub",
- "organisationId": 2,
- "isActive": true
}, - "configurationId": 3,
- "configuration": {
- "id": 3,
- "speedFoxConfigId": 21,
- "netPlanConfigId": 1,
- "validFrom": "2024-01-14T14:37:14.572+00:00",
- "validTo": "2024-01-14T14:37:14.572+00:00",
- "created": "2024-01-14T14:37:14.572+00:00"
}, - "isActive": true
}, - {
- "id": 4,
- "name": "Vehicle Group 2",
- "organizationId": 3,
- "organization": {
- "id": 3,
- "contact": "Speedfox Sub",
- "title": "Speedfox Sub",
- "organisationId": 2,
- "isActive": true
}, - "configurationId": 3,
- "configuration": {
- "id": 3,
- "speedFoxConfigId": 21,
- "netPlanConfigId": 1,
- "validFrom": "2024-01-14T14:37:14.572+00:00",
- "validTo": "2024-01-14T14:37:14.572+00:00",
- "created": "2024-01-14T14:37:14.572+00:00"
}, - "isActive": true
}
]
}{- "status": 200,
- "responseCode": "GET_VEHICLE_GROUP",
- "message": "Get Vehicle Group",
- "body": {
- "id": 4,
- "name": "Vehicle Group 2",
- "organizationId": 3,
- "organization": {
- "id": 3,
- "contact": "Speedfox Sub",
- "title": "Speedfox Sub",
- "organisationId": 2,
- "isActive": true
}, - "configurationId": 3,
- "isActive": true
}
}{- "name": "Speedfox Org Vehicle Group",
- "organizationId": 38,
- "configurationId": 18,
- "isActive": true
}{- "status": 200,
- "responseCode": "ADD_VEHICLE_GROUP",
- "message": "Vehicle Group Added",
- "body": {
- "id": 3,
- "name": "Vehicle Group 1",
- "organizationId": 3,
- "organization": null,
- "configurationId": 3,
- "configuration": null,
- "isActive": true
}
}{- "vehicleGroupId": 12,
- "licensePlate": "AS32323",
- "vinNumber": "viwe22",
- "makeId": 14,
- "model": "total",
- "vehicleType": "private_car",
- "inUse": true
}{- "status": 200,
- "responseCode": "ADD_VEHICLE",
- "message": "Vehicle Added",
- "body": {
- "id": 1,
- "licensePlate": "AS32332",
- "vinNumber": "viwe22323",
- "makeId": 1,
- "model": "totodel",
- "vehicleType": "private_car",
- "inUse": true,
- "created": "2024-01-14T14:45:00.472+00:00"
}
}{- "id": 12,
- "vehicleGroupId": 5,
- "licensePlate": "AS323322",
- "vinNumber": "viwe223253",
- "makeId": 3,
- "model": "totodel",
- "vehicleType": "private_car",
- "inUse": true
}{- "status": 200,
- "responseCode": "UPDATE_VEHICLE",
- "message": "Vehicle Updated",
- "body": {
- "id": 1,
- "vehicleGroupId": 3,
- "licensePlate": "AS32332",
- "vinNumber": "viwe22323",
- "makeId": 1,
- "model": "totodel",
- "vehicleType": "private_car",
- "inUse": true,
- "created": "2024-01-14T14:45:00.472+00:00"
}
}{- "status": 200,
- "responseCode": "GET_ALL_VEHICLE",
- "message": "Get All Vehicles",
- "body": [
- {
- "id": 1,
- "licensePlate": "AS32332",
- "vinNumber": "viwe22323",
- "makeId": 1,
- "model": "totodel",
- "vehicleType": "private_car",
- "inUse": true,
- "created": "2024-01-14T14:45:00.472+00:00"
}
]
}{- "status": 200,
- "responseCode": "GET_ALL_VEHICLE",
- "message": "Get All Vehicles",
- "body": [
- {
- "id": 1,
- "vehicleGroupId": 3,
- "vehicleGroup": {
- "id": 3,
- "name": "Vehicle Group 1",
- "organizationId": 3,
- "organization": {
- "id": 3,
- "contact": "Speedfox Sub",
- "logo": null,
- "title": "Speedfox Sub",
- "geoPackageId": null,
- "organisationId": 2,
- "isActive": true
}, - "configurationId": 3,
- "configuration": null,
- "isActive": true
}, - "licensePlate": "AS32332",
- "vinNumber": "viwe22323",
- "makeId": 1,
- "model": "totodel",
- "vehicleType": "private_car",
- "inUse": true,
- "created": "2024-01-14T14:45:00.472+00:00"
}, - {
- "id": 2,
- "vehicleGroupId": 3,
- "vehicleGroup": {
- "id": 3,
- "name": "Vehicle Group 1",
- "organizationId": 3,
- "organization": {
- "id": 3,
- "contact": "Speedfox Sub",
- "logo": null,
- "title": "Speedfox Sub",
- "geoPackageId": null,
- "organisationId": 2,
- "isActive": true
}, - "configurationId": 3,
- "configuration": null,
- "isActive": true
}, - "licensePlate": "AS323323",
- "vinNumber": "viwe223233",
- "makeId": 1,
- "model": "totodel",
- "vehicleType": "private_car",
- "inUse": true,
- "created": "2024-01-14T15:01:13.839+00:00"
}
]
}{- "pieSerial": "01234567",
- "gpsSerial": "0234rt526",
- "macAddress": " ",
- "rpiSerial": " 0345uy278",
- "isActive": true
}{- "status": 200,
- "responseCode": "ADD_DEVICE",
- "message": "Device Added",
- "body": {
- "id": 1,
- "pieSerial": " ",
- "gpsSerial": "234rt5673",
- "macAddress": " ",
- "isActive": true,
- "created": "2024-01-14T15:06:21.590+00:00"
}
}{- "status": 200,
- "responseCode": "GET_ALL_DEVICE",
- "message": "Get All Devices",
- "body": [
- {
- "id": 1,
- "pieSerial": " ",
- "gpsSerial": "234rt5673",
- "macAddress": " ",
- "isActive": true,
- "created": "2024-01-14T15:06:21.590+00:00"
}
]
}{- "status": 200,
- "responseCode": "GET_DEVICE",
- "message": "Get Device",
- "body": {
- "id": 2,
- "pieSerial": "3422 ",
- "gpsSerial": "234rt52673",
- "macAddress": " ",
- "isActive": true,
- "created": "2024-01-14T15:07:02.617+00:00"
}
}{- "deviceId": 24,
- "organisationId": 38,
- "configurationId": 18,
- "vehicleId": 31,
- "locked": false,
- "installed": true,
- "dateInstalled": "",
- "dateStopped": "",
- "active": true
}{- "status": 200,
- "responseCode": "ADD_ASSIGNED_DEVICE",
- "message": "Assigned Device Added",
- "body": {
- "id": 3,
- "deviceId": 1,
- "device": null,
- "organisationId": 3,
- "organization": null,
- "vehicleId": 2,
- "vehicle": null,
- "configurationId": 3,
- "configuration": null,
- "active": true,
- "locked": false,
- "installed": false,
- "dateInstalled": null,
- "dateStopped": null
}
}{- "status": 200,
- "responseCode": "GET_ALL_ASSIGNED_DEVICE",
- "message": "Get All Assigned Devices",
- "body": [
- {
- "id": 3,
- "device": {
- "id": 1,
- "synchthingId": null,
- "pieSerial": " ",
- "gpsSerial": "234rt5673",
- "macAddress": " ",
- "rpiSerial": null,
- "isActive": true,
- "created": "2024-01-14T15:06:21.590+00:00"
}, - "organization": {
- "id": 3,
- "contact": "Speedfox Sub",
- "logo": null,
- "title": "Speedfox Sub",
- "geoPackageId": null,
- "organisationId": 2,
- "isActive": true
}, - "vehicle": {
- "id": 2,
- "vehicleGroupId": 3,
- "vehicleGroup": null,
- "licensePlate": "AS323323",
- "vinNumber": "viwe223233",
- "makeId": 1,
- "model": "totodel",
- "vehicleType": "private_car",
- "inUse": true,
- "created": "2024-01-14T15:01:13.839+00:00"
}, - "configuration": {
- "id": 3,
- "name": null,
- "speedFoxConfigId": 21,
- "netPlanConfigId": 1,
- "geoPackageId": null,
- "validFrom": "2024-01-14T14:37:14.572+00:00",
- "validTo": "2024-01-14T14:37:14.572+00:00",
- "created": "2024-01-14T14:37:14.572+00:00"
}, - "active": true,
- "locked": false,
- "installed": false,
- "dateInstalled": null,
- "dateStopped": null
}
]
}{- "status": 200,
- "responseCode": "GET_ASSIGNED_DEVICE",
- "message": "Get Assigned Device",
- "body": {
- "id": 3,
- "device": {
- "id": 1,
- "synchthingId": null,
- "pieSerial": " ",
- "gpsSerial": "234rt5673",
- "macAddress": " ",
- "rpiSerial": null,
- "isActive": true,
- "created": "2024-01-14T15:06:21.590+00:00"
}, - "organization": {
- "id": 3,
- "contact": "Speedfox Sub",
- "logo": null,
- "title": "Speedfox Sub",
- "geoPackageId": null,
- "organisationId": 2,
- "isActive": true
}, - "vehicle": {
- "id": 2,
- "vehicleGroupId": 3,
- "vehicleGroup": null,
- "licensePlate": "AS323323",
- "vinNumber": "viwe223233",
- "makeId": 1,
- "model": "totodel",
- "vehicleType": "private_car",
- "inUse": true,
- "created": "2024-01-14T15:01:13.839+00:00"
}, - "configuration": {
- "id": 3,
- "name": null,
- "speedFoxConfigId": 21,
- "netPlanConfigId": 1,
- "geoPackageId": null,
- "validFrom": "2024-01-14T14:37:14.572+00:00",
- "validTo": "2024-01-14T14:37:14.572+00:00",
- "created": "2024-01-14T14:37:14.572+00:00"
}, - "active": true,
- "locked": false,
- "installed": false,
- "dateInstalled": null,
- "dateStopped": null
}
}{- "status": 200,
- "responseCode": "GET_ALL_ASSIGNED_DEVICE",
- "message": "Get All Assigned Devices",
- "body": [
- {
- "id": 3,
- "device": {
- "id": 1,
- "synchthingId": null,
- "pieSerial": " ",
- "gpsSerial": "234rt5673",
- "macAddress": " ",
- "rpiSerial": null,
- "isActive": true,
- "created": "2024-01-14T15:06:21.590+00:00"
}, - "organization": {
- "id": 3,
- "contact": "Speedfox Sub",
- "logo": null,
- "title": "Speedfox Sub",
- "geoPackageId": null,
- "organisationId": 2,
- "isActive": true
}, - "vehicle": {
- "id": 2,
- "vehicleGroupId": 3,
- "vehicleGroup": null,
- "licensePlate": "AS323323",
- "vinNumber": "viwe223233",
- "makeId": 1,
- "model": "totodel",
- "vehicleType": "private_car",
- "inUse": true,
- "created": "2024-01-14T15:01:13.839+00:00"
}, - "configuration": {
- "id": 3,
- "name": null,
- "speedFoxConfigId": 21,
- "netPlanConfigId": 1,
- "geoPackageId": null,
- "validFrom": "2024-01-14T14:37:14.572+00:00",
- "validTo": "2024-01-14T14:37:14.572+00:00",
- "created": "2024-01-14T14:37:14.572+00:00"
}, - "active": true,
- "locked": false,
- "installed": false,
- "dateInstalled": null,
- "dateStopped": null
}, - {
- "id": 4,
- "device": {
- "id": 2,
- "synchthingId": null,
- "pieSerial": "3422 ",
- "gpsSerial": "234rt52673",
- "macAddress": " ",
- "rpiSerial": null,
- "isActive": true,
- "created": "2024-01-14T15:07:02.617+00:00"
}, - "organization": {
- "id": 3,
- "contact": "Speedfox Sub",
- "logo": null,
- "title": "Speedfox Sub",
- "geoPackageId": null,
- "organisationId": 2,
- "isActive": true
}, - "vehicle": {
- "id": 2,
- "vehicleGroupId": 3,
- "vehicleGroup": null,
- "licensePlate": "AS323323",
- "vinNumber": "viwe223233",
- "makeId": 1,
- "model": "totodel",
- "vehicleType": "private_car",
- "inUse": true,
- "created": "2024-01-14T15:01:13.839+00:00"
}, - "configuration": {
- "id": 3,
- "name": null,
- "speedFoxConfigId": 21,
- "netPlanConfigId": 1,
- "geoPackageId": null,
- "validFrom": "2024-01-14T14:37:14.572+00:00",
- "validTo": "2024-01-14T14:37:14.572+00:00",
- "created": "2024-01-14T14:37:14.572+00:00"
}, - "active": true,
- "locked": false,
- "installed": false,
- "dateInstalled": null,
- "dateStopped": null
}
]
}{- "id": 7,
- "deviceId": 13,
- "organisationId": 13,
- "configurationId": 8,
- "vehicleId": 12,
- "locked": false,
- "installed": false,
- "dateInstalled": "",
- "dateStopped": "",
- "active": false
}{- "netPlanConfigId": 16,
- "role": "technician",
- "ssid": " ",
- "userName": "JohnDoe",
- "password": " qwerty54321"
}{- "status": 200,
- "responseCode": "ADD_WIFI",
- "message": "Wifi Added",
- "body": {
- "id": 1,
- "role": "technician",
- "ssid": " ",
- "userName": "Petros",
- "password": " 990okio"
}
}{- "status": 200,
- "responseCode": "GET_ALL_WIFI",
- "message": "Get All Wifis",
- "body": [
- {
- "id": 2,
- "netPlanConfigId": 1,
- "role": "technician",
- "ssid": " ",
- "userName": "Petros",
- "password": " 990okio"
}, - {
- "id": 1,
- "netPlanConfigId": 1,
- "role": "technician",
- "ssid": " ",
- "userName": "Petros",
- "password": " 990okio"
}
]
}{- "id": 5,
- "netPlanConfigId": 1,
- "role": "technician",
- "ssid": " ",
- "userName": "Petross",
- "password": " 990okio6"
}{- "status": 200,
- "responseCode": "UPDATE_WIFI",
- "message": "Wifi Updated",
- "body": {
- "id": 1,
- "netPlanConfigId": 1,
- "role": "technician",
- "ssid": " ",
- "userName": "Petros",
- "password": " 990okio"
}
}| Authorization | string Example: Bearer eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2dlb2ludC5hZnJpY2EiLCJhdWQiOiJzcGVlZGZveC1hcGkiLCJyb2xlIjoiUk9MRV9TVVBFUlVTRVIiLCJleHAiOjE3MDgxNDY5MjYsInNpZCI6ImRlNjYxMzhlLTI2MGEtNDIxNi04MWU4LTQ3Nzk1M2U5NjNiMSIsInN1YiI6InNwZWVkZm94X2FkbWluIiwiaWF0IjoxNzA4MTQzMzI2fQ.vaOVngIyxmHsnrOSJxwWyO5v1xXrWkdUDMR4BJcTJ1s |