Skip to content

Receive Transmission Route

Jason Wang edited this page May 3, 2018 · 1 revision

Receive Transmission Route

Save Transmission in Database

URL : /equisat/receive

Method : POST

Request Body Format

{
    "corrected": "Corrected Hex String to be parsed",
    "raw": "Original Hex String",
    "station_name": "String of where transmission was received"
}

Note that station_name is an optional field.

FOR TESTING PURPOSES ONLY: You can attach already parsed full JSON data onto a property called transmission onto the request body.

Success Responses

Condition : Data provided is valid and Transmission is saved.

Code : 201 OK

Error Response

Condition : If provided data is invalid, e.g. a field is missing or wrong format.

Code : 400 BAD REQUEST or 500 Internal Server Error

Clone this wiki locally