POST api/RemindMe/CreateOrEdit
创建编辑日程提醒
Request Information
URI Parameters
None.
Body Parameters
DAL.t_remind_me| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UserId | integer |
None. |
|
| Category | integer |
None. |
|
| RemindContent | string |
None. |
|
| RemindDate | date |
None. |
|
| RemindWeek | integer |
None. |
|
| IsValid | integer |
None. |
|
| NickName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"UserId": 2,
"Category": 3,
"RemindContent": "sample string 4",
"RemindDate": "2026-06-09T21:24:20.5150839+08:00",
"RemindWeek": 1,
"IsValid": 1,
"NickName": "sample string 5"
}
application/xml, text/xml
Sample:
<t_remind_me xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAL"> <Category>3</Category> <Id>1</Id> <IsValid>1</IsValid> <NickName>sample string 5</NickName> <RemindContent>sample string 4</RemindContent> <RemindDate>2026-06-09T21:24:20.5150839+08:00</RemindDate> <RemindWeek>1</RemindWeek> <UserId>2</UserId> </t_remind_me>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Web.Http.Results.JsonResultOfDAL.HandleResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Content | DAL.HandleResult |
None. |
|
| SerializerSettings | Newtonsoft.Json.JsonSerializerSettings |
None. |
|
| Encoding | System.Text.Encoding |
None. |
|
| Request | System.Net.Http.HttpRequestMessage |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.