POST api/Operator
Request Information
URI Parameters
None.
Body Parameters
OperatorInfoViewModelName | Description | Type | Additional information |
---|---|---|---|
FirstName | string |
Max length: 50 |
|
LastName | string |
Max length: 50 |
|
Badge | string |
Max length: 6 |
|
Agreed | boolean |
None. |
|
IncidentDateTime | date |
None. |
|
Validating | boolean |
None. |
|
DeviceSessionId | string |
Max length: 4000 |
|
SessionApproved | boolean |
None. |
|
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:
{ "firstName": "sample string 1", "lastName": "sample string 2", "badge": "sample string 3", "agreed": true, "incidentDateTime": "2025-04-04T13:53:40.5064475+00:00", "validating": true, "deviceSessionId": "sample string 7", "sessionApproved": true, "deviceGuid": "sample string 9", "deviceName": "sample string 10", "deviceModel": "sample string 11", "deviceOS": "sample string 12", "systemName": "sample string 13", "systemVersion": "sample string 14", "localizedModel": "sample string 15", "batteryLevel": "sample string 16", "batteryState": "sample string 17", "currentLatitude": 18.0, "currentLongtitude": 19.0, "currentAltitude": 20.0, "currentSpeed": 21.0, "currentHorizontalAccuracy": 22.0, "currentVerticalAccuracy": 23.0 }
application/xml, text/xml
Sample:
<OperatorInfoViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ACTransit.RestroomFinder.API.Models"> <BatteryLevel>sample string 16</BatteryLevel> <BatteryState>sample string 17</BatteryState> <CurrentAltitude>20</CurrentAltitude> <CurrentHorizontalAccuracy>22</CurrentHorizontalAccuracy> <CurrentLatitude>18</CurrentLatitude> <CurrentLongtitude>19</CurrentLongtitude> <CurrentSpeed>21</CurrentSpeed> <CurrentVerticalAccuracy>23</CurrentVerticalAccuracy> <DeviceGuid>sample string 9</DeviceGuid> <DeviceModel>sample string 11</DeviceModel> <DeviceName>sample string 10</DeviceName> <DeviceOS>sample string 12</DeviceOS> <LocalizedModel>sample string 15</LocalizedModel> <SystemName>sample string 13</SystemName> <SystemVersion>sample string 14</SystemVersion> <Agreed>true</Agreed> <Badge>sample string 3</Badge> <DeviceSessionId>sample string 7</DeviceSessionId> <FirstName>sample string 1</FirstName> <IncidentDateTime>2025-04-04T13:53:40.5064475+00:00</IncidentDateTime> <LastName>sample string 2</LastName> <SessionApproved>true</SessionApproved> <Validating>true</Validating> </OperatorInfoViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
OperatorInfoViewModelName | Description | Type | Additional information |
---|---|---|---|
FirstName | string |
Max length: 50 |
|
LastName | string |
Max length: 50 |
|
Badge | string |
Max length: 6 |
|
Agreed | boolean |
None. |
|
IncidentDateTime | date |
None. |
|
Validating | boolean |
None. |
|
DeviceSessionId | string |
Max length: 4000 |
|
SessionApproved | boolean |
None. |
|
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. |
Response Formats
application/json, text/json
Sample:
{ "firstName": "sample string 1", "lastName": "sample string 2", "badge": "sample string 3", "agreed": true, "incidentDateTime": "2025-04-04T13:53:40.5064475+00:00", "validating": true, "deviceSessionId": "sample string 7", "sessionApproved": true, "deviceGuid": "sample string 9", "deviceName": "sample string 10", "deviceModel": "sample string 11", "deviceOS": "sample string 12", "systemName": "sample string 13", "systemVersion": "sample string 14", "localizedModel": "sample string 15", "batteryLevel": "sample string 16", "batteryState": "sample string 17", "currentLatitude": 18.0, "currentLongtitude": 19.0, "currentAltitude": 20.0, "currentSpeed": 21.0, "currentHorizontalAccuracy": 22.0, "currentVerticalAccuracy": 23.0 }
application/xml, text/xml
Sample:
<OperatorInfoViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ACTransit.RestroomFinder.API.Models"> <BatteryLevel>sample string 16</BatteryLevel> <BatteryState>sample string 17</BatteryState> <CurrentAltitude>20</CurrentAltitude> <CurrentHorizontalAccuracy>22</CurrentHorizontalAccuracy> <CurrentLatitude>18</CurrentLatitude> <CurrentLongtitude>19</CurrentLongtitude> <CurrentSpeed>21</CurrentSpeed> <CurrentVerticalAccuracy>23</CurrentVerticalAccuracy> <DeviceGuid>sample string 9</DeviceGuid> <DeviceModel>sample string 11</DeviceModel> <DeviceName>sample string 10</DeviceName> <DeviceOS>sample string 12</DeviceOS> <LocalizedModel>sample string 15</LocalizedModel> <SystemName>sample string 13</SystemName> <SystemVersion>sample string 14</SystemVersion> <Agreed>true</Agreed> <Badge>sample string 3</Badge> <DeviceSessionId>sample string 7</DeviceSessionId> <FirstName>sample string 1</FirstName> <IncidentDateTime>2025-04-04T13:53:40.5064475+00:00</IncidentDateTime> <LastName>sample string 2</LastName> <SessionApproved>true</SessionApproved> <Validating>true</Validating> </OperatorInfoViewModel>