POST api/Task/SaveByModel

Request Information

URI Parameters

None.

Body Parameters

TaskModel
NameDescriptionTypeAdditional information
ID

integer

None.

PlatformID

integer

None.

HospitalID

integer

None.

Code

string

None.

Name

string

None.

ServiceDateBegin

date

None.

ServiceDateEnd

date

None.

NameVisible

boolean

None.

NameRequired

boolean

None.

SexVisible

boolean

None.

SexRequired

boolean

None.

IDNoVisible

boolean

None.

IDNoRequired

boolean

None.

BirthdateVisible

boolean

None.

BirthdateRequired

boolean

None.

AgeVisible

boolean

None.

AgeRequired

boolean

None.

AgeCalcMode

integer

None.

PhoneVisible

boolean

None.

PhoneRequired

boolean

None.

PhotoVisible

boolean

None.

PhotoRequired

boolean

None.

PhotoReportShow

boolean

None.

PhotoLivePortrait

boolean

None.

PhotoWaterMark

boolean

None.

RegisteredAddressVisible

boolean

None.

RegisteredAddressDefaultText

string

None.

RegisteredAddressRequired

boolean

None.

LiveAddressVisible

boolean

None.

LiveAddressDefaultText

string

None.

LiveAddressRequired

boolean

None.

CommunityVisible

boolean

None.

CommunityRequired

boolean

None.

ReadCard

boolean

None.

RepeatCheckType

integer

None.

RepeatCheckDateBegin

date

None.

RepeatCheckDateEnd

date

None.

AfterCheckinRedirectInputPage

boolean

None.

RegScanToCheckin

boolean

None.

DoctorScanToCheckin

boolean

None.

SummarizeContentMode

integer

None.

SummarizeContentByAiDicID

integer

None.

SummarizeLockedMode

integer

None.

SummarizeDelayValue

integer

None.

SummarizeDelayUnit

integer

None.

GwEvaluationReViewMode

integer

None.

ExpectTotal

integer

None.

CheckinTotal

integer

None.

CheckoutedTotal

integer

None.

CompletedTotal

integer

None.

ReportPrintedTotal

integer

None.

PulseRateHeartRateFromECG

boolean

None.

TaskType

integer

None.

UpdateTime

date

None.

UpdateUserID

integer

None.

PackageList

Collection of PackageDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "PackageList": [
    {
      "ID": 1,
      "PlatformID": 1,
      "HospitalID": 1,
      "Code": "sample string 1",
      "Name": "sample string 2",
      "PY": "sample string 3",
      "ListPrice": 1.0,
      "Price": 1.0,
      "BarCodeCount": 1,
      "PackageType": 1,
      "BarCodeReport": "sample string 4",
      "ReportStyle": "sample string 5",
      "GwReportStyle": "sample string 6",
      "CardReportStyle": "sample string 7",
      "RegItemBillStyle": "sample string 8",
      "ReceiptReportStyle": "sample string 9",
      "InvoiceStyle": "sample string 10",
      "ExtensionNoticeStyle": "sample string 11",
      "PersonalGuaranteeStyle": "sample string 12",
      "Memo": "sample string 13",
      "Available": true,
      "ReViewUserID": 1,
      "ReViewTime": "2026-05-02T18:04:07.6355165+08:00",
      "UpdateTime": "2026-05-02T18:04:07.6355165+08:00",
      "UpdateUserID": 1
    },
    {
      "ID": 1,
      "PlatformID": 1,
      "HospitalID": 1,
      "Code": "sample string 1",
      "Name": "sample string 2",
      "PY": "sample string 3",
      "ListPrice": 1.0,
      "Price": 1.0,
      "BarCodeCount": 1,
      "PackageType": 1,
      "BarCodeReport": "sample string 4",
      "ReportStyle": "sample string 5",
      "GwReportStyle": "sample string 6",
      "CardReportStyle": "sample string 7",
      "RegItemBillStyle": "sample string 8",
      "ReceiptReportStyle": "sample string 9",
      "InvoiceStyle": "sample string 10",
      "ExtensionNoticeStyle": "sample string 11",
      "PersonalGuaranteeStyle": "sample string 12",
      "Memo": "sample string 13",
      "Available": true,
      "ReViewUserID": 1,
      "ReViewTime": "2026-05-02T18:04:07.6355165+08:00",
      "UpdateTime": "2026-05-02T18:04:07.6355165+08:00",
      "UpdateUserID": 1
    }
  ],
  "ID": 1,
  "PlatformID": 1,
  "HospitalID": 1,
  "Code": "sample string 1",
  "Name": "sample string 2",
  "ServiceDateBegin": "2026-05-02T18:04:07.6355165+08:00",
  "ServiceDateEnd": "2026-05-02T18:04:07.6355165+08:00",
  "NameVisible": true,
  "NameRequired": true,
  "SexVisible": true,
  "SexRequired": true,
  "IDNoVisible": true,
  "IDNoRequired": true,
  "BirthdateVisible": true,
  "BirthdateRequired": true,
  "AgeVisible": true,
  "AgeRequired": true,
  "AgeCalcMode": 1,
  "PhoneVisible": true,
  "PhoneRequired": true,
  "PhotoVisible": true,
  "PhotoRequired": true,
  "PhotoReportShow": true,
  "PhotoLivePortrait": true,
  "PhotoWaterMark": true,
  "RegisteredAddressVisible": true,
  "RegisteredAddressDefaultText": "sample string 3",
  "RegisteredAddressRequired": true,
  "LiveAddressVisible": true,
  "LiveAddressDefaultText": "sample string 4",
  "LiveAddressRequired": true,
  "CommunityVisible": true,
  "CommunityRequired": true,
  "ReadCard": true,
  "RepeatCheckType": 1,
  "RepeatCheckDateBegin": "2026-05-02T18:04:07.6355165+08:00",
  "RepeatCheckDateEnd": "2026-05-02T18:04:07.6355165+08:00",
  "AfterCheckinRedirectInputPage": true,
  "RegScanToCheckin": true,
  "DoctorScanToCheckin": true,
  "SummarizeContentMode": 1,
  "SummarizeContentByAiDicID": 1,
  "SummarizeLockedMode": 1,
  "SummarizeDelayValue": 1,
  "SummarizeDelayUnit": 1,
  "GwEvaluationReViewMode": 1,
  "ExpectTotal": 1,
  "CheckinTotal": 1,
  "CheckoutedTotal": 1,
  "CompletedTotal": 1,
  "ReportPrintedTotal": 1,
  "PulseRateHeartRateFromECG": true,
  "TaskType": 1,
  "UpdateTime": "2026-05-02T18:04:07.6355165+08:00",
  "UpdateUserID": 1
}

