POST api/Disclaimer
Request Information
URI Parameters
None.
Body Parameters
DisclaimerViewModelName | Description | Type | Additional information |
---|---|---|---|
Badge | string |
Max length: 6 |
|
Agreed | boolean |
None. |
|
IncidentDateTime | date |
None. |
|
DeviceSessionId | string |
Max length: 4000 |
|
DeviceGuid | string |
None. |
|
DeviceName | string |
None. |
|
DeviceModel | string |
None. |
|
DeviceOS | string |
None. |
|
SystemName | string |
None. |
|
SystemVersion | string |
None. |
|
LocalizedModel | string |
None. |
|
BatteryLevel | string |
None. |
|
BatteryState | string |
None. |
|
CurrentLatitude | decimal number |
None. |
|
CurrentLongtitude | decimal number |
None. |
|
CurrentAltitude | decimal number |
None. |
|
CurrentSpeed | decimal number |
None. |
|
CurrentHorizontalAccuracy | decimal number |
None. |
|
CurrentVerticalAccuracy | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "badge": "sample string 1", "agreed": true, "incidentDateTime": "2025-03-16T18:16:09.4568507+00:00", "deviceSessionId": "sample string 4", "deviceGuid": "sample string 5", "deviceName": "sample string 6", "deviceModel": "sample string 7", "deviceOS": "sample string 8", "systemName": "sample string 9", "systemVersion": "sample string 10", "localizedModel": "sample string 11", "batteryLevel": "sample string 12", "batteryState": "sample string 13", "currentLatitude": 14.0, "currentLongtitude": 15.0, "currentAltitude": 16.0, "currentSpeed": 17.0, "currentHorizontalAccuracy": 18.0, "currentVerticalAccuracy": 19.0 }
application/xml, text/xml
Sample:
<DisclaimerViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ACTransit.RestroomFinder.API.Models"> <BatteryLevel>sample string 12</BatteryLevel> <BatteryState>sample string 13</BatteryState> <CurrentAltitude>16</CurrentAltitude> <CurrentHorizontalAccuracy>18</CurrentHorizontalAccuracy> <CurrentLatitude>14</CurrentLatitude> <CurrentLongtitude>15</CurrentLongtitude> <CurrentSpeed>17</CurrentSpeed> <CurrentVerticalAccuracy>19</CurrentVerticalAccuracy> <DeviceGuid>sample string 5</DeviceGuid> <DeviceModel>sample string 7</DeviceModel> <DeviceName>sample string 6</DeviceName> <DeviceOS>sample string 8</DeviceOS> <LocalizedModel>sample string 11</LocalizedModel> <SystemName>sample string 9</SystemName> <SystemVersion>sample string 10</SystemVersion> <Agreed>true</Agreed> <Badge>sample string 1</Badge> <DeviceSessionId>sample string 4</DeviceSessionId> <IncidentDateTime>2025-03-16T18:16:09.4568507+00:00</IncidentDateTime> </DisclaimerViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.