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": "187efd05-086c-47a2-ac0b-4045aa04ceb3",
  "DaysOfweek": "sample string 2",
  "PlayTime": "sample string 3",
  "PlayTimes": 4,
  "IntervalTime": 5,
  "ChannelId": "sample string 6",
  "ChannelName": "sample string 7",
  "UserId": "44d61ceb-a182-4b45-b8e8-fa0d5d80d651",
  "AlarmClockMaterialId": "5431443b-314b-450a-8114-0471627bfaa5",
  "AlarmClockItems": [
    {
      "AlarmFriendModifyId": "174b29b3-2846-4740-a7ac-fc7f8d213ac1",
      "UserId": "2ef4ec59-0eb2-4f17-afe4-67d797520911",
      "AlarmClockId": "70577b3c-6514-41af-8b85-9cc25d735151",
      "MaterialUrl": "sample string 4",
      "Name": "sample string 5",
      "Nick": "sample string 6",
      "OSSImagePath": "sample string 7",
      "CreateTime": 8,
      "AlarmClockMaterialId": "0e4ac51c-fe1b-49e1-8182-ab485500e134"
    },
    {
      "AlarmFriendModifyId": "174b29b3-2846-4740-a7ac-fc7f8d213ac1",
      "UserId": "2ef4ec59-0eb2-4f17-afe4-67d797520911",
      "AlarmClockId": "70577b3c-6514-41af-8b85-9cc25d735151",
      "MaterialUrl": "sample string 4",
      "Name": "sample string 5",
      "Nick": "sample string 6",
      "OSSImagePath": "sample string 7",
      "CreateTime": 8,
      "AlarmClockMaterialId": "0e4ac51c-fe1b-49e1-8182-ab485500e134"
    },
    {
      "AlarmFriendModifyId": "174b29b3-2846-4740-a7ac-fc7f8d213ac1",
      "UserId": "2ef4ec59-0eb2-4f17-afe4-67d797520911",
      "AlarmClockId": "70577b3c-6514-41af-8b85-9cc25d735151",
      "MaterialUrl": "sample string 4",
      "Name": "sample string 5",
      "Nick": "sample string 6",
      "OSSImagePath": "sample string 7",
      "CreateTime": 8,
      "AlarmClockMaterialId": "0e4ac51c-fe1b-49e1-8182-ab485500e134"
    }
  ],
  "AlarmClockMaterial": {
    "MaterialPath": "sample string 1",
    "Name": "sample string 2",
    "AlarmClockMaterialId": "7eea7ded-bf71-4a55-b4de-79b280e53031",
    "Intro": 4,
    "Outtro": 5,
    "UserId": "a174e961-af14-47b4-80cc-f409d96d2423",
    "TargetType": 7
  },
  "User": {
    "UserId": "1b0fe00d-365e-427f-ba94-769e7ffc5234",
    "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": "8281fc2e-15e0-4795-a1fe-171d188cd511",
    "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"
}