post https://api.freewheel.tv/services/v4/linear-orders
This method uses POST to upload linear orders to MRM.
Implementation Notes
- This endpoint only supports POST calls.
- Each external_id is unique for the line record in FreeWheel’s system.
- When you post a line that does not exist, a new record is created for it.
- When you post a line that already exists, the existing line record associated with the external_id is updated.
Response Codes
Scenario | Response Code | Meaning | Response Message |
---|---|---|---|
All orders are ingested successfully. | 200 | OK | {} |
No orders are ingested successfully. | 406 | Not Acceptable | { “message”:”Only json format is acceptable” } |
400 | Bad Request | { “message”:”Can not parse request body.” } | |
500 | Internal Server Error | { “message”:”Please contact Freewheel support.” } | |
Some orders are ingested successfully. | 207 | Unprocessable Entity | { “message”:”Some orders failed due to…”, “failed_records”: [“external_id1”,”external_id2”…] } |