Authorization: Bearer ********************{
"planName": "string",
"warningTypeList": [
{
"warningTypeName": "string",
"description": "string",
"creationTime": "2019-08-24T14:15:22.123Z",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"warningLevelList": [
{
"warningType": "19945444-755f-4207-9702-dc40a545e28d",
"warningTypeName": "string",
"warningLevel": "string",
"judgingCondition": "string",
"creationTime": "2019-08-24T14:15:22.123Z",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"remark": "string",
"fileList": [
{
"path": "string",
"url": "string",
"name": "string",
"size": 0,
"type": "string",
"sort": 0,
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"orgLeaderList": [
{
"userName": "string",
"name": "string",
"surname": "string",
"emailAddress": "string",
"phoneNumber": "string",
"isActive": true,
"lastLoginTime": "string",
"creationTime": "2019-08-24T14:15:22.123Z",
"roleDisplayNames": [
"string"
],
"roleNames": [
"string"
],
"roleId": [
0
],
"projectOrgIds": [
0
],
"positionIds": [
0
],
"userIdCard": "string",
"isReceiveSMS": "string",
"contingencyDuties": "string",
"userStatus": "1",
"fileList": [
{
"path": "string",
"url": "string",
"name": "string",
"size": 0,
"fileId": "string",
"type": "string",
"creationTime": "2019-08-24T14:15:22.123Z",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"id": 0
}
],
"emergencySquadList": [
{
"squadName": "string",
"squadLeader": 0,
"squadLeaderName": "string",
"telephone": "string",
"squadMember": [
0
],
"squadMemberName": [
"string"
],
"responsibilities": "string",
"remark": "string",
"creationTime": "2019-08-24T14:15:22.123Z",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"processList": [
{
"processName": "string",
"processType": "657ee99f-9495-4550-a475-a649d2155a5b",
"processTypeName": "string",
"processDescribe": "string",
"processForm": "string",
"creationTime": "2019-08-24T14:15:22.123Z",
"creatorUserId": "string",
"creatorUserName": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}curl --location --request POST '/api/services/app/emergencyCommand/emergencyPlan/crOrUp' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json-patch+json' \
--data-raw '{
"planName": "string",
"warningTypeList": [
{
"warningTypeName": "string",
"description": "string",
"creationTime": "2019-08-24T14:15:22.123Z",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"warningLevelList": [
{
"warningType": "19945444-755f-4207-9702-dc40a545e28d",
"warningTypeName": "string",
"warningLevel": "string",
"judgingCondition": "string",
"creationTime": "2019-08-24T14:15:22.123Z",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"remark": "string",
"fileList": [
{
"path": "string",
"url": "string",
"name": "string",
"size": 0,
"type": "string",
"sort": 0,
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"orgLeaderList": [
{
"userName": "string",
"name": "string",
"surname": "string",
"emailAddress": "string",
"phoneNumber": "string",
"isActive": true,
"lastLoginTime": "string",
"creationTime": "2019-08-24T14:15:22.123Z",
"roleDisplayNames": [
"string"
],
"roleNames": [
"string"
],
"roleId": [
0
],
"projectOrgIds": [
0
],
"positionIds": [
0
],
"userIdCard": "string",
"isReceiveSMS": "string",
"contingencyDuties": "string",
"userStatus": "1",
"fileList": [
{
"path": "string",
"url": "string",
"name": "string",
"size": 0,
"fileId": "string",
"type": "string",
"creationTime": "2019-08-24T14:15:22.123Z",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"id": 0
}
],
"emergencySquadList": [
{
"squadName": "string",
"squadLeader": 0,
"squadLeaderName": "string",
"telephone": "string",
"squadMember": [
0
],
"squadMemberName": [
"string"
],
"responsibilities": "string",
"remark": "string",
"creationTime": "2019-08-24T14:15:22.123Z",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"processList": [
{
"processName": "string",
"processType": "657ee99f-9495-4550-a475-a649d2155a5b",
"processTypeName": "string",
"processDescribe": "string",
"processForm": "string",
"creationTime": "2019-08-24T14:15:22.123Z",
"creatorUserId": "string",
"creatorUserName": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}'