POST api/NTSetting/PostCaseOutComeOption
Request Information
URI Parameters
None.
Body Parameters
CaseOutComeOptionDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
String length: inclusive between 0 and 50 |
|
| COSQuestionId | integer |
None. |
|
| NeedMoreInfo | boolean |
None. |
|
| ParentId | integer |
None. |
|
| QuestionName | string |
String length: inclusive between 0 and 200 |
|
| AnswerValue | integer |
None. |
|
| AnswerDetail | string |
String length: inclusive between 0 and 500 |
|
| ParentLevel1 | integer |
None. |
|
| COSFormId | 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",
"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-10-30T13:42:28.9248787-07:00",
"DateUpdated": "2025-10-30T13:42:28.9248787-07:00",
"UserIDCreated": 11,
"UserIDUpdated": 12,
"CompanyCode": "sample string 13",
"IsExcludeDiscount": true
}
application/xml, text/xml
Sample:
<CaseOutComeOptionDTO 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-10-30T13:42:28.9248787-07:00</DateCreated> <DateUpdated>2025-10-30T13:42:28.9248787-07: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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfCaseOutComeOptionDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| jsonObj | CaseOutComeOptionDTO |
None. |
|
| totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccess": true,
"message": "sample string 2",
"jsonObj": {
"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-10-30T13:42:28.940496-07:00",
"DateUpdated": "2025-10-30T13:42:28.940496-07:00",
"UserIDCreated": 11,
"UserIDUpdated": 12,
"CompanyCode": "sample string 13",
"IsExcludeDiscount": true
},
"totalCount": 3
}
application/xml, text/xml
Sample:
<AsapResponseOfCaseOutComeOptionDTO3NYuOdgi 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-10-30T13:42:28.940496-07:00</d2p1:DateCreated>
<d2p1:DateUpdated>2025-10-30T13:42:28.940496-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: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>
</jsonObj>
<message>sample string 2</message>
<totalCount>3</totalCount>
</AsapResponseOfCaseOutComeOptionDTO3NYuOdgi>