POST /adminInbox

Import or reject an uploaded photo or a problem report from the inbox

Request Traces

Request Headers

POST https://api.railway-stations.org/adminInbox
Accept: application/json

Request Content

{
   "id": 0,
   "countryCode": "string",
   "stationId": "string",
   "title": "string",
   "lat": 0,
   "lon": 0,
   "rejectReason": "string",
   "DS100": "string",
   "active": false,
   "conflictResolution": "string",
   "command": "string",
}

HTTP Response

HTTP 200

command successfully

{
   "status": 0,
   "message": "string",
}
HTTP 400

Bad Request

HTTP 401

not authorized

HTTP 403

forbidden

HTTP default

Unexpected error