POST api/NTCosCompany/PostCompanyTextNotificationType
Request Information
URI Parameters
None.
Body Parameters
CompanyTextNotificationTypeDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| TextNotificationTypeId | integer |
None. |
|
| TextNotificationTypeName | string |
String length: inclusive between 0 and 250 |
|
| TextNotificationTypeTemplate | string |
String length: inclusive between 0 and 2147483647 |
|
| IsCustomTemplate | boolean |
None. |
|
| CustomTemplate | string |
String length: inclusive between 0 and 2147483647 |
|
| ClinicalPathwayTypeId | integer |
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,
"TextNotificationTypeId": 2,
"TextNotificationTypeName": "sample string 3",
"TextNotificationTypeTemplate": "sample string 4",
"IsCustomTemplate": true,
"CustomTemplate": "sample string 5",
"ClinicalPathwayTypeId": 6,
"ValidFlag": true,
"DateCreated": "2025-10-30T10:03:46.8790271-07:00",
"DateUpdated": "2025-10-30T10:03:46.8790271-07:00",
"UserIDCreated": 10,
"UserIDUpdated": 11,
"CompanyCode": "sample string 12",
"IsExcludeDiscount": true
}
application/xml, text/xml
Sample:
<CompanyTextNotificationTypeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL"> <CompanyCode>sample string 12</CompanyCode> <DateCreated>2025-10-30T10:03:46.8790271-07:00</DateCreated> <DateUpdated>2025-10-30T10:03:46.8790271-07:00</DateUpdated> <IsExcludeDiscount>true</IsExcludeDiscount> <UserIDCreated>10</UserIDCreated> <UserIDUpdated>11</UserIDUpdated> <ValidFlag>true</ValidFlag> <ClinicalPathwayTypeId>6</ClinicalPathwayTypeId> <CustomTemplate>sample string 5</CustomTemplate> <Id>1</Id> <IsCustomTemplate>true</IsCustomTemplate> <TextNotificationTypeId>2</TextNotificationTypeId> <TextNotificationTypeName>sample string 3</TextNotificationTypeName> <TextNotificationTypeTemplate>sample string 4</TextNotificationTypeTemplate> </CompanyTextNotificationTypeDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfCompanyTextNotificationTypeDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| jsonObj | CompanyTextNotificationTypeDTO |
None. |
|
| totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccess": true,
"message": "sample string 2",
"jsonObj": {
"Id": 1,
"TextNotificationTypeId": 2,
"TextNotificationTypeName": "sample string 3",
"TextNotificationTypeTemplate": "sample string 4",
"IsCustomTemplate": true,
"CustomTemplate": "sample string 5",
"ClinicalPathwayTypeId": 6,
"ValidFlag": true,
"DateCreated": "2025-10-30T10:03:46.8790271-07:00",
"DateUpdated": "2025-10-30T10:03:46.8790271-07:00",
"UserIDCreated": 10,
"UserIDUpdated": 11,
"CompanyCode": "sample string 12",
"IsExcludeDiscount": true
},
"totalCount": 3
}
application/xml, text/xml
Sample:
<AsapResponseOfCompanyTextNotificationTypeDTO3NYuOdgi 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 12</d2p1:CompanyCode>
<d2p1:DateCreated>2025-10-30T10:03:46.8790271-07:00</d2p1:DateCreated>
<d2p1:DateUpdated>2025-10-30T10:03:46.8790271-07:00</d2p1:DateUpdated>
<d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
<d2p1:UserIDCreated>10</d2p1:UserIDCreated>
<d2p1:UserIDUpdated>11</d2p1:UserIDUpdated>
<d2p1:ValidFlag>true</d2p1:ValidFlag>
<d2p1:ClinicalPathwayTypeId>6</d2p1:ClinicalPathwayTypeId>
<d2p1:CustomTemplate>sample string 5</d2p1:CustomTemplate>
<d2p1:Id>1</d2p1:Id>
<d2p1:IsCustomTemplate>true</d2p1:IsCustomTemplate>
<d2p1:TextNotificationTypeId>2</d2p1:TextNotificationTypeId>
<d2p1:TextNotificationTypeName>sample string 3</d2p1:TextNotificationTypeName>
<d2p1:TextNotificationTypeTemplate>sample string 4</d2p1:TextNotificationTypeTemplate>
</jsonObj>
<message>sample string 2</message>
<totalCount>3</totalCount>
</AsapResponseOfCompanyTextNotificationTypeDTO3NYuOdgi>