Distribution
This documentation outlines a set of API endpoints for managing and interacting with TRADE's Queue, including distribution management and status.
Last updated
Was this helpful?
This documentation outlines a set of API endpoints for managing and interacting with TRADE's Queue, including distribution management and status.
Last updated
Was this helpful?
Was this helpful?
POST /Distribution/Start HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 51
{
"packageId": 1,
"userName": "text",
"password": "text"
}POST /Distribution/Stop HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 51
{
"packageId": 1,
"userName": "text",
"password": "text"
}{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"message": "text"
}
}POST /Package/GetDistributionStatus HTTP/1.1
Host: stm-api.lsports.eu
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 51
{
"packageId": 1,
"userName": "text",
"password": "text"
}{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"isDistributionOn": true,
"consumers": [
"text"
],
"numberMessagesInQueue": 1,
"messagesPerSecond": 1
}
}