POST api/AlarmClock/Add

创建闹钟

Request Information

Parameters

NameDescriptionAdditional information
model

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "AlarmClockId": "1ae88dac-5307-459a-8bce-86406896a958",
  "DaysOfweek": "sample string 2",
  "PlayTime": "sample string 3",
  "PlayTimes": 4,
  "IntervalTime": 5,
  "ChannelId": "sample string 6",
  "ChannelName": "sample string 7",
  "UserId": "6e2b907a-0c8e-4ae2-b891-683e54fbbf2c",
  "AlarmClockMaterialId": "fac8b51f-4e0f-4f36-ae39-5ab1959fbdcb",
  "AlarmClockItems": [
    {
      "AlarmFriendModifyId": "eed77683-af69-4675-94a2-1d0dd33a8f93",
      "UserId": "0a0a3578-a58f-48d0-8e0f-b443c797e328",
      "AlarmClockId": "10cd5ab7-03c9-4f71-a05b-e4939b378dbe",
      "MaterialUrl": "sample string 4",
      "Name": "sample string 5",
      "Nick": "sample string 6",
      "OSSImagePath": "sample string 7",
      "CreateTime": 8,
      "AlarmClockMaterialId": "0cf377dc-3bbb-4949-aede-b4b165fc69e3"
    },
    {
      "AlarmFriendModifyId": "eed77683-af69-4675-94a2-1d0dd33a8f93",
      "UserId": "0a0a3578-a58f-48d0-8e0f-b443c797e328",
      "AlarmClockId": "10cd5ab7-03c9-4f71-a05b-e4939b378dbe",
      "MaterialUrl": "sample string 4",
      "Name": "sample string 5",
      "Nick": "sample string 6",
      "OSSImagePath": "sample string 7",
      "CreateTime": 8,
      "AlarmClockMaterialId": "0cf377dc-3bbb-4949-aede-b4b165fc69e3"
    },
    {
      "AlarmFriendModifyId": "eed77683-af69-4675-94a2-1d0dd33a8f93",
      "UserId": "0a0a3578-a58f-48d0-8e0f-b443c797e328",
      "AlarmClockId": "10cd5ab7-03c9-4f71-a05b-e4939b378dbe",
      "MaterialUrl": "sample string 4",
      "Name": "sample string 5",
      "Nick": "sample string 6",
      "OSSImagePath": "sample string 7",
      "CreateTime": 8,
      "AlarmClockMaterialId": "0cf377dc-3bbb-4949-aede-b4b165fc69e3"
    }
  ],
  "AlarmClockMaterial": {
    "MaterialPath": "sample string 1",
    "Name": "sample string 2",
    "AlarmClockMaterialId": "83ffb4fc-ca25-4bbe-9823-a21bf01f9b05",
    "Intro": 4,
    "Outtro": 5,
    "UserId": "b8eec667-f642-4543-88f6-cbe2b64c6bd2",
    "TargetType": 7
  },
  "User": {
    "UserId": "20a054a6-bbc9-4146-ac45-cc09e89913b2",
    "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": "7c6df03c-b0f3-464a-994a-9c527eaec927",
    "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"
}