POST api/NTCosCompany/GetPreviewNotification
Request Information
URI Parameters
None.
Body Parameters
PreviewNotificationDTOName | Description | Type | Additional information |
---|---|---|---|
NotificationQuestionList | Collection of CompanyQuestionDTO |
None. |
|
NotificationTypeId | integer |
None. |
|
CompanyCode | string |
String length: inclusive between 0 and 10 |
|
content | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{ "NotificationQuestionList": [ { "CompanyQuestionId": 1, "QuestionId": 2, "QuestionStatus": true, "QuestionDesc": "sample string 4", "QuestionCode": "sample string 5", "Screen": "sample string 6", "Section": "sample string 7", "IsNotification": true, "NotificationTypeId": 1, "RequiredStatus": true, "Sequence": 1, "CosEccRequired": true, "COSServiceId": 1, "COSSubServiceId": 1, "ServiceName": "sample string 9", "SubServiceName": "sample string 10", "SectionNo": 1, "ScreenNo": 1, "IsDefault": true, "IsDisabled": true, "ValidFlag": true, "DateCreated": "2025-04-03T19:10:02.2874941-07:00", "DateUpdated": "2025-04-03T19:10:02.2874941-07:00", "UserIDCreated": 16, "UserIDUpdated": 17, "CompanyCode": "sample string 18", "IsExcludeDiscount": true }, { "CompanyQuestionId": 1, "QuestionId": 2, "QuestionStatus": true, "QuestionDesc": "sample string 4", "QuestionCode": "sample string 5", "Screen": "sample string 6", "Section": "sample string 7", "IsNotification": true, "NotificationTypeId": 1, "RequiredStatus": true, "Sequence": 1, "CosEccRequired": true, "COSServiceId": 1, "COSSubServiceId": 1, "ServiceName": "sample string 9", "SubServiceName": "sample string 10", "SectionNo": 1, "ScreenNo": 1, "IsDefault": true, "IsDisabled": true, "ValidFlag": true, "DateCreated": "2025-04-03T19:10:02.2874941-07:00", "DateUpdated": "2025-04-03T19:10:02.2874941-07:00", "UserIDCreated": 16, "UserIDUpdated": 17, "CompanyCode": "sample string 18", "IsExcludeDiscount": true } ], "NotificationTypeId": 1, "CompanyCode": "sample string 1", "content": "QEA=" }
application/xml, text/xml
Sample:
<PreviewNotificationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL"> <CompanyCode>sample string 1</CompanyCode> <NotificationQuestionList> <CompanyQuestionDTO> <CompanyCode>sample string 18</CompanyCode> <DateCreated>2025-04-03T19:10:02.2874941-07:00</DateCreated> <DateUpdated>2025-04-03T19:10:02.2874941-07:00</DateUpdated> <IsExcludeDiscount>true</IsExcludeDiscount> <UserIDCreated>16</UserIDCreated> <UserIDUpdated>17</UserIDUpdated> <ValidFlag>true</ValidFlag> <COSServiceId>1</COSServiceId> <COSSubServiceId>1</COSSubServiceId> <CompanyQuestionId>1</CompanyQuestionId> <CosEccRequired>true</CosEccRequired> <IsDefault>true</IsDefault> <IsDisabled>true</IsDisabled> <IsNotification>true</IsNotification> <NotificationTypeId>1</NotificationTypeId> <QuestionCode>sample string 5</QuestionCode> <QuestionDesc>sample string 4</QuestionDesc> <QuestionId>2</QuestionId> <QuestionStatus>true</QuestionStatus> <RequiredStatus>true</RequiredStatus> <Screen>sample string 6</Screen> <ScreenNo>1</ScreenNo> <Section>sample string 7</Section> <SectionNo>1</SectionNo> <Sequence>1</Sequence> <ServiceName>sample string 9</ServiceName> <SubServiceName>sample string 10</SubServiceName> </CompanyQuestionDTO> <CompanyQuestionDTO> <CompanyCode>sample string 18</CompanyCode> <DateCreated>2025-04-03T19:10:02.2874941-07:00</DateCreated> <DateUpdated>2025-04-03T19:10:02.2874941-07:00</DateUpdated> <IsExcludeDiscount>true</IsExcludeDiscount> <UserIDCreated>16</UserIDCreated> <UserIDUpdated>17</UserIDUpdated> <ValidFlag>true</ValidFlag> <COSServiceId>1</COSServiceId> <COSSubServiceId>1</COSSubServiceId> <CompanyQuestionId>1</CompanyQuestionId> <CosEccRequired>true</CosEccRequired> <IsDefault>true</IsDefault> <IsDisabled>true</IsDisabled> <IsNotification>true</IsNotification> <NotificationTypeId>1</NotificationTypeId> <QuestionCode>sample string 5</QuestionCode> <QuestionDesc>sample string 4</QuestionDesc> <QuestionId>2</QuestionId> <QuestionStatus>true</QuestionStatus> <RequiredStatus>true</RequiredStatus> <Screen>sample string 6</Screen> <ScreenNo>1</ScreenNo> <Section>sample string 7</Section> <SectionNo>1</SectionNo> <Sequence>1</Sequence> <ServiceName>sample string 9</ServiceName> <SubServiceName>sample string 10</SubServiceName> </CompanyQuestionDTO> </NotificationQuestionList> <NotificationTypeId>1</NotificationTypeId> <content>QEA=</content> </PreviewNotificationDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |