POST api/AlarmClock/UpdateIsAvailable
修改
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| model | AlarmClock |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"AlarmClockId": "0d68a1ec-15f5-4de1-9fb2-1a2af4d63fdf",
"DaysOfweek": "sample string 2",
"PlayTime": "sample string 3",
"PlayTimes": 4,
"IntervalTime": 5,
"ChannelId": "sample string 6",
"ChannelName": "sample string 7",
"UserId": "f9648b86-c840-4ed6-b0d4-6f9f82319e6f",
"AlarmClockMaterialId": "1385a343-3ddc-41cb-b8a5-a89e211ad002",
"AlarmClockItems": [
{
"AlarmFriendModifyId": "6f5c2da1-5f76-435a-ab8e-60b519c8113a",
"UserId": "582c734b-c8a5-4458-a9ab-89d8e690eaee",
"AlarmClockId": "0f936a6c-b286-4382-bd30-1c453e6b0e68",
"MaterialUrl": "sample string 4",
"Name": "sample string 5",
"Nick": "sample string 6",
"OSSImagePath": "sample string 7",
"CreateTime": 8,
"AlarmClockMaterialId": "d1919a0c-7e39-4180-8a1a-805a3befcb1b"
},
{
"AlarmFriendModifyId": "6f5c2da1-5f76-435a-ab8e-60b519c8113a",
"UserId": "582c734b-c8a5-4458-a9ab-89d8e690eaee",
"AlarmClockId": "0f936a6c-b286-4382-bd30-1c453e6b0e68",
"MaterialUrl": "sample string 4",
"Name": "sample string 5",
"Nick": "sample string 6",
"OSSImagePath": "sample string 7",
"CreateTime": 8,
"AlarmClockMaterialId": "d1919a0c-7e39-4180-8a1a-805a3befcb1b"
},
{
"AlarmFriendModifyId": "6f5c2da1-5f76-435a-ab8e-60b519c8113a",
"UserId": "582c734b-c8a5-4458-a9ab-89d8e690eaee",
"AlarmClockId": "0f936a6c-b286-4382-bd30-1c453e6b0e68",
"MaterialUrl": "sample string 4",
"Name": "sample string 5",
"Nick": "sample string 6",
"OSSImagePath": "sample string 7",
"CreateTime": 8,
"AlarmClockMaterialId": "d1919a0c-7e39-4180-8a1a-805a3befcb1b"
}
],
"AlarmClockMaterial": {
"MaterialPath": "sample string 1",
"Name": "sample string 2",
"AlarmClockMaterialId": "d4a6cb3b-a041-4294-aae1-a93d85d3659c",
"Intro": 4,
"Outtro": 5,
"UserId": "6fa1f1cd-a0c9-4b7f-a138-b0e809d292d7",
"TargetType": 7
},
"User": {
"UserId": "a4cfff3b-8cad-416b-9321-6b03a1197d9a",
"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": "ab879e5b-db54-4ffb-aed8-c7a404921a32",
"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"
}