POST api/PostCall

Request Information

URI Parameters

None.

Body Parameters

CallInfo
NameDescriptionTypeAdditional information
callID

integer

None.

phoneCallID

integer

None.

callerFirstName

string

None.

callerLastName

string

None.

patientType

string

None.

patientTypeID

integer

None.

address

string

None.

city

string

None.

postCode

string

None.

region

string

None.

locationComment

string

None.

addressLocation

string

None.

longitude

decimal number

None.

latitude

decimal number

None.

phone

string

None.

phoneNote

string

None.

categoryID

integer

None.

severityID

integer

None.

isAwake

boolean

None.

isBreathing

boolean

None.

notes

string

None.

callTime

date

None.

dispatchTime

date

None.

mobileTime

date

None.

arriveTime

date

None.

leftSceneTime

date

None.

busMobileTime

date

None.

busArriveTime

date

None.

busLeftTime

date

None.

busBackTime

date

None.

busTransportedID

integer

None.

destArrive

date

None.

destClear

date

None.

cancelTime

date

None.

prfSubmittedTime

date

None.

cancelReason

string

None.

cancelNote

string

None.

operatorNotes

string

None.

hospitalID

integer

None.

hospitalNote

string

None.

statusID

integer

None.

completedBy

integer

None.

Status

string

None.

prfNumber

string

None.

memberList

Collection of DispachMember

None.

addressAlert

string

None.

hasPermission

boolean

None.

isCompletePressed

boolean

None.

TX

string

None.

lockedToUserID

integer

None.

operatorID

integer

None.

gender

string

None.

advisedToCall

boolean

None.

timeAdvisedToCall

date

None.

advisedToCallNote

string

None.

userAdvisedID

integer

None.

advisedeNote

string

None.

advisedAndClosed

boolean

None.

Permission

APICallPermission

None.

callNumber

integer

None.

originalCallID

integer

None.

phoneCallList

Collection of ApiPhoneCall

None.

userStartedPrfID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "callID": 1,
  "phoneCallID": 1,
  "callerFirstName": "sample string 2",
  "callerLastName": "sample string 3",
  "patientType": "sample string 4",
  "patientTypeID": 1,
  "address": "sample string 5",
  "city": "sample string 6",
  "postCode": "sample string 7",
  "region": "sample string 8",
  "locationComment": "sample string 9",
  "addressLocation": "sample string 10",
  "longitude": 1.0,
  "latitude": 1.0,
  "phone": "sample string 11",
  "phoneNote": "sample string 12",
  "categoryID": 1,
  "severityID": 13,
  "isAwake": true,
  "isBreathing": true,
  "notes": "sample string 14",
  "callTime": "2025-08-29T02:49:47.3322006+01:00",
  "dispatchTime": "2025-08-29T02:49:47.3322006+01:00",
  "mobileTime": "2025-08-29T02:49:47.3322006+01:00",
  "arriveTime": "2025-08-29T02:49:47.3322006+01:00",
  "leftSceneTime": "2025-08-29T02:49:47.3322006+01:00",
  "busMobileTime": "2025-08-29T02:49:47.3322006+01:00",
  "busArriveTime": "2025-08-29T02:49:47.3322006+01:00",
  "busLeftTime": "2025-08-29T02:49:47.3322006+01:00",
  "busBackTime": "2025-08-29T02:49:47.3322006+01:00",
  "busTransportedID": 1,
  "destArrive": "2025-08-29T02:49:47.3322006+01:00",
  "destClear": "2025-08-29T02:49:47.3322006+01:00",
  "cancelTime": "2025-08-29T02:49:47.3322006+01:00",
  "prfSubmittedTime": "2025-08-29T02:49:47.3322006+01:00",
  "cancelReason": "sample string 15",
  "cancelNote": "sample string 16",
  "operatorNotes": "sample string 17",
  "hospitalID": 1,
  "hospitalNote": "sample string 18",
  "statusID": 1,
  "completedBy": 1,
  "Status": "sample string 19",
  "prfNumber": "sample string 20",
  "memberList": [
    {
      "ID": 1,
      "MemberID": 1,
      "AmbulanceID": 1,
      "DispatchTime": "2025-08-29T02:49:47.3322006+01:00",
      "ArriveTime": "2025-08-29T02:49:47.3322006+01:00",
      "Code": "sample string 2",
      "IsTransported": true,
      "LightsUsed": true
    },
    {
      "ID": 1,
      "MemberID": 1,
      "AmbulanceID": 1,
      "DispatchTime": "2025-08-29T02:49:47.3322006+01:00",
      "ArriveTime": "2025-08-29T02:49:47.3322006+01:00",
      "Code": "sample string 2",
      "IsTransported": true,
      "LightsUsed": true
    }
  ],
  "addressAlert": "sample string 21",
  "hasPermission": true,
  "isCompletePressed": true,
  "TX": "sample string 23",
  "lockedToUserID": 1,
  "operatorID": 1,
  "gender": "sample string 24",
  "advisedToCall": true,
  "timeAdvisedToCall": "2025-08-29T02:49:47.3322006+01:00",
  "advisedToCallNote": "sample string 25",
  "userAdvisedID": 1,
  "advisedeNote": "sample string 26",
  "advisedAndClosed": true,
  "Permission": {
    "ID": 1,
    "CallID": 1,
    "Reason": "sample string 2",
    "GrantedToID": 1,
    "GrantedByID": 1,
    "Expires": "2025-08-29T02:49:47.3322006+01:00",
    "IsProtected": true
  },
  "callNumber": 1,
  "originalCallID": 1,
  "phoneCallList": [
    {
      "ID": 3,
      "date": "2025-08-29T02:49:47.3322006+01:00",
      "statusID": 2,
      "note": "sample string 5",
      "phoneNumber": "sample string 4",
      "callID": 1,
      "matchesCall": true,
      "duration": 8,
      "hasFile": true,
      "fileLink": "sample string 9",
      "userID": 1
    },
    {
      "ID": 3,
      "date": "2025-08-29T02:49:47.3322006+01:00",
      "statusID": 2,
      "note": "sample string 5",
      "phoneNumber": "sample string 4",
      "callID": 1,
      "matchesCall": true,
      "duration": 8,
      "hasFile": true,
      "fileLink": "sample string 9",
      "userID": 1
    }
  ],
  "userStartedPrfID": 1
}

