POST api/aidDecision/SaveSubWarn

Request Information

URI Parameters

None.

Body Parameters

Collection of EntAppAllSubWarn
NameDescriptionTypeAdditional information
IsUpdate

boolean

None.

IsUsingBool

boolean

None.

Id

integer

None.

ParentCode

string

None.

WarnTypeCode

string

None.

WarnTypeCn

string

None.

DaysConfig

integer

None.

WillEndDays

integer

None.

ShowSeqence

integer

None.

CreateUser

string

None.

CreateDate

date

None.

UpdateUser

string

None.

UpdateDate

date

None.

IsUsing

integer

None.

PageSize

integer

None.

PageIndex

integer

None.

TotalCount

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "isUpdate": true,
    "isUsingBool": true,
    "id": 3,
    "parentCode": "sample string 4",
    "warnTypeCode": "sample string 5",
    "warnTypeCn": "sample string 6",
    "daysConfig": 7,
    "willEndDays": 8,
    "showSeqence": 9,
    "createUser": "sample string 10",
    "createDate": "2024-11-21 16:52:26",
    "updateUser": "sample string 11",
    "updateDate": "2024-11-21 16:52:26",
    "isUsing": 12,
    "pageSize": 13,
    "pageIndex": 14,
    "totalCount": 15
  },
  {
    "isUpdate": true,
    "isUsingBool": true,
    "id": 3,
    "parentCode": "sample string 4",
    "warnTypeCode": "sample string 5",
    "warnTypeCn": "sample string 6",
    "daysConfig": 7,
    "willEndDays": 8,
    "showSeqence": 9,
    "createUser": "sample string 10",
    "createDate": "2024-11-21 16:52:26",
    "updateUser": "sample string 11",
    "updateDate": "2024-11-21 16:52:26",
    "isUsing": 12,
    "pageSize": 13,
    "pageIndex": 14,
    "totalCount": 15
  }
]

application/xml, text/xml

Sample:
<ArrayOfEntAppAllSubWarn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model">
  <EntAppAllSubWarn>
    <PageIndex>14</PageIndex>
    <PageSize>13</PageSize>
    <TotalCount>15</TotalCount>
    <CreateDate>2024-11-21T16:52:26.8224773+08:00</CreateDate>
    <CreateUser>sample string 10</CreateUser>
    <DaysConfig>7</DaysConfig>
    <Id>3</Id>
    <IsUpdate>true</IsUpdate>
    <IsUsing>12</IsUsing>
    <IsUsingBool>true</IsUsingBool>
    <ParentCode>sample string 4</ParentCode>
    <ShowSeqence>9</ShowSeqence>
    <UpdateDate>2024-11-21T16:52:26.8224773+08:00</UpdateDate>
    <UpdateUser>sample string 11</UpdateUser>
    <WarnTypeCn>sample string 6</WarnTypeCn>
    <WarnTypeCode>sample string 5</WarnTypeCode>
    <WillEndDays>8</WillEndDays>
  </EntAppAllSubWarn>
  <EntAppAllSubWarn>
    <PageIndex>14</PageIndex>
    <PageSize>13</PageSize>
    <TotalCount>15</TotalCount>
    <CreateDate>2024-11-21T16:52:26.8224773+08:00</CreateDate>
    <CreateUser>sample string 10</CreateUser>
    <DaysConfig>7</DaysConfig>
    <Id>3</Id>
    <IsUpdate>true</IsUpdate>
    <IsUsing>12</IsUsing>
    <IsUsingBool>true</IsUsingBool>
    <ParentCode>sample string 4</ParentCode>
    <ShowSeqence>9</ShowSeqence>
    <UpdateDate>2024-11-21T16:52:26.8224773+08:00</UpdateDate>
    <UpdateUser>sample string 11</UpdateUser>
    <WarnTypeCn>sample string 6</WarnTypeCn>
    <WarnTypeCode>sample string 5</WarnTypeCode>
    <WillEndDays>8</WillEndDays>
  </EntAppAllSubWarn>
</ArrayOfEntAppAllSubWarn>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReturnResultOfString
NameDescriptionTypeAdditional information
Status

integer

None.

Success

boolean

None.

Data

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "success": true,
  "data": "sample string 3",
  "message": "sample string 4"
}

application/xml, text/xml

Sample:
<ReturnResultOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model">
  <Data>sample string 3</Data>
  <Message>sample string 4</Message>
  <Status>1</Status>
  <Success>true</Success>
</ReturnResultOfstring>