GET api/NTSetting/GetCauseIncident?q={q}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| q | string |
Required |
Body Parameters
None.
Response Information
Resource Description
AsapResponseOfListOfCauseOfIncidentDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| jsonObj | Collection of CauseOfIncidentDTO |
None. |
|
| totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccess": true,
"message": "sample string 2",
"jsonObj": [
{
"Id": 1,
"Name": "sample string 2",
"NeedMoreInfo": true,
"Sequence": 4,
"NCCICode": "sample string 5",
"Standard": true,
"ValidFlag": true,
"DateCreated": "2025-10-30T10:32:18.0070602-07:00",
"DateUpdated": "2025-10-30T10:32:18.0070602-07:00",
"UserIDCreated": 10,
"UserIDUpdated": 11,
"CompanyCode": "sample string 12",
"IsExcludeDiscount": true
},
{
"Id": 1,
"Name": "sample string 2",
"NeedMoreInfo": true,
"Sequence": 4,
"NCCICode": "sample string 5",
"Standard": true,
"ValidFlag": true,
"DateCreated": "2025-10-30T10:32:18.0070602-07:00",
"DateUpdated": "2025-10-30T10:32:18.0070602-07:00",
"UserIDCreated": 10,
"UserIDUpdated": 11,
"CompanyCode": "sample string 12",
"IsExcludeDiscount": true
}
],
"totalCount": 3
}
application/xml, text/xml
Sample:
<AsapResponseOfArrayOfCauseOfIncidentDTO3NYuOdgi 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:CauseOfIncidentDTO>
<d2p1:CompanyCode>sample string 12</d2p1:CompanyCode>
<d2p1:DateCreated>2025-10-30T10:32:18.0070602-07:00</d2p1:DateCreated>
<d2p1:DateUpdated>2025-10-30T10:32:18.0070602-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:Id>1</d2p1:Id>
<d2p1:NCCICode>sample string 5</d2p1:NCCICode>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:NeedMoreInfo>true</d2p1:NeedMoreInfo>
<d2p1:Sequence>4</d2p1:Sequence>
<d2p1:Standard>true</d2p1:Standard>
</d2p1:CauseOfIncidentDTO>
<d2p1:CauseOfIncidentDTO>
<d2p1:CompanyCode>sample string 12</d2p1:CompanyCode>
<d2p1:DateCreated>2025-10-30T10:32:18.0070602-07:00</d2p1:DateCreated>
<d2p1:DateUpdated>2025-10-30T10:32:18.0070602-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:Id>1</d2p1:Id>
<d2p1:NCCICode>sample string 5</d2p1:NCCICode>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:NeedMoreInfo>true</d2p1:NeedMoreInfo>
<d2p1:Sequence>4</d2p1:Sequence>
<d2p1:Standard>true</d2p1:Standard>
</d2p1:CauseOfIncidentDTO>
</jsonObj>
<message>sample string 2</message>
<totalCount>3</totalCount>
</AsapResponseOfArrayOfCauseOfIncidentDTO3NYuOdgi>