Get Location Speed Violation Report
POSThttps://stgapi.ctrackcrystal.co.za/api/Vehicle/LocationSpeedViolationReport
Get Location Speed Violation Report
Request
Responses
- 200
- 400
- 401
- 404
- 500
Success
Invalid Input
Unauthorized
Not Found
Unable To Complete Request
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://stgapi.ctrackcrystal.co.za/api/Vehicle/LocationSpeedViolationReport");
request.Headers.Add("Accept", "application/json");
var content = new StringContent("{\n \"ids\": [\n \"string\"\n ],\n \"fromDate\": \"2024-07-29T15:51:28.071Z\",\n \"toDate\": \"2024-07-29T15:51:28.071Z\",\n \"type\": \"Vehicle\"\n}", null, "application/json-patch+json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear