POST api/v1/emergency
Request Information
URI Parameters
None.
Body Parameters
AutomaticEmergencyRequestName | Description | Type | Additional information |
---|---|---|---|
vin | string |
Required |
|
tconnectid | string |
None. |
|
timestamp | string |
Required |
|
lat_angle | decimal number |
Required |
|
lon_angle | decimal number |
Required |
|
lat_direction | integer |
None. |
|
lon_direction | integer |
None. |
|
accident_type | integer |
Required Range: inclusive between 0 and 1 |
Request Formats
application/json, text/json
Sample:
{ "vin": "sample string 1", "tconnectid": "sample string 2", "timestamp": "sample string 3", "lat_angle": 1.1, "lon_angle": 1.1, "lat_direction": 4, "lon_direction": 5, "accident_type": 1 }
application/xml, text/xml
Sample:
<AutomaticEmergencyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LDCM.MyServices.Models"> <AccidentType>1</AccidentType> <LatDirection>4</LatDirection> <Latitude>1.1</Latitude> <Logitude>1.1</Logitude> <LonDirection>5</LonDirection> <TConnectId>sample string 2</TConnectId> <TimeStamp>sample string 3</TimeStamp> <Vin>sample string 1</Vin> </AutomaticEmergencyRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.