TOPS API Release Notes v2.3.33 ============================== Changes to API =============== GET /api/v2/consist ------------------- - Return type is enforced to application/json. POST /api/v2/consistTrain -------------------------- - Request media type is enforced to application/json. - Return type is enforced to application/json. GET /api/v2/jobResult ---------------------- - Return type is enforced to application/json. POST /api/v2/powerConsistTrain ------------------------------ - Request media type is enforced to application/json. - Return type is enforced to application/json. GET /api/v2/schedules --------------------- - Return type is enforced to application/json. POST /api/v2/trainDocument -------------------------- - Request media type is enforced to application/json. - Return type is enforced to application/json. GET /api/v2/trainMovement ------------------------- - Return type is enforced to application/json. POST /api/v2/wagonDetails ------------------------- - Request media type is enforced to application/json. - Return type is enforced to application/json. GET /api/v2/referenceData ------------------------- - All reference data requests return type is enforced to application/json. Changes to API docs =================== POST /api/v2/updateStatus ------------------------- - Changed return code "204 No Content" to "202 Accepted" to correspond with actual API. - Removed "Returns" section as we are only returning an http code. GET /api/v2/consist ------------------- - Added missing comment to End-User-Id header parameter. - Return Content-Type is changed to "application/json" to correspond with actual API. - Return json schema is changed to to correspond with actual API. POST /api/v2/consistTrain ------------------------- - Added missing comment to End-User-Id header parameter. - Request Content-Type is changed to "application/json" to correspond with actual API. - Return Content-Type is changed to "application/json" to correspond with actual API. - Return json schema is changed to to correspond with actual API. GET /api/v2/jobResult --------------------- - Return type is enforced to application/json. - Return Content-Type is changed to "application/json" to correspond with actual API. - Return json schema is changed to to correspond with actual API. POST /api/v2/powerConsistTrain ------------------------------ - Added missing comment to End-User-Id header parameter. - Request Content-Type is changed to "application/json" to correspond with actual API. - Return Content-Type is changed to "application/json" to correspond with actual API. - Return json schema is changed to to correspond with actual API. GET /api/v2/schedules --------------------- - Return Content-Type is changed to "application/json" to correspond with actual API. - Return json schema is changed to to correspond with actual API. GET /api/v2/train ----------------- - Return Content-Type is changed to "application/json" to correspond with actual API. - Return json schema is changed to to correspond with actual API. - Added valid return codes. POST /api/v2/trainDocument -------------------------- - Added missing comment to End-User-Id header parameter. - Request Content-Type is changed to "application/json" to correspond with actual API. - Return Content-Type is changed to "application/json" to correspond with actual API. - Return json schema is changed to to correspond with actual API. GET /api/v2/trainMovement ------------------------- - Added missing comment to End-User-Id header parameter. - Return Content-Type is changed to "application/json" to correspond with actual API. - Return json schema is changed to to correspond with actual API. POST /api/v2/wagonDetails ------------------------- - Added missing comment to End-User-Id header parameter. - Request Content-Type is changed to "application/json" to correspond with actual API. - Return Content-Type is changed to "application/json" to correspond with actual API. /api/v2/referenceData/{dataSet} ------------------------------- - Return Content-Type is changed to "application/json" to correspond with actual API.