POST api/NTSetting/PostNotificationType
Request Information
URI Parameters
None.
Body Parameters
NTNotificationTypeDTOName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
NotificationType | string |
String length: inclusive between 0 and 250 |
|
NotificationFrom | integer |
None. |
|
MailPriority | integer |
None. |
|
ClinicalPathwayTypeId | integer |
None. |
|
EmailTemplate | string |
String length: inclusive between 0 and 8000 |
|
Subject | string |
String length: inclusive between 0 and 350 |
|
ClinicalPathwayTypeName | string |
String length: inclusive between 0 and 100 |
|
NotificationTypeCode | string |
None. |
|
ValidFlag | boolean |
None. |
|
DateCreated | date |
None. |
|
DateUpdated | date |
None. |
|
UserIDCreated | integer |
None. |
|
UserIDUpdated | integer |
None. |
|
CompanyCode | string |
String length: inclusive between 0 and 20 |
|
IsExcludeDiscount | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "NotificationType": "sample string 2", "NotificationFrom": 1, "MailPriority": 1, "ClinicalPathwayTypeId": 3, "EmailTemplate": "sample string 4", "Subject": "sample string 5", "ClinicalPathwayTypeName": "sample string 6", "NotificationTypeCode": "sample string 7", "ValidFlag": true, "DateCreated": "2025-04-03T19:03:25.1481007-07:00", "DateUpdated": "2025-04-03T19:03:25.1481007-07:00", "UserIDCreated": 11, "UserIDUpdated": 12, "CompanyCode": "sample string 13", "IsExcludeDiscount": true }
application/xml, text/xml
Sample:
<NTNotificationTypeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL"> <CompanyCode>sample string 13</CompanyCode> <DateCreated>2025-04-03T19:03:25.1481007-07:00</DateCreated> <DateUpdated>2025-04-03T19:03:25.1481007-07:00</DateUpdated> <IsExcludeDiscount>true</IsExcludeDiscount> <UserIDCreated>11</UserIDCreated> <UserIDUpdated>12</UserIDUpdated> <ValidFlag>true</ValidFlag> <ClinicalPathwayTypeId>3</ClinicalPathwayTypeId> <ClinicalPathwayTypeName>sample string 6</ClinicalPathwayTypeName> <EmailTemplate>sample string 4</EmailTemplate> <Id>1</Id> <MailPriority>1</MailPriority> <NotificationFrom>1</NotificationFrom> <NotificationType>sample string 2</NotificationType> <NotificationTypeCode>sample string 7</NotificationTypeCode> <Subject>sample string 5</Subject> </NTNotificationTypeDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfNTNotificationTypeDTOName | Description | Type | Additional information |
---|---|---|---|
isSuccess | boolean |
None. |
|
message | string |
None. |
|
jsonObj | NTNotificationTypeDTO |
None. |
|
totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "isSuccess": true, "message": "sample string 2", "jsonObj": { "Id": 1, "NotificationType": "sample string 2", "NotificationFrom": 1, "MailPriority": 1, "ClinicalPathwayTypeId": 3, "EmailTemplate": "sample string 4", "Subject": "sample string 5", "ClinicalPathwayTypeName": "sample string 6", "NotificationTypeCode": "sample string 7", "ValidFlag": true, "DateCreated": "2025-04-03T19:03:25.1637425-07:00", "DateUpdated": "2025-04-03T19:03:25.1637425-07:00", "UserIDCreated": 11, "UserIDUpdated": 12, "CompanyCode": "sample string 13", "IsExcludeDiscount": true }, "totalCount": 3 }
application/xml, text/xml
Sample:
<AsapResponseOfNTNotificationTypeDTO3NYuOdgi 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.BL"> <d2p1:CompanyCode>sample string 13</d2p1:CompanyCode> <d2p1:DateCreated>2025-04-03T19:03:25.1637425-07:00</d2p1:DateCreated> <d2p1:DateUpdated>2025-04-03T19:03:25.1637425-07:00</d2p1:DateUpdated> <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount> <d2p1:UserIDCreated>11</d2p1:UserIDCreated> <d2p1:UserIDUpdated>12</d2p1:UserIDUpdated> <d2p1:ValidFlag>true</d2p1:ValidFlag> <d2p1:ClinicalPathwayTypeId>3</d2p1:ClinicalPathwayTypeId> <d2p1:ClinicalPathwayTypeName>sample string 6</d2p1:ClinicalPathwayTypeName> <d2p1:EmailTemplate>sample string 4</d2p1:EmailTemplate> <d2p1:Id>1</d2p1:Id> <d2p1:MailPriority>1</d2p1:MailPriority> <d2p1:NotificationFrom>1</d2p1:NotificationFrom> <d2p1:NotificationType>sample string 2</d2p1:NotificationType> <d2p1:NotificationTypeCode>sample string 7</d2p1:NotificationTypeCode> <d2p1:Subject>sample string 5</d2p1:Subject> </jsonObj> <message>sample string 2</message> <totalCount>3</totalCount> </AsapResponseOfNTNotificationTypeDTO3NYuOdgi>