POST api/AlarmClock/Update

修改

Request Information

Parameters

NameDescriptionAdditional information
model
AlarmClock

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "AlarmClockId": "85e675c2-fb76-4bd9-b6b9-fbe72170d5d7",
  "DaysOfweek": "sample string 2",
  "PlayTime": "sample string 3",
  "PlayTimes": 4,
  "IntervalTime": 5,
  "ChannelId": "sample string 6",
  "ChannelName": "sample string 7",
  "UserId": "6341f0dc-3cdf-4884-84a6-f4de9da9c71c",
  "AlarmClockMaterialId": "b450755d-2938-4d85-a662-e1555c21726f",
  "AlarmClockItems": [
    {
      "AlarmFriendModifyId": "cfd427cc-5d76-4c11-a7a7-5f309dfab341",
      "UserId": "79edd673-dee3-4822-944e-6f30f5280ec6",
      "AlarmClockId": "c75e7de9-c7c9-4b0d-8abd-46c85824edbf",
      "MaterialUrl": "sample string 4",
      "Name": "sample string 5",
      "Nick": "sample string 6",
      "OSSImagePath": "sample string 7",
      "CreateTime": 8,
      "AlarmClockMaterialId": "be801158-6a6e-4c41-a42b-92219ea02483"
    },
    {
      "AlarmFriendModifyId": "cfd427cc-5d76-4c11-a7a7-5f309dfab341",
      "UserId": "79edd673-dee3-4822-944e-6f30f5280ec6",
      "AlarmClockId": "c75e7de9-c7c9-4b0d-8abd-46c85824edbf",
      "MaterialUrl": "sample string 4",
      "Name": "sample string 5",
      "Nick": "sample string 6",
      "OSSImagePath": "sample string 7",
      "CreateTime": 8,
      "AlarmClockMaterialId": "be801158-6a6e-4c41-a42b-92219ea02483"
    },
    {
      "AlarmFriendModifyId": "cfd427cc-5d76-4c11-a7a7-5f309dfab341",
      "UserId": "79edd673-dee3-4822-944e-6f30f5280ec6",
      "AlarmClockId": "c75e7de9-c7c9-4b0d-8abd-46c85824edbf",
      "MaterialUrl": "sample string 4",
      "Name": "sample string 5",
      "Nick": "sample string 6",
      "OSSImagePath": "sample string 7",
      "CreateTime": 8,
      "AlarmClockMaterialId": "be801158-6a6e-4c41-a42b-92219ea02483"
    }
  ],
  "AlarmClockMaterial": {
    "MaterialPath": "sample string 1",
    "Name": "sample string 2",
    "AlarmClockMaterialId": "afe4d666-ca7e-4083-8bcd-3b6020923ca8",
    "Intro": 4,
    "Outtro": 5,
    "UserId": "ce7c35a2-8191-4686-ad24-21e348485ad7",
    "TargetType": 7
  },
  "User": {
    "UserId": "f0df0610-fec0-4fc2-8c59-4d3e5c8ca7b1",
    "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": "c8389b60-c460-4e30-9b86-ba5215556c93",
    "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"
}