Skip to content

Create Programming Simulation By Order No ​

API Information ​

  • Request Path: /market/order/programming/simulation/createByOrderNo
  • Request Method: POST
  • Content-Type: application/json

Request Headers ​

ParameterTypeRequiredDescription
AuthorizationStringYesUser authentication token
Content-TypeStringYesMust be set to application/json

Request Body Structure ​

FieldTypeRequiredDescriptionConstraints
orderNoStringYesExisting child order numberMust be an order waiting for simulation selection

Request Body Example ​

json
{
  "orderNo": "ORDER_202604090001"
}

Response Body Structure ​

CommonResponse Object ​

FieldTypeDescription
codeIntegerResponse status code
messageStringResponse message
dataProgrammingSimulationCreateRespResponse data

ProgrammingSimulationCreateResp Object ​

FieldTypeDescription
taskNoStringSimulation task unique identifier

Response Examples ​

Success Response ​

json
{
  "code": 200,
  "message": "success",
  "data": {
    "taskNo": "SIM_20260409_xxxx"
  }
}

Failure Response ​

json
{
  "code": 400,
  "message": "Invalid parameters",
  "data": null
}

Error Code Description ​

Error CodeDescription
200Success
400Request parameter error
401Unauthorized
500Server internal error

Usage Instructions ​

  1. This API is used to create a simulation task from an existing child order.
  2. User authentication is required.
  3. Provide the target orderNo.
  4. Use returned taskNo to query simulation results.

Notes ​

  • If a simulation task already exists for the order, the existing task number may be returned.
  • This API is for orders in simulation selection flow.