Prodigy Market Control REST API - Market Controller
The market/<market>/rename/entity/<code>
URL provides access to renaming entities.
Permission: Exchange
Rename Market Entity
Section titled “Rename Market Entity”POST market/<market>/rename/entity/<code>
Updates all Orders for this Entity to use a new code.
URL Parameters
Section titled “URL Parameters”Parameter | Description |
---|---|
market | A URL-encoded Market Code. |
code | A URL-encoded Entity Code. |
Query Parameters
Section titled “Query Parameters”Parameter | Expected | Description |
---|---|---|
newCode | Required | The new code of the Entity. |
POST Body
Section titled “POST Body”A single MarketBody object.
Response
Section titled “Response”Code | Status | Description |
---|---|---|
200 | Success | Content is a single string communicating the result of the operation (typically: Renamed ). |
400 | Failure | Invalid or incomplete request. |
404 | Failure | The Market does not exist. |
422 | Failure | Invalid data was provided. Content is a JSON array of one or more error codes describing the problem. |