POST api/NTCosCompany/PostNotifyEmail

Request Information

URI Parameters

None.

Body Parameters

NotifyEmailDTO
NameDescriptionTypeAdditional information
Id

integer

None.

CorporationCode

string

String length: inclusive between 0 and 20

BranchCode

string

String length: inclusive between 0 and 20

DivisionCode

string

String length: inclusive between 0 and 20

WLCode

string

String length: inclusive between 0 and 20

IsErgonomicRelated

boolean

None.

Email

string

String length: inclusive between 0 and 500

Type

integer

None.

TypeName

string

String length: inclusive between 0 and 50

WrokLocationName

string

String length: inclusive between 0 and 200

IsEnRouteNotification

boolean

None.

CompanyCodehierarchy

string

String length: inclusive between 0 and 20

byLevel

string

String length: inclusive between 0 and 1

Level1

string

String length: inclusive between 0 and 50

Level2

string

String length: inclusive between 0 and 50

Level3

string

String length: inclusive between 0 and 50

Level4

string

String length: inclusive between 0 and 50

Level5

string

String length: inclusive between 0 and 50

ServiceType

integer

None.

IsUserDefineField

boolean

None.

ColumnName

string

String length: inclusive between 0 and 100

UserDefinedValues

Collection of NotifyEmailCustomFieldDTO

None.

ClinicalPathwayTypeId

integer

None.

ClinicalPathwayTypeName

string

String length: inclusive between 0 and 100

EmailNotificationEncounterTypeId

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,
  "CorporationCode": "sample string 2",
  "BranchCode": "sample string 3",
  "DivisionCode": "sample string 4",
  "WLCode": "sample string 5",
  "IsErgonomicRelated": true,
  "Email": "sample string 6",
  "Type": 1,
  "TypeName": "sample string 7",
  "WrokLocationName": "sample string 8",
  "IsEnRouteNotification": true,
  "CompanyCodehierarchy": "sample string 9",
  "byLevel": "sample string 10",
  "Level1": "sample string 11",
  "Level2": "sample string 12",
  "Level3": "sample string 13",
  "Level4": "sample string 14",
  "Level5": "sample string 15",
  "ServiceType": 16,
  "IsUserDefineField": true,
  "ColumnName": "sample string 18",
  "UserDefinedValues": [
    {
      "Id": 1,
      "NotifyEmailId": 2,
      "FieldName": "sample string 3",
      "Value": "sample string 4",
      "ValidFlag": true,
      "DateCreated": "2024-11-21T00:33:08.7019506-08:00",
      "DateUpdated": "2024-11-21T00:33:08.7019506-08:00",
      "UserIDCreated": 8,
      "UserIDUpdated": 9,
      "CompanyCode": "sample string 10",
      "IsExcludeDiscount": true
    },
    {
      "Id": 1,
      "NotifyEmailId": 2,
      "FieldName": "sample string 3",
      "Value": "sample string 4",
      "ValidFlag": true,
      "DateCreated": "2024-11-21T00:33:08.7019506-08:00",
      "DateUpdated": "2024-11-21T00:33:08.7019506-08:00",
      "UserIDCreated": 8,
      "UserIDUpdated": 9,
      "CompanyCode": "sample string 10",
      "IsExcludeDiscount": true
    }
  ],
  "ClinicalPathwayTypeId": 1,
  "ClinicalPathwayTypeName": "sample string 19",
  "EmailNotificationEncounterTypeId": 1,
  "ValidFlag": true,
  "DateCreated": "2024-11-21T00:33:08.7039515-08:00",
  "DateUpdated": "2024-11-21T00:33:08.7039515-08:00",
  "UserIDCreated": 23,
  "UserIDUpdated": 24,
  "CompanyCode": "sample string 25",
  "IsExcludeDiscount": true
}

application/xml, text/xml

