PUT api/NTIncident/PushIncident/{caseNo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
caseNo

integer

Required

Body Parameters

None.

Response Information

Resource Description

AsapResponseOfPushPushIncidentDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

PushPushIncidentDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": {
    "CaseNo": 1,
    "SpotterCaseNo": 1,
    "Message": "sample string 1",
    "Status": true,
    "Encounter": [
      {
        "EncounterId": 1,
        "SpotterEncounterId": 1,
        "Message": "sample string 1",
        "Status": true
      },
      {
        "EncounterId": 1,
        "SpotterEncounterId": 1,
        "Message": "sample string 1",
        "Status": true
      }
    ]
  },
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfPushPushIncidentDTOjv9E3Qoc 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._SpotterIntegration.Model">
    <d2p1:CaseNo>1</d2p1:CaseNo>
    <d2p1:Encounter>
      <d2p1:PushIncidentEncounterDTO>
        <d2p1:EncounterId>1</d2p1:EncounterId>
        <d2p1:Message>sample string 1</d2p1:Message>
        <d2p1:SpotterEncounterId>1</d2p1:SpotterEncounterId>
        <d2p1:Status>true</d2p1:Status>
      </d2p1:PushIncidentEncounterDTO>
      <d2p1:PushIncidentEncounterDTO>
        <d2p1:EncounterId>1</d2p1:EncounterId>
        <d2p1:Message>sample string 1</d2p1:Message>
        <d2p1:SpotterEncounterId>1</d2p1:SpotterEncounterId>
        <d2p1:Status>true</d2p1:Status>
      </d2p1:PushIncidentEncounterDTO>
    </d2p1:Encounter>
    <d2p1:Message>sample string 1</d2p1:Message>
    <d2p1:SpotterCaseNo>1</d2p1:SpotterCaseNo>
    <d2p1:Status>true</d2p1:Status>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfPushPushIncidentDTOjv9E3Qoc>