Distribution
This documentation outlines a set of API endpoints for managing and interacting with TRADE360's Queue, including distribution management and status.
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
Responses
200
Success
post
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"
}
200
Success
No content
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
Responses
200
Success
post
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"
}
200
Success
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"message": "text"
}
}
Body
packageIdinteger · int32Required
userNamestring · min: 1Required
passwordstring · min: 1Required
Responses
200
Success
post
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"
}
200
Success
{
"header": {
"httpStatusCode": 1,
"errors": [
{
"message": "text"
}
]
},
"body": {
"isDistributionOn": true,
"consumers": [
"text"
],
"numberMessagesInQueue": 1,
"messagesPerSecond": 1
}
}
Last updated
Was this helpful?