application/octet-stream, multipart/form-data

Sample:
{"callID":1,"phoneCallID":1,"callerFirstName":"sample string 2","callerLastName":"sample string 3","patientType":"sample string 4","patientTypeID":1,"address":"sample string 5","city":"sample string 6","postCode":"sample string 7","region":"sample string 8","locationComment":"sample string 9","addressLocation":"sample string 10","longitude":1.0,"latitude":1.0,"phone":"sample string 11","phoneNote":"sample string 12","categoryID":1,"severityID":13,"isAwake":true,"isBreathing":true,"notes":"sample string 14","callTime":"2025-08-29T02:49:47.3322006+01:00","dispatchTime":"2025-08-29T02:49:47.3322006+01:00","mobileTime":"2025-08-29T02:49:47.3322006+01:00","arriveTime":"2025-08-29T02:49:47.3322006+01:00","leftSceneTime":"2025-08-29T02:49:47.3322006+01:00","busMobileTime":"2025-08-29T02:49:47.3322006+01:00","busArriveTime":"2025-08-29T02:49:47.3322006+01:00","busLeftTime":"2025-08-29T02:49:47.3322006+01:00","busBackTime":"2025-08-29T02:49:47.3322006+01:00","busTransportedID":1,"destArrive":"2025-08-29T02:49:47.3322006+01:00","destClear":"2025-08-29T02:49:47.3322006+01:00","cancelTime":"2025-08-29T02:49:47.3322006+01:00","prfSubmittedTime":"2025-08-29T02:49:47.3322006+01:00","cancelReason":"sample string 15","cancelNote":"sample string 16","operatorNotes":"sample string 17","hospitalID":1,"hospitalNote":"sample string 18","statusID":1,"completedBy":1,"Status":"sample string 19","prfNumber":"sample string 20","memberList":[{"ID":1,"MemberID":1,"AmbulanceID":1,"DispatchTime":"2025-08-29T02:49:47.3322006+01:00","ArriveTime":"2025-08-29T02:49:47.3322006+01:00","Code":"sample string 2","IsTransported":true,"LightsUsed":true},{"ID":1,"MemberID":1,"AmbulanceID":1,"DispatchTime":"2025-08-29T02:49:47.3322006+01:00","ArriveTime":"2025-08-29T02:49:47.3322006+01:00","Code":"sample string 2","IsTransported":true,"LightsUsed":true}],"addressAlert":"sample string 21","hasPermission":true,"isCompletePressed":true,"TX":"sample string 23","lockedToUserID":1,"operatorID":1,"gender":"sample string 24","advisedToCall":true,"timeAdvisedToCall":"2025-08-29T02:49:47.3322006+01:00","advisedToCallNote":"sample string 25","userAdvisedID":1,"advisedeNote":"sample string 26","advisedAndClosed":true,"Permission":{"ID":1,"CallID":1,"Reason":"sample string 2","GrantedToID":1,"GrantedByID":1,"Expires":"2025-08-29T02:49:47.3322006+01:00","IsProtected":true},"callNumber":1,"originalCallID":1,"phoneCallList":[{"ID":3,"date":"2025-08-29T02:49:47.3322006+01:00","statusID":2,"note":"sample string 5","phoneNumber":"sample string 4","callID":1,"matchesCall":true,"duration":8,"hasFile":true,"fileLink":"sample string 9","userID":1},{"ID":3,"date":"2025-08-29T02:49:47.3322006+01:00","statusID":2,"note":"sample string 5","phoneNumber":"sample string 4","callID":1,"matchesCall":true,"duration":8,"hasFile":true,"fileLink":"sample string 9","userID":1}],"userStartedPrfID":1}

