Authorization: Bearer ********************
{
"scenarios": [
{
"id": "40ecc254-9511-4896-aa7e-8573470af10c",
"scenarioCode": "CSDYFA589019",
"scenarioName": "测试大雨方案",
"modelType": "MIKEPlusFloodModel",
"modelSubType": "Schedule",
"template": 0,
"inheritedScenario": "f379f17f-50ac-4697-b42e-37d14121c08c",
"readOnly": 0,
"enabled": 1,
"relativeFolder": "CSDYFA589019",
"projectFile": "BYJC_YS.mupp",
"currentTime": "2025-02-01T12:00:00",
"startTime": "2025-02-01T00:00:00",
"endTime": "2025-02-02T00:00:00",
"createTime": "2025-03-14T09:23:37.8525",
"autoCalculate": 0,
"modified": 0,
"checked": 0,
"calculated": 1,
"published": 0,
"onlineFirst": 1,
"autoAmend": 1,
"state": null,
"description": "用于测试大雨场景下的预演方案",
"version": "04234f71-e1c8-4d6f-9ef8-57209294d80f",
"tenantId": "3a1654c5-4f41-00be-3508-362dee00b666",
"minIOPath": "modelconfiguration/modeltemplatefiles/CSDYFA589019.zip",
"minIOBucket": "MIKEPlusFloodModel",
"creatorName": "",
"attributes": "",
"name": "CSDYFA589019"
}
]
}
curl --location --request POST 'http://10.174.150.25:32001/api/v2/scenario-manager/scenario/update' \
--header 'Content-Type: application/json' \
--data-raw '{
"scenarios": [
{
"id": "40ecc254-9511-4896-aa7e-8573470af10c",
"scenarioCode": "CSDYFA589019",
"scenarioName": "测试大雨方案",
"modelType": "MIKEPlusFloodModel",
"modelSubType": "Schedule",
"template": 0,
"inheritedScenario": "f379f17f-50ac-4697-b42e-37d14121c08c",
"readOnly": 0,
"enabled": 1,
"relativeFolder": "CSDYFA589019",
"projectFile": "BYJC_YS.mupp",
"currentTime": "2025-02-01T12:00:00",
"startTime": "2025-02-01T00:00:00",
"endTime": "2025-02-02T00:00:00",
"createTime": "2025-03-14T09:23:37.8525",
"autoCalculate": 0,
"modified": 0,
"checked": 0,
"calculated": 1,
"published": 0,
"onlineFirst": 1,
"autoAmend": 1,
"state": null,
"description": "用于测试大雨场景下的预演方案",
"version": "04234f71-e1c8-4d6f-9ef8-57209294d80f",
"tenantId": "3a1654c5-4f41-00be-3508-362dee00b666",
"minIOPath": "modelconfiguration/modeltemplatefiles/CSDYFA589019.zip",
"minIOBucket": "MIKEPlusFloodModel",
"creatorName": "",
"attributes": "",
"name": "CSDYFA589019"
}
]
}'
{
"data": true,
"status": true,
"code": "000000",
"message": null,
"traceId": null
}