You can submit a request to bid for a user by using the following URL and specifying the required parameters.
| Method | URL |
| POST | https://api.fairwarningsoftware.com/v1.1.1/auction/register |
| Request |
| { "user_id": <user_id>, "auction_id": <auction_id> } |
| Field | Type | Description |
| user_id | int | The ID of the user requesting to bid. |
| auction_id | int | The ID of the auction the user wants to bid in. |
If successful, a success response will be returned. If not, an error will be returned instead.
| Status | Response |
| 200 | { "success": <success> } |
| 401 | {"error":"The API keys provided are invalid."} |
| 403 | {"error":"API keys are missing."} |
| 500 | {"error": <custom error>} |
| Field | Type | Description |
| success | bool | Whether or not the request was successful |