Use this API endpoint to make a BSL Train Announcement request.
Copy
curl --location 'https://sign.client.api.stag.signapsesolutions.com/v1/sign-requests/train-announcements' \--header 'Authorization: Bearer {token}' \--header 'Content-Type: application/json' \--data '{ "destination": "HOB", "timing": "1210", "platform": "1", "operator": "SE" "updatedTiming": "", "updatedPlatform": "", "shortDelay": false, "busReplacement": false, "cancelled": false, "noPlatform": false, "callingAt": "POO,BMH,WAT", "notCallingAt": "", "currentStation": "" "bgColour": "18,195,83", "metaData": { "messageId": "messageId here - record of the request id of the client system", "tenantId": "tenantId here - client which system", "userRequestingId": "userRequestingId here - person who made the request", "requestTime": "requestTime here - request time from the client side" }}'
This endpoint will return the below response with 200 status code.