application/xml, text/xml

Sample:
<TaskModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO.ExchangeModels">
  <AfterCheckinRedirectInputPage xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</AfterCheckinRedirectInputPage>
  <AgeCalcMode xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">1</AgeCalcMode>
  <AgeRequired xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</AgeRequired>
  <AgeVisible xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</AgeVisible>
  <BirthdateRequired xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</BirthdateRequired>
  <BirthdateVisible xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</BirthdateVisible>
  <CheckinTotal xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">1</CheckinTotal>
  <CheckoutedTotal xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">1</CheckoutedTotal>
  <Code xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">sample string 1</Code>
  <CommunityRequired xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</CommunityRequired>
  <CommunityVisible xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</CommunityVisible>
  <CompletedTotal xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">1</CompletedTotal>
  <DoctorScanToCheckin xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</DoctorScanToCheckin>
  <ExpectTotal xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">1</ExpectTotal>
  <GwEvaluationReViewMode xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">1</GwEvaluationReViewMode>
  <HospitalID xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">1</HospitalID>
  <ID xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">1</ID>
  <IDNoRequired xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</IDNoRequired>
  <IDNoVisible xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</IDNoVisible>
  <LiveAddressDefaultText xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">sample string 4</LiveAddressDefaultText>
  <LiveAddressRequired xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</LiveAddressRequired>
  <LiveAddressVisible xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</LiveAddressVisible>
  <Name xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">sample string 2</Name>
  <NameRequired xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</NameRequired>
  <NameVisible xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</NameVisible>
  <PhoneRequired xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</PhoneRequired>
  <PhoneVisible xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</PhoneVisible>
  <PhotoLivePortrait xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</PhotoLivePortrait>
  <PhotoReportShow xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</PhotoReportShow>
  <PhotoRequired xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</PhotoRequired>
  <PhotoVisible xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</PhotoVisible>
  <PhotoWaterMark xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</PhotoWaterMark>
  <PlatformID xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">1</PlatformID>
  <PulseRateHeartRateFromECG xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</PulseRateHeartRateFromECG>
  <ReadCard xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</ReadCard>
  <RegScanToCheckin xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</RegScanToCheckin>
  <RegisteredAddressDefaultText xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">sample string 3</RegisteredAddressDefaultText>
  <RegisteredAddressRequired xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</RegisteredAddressRequired>
  <RegisteredAddressVisible xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</RegisteredAddressVisible>
  <RepeatCheckDateBegin xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">2026-05-02T18:04:07.6355165+08:00</RepeatCheckDateBegin>
  <RepeatCheckDateEnd xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">2026-05-02T18:04:07.6355165+08:00</RepeatCheckDateEnd>
  <RepeatCheckType xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">1</RepeatCheckType>
  <ReportPrintedTotal xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">1</ReportPrintedTotal>
  <ServiceDateBegin xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">2026-05-02T18:04:07.6355165+08:00</ServiceDateBegin>
  <ServiceDateEnd xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">2026-05-02T18:04:07.6355165+08:00</ServiceDateEnd>
  <SexRequired xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</SexRequired>
  <SexVisible xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">true</SexVisible>
  <SummarizeContentByAiDicID xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">1</SummarizeContentByAiDicID>
  <SummarizeContentMode xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">1</SummarizeContentMode>
  <SummarizeDelayUnit xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">1</SummarizeDelayUnit>
  <SummarizeDelayValue xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">1</SummarizeDelayValue>
  <SummarizeLockedMode xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">1</SummarizeLockedMode>
  <TaskType xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">1</TaskType>
  <UpdateTime xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">2026-05-02T18:04:07.6355165+08:00</UpdateTime>
  <UpdateUserID xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">1</UpdateUserID>
  <PackageList xmlns:d2p1="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">
    <d2p1:PackageDTO>
      <d2p1:Available>true</d2p1:Available>
      <d2p1:BarCodeCount>1</d2p1:BarCodeCount>
      <d2p1:BarCodeReport>sample string 4</d2p1:BarCodeReport>
      <d2p1:CardReportStyle>sample string 7</d2p1:CardReportStyle>
      <d2p1:Code>sample string 1</d2p1:Code>
      <d2p1:ExtensionNoticeStyle>sample string 11</d2p1:ExtensionNoticeStyle>
      <d2p1:GwReportStyle>sample string 6</d2p1:GwReportStyle>
      <d2p1:HospitalID>1</d2p1:HospitalID>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:InvoiceStyle>sample string 10</d2p1:InvoiceStyle>
      <d2p1:ListPrice>1</d2p1:ListPrice>
      <d2p1:Memo>sample string 13</d2p1:Memo>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:PY>sample string 3</d2p1:PY>
      <d2p1:PackageType>1</d2p1:PackageType>
      <d2p1:PersonalGuaranteeStyle>sample string 12</d2p1:PersonalGuaranteeStyle>
      <d2p1:PlatformID>1</d2p1:PlatformID>
      <d2p1:Price>1</d2p1:Price>
      <d2p1:ReViewTime>2026-05-02T18:04:07.6355165+08:00</d2p1:ReViewTime>
      <d2p1:ReViewUserID>1</d2p1:ReViewUserID>
      <d2p1:ReceiptReportStyle>sample string 9</d2p1:ReceiptReportStyle>
      <d2p1:RegItemBillStyle>sample string 8</d2p1:RegItemBillStyle>
      <d2p1:ReportStyle>sample string 5</d2p1:ReportStyle>
      <d2p1:UpdateTime>2026-05-02T18:04:07.6355165+08:00</d2p1:UpdateTime>
      <d2p1:UpdateUserID>1</d2p1:UpdateUserID>
    </d2p1:PackageDTO>
    <d2p1:PackageDTO>
      <d2p1:Available>true</d2p1:Available>
      <d2p1:BarCodeCount>1</d2p1:BarCodeCount>
      <d2p1:BarCodeReport>sample string 4</d2p1:BarCodeReport>
      <d2p1:CardReportStyle>sample string 7</d2p1:CardReportStyle>
      <d2p1:Code>sample string 1</d2p1:Code>
      <d2p1:ExtensionNoticeStyle>sample string 11</d2p1:ExtensionNoticeStyle>
      <d2p1:GwReportStyle>sample string 6</d2p1:GwReportStyle>
      <d2p1:HospitalID>1</d2p1:HospitalID>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:InvoiceStyle>sample string 10</d2p1:InvoiceStyle>
      <d2p1:ListPrice>1</d2p1:ListPrice>
      <d2p1:Memo>sample string 13</d2p1:Memo>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:PY>sample string 3</d2p1:PY>
      <d2p1:PackageType>1</d2p1:PackageType>
      <d2p1:PersonalGuaranteeStyle>sample string 12</d2p1:PersonalGuaranteeStyle>
      <d2p1:PlatformID>1</d2p1:PlatformID>
      <d2p1:Price>1</d2p1:Price>
      <d2p1:ReViewTime>2026-05-02T18:04:07.6355165+08:00</d2p1:ReViewTime>
      <d2p1:ReViewUserID>1</d2p1:ReViewUserID>
      <d2p1:ReceiptReportStyle>sample string 9</d2p1:ReceiptReportStyle>
      <d2p1:RegItemBillStyle>sample string 8</d2p1:RegItemBillStyle>
      <d2p1:ReportStyle>sample string 5</d2p1:ReportStyle>
      <d2p1:UpdateTime>2026-05-02T18:04:07.6355165+08:00</d2p1:UpdateTime>
      <d2p1:UpdateUserID>1</d2p1:UpdateUserID>
    </d2p1:PackageDTO>
  </PackageList>
</TaskModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.