Sample:
<NotifyEmailDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
  <CompanyCode>sample string 25</CompanyCode>
  <DateCreated>2024-11-21T00:33:08.7039515-08:00</DateCreated>
  <DateUpdated>2024-11-21T00:33:08.7039515-08:00</DateUpdated>
  <IsExcludeDiscount>true</IsExcludeDiscount>
  <UserIDCreated>23</UserIDCreated>
  <UserIDUpdated>24</UserIDUpdated>
  <ValidFlag>true</ValidFlag>
  <BranchCode>sample string 3</BranchCode>
  <ClinicalPathwayTypeId>1</ClinicalPathwayTypeId>
  <ClinicalPathwayTypeName>sample string 19</ClinicalPathwayTypeName>
  <ColumnName>sample string 18</ColumnName>
  <CompanyCodehierarchy>sample string 9</CompanyCodehierarchy>
  <CorporationCode>sample string 2</CorporationCode>
  <DivisionCode>sample string 4</DivisionCode>
  <Email>sample string 6</Email>
  <EmailNotificationEncounterTypeId>1</EmailNotificationEncounterTypeId>
  <Id>1</Id>
  <IsEnRouteNotification>true</IsEnRouteNotification>
  <IsErgonomicRelated>true</IsErgonomicRelated>
  <IsUserDefineField>true</IsUserDefineField>
  <Level1>sample string 11</Level1>
  <Level2>sample string 12</Level2>
  <Level3>sample string 13</Level3>
  <Level4>sample string 14</Level4>
  <Level5>sample string 15</Level5>
  <ServiceType>16</ServiceType>
  <Type>1</Type>
  <TypeName>sample string 7</TypeName>
  <UserDefinedValues xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO.MedicalExam">
    <d2p1:NotifyEmailCustomFieldDTO>
      <CompanyCode>sample string 10</CompanyCode>
      <DateCreated>2024-11-21T00:33:08.7019506-08:00</DateCreated>
      <DateUpdated>2024-11-21T00:33:08.7019506-08:00</DateUpdated>
      <IsExcludeDiscount>true</IsExcludeDiscount>
      <UserIDCreated>8</UserIDCreated>
      <UserIDUpdated>9</UserIDUpdated>
      <ValidFlag>true</ValidFlag>
      <d2p1:FieldName>sample string 3</d2p1:FieldName>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:NotifyEmailId>2</d2p1:NotifyEmailId>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:NotifyEmailCustomFieldDTO>
    <d2p1:NotifyEmailCustomFieldDTO>
      <CompanyCode>sample string 10</CompanyCode>
      <DateCreated>2024-11-21T00:33:08.7019506-08:00</DateCreated>
      <DateUpdated>2024-11-21T00:33:08.7019506-08:00</DateUpdated>
      <IsExcludeDiscount>true</IsExcludeDiscount>
      <UserIDCreated>8</UserIDCreated>
      <UserIDUpdated>9</UserIDUpdated>
      <ValidFlag>true</ValidFlag>
      <d2p1:FieldName>sample string 3</d2p1:FieldName>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:NotifyEmailId>2</d2p1:NotifyEmailId>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:NotifyEmailCustomFieldDTO>
  </UserDefinedValues>
  <WLCode>sample string 5</WLCode>
  <WrokLocationName>sample string 8</WrokLocationName>
  <byLevel>sample string 10</byLevel>
</NotifyEmailDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AsapResponseOfNotifyEmailDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

NotifyEmailDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": {
    "Id": 1,
    "CorporationCode": "sample string 2",
    "BranchCode": "sample string 3",
    "DivisionCode": "sample string 4",
    "WLCode": "sample string 5",
    "IsErgonomicRelated": true,
    "Email": "sample string 6",
    "Type": 1,
    "TypeName": "sample string 7",
    "WrokLocationName": "sample string 8",
    "IsEnRouteNotification": true,
    "CompanyCodehierarchy": "sample string 9",
    "byLevel": "sample string 10",
    "Level1": "sample string 11",
    "Level2": "sample string 12",
    "Level3": "sample string 13",
    "Level4": "sample string 14",
    "Level5": "sample string 15",
    "ServiceType": 16,
    "IsUserDefineField": true,
    "ColumnName": "sample string 18",
    "UserDefinedValues": [
      {
        "Id": 1,
        "NotifyEmailId": 2,
        "FieldName": "sample string 3",
        "Value": "sample string 4",
        "ValidFlag": true,
        "DateCreated": "2024-11-21T00:33:09.3365765-08:00",
        "DateUpdated": "2024-11-21T00:33:09.3365765-08:00",
        "UserIDCreated": 8,
        "UserIDUpdated": 9,
        "CompanyCode": "sample string 10",
        "IsExcludeDiscount": true
      },
      {
        "Id": 1,
        "NotifyEmailId": 2,
        "FieldName": "sample string 3",
        "Value": "sample string 4",
        "ValidFlag": true,
        "DateCreated": "2024-11-21T00:33:09.3365765-08:00",
        "DateUpdated": "2024-11-21T00:33:09.3365765-08:00",
        "UserIDCreated": 8,
        "UserIDUpdated": 9,
        "CompanyCode": "sample string 10",
        "IsExcludeDiscount": true
      }
    ],
    "ClinicalPathwayTypeId": 1,
    "ClinicalPathwayTypeName": "sample string 19",
    "EmailNotificationEncounterTypeId": 1,
    "ValidFlag": true,
    "DateCreated": "2024-11-21T00:33:09.3365765-08:00",
    "DateUpdated": "2024-11-21T00:33:09.3365765-08:00",
    "UserIDCreated": 23,
    "UserIDUpdated": 24,
    "CompanyCode": "sample string 25",
    "IsExcludeDiscount": true
  },
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfNotifyEmailDTO3NYuOdgi 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 25</d2p1:CompanyCode>
    <d2p1:DateCreated>2024-11-21T00:33:09.3365765-08:00</d2p1:DateCreated>
    <d2p1:DateUpdated>2024-11-21T00:33:09.3365765-08:00</d2p1:DateUpdated>
    <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
    <d2p1:UserIDCreated>23</d2p1:UserIDCreated>
    <d2p1:UserIDUpdated>24</d2p1:UserIDUpdated>
    <d2p1:ValidFlag>true</d2p1:ValidFlag>
    <d2p1:BranchCode>sample string 3</d2p1:BranchCode>
    <d2p1:ClinicalPathwayTypeId>1</d2p1:ClinicalPathwayTypeId>
    <d2p1:ClinicalPathwayTypeName>sample string 19</d2p1:ClinicalPathwayTypeName>
    <d2p1:ColumnName>sample string 18</d2p1:ColumnName>
    <d2p1:CompanyCodehierarchy>sample string 9</d2p1:CompanyCodehierarchy>
    <d2p1:CorporationCode>sample string 2</d2p1:CorporationCode>
    <d2p1:DivisionCode>sample string 4</d2p1:DivisionCode>
    <d2p1:Email>sample string 6</d2p1:Email>
    <d2p1:EmailNotificationEncounterTypeId>1</d2p1:EmailNotificationEncounterTypeId>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:IsEnRouteNotification>true</d2p1:IsEnRouteNotification>
    <d2p1:IsErgonomicRelated>true</d2p1:IsErgonomicRelated>
    <d2p1:IsUserDefineField>true</d2p1:IsUserDefineField>
    <d2p1:Level1>sample string 11</d2p1:Level1>
    <d2p1:Level2>sample string 12</d2p1:Level2>
    <d2p1:Level3>sample string 13</d2p1:Level3>
    <d2p1:Level4>sample string 14</d2p1:Level4>
    <d2p1:Level5>sample string 15</d2p1:Level5>
    <d2p1:ServiceType>16</d2p1:ServiceType>
    <d2p1:Type>1</d2p1:Type>
    <d2p1:TypeName>sample string 7</d2p1:TypeName>
    <d2p1:UserDefinedValues xmlns:d3p1="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO.MedicalExam">
      <d3p1:NotifyEmailCustomFieldDTO>
        <d2p1:CompanyCode>sample string 10</d2p1:CompanyCode>
        <d2p1:DateCreated>2024-11-21T00:33:09.3365765-08:00</d2p1:DateCreated>
        <d2p1:DateUpdated>2024-11-21T00:33:09.3365765-08:00</d2p1:DateUpdated>
        <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
        <d2p1:UserIDCreated>8</d2p1:UserIDCreated>
        <d2p1:UserIDUpdated>9</d2p1:UserIDUpdated>
        <d2p1:ValidFlag>true</d2p1:ValidFlag>
        <d3p1:FieldName>sample string 3</d3p1:FieldName>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:NotifyEmailId>2</d3p1:NotifyEmailId>
        <d3p1:Value>sample string 4</d3p1:Value>
      </d3p1:NotifyEmailCustomFieldDTO>
      <d3p1:NotifyEmailCustomFieldDTO>
        <d2p1:CompanyCode>sample string 10</d2p1:CompanyCode>
        <d2p1:DateCreated>2024-11-21T00:33:09.3365765-08:00</d2p1:DateCreated>
        <d2p1:DateUpdated>2024-11-21T00:33:09.3365765-08:00</d2p1:DateUpdated>
        <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
        <d2p1:UserIDCreated>8</d2p1:UserIDCreated>
        <d2p1:UserIDUpdated>9</d2p1:UserIDUpdated>
        <d2p1:ValidFlag>true</d2p1:ValidFlag>
        <d3p1:FieldName>sample string 3</d3p1:FieldName>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:NotifyEmailId>2</d3p1:NotifyEmailId>
        <d3p1:Value>sample string 4</d3p1:Value>
      </d3p1:NotifyEmailCustomFieldDTO>
    </d2p1:UserDefinedValues>
    <d2p1:WLCode>sample string 5</d2p1:WLCode>
    <d2p1:WrokLocationName>sample string 8</d2p1:WrokLocationName>
    <d2p1:byLevel>sample string 10</d2p1:byLevel>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfNotifyEmailDTO3NYuOdgi>