Send Status Request
curl --request POST \
--url https://api.engrate.io/schedule-management/v1/send_status_request \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"date": "2023-12-25",
"sender_id": "<string>",
"tso": "<string>"
}
'import requests
url = "https://api.engrate.io/schedule-management/v1/send_status_request"
payload = {
"date": "2023-12-25",
"sender_id": "<string>",
"tso": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({date: '2023-12-25', sender_id: '<string>', tso: '<string>'})
};
fetch('https://api.engrate.io/schedule-management/v1/send_status_request', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.engrate.io/schedule-management/v1/send_status_request",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'date' => '2023-12-25',
'sender_id' => '<string>',
'tso' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.engrate.io/schedule-management/v1/send_status_request"
payload := strings.NewReader("{\n \"date\": \"2023-12-25\",\n \"sender_id\": \"<string>\",\n \"tso\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.engrate.io/schedule-management/v1/send_status_request")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"date\": \"2023-12-25\",\n \"sender_id\": \"<string>\",\n \"tso\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.engrate.io/schedule-management/v1/send_status_request")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"date\": \"2023-12-25\",\n \"sender_id\": \"<string>\",\n \"tso\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"message_id": "SRQ-20260326-100000-A1B2C3D4",
"status": "queued",
"error_message": "<string>",
"next_allowed_at": "<string>",
"sent_at": "2026-03-26T10:00:00+00:00"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}Schedules
Send Status Request
Send a Status Request (SRQ) to a German TSO.
This is a sort of “reset” functionality, where you can request the TSO re-emits messages for a specified schedule, which will then be re-ingested into Engrate.
POST
/
schedule-management
/
v1
/
send_status_request
Send Status Request
curl --request POST \
--url https://api.engrate.io/schedule-management/v1/send_status_request \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"date": "2023-12-25",
"sender_id": "<string>",
"tso": "<string>"
}
'import requests
url = "https://api.engrate.io/schedule-management/v1/send_status_request"
payload = {
"date": "2023-12-25",
"sender_id": "<string>",
"tso": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({date: '2023-12-25', sender_id: '<string>', tso: '<string>'})
};
fetch('https://api.engrate.io/schedule-management/v1/send_status_request', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.engrate.io/schedule-management/v1/send_status_request",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'date' => '2023-12-25',
'sender_id' => '<string>',
'tso' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.engrate.io/schedule-management/v1/send_status_request"
payload := strings.NewReader("{\n \"date\": \"2023-12-25\",\n \"sender_id\": \"<string>\",\n \"tso\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.engrate.io/schedule-management/v1/send_status_request")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"date\": \"2023-12-25\",\n \"sender_id\": \"<string>\",\n \"tso\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.engrate.io/schedule-management/v1/send_status_request")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"date\": \"2023-12-25\",\n \"sender_id\": \"<string>\",\n \"tso\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"message_id": "SRQ-20260326-100000-A1B2C3D4",
"status": "queued",
"error_message": "<string>",
"next_allowed_at": "<string>",
"sent_at": "2026-03-26T10:00:00+00:00"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}Body
application/json
Request body for sending a status request to TSO.
Response
Successful Response
Response from a status request submission to a TSO.
Was this page helpful?