POST api/NTCriticalIncidentReport/PostIncidentCriticalReportEncounter

Request Information

URI Parameters

None.

Body Parameters

IncidentCriticalReportEncounterDTO
NameDescriptionTypeAdditional information
EncounterId

integer

None.

CaseNo

integer

None.

Assessment

string

String length: inclusive between 0 and 8000

Recommendation

string

String length: inclusive between 0 and 4000

Sequence

integer

None.

TimeCallReceived

time interval

None.

TimeOnScene

time interval

None.

TotalTimeOnScene

time interval

None.

TimeTransported

time interval

None.

TimeUnitClear

time interval

None.

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:
{
  "EncounterId": 1,
  "CaseNo": 2,
  "Assessment": "sample string 3",
  "Recommendation": "sample string 4",
  "Sequence": 5,
  "TimeCallReceived": "00:00:00.1234567",
  "TimeOnScene": "00:00:00.1234567",
  "TotalTimeOnScene": "00:00:00.1234567",
  "TimeTransported": "00:00:00.1234567",
  "TimeUnitClear": "00:00:00.1234567",
  "ValidFlag": true,
  "DateCreated": "2025-04-04T05:24:58.8706454-07:00",
  "DateUpdated": "2025-04-04T05:24:58.8706454-07:00",
  "UserIDCreated": 9,
  "UserIDUpdated": 10,
  "CompanyCode": "sample string 11",
  "IsExcludeDiscount": true
}

application/xml, text/xml

Sample:
<IncidentCriticalReportEncounterDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
  <CompanyCode>sample string 11</CompanyCode>
  <DateCreated>2025-04-04T05:24:58.8706454-07:00</DateCreated>
  <DateUpdated>2025-04-04T05:24:58.8706454-07:00</DateUpdated>
  <IsExcludeDiscount>true</IsExcludeDiscount>
  <UserIDCreated>9</UserIDCreated>
  <UserIDUpdated>10</UserIDUpdated>
  <ValidFlag>true</ValidFlag>
  <Assessment>sample string 3</Assessment>
  <CaseNo>2</CaseNo>
  <EncounterId>1</EncounterId>
  <Recommendation>sample string 4</Recommendation>
  <Sequence>5</Sequence>
  <TimeCallReceived>PT0.1234567S</TimeCallReceived>
  <TimeOnScene>PT0.1234567S</TimeOnScene>
  <TimeTransported>PT0.1234567S</TimeTransported>
  <TimeUnitClear>PT0.1234567S</TimeUnitClear>
  <TotalTimeOnScene>PT0.1234567S</TotalTimeOnScene>
</IncidentCriticalReportEncounterDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AsapResponseOfIncidentCriticalReportEncounterDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

IncidentCriticalReportEncounterDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": {
    "EncounterId": 1,
    "CaseNo": 2,
    "Assessment": "sample string 3",
    "Recommendation": "sample string 4",
    "Sequence": 5,
    "TimeCallReceived": "00:00:00.1234567",
    "TimeOnScene": "00:00:00.1234567",
    "TotalTimeOnScene": "00:00:00.1234567",
    "TimeTransported": "00:00:00.1234567",
    "TimeUnitClear": "00:00:00.1234567",
    "ValidFlag": true,
    "DateCreated": "2025-04-04T05:24:58.8862944-07:00",
    "DateUpdated": "2025-04-04T05:24:58.8862944-07:00",
    "UserIDCreated": 9,
    "UserIDUpdated": 10,
    "CompanyCode": "sample string 11",
    "IsExcludeDiscount": true
  },
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfIncidentCriticalReportEncounterDTO3NYuOdgi 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 11</d2p1:CompanyCode>
    <d2p1:DateCreated>2025-04-04T05:24:58.8862944-07:00</d2p1:DateCreated>
    <d2p1:DateUpdated>2025-04-04T05:24:58.8862944-07:00</d2p1:DateUpdated>
    <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
    <d2p1:UserIDCreated>9</d2p1:UserIDCreated>
    <d2p1:UserIDUpdated>10</d2p1:UserIDUpdated>
    <d2p1:ValidFlag>true</d2p1:ValidFlag>
    <d2p1:Assessment>sample string 3</d2p1:Assessment>
    <d2p1:CaseNo>2</d2p1:CaseNo>
    <d2p1:EncounterId>1</d2p1:EncounterId>
    <d2p1:Recommendation>sample string 4</d2p1:Recommendation>
    <d2p1:Sequence>5</d2p1:Sequence>
    <d2p1:TimeCallReceived>PT0.1234567S</d2p1:TimeCallReceived>
    <d2p1:TimeOnScene>PT0.1234567S</d2p1:TimeOnScene>
    <d2p1:TimeTransported>PT0.1234567S</d2p1:TimeTransported>
    <d2p1:TimeUnitClear>PT0.1234567S</d2p1:TimeUnitClear>
    <d2p1:TotalTimeOnScene>PT0.1234567S</d2p1:TotalTimeOnScene>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfIncidentCriticalReportEncounterDTO3NYuOdgi>