GET api/NTCosCompany/GetCorporationCauseOfIncident?q={q}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
q

string

Required

Body Parameters

None.

Response Information

Resource Description

AsapResponseOfListOfCorporationCauseOfIncidentDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

Collection of CorporationCauseOfIncidentDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": [
    {
      "CorporationCauseOfIncidentId": 1,
      "CorporationCode": "sample string 2",
      "CorporationValidFlag": true,
      "Type": 4,
      "Id": 5,
      "Name": "sample string 6",
      "NeedMoreInfo": true,
      "Sequence": 8,
      "NCCICode": "sample string 9",
      "Standard": true,
      "ValidFlag": true,
      "DateCreated": "2024-11-21T00:30:00.176792-08:00",
      "DateUpdated": "2024-11-21T00:30:00.176792-08:00",
      "UserIDCreated": 14,
      "UserIDUpdated": 15,
      "CompanyCode": "sample string 16",
      "IsExcludeDiscount": true
    },
    {
      "CorporationCauseOfIncidentId": 1,
      "CorporationCode": "sample string 2",
      "CorporationValidFlag": true,
      "Type": 4,
      "Id": 5,
      "Name": "sample string 6",
      "NeedMoreInfo": true,
      "Sequence": 8,
      "NCCICode": "sample string 9",
      "Standard": true,
      "ValidFlag": true,
      "DateCreated": "2024-11-21T00:30:00.176792-08:00",
      "DateUpdated": "2024-11-21T00:30:00.176792-08:00",
      "UserIDCreated": 14,
      "UserIDUpdated": 15,
      "CompanyCode": "sample string 16",
      "IsExcludeDiscount": true
    }
  ],
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfArrayOfCorporationCauseOfIncidentDTO3NYuOdgi 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:CorporationCauseOfIncidentDTO>
      <d2p1:CompanyCode>sample string 16</d2p1:CompanyCode>
      <d2p1:DateCreated>2024-11-21T00:30:00.176792-08:00</d2p1:DateCreated>
      <d2p1:DateUpdated>2024-11-21T00:30:00.176792-08:00</d2p1:DateUpdated>
      <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
      <d2p1:UserIDCreated>14</d2p1:UserIDCreated>
      <d2p1:UserIDUpdated>15</d2p1:UserIDUpdated>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
      <d2p1:Id>5</d2p1:Id>
      <d2p1:NCCICode>sample string 9</d2p1:NCCICode>
      <d2p1:Name>sample string 6</d2p1:Name>
      <d2p1:NeedMoreInfo>true</d2p1:NeedMoreInfo>
      <d2p1:Sequence>8</d2p1:Sequence>
      <d2p1:Standard>true</d2p1:Standard>
      <d2p1:CorporationCauseOfIncidentId>1</d2p1:CorporationCauseOfIncidentId>
      <d2p1:CorporationCode>sample string 2</d2p1:CorporationCode>
      <d2p1:CorporationValidFlag>true</d2p1:CorporationValidFlag>
      <d2p1:Type>4</d2p1:Type>
    </d2p1:CorporationCauseOfIncidentDTO>
    <d2p1:CorporationCauseOfIncidentDTO>
      <d2p1:CompanyCode>sample string 16</d2p1:CompanyCode>
      <d2p1:DateCreated>2024-11-21T00:30:00.176792-08:00</d2p1:DateCreated>
      <d2p1:DateUpdated>2024-11-21T00:30:00.176792-08:00</d2p1:DateUpdated>
      <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
      <d2p1:UserIDCreated>14</d2p1:UserIDCreated>
      <d2p1:UserIDUpdated>15</d2p1:UserIDUpdated>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
      <d2p1:Id>5</d2p1:Id>
      <d2p1:NCCICode>sample string 9</d2p1:NCCICode>
      <d2p1:Name>sample string 6</d2p1:Name>
      <d2p1:NeedMoreInfo>true</d2p1:NeedMoreInfo>
      <d2p1:Sequence>8</d2p1:Sequence>
      <d2p1:Standard>true</d2p1:Standard>
      <d2p1:CorporationCauseOfIncidentId>1</d2p1:CorporationCauseOfIncidentId>
      <d2p1:CorporationCode>sample string 2</d2p1:CorporationCode>
      <d2p1:CorporationValidFlag>true</d2p1:CorporationValidFlag>
      <d2p1:Type>4</d2p1:Type>
    </d2p1:CorporationCauseOfIncidentDTO>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfArrayOfCorporationCauseOfIncidentDTO3NYuOdgi>