POST api/NurseTriage/PostShortcuts
Request Information
URI Parameters
None.
Body Parameters
ShortcutsDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UserId | integer |
None. |
|
| Code | string |
String length: inclusive between 0 and 100 |
|
| Template | string |
String length: inclusive between 0 and 8000 |
|
| IsPrivate | boolean |
None. |
|
| Valid_Flag | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"UserId": 1,
"Code": "sample string 2",
"Template": "sample string 3",
"IsPrivate": true,
"Valid_Flag": true
}
application/xml, text/xml
Sample:
<ShortcutsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO.NurseTriage"> <Code>sample string 2</Code> <Id>1</Id> <IsPrivate>true</IsPrivate> <Template>sample string 3</Template> <UserId>1</UserId> <Valid_Flag>true</Valid_Flag> </ShortcutsDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfShortcutsDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| jsonObj | ShortcutsDTO |
None. |
|
| totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccess": true,
"message": "sample string 2",
"jsonObj": {
"Id": 1,
"UserId": 1,
"Code": "sample string 2",
"Template": "sample string 3",
"IsPrivate": true,
"Valid_Flag": true
},
"totalCount": 3
}
application/xml, text/xml
Sample:
<AsapResponseOfShortcutsDTOcrDnakHa xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common">
<isSuccess>true</isSuccess>
<jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO.NurseTriage">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Id>1</d2p1:Id>
<d2p1:IsPrivate>true</d2p1:IsPrivate>
<d2p1:Template>sample string 3</d2p1:Template>
<d2p1:UserId>1</d2p1:UserId>
<d2p1:Valid_Flag>true</d2p1:Valid_Flag>
</jsonObj>
<message>sample string 2</message>
<totalCount>3</totalCount>
</AsapResponseOfShortcutsDTOcrDnakHa>