application/xml, text/xml

Sample:
<CallController.CallInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HTMW.Controllers">
  <Permission xmlns:d2p1="http://schemas.datacontract.org/2004/07/HTMW.Modules">
    <d2p1:CallID>1</d2p1:CallID>
    <d2p1:Expires>2025-08-29T02:49:47.3322006+01:00</d2p1:Expires>
    <d2p1:GrantedByID>1</d2p1:GrantedByID>
    <d2p1:GrantedToID>1</d2p1:GrantedToID>
    <d2p1:ID>1</d2p1:ID>
    <d2p1:IsProtected>true</d2p1:IsProtected>
    <d2p1:Reason>sample string 2</d2p1:Reason>
  </Permission>
  <Status>sample string 19</Status>
  <TX>sample string 23</TX>
  <address>sample string 5</address>
  <addressAlert>sample string 21</addressAlert>
  <addressLocation>sample string 10</addressLocation>
  <advisedAndClosed>true</advisedAndClosed>
  <advisedToCall>true</advisedToCall>
  <advisedToCallNote>sample string 25</advisedToCallNote>
  <advisedeNote>sample string 26</advisedeNote>
  <arriveTime>2025-08-29T02:49:47.3322006+01:00</arriveTime>
  <busArriveTime>2025-08-29T02:49:47.3322006+01:00</busArriveTime>
  <busBackTime>2025-08-29T02:49:47.3322006+01:00</busBackTime>
  <busLeftTime>2025-08-29T02:49:47.3322006+01:00</busLeftTime>
  <busMobileTime>2025-08-29T02:49:47.3322006+01:00</busMobileTime>
  <busTransportedID>1</busTransportedID>
  <callID>1</callID>
  <callNumber>1</callNumber>
  <callTime>2025-08-29T02:49:47.3322006+01:00</callTime>
  <callerFirstName>sample string 2</callerFirstName>
  <callerLastName>sample string 3</callerLastName>
  <cancelNote>sample string 16</cancelNote>
  <cancelReason>sample string 15</cancelReason>
  <cancelTime>2025-08-29T02:49:47.3322006+01:00</cancelTime>
  <categoryID>1</categoryID>
  <city>sample string 6</city>
  <completedBy>1</completedBy>
  <destArrive>2025-08-29T02:49:47.3322006+01:00</destArrive>
  <destClear>2025-08-29T02:49:47.3322006+01:00</destClear>
  <dispatchTime>2025-08-29T02:49:47.3322006+01:00</dispatchTime>
  <gender>sample string 24</gender>
  <hasPermission>true</hasPermission>
  <hospitalID>1</hospitalID>
  <hospitalNote>sample string 18</hospitalNote>
  <isAwake>true</isAwake>
  <isBreathing>true</isBreathing>
  <isCompletePressed>true</isCompletePressed>
  <latitude>1</latitude>
  <leftSceneTime>2025-08-29T02:49:47.3322006+01:00</leftSceneTime>
  <locationComment>sample string 9</locationComment>
  <lockedToUserID>1</lockedToUserID>
  <longitude>1</longitude>
  <memberList>
    <CallController.DispachMember>
      <AmbulanceID>1</AmbulanceID>
      <ArriveTime>2025-08-29T02:49:47.3322006+01:00</ArriveTime>
      <Code>sample string 2</Code>
      <DispatchTime>2025-08-29T02:49:47.3322006+01:00</DispatchTime>
      <ID>1</ID>
      <IsTransported>true</IsTransported>
      <LightsUsed>true</LightsUsed>
      <MemberID>1</MemberID>
    </CallController.DispachMember>
    <CallController.DispachMember>
      <AmbulanceID>1</AmbulanceID>
      <ArriveTime>2025-08-29T02:49:47.3322006+01:00</ArriveTime>
      <Code>sample string 2</Code>
      <DispatchTime>2025-08-29T02:49:47.3322006+01:00</DispatchTime>
      <ID>1</ID>
      <IsTransported>true</IsTransported>
      <LightsUsed>true</LightsUsed>
      <MemberID>1</MemberID>
    </CallController.DispachMember>
  </memberList>
  <mobileTime>2025-08-29T02:49:47.3322006+01:00</mobileTime>
  <notes>sample string 14</notes>
  <operatorID>1</operatorID>
  <operatorNotes>sample string 17</operatorNotes>
  <originalCallID>1</originalCallID>
  <patientType>sample string 4</patientType>
  <patientTypeID>1</patientTypeID>
  <phone>sample string 11</phone>
  <phoneCallID>1</phoneCallID>
  <phoneCallList>
    <PhoneCallController.ApiPhoneCall>
      <ID>3</ID>
      <callID>1</callID>
      <date>2025-08-29T02:49:47.3322006+01:00</date>
      <duration>8</duration>
      <fileLink>sample string 9</fileLink>
      <hasFile>true</hasFile>
      <matchesCall>true</matchesCall>
      <note>sample string 5</note>
      <phoneNumber>sample string 4</phoneNumber>
      <statusID>2</statusID>
      <userID>1</userID>
    </PhoneCallController.ApiPhoneCall>
    <PhoneCallController.ApiPhoneCall>
      <ID>3</ID>
      <callID>1</callID>
      <date>2025-08-29T02:49:47.3322006+01:00</date>
      <duration>8</duration>
      <fileLink>sample string 9</fileLink>
      <hasFile>true</hasFile>
      <matchesCall>true</matchesCall>
      <note>sample string 5</note>
      <phoneNumber>sample string 4</phoneNumber>
      <statusID>2</statusID>
      <userID>1</userID>
    </PhoneCallController.ApiPhoneCall>
  </phoneCallList>
  <phoneNote>sample string 12</phoneNote>
  <postCode>sample string 7</postCode>
  <prfNumber>sample string 20</prfNumber>
  <prfSubmittedTime>2025-08-29T02:49:47.3322006+01:00</prfSubmittedTime>
  <region>sample string 8</region>
  <severityID>13</severityID>
  <statusID>1</statusID>
  <timeAdvisedToCall>2025-08-29T02:49:47.3322006+01:00</timeAdvisedToCall>
  <userAdvisedID>1</userAdvisedID>
  <userStartedPrfID>1</userStartedPrfID>
</CallController.CallInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CallResult
NameDescriptionTypeAdditional information
Code

integer

None.

Message

string

None.

CallID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Message": "sample string 2",
  "CallID": 1
}

application/octet-stream, multipart/form-data

Sample:
{"Code":1,"Message":"sample string 2","CallID":1}

application/xml, text/xml

Sample:
<CallController.CallResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HTMW.Controllers">
  <CallID>1</CallID>
  <Code>1</Code>
  <Message>sample string 2</Message>
</CallController.CallResult>