POST api/AlarmClock/Add
创建闹钟
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| model |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"AlarmClockId": "371c4962-e861-4d39-80c1-36a5eec81c90",
"DaysOfweek": "sample string 2",
"PlayTime": "sample string 3",
"PlayTimes": 4,
"IntervalTime": 5,
"ChannelId": "sample string 6",
"ChannelName": "sample string 7",
"UserId": "431415c0-171d-44ca-a3f3-3aa0d7ac2bb0",
"AlarmClockMaterialId": "ed939f0e-0fc9-4708-83e2-c449b11699e4",
"AlarmClockItems": [
{
"AlarmFriendModifyId": "6109509a-2589-4a50-8158-f19153126fde",
"UserId": "ee13d25f-588f-4e39-9e41-459a6ca7a0ff",
"AlarmClockId": "9d7ce9b9-bec4-4e00-a5f7-8f9a4932b94d",
"MaterialUrl": "sample string 4",
"Name": "sample string 5",
"Nick": "sample string 6",
"OSSImagePath": "sample string 7",
"CreateTime": 8,
"AlarmClockMaterialId": "21d16a9b-d3d4-413c-9b2f-6ea67d4bbab9"
},
{
"AlarmFriendModifyId": "6109509a-2589-4a50-8158-f19153126fde",
"UserId": "ee13d25f-588f-4e39-9e41-459a6ca7a0ff",
"AlarmClockId": "9d7ce9b9-bec4-4e00-a5f7-8f9a4932b94d",
"MaterialUrl": "sample string 4",
"Name": "sample string 5",
"Nick": "sample string 6",
"OSSImagePath": "sample string 7",
"CreateTime": 8,
"AlarmClockMaterialId": "21d16a9b-d3d4-413c-9b2f-6ea67d4bbab9"
},
{
"AlarmFriendModifyId": "6109509a-2589-4a50-8158-f19153126fde",
"UserId": "ee13d25f-588f-4e39-9e41-459a6ca7a0ff",
"AlarmClockId": "9d7ce9b9-bec4-4e00-a5f7-8f9a4932b94d",
"MaterialUrl": "sample string 4",
"Name": "sample string 5",
"Nick": "sample string 6",
"OSSImagePath": "sample string 7",
"CreateTime": 8,
"AlarmClockMaterialId": "21d16a9b-d3d4-413c-9b2f-6ea67d4bbab9"
}
],
"AlarmClockMaterial": {
"MaterialPath": "sample string 1",
"Name": "sample string 2",
"AlarmClockMaterialId": "e6415efe-77e8-4704-8fbc-3b6918c1c885",
"Intro": 4,
"Outtro": 5,
"UserId": "cb3ffad1-14c8-4901-81c3-da0b7b333681",
"TargetType": 7
},
"User": {
"UserId": "e68f02b0-4e5d-4112-a6c8-62e606f76b72",
"Nick": "sample string 2",
"HeaderUrl": "sample string 3",
"CoverUrl": "sample string 4",
"Brief": "sample string 5",
"Gender": 0,
"Birthday": "sample string 6",
"IsVerified": 7,
"NumberOfFan": 8,
"NumberOfAttention": 9,
"IsAttentioned": 10,
"UserGroupId": "48e8bd15-4e16-4753-a6ab-32fc2e758a15",
"SmallImagePath": "sample string 12",
"LargeImagePath": "sample string 13",
"MiddleImagePath": "sample string 14",
"OSSImagePath": "sample string 15",
"QrImage": "sample string 16",
"BirthdayTime": 17,
"UserType": 1,
"CreateTime": 18,
"IsAvailable": true,
"Version": "sample string 20"
},
"Label": "sample string 9",
"CreateTime": 10,
"IsAvailable": 11,
"Version": "sample string 12"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{
"Result": 1,
"Message": "sample string 2",
"Data": {},
"Version": "sample string 4"
}