POST api/NTSetting/PostCaseOutComeQuestion
Request Information
URI Parameters
None.
Body Parameters
CaseOutComeQuestionDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
String length: inclusive between 0 and 50 |
|
| QuestionType | integer |
None. |
|
| CaseOutComeTypeId | integer |
None. |
|
| CaseOutComeType | string |
String length: inclusive between 0 and 50 |
|
| CaseOutcomeOptionList | Collection of CaseOutComeOptionDTO |
None. |
|
| COSFormTypeId | integer |
None. |
|
| Form | string |
String length: inclusive between 0 and 200 |
|
| ParentLevel1 | integer |
None. |
|
| OptionCount | integer |
None. |
|
| Code | string |
String length: inclusive between 0 and 50 |
|
| 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,
"Name": "sample string 2",
"QuestionType": 3,
"CaseOutComeTypeId": 1,
"CaseOutComeType": "sample string 4",
"CaseOutcomeOptionList": [
{
"Id": 1,
"Name": "sample string 2",
"COSQuestionId": 3,
"NeedMoreInfo": true,
"ParentId": 1,
"QuestionName": "sample string 5",
"AnswerValue": 1,
"AnswerDetail": "sample string 6",
"ParentLevel1": 1,
"COSFormId": 1,
"Code": "sample string 7",
"ValidFlag": true,
"DateCreated": "2025-12-15T23:00:47.3746614-08:00",
"DateUpdated": "2025-12-15T23:00:47.3746614-08:00",
"UserIDCreated": 11,
"UserIDUpdated": 12,
"CompanyCode": "sample string 13",
"IsExcludeDiscount": true
},
{
"Id": 1,
"Name": "sample string 2",
"COSQuestionId": 3,
"NeedMoreInfo": true,
"ParentId": 1,
"QuestionName": "sample string 5",
"AnswerValue": 1,
"AnswerDetail": "sample string 6",
"ParentLevel1": 1,
"COSFormId": 1,
"Code": "sample string 7",
"ValidFlag": true,
"DateCreated": "2025-12-15T23:00:47.3746614-08:00",
"DateUpdated": "2025-12-15T23:00:47.3746614-08:00",
"UserIDCreated": 11,
"UserIDUpdated": 12,
"CompanyCode": "sample string 13",
"IsExcludeDiscount": true
}
],
"COSFormTypeId": 5,
"Form": "sample string 6",
"ParentLevel1": 1,
"OptionCount": 7,
"Code": "sample string 8",
"ValidFlag": true,
"DateCreated": "2025-12-15T23:00:47.3746614-08:00",
"DateUpdated": "2025-12-15T23:00:47.3746614-08:00",
"UserIDCreated": 12,
"UserIDUpdated": 13,
"CompanyCode": "sample string 14",
"IsExcludeDiscount": true
}
application/xml, text/xml
Sample:
<CaseOutComeQuestionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
<CompanyCode>sample string 14</CompanyCode>
<DateCreated>2025-12-15T23:00:47.3746614-08:00</DateCreated>
<DateUpdated>2025-12-15T23:00:47.3746614-08:00</DateUpdated>
<IsExcludeDiscount>true</IsExcludeDiscount>
<UserIDCreated>12</UserIDCreated>
<UserIDUpdated>13</UserIDUpdated>
<ValidFlag>true</ValidFlag>
<COSFormTypeId>5</COSFormTypeId>
<CaseOutComeType>sample string 4</CaseOutComeType>
<CaseOutComeTypeId>1</CaseOutComeTypeId>
<CaseOutcomeOptionList>
<CaseOutComeOptionDTO>
<CompanyCode>sample string 13</CompanyCode>
<DateCreated>2025-12-15T23:00:47.3746614-08:00</DateCreated>
<DateUpdated>2025-12-15T23:00:47.3746614-08:00</DateUpdated>
<IsExcludeDiscount>true</IsExcludeDiscount>
<UserIDCreated>11</UserIDCreated>
<UserIDUpdated>12</UserIDUpdated>
<ValidFlag>true</ValidFlag>
<AnswerDetail>sample string 6</AnswerDetail>
<AnswerValue>1</AnswerValue>
<COSFormId>1</COSFormId>
<COSQuestionId>3</COSQuestionId>
<Code>sample string 7</Code>
<Id>1</Id>
<Name>sample string 2</Name>
<NeedMoreInfo>true</NeedMoreInfo>
<ParentId>1</ParentId>
<ParentLevel1>1</ParentLevel1>
<QuestionName>sample string 5</QuestionName>
</CaseOutComeOptionDTO>
<CaseOutComeOptionDTO>
<CompanyCode>sample string 13</CompanyCode>
<DateCreated>2025-12-15T23:00:47.3746614-08:00</DateCreated>
<DateUpdated>2025-12-15T23:00:47.3746614-08:00</DateUpdated>
<IsExcludeDiscount>true</IsExcludeDiscount>
<UserIDCreated>11</UserIDCreated>
<UserIDUpdated>12</UserIDUpdated>
<ValidFlag>true</ValidFlag>
<AnswerDetail>sample string 6</AnswerDetail>
<AnswerValue>1</AnswerValue>
<COSFormId>1</COSFormId>
<COSQuestionId>3</COSQuestionId>
<Code>sample string 7</Code>
<Id>1</Id>
<Name>sample string 2</Name>
<NeedMoreInfo>true</NeedMoreInfo>
<ParentId>1</ParentId>
<ParentLevel1>1</ParentLevel1>
<QuestionName>sample string 5</QuestionName>
</CaseOutComeOptionDTO>
</CaseOutcomeOptionList>
<Code>sample string 8</Code>
<Form>sample string 6</Form>
<Id>1</Id>
<Name>sample string 2</Name>
<OptionCount>7</OptionCount>
<ParentLevel1>1</ParentLevel1>
<QuestionType>3</QuestionType>
</CaseOutComeQuestionDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfCaseOutComeQuestionDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| jsonObj | CaseOutComeQuestionDTO |
None. |
|
| totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccess": true,
"message": "sample string 2",
"jsonObj": {
"Id": 1,
"Name": "sample string 2",
"QuestionType": 3,
"CaseOutComeTypeId": 1,
"CaseOutComeType": "sample string 4",
"CaseOutcomeOptionList": [
{
"Id": 1,
"Name": "sample string 2",
"COSQuestionId": 3,
"NeedMoreInfo": true,
"ParentId": 1,
"QuestionName": "sample string 5",
"AnswerValue": 1,
"AnswerDetail": "sample string 6",
"ParentLevel1": 1,
"COSFormId": 1,
"Code": "sample string 7",
"ValidFlag": true,
"DateCreated": "2025-12-15T23:00:47.3746614-08:00",
"DateUpdated": "2025-12-15T23:00:47.3746614-08:00",
"UserIDCreated": 11,
"UserIDUpdated": 12,
"CompanyCode": "sample string 13",
"IsExcludeDiscount": true
},
{
"Id": 1,
"Name": "sample string 2",
"COSQuestionId": 3,
"NeedMoreInfo": true,
"ParentId": 1,
"QuestionName": "sample string 5",
"AnswerValue": 1,
"AnswerDetail": "sample string 6",
"ParentLevel1": 1,
"COSFormId": 1,
"Code": "sample string 7",
"ValidFlag": true,
"DateCreated": "2025-12-15T23:00:47.3746614-08:00",
"DateUpdated": "2025-12-15T23:00:47.3746614-08:00",
"UserIDCreated": 11,
"UserIDUpdated": 12,
"CompanyCode": "sample string 13",
"IsExcludeDiscount": true
}
],
"COSFormTypeId": 5,
"Form": "sample string 6",
"ParentLevel1": 1,
"OptionCount": 7,
"Code": "sample string 8",
"ValidFlag": true,
"DateCreated": "2025-12-15T23:00:47.3746614-08:00",
"DateUpdated": "2025-12-15T23:00:47.3746614-08:00",
"UserIDCreated": 12,
"UserIDUpdated": 13,
"CompanyCode": "sample string 14",
"IsExcludeDiscount": true
},
"totalCount": 3
}
application/xml, text/xml
Sample:
<AsapResponseOfCaseOutComeQuestionDTO3NYuOdgi 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 14</d2p1:CompanyCode>
<d2p1:DateCreated>2025-12-15T23:00:47.3746614-08:00</d2p1:DateCreated>
<d2p1:DateUpdated>2025-12-15T23:00:47.3746614-08:00</d2p1:DateUpdated>
<d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
<d2p1:UserIDCreated>12</d2p1:UserIDCreated>
<d2p1:UserIDUpdated>13</d2p1:UserIDUpdated>
<d2p1:ValidFlag>true</d2p1:ValidFlag>
<d2p1:COSFormTypeId>5</d2p1:COSFormTypeId>
<d2p1:CaseOutComeType>sample string 4</d2p1:CaseOutComeType>
<d2p1:CaseOutComeTypeId>1</d2p1:CaseOutComeTypeId>
<d2p1:CaseOutcomeOptionList>
<d2p1:CaseOutComeOptionDTO>
<d2p1:CompanyCode>sample string 13</d2p1:CompanyCode>
<d2p1:DateCreated>2025-12-15T23:00:47.3746614-08:00</d2p1:DateCreated>
<d2p1:DateUpdated>2025-12-15T23:00:47.3746614-08:00</d2p1:DateUpdated>
<d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
<d2p1:UserIDCreated>11</d2p1:UserIDCreated>
<d2p1:UserIDUpdated>12</d2p1:UserIDUpdated>
<d2p1:ValidFlag>true</d2p1:ValidFlag>
<d2p1:AnswerDetail>sample string 6</d2p1:AnswerDetail>
<d2p1:AnswerValue>1</d2p1:AnswerValue>
<d2p1:COSFormId>1</d2p1:COSFormId>
<d2p1:COSQuestionId>3</d2p1:COSQuestionId>
<d2p1:Code>sample string 7</d2p1:Code>
<d2p1:Id>1</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:NeedMoreInfo>true</d2p1:NeedMoreInfo>
<d2p1:ParentId>1</d2p1:ParentId>
<d2p1:ParentLevel1>1</d2p1:ParentLevel1>
<d2p1:QuestionName>sample string 5</d2p1:QuestionName>
</d2p1:CaseOutComeOptionDTO>
<d2p1:CaseOutComeOptionDTO>
<d2p1:CompanyCode>sample string 13</d2p1:CompanyCode>
<d2p1:DateCreated>2025-12-15T23:00:47.3746614-08:00</d2p1:DateCreated>
<d2p1:DateUpdated>2025-12-15T23:00:47.3746614-08:00</d2p1:DateUpdated>
<d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
<d2p1:UserIDCreated>11</d2p1:UserIDCreated>
<d2p1:UserIDUpdated>12</d2p1:UserIDUpdated>
<d2p1:ValidFlag>true</d2p1:ValidFlag>
<d2p1:AnswerDetail>sample string 6</d2p1:AnswerDetail>
<d2p1:AnswerValue>1</d2p1:AnswerValue>
<d2p1:COSFormId>1</d2p1:COSFormId>
<d2p1:COSQuestionId>3</d2p1:COSQuestionId>
<d2p1:Code>sample string 7</d2p1:Code>
<d2p1:Id>1</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:NeedMoreInfo>true</d2p1:NeedMoreInfo>
<d2p1:ParentId>1</d2p1:ParentId>
<d2p1:ParentLevel1>1</d2p1:ParentLevel1>
<d2p1:QuestionName>sample string 5</d2p1:QuestionName>
</d2p1:CaseOutComeOptionDTO>
</d2p1:CaseOutcomeOptionList>
<d2p1:Code>sample string 8</d2p1:Code>
<d2p1:Form>sample string 6</d2p1:Form>
<d2p1:Id>1</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:OptionCount>7</d2p1:OptionCount>
<d2p1:ParentLevel1>1</d2p1:ParentLevel1>
<d2p1:QuestionType>3</d2p1:QuestionType>
</jsonObj>
<message>sample string 2</message>
<totalCount>3</totalCount>
</AsapResponseOfCaseOutComeQuestionDTO3NYuOdgi>