POST api/ApiAccount
Request Information
URI Parameters
None.
Body Parameters
ApiAccountDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| HospitalID | integer |
None. |
|
| ComputerID | integer |
None. |
|
| Type | integer |
None. |
|
| Name | string |
None. |
|
| AppID | string |
None. |
|
| AppSecret | string |
None. |
|
| AppName | string |
None. |
|
| DateOfExpiry | date |
None. |
|
| Memo | string |
None. |
|
| AllowIPList | string |
None. |
|
| Available | boolean |
None. |
|
| UpdateTime | date |
None. |
|
| UpdateUserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"HospitalID": 1,
"ComputerID": 1,
"Type": 1,
"Name": "sample string 1",
"AppID": "sample string 2",
"AppSecret": "sample string 3",
"AppName": "sample string 4",
"DateOfExpiry": "2026-05-02T18:09:01.8759248+08:00",
"Memo": "sample string 5",
"AllowIPList": "sample string 6",
"Available": true,
"UpdateTime": "2026-05-02T18:09:01.8759248+08:00",
"UpdateUserID": 1
}
application/xml, text/xml
Sample:
<ApiAccountDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO"> <AllowIPList>sample string 6</AllowIPList> <AppID>sample string 2</AppID> <AppName>sample string 4</AppName> <AppSecret>sample string 3</AppSecret> <Available>true</Available> <ComputerID>1</ComputerID> <DateOfExpiry>2026-05-02T18:09:01.8759248+08:00</DateOfExpiry> <HospitalID>1</HospitalID> <ID>1</ID> <Memo>sample string 5</Memo> <Name>sample string 1</Name> <Type>1</Type> <UpdateTime>2026-05-02T18:09:01.8759248+08:00</UpdateTime> <UpdateUserID>1</UpdateUserID> </ApiAccountDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.