POST api/v2/Authentication/authenticate
Request Information
URI Parameters
None.
Body Parameters
AuthenticationViewModelName | Description | Type | Additional information |
---|---|---|---|
FirstName | string |
Max length: 50 |
|
LastName | string |
Max length: 50 |
|
Badge | string |
Max length: 6 |
|
PhoneNumber | string |
Max length: 25 |
|
Confirm2FACode | string |
Max length: 20 |
|
IncidentDateTime | date |
None. |
|
CanAddRestroom | boolean |
None. |
|
CanEditRestroom | 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", "phoneNumber": "sample string 4", "confirm2FACode": "sample string 5", "incidentDateTime": "2025-03-27T00:16:57.7573018+00:00", "canAddRestroom": true, "canEditRestroom": true, "deviceSessionId": "sample string 9", "sessionApproved": true, "deviceGuid": "sample string 11", "deviceName": "sample string 12", "deviceModel": "sample string 13", "deviceOS": "sample string 14", "systemName": "sample string 15", "systemVersion": "sample string 16", "localizedModel": "sample string 17", "batteryLevel": "sample string 18", "batteryState": "sample string 19", "currentLatitude": 20.0, "currentLongtitude": 21.0, "currentAltitude": 22.0, "currentSpeed": 23.0, "currentHorizontalAccuracy": 24.0, "currentVerticalAccuracy": 25.0 }
application/xml, text/xml
Sample:
<AuthenticationViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ACTransit.RestroomFinder.API.Models"> <BatteryLevel>sample string 18</BatteryLevel> <BatteryState>sample string 19</BatteryState> <CurrentAltitude>22</CurrentAltitude> <CurrentHorizontalAccuracy>24</CurrentHorizontalAccuracy> <CurrentLatitude>20</CurrentLatitude> <CurrentLongtitude>21</CurrentLongtitude> <CurrentSpeed>23</CurrentSpeed> <CurrentVerticalAccuracy>25</CurrentVerticalAccuracy> <DeviceGuid>sample string 11</DeviceGuid> <DeviceModel>sample string 13</DeviceModel> <DeviceName>sample string 12</DeviceName> <DeviceOS>sample string 14</DeviceOS> <LocalizedModel>sample string 17</LocalizedModel> <SystemName>sample string 15</SystemName> <SystemVersion>sample string 16</SystemVersion> <Badge>sample string 3</Badge> <CanAddRestroom>true</CanAddRestroom> <CanEditRestroom>true</CanEditRestroom> <Confirm2FACode>sample string 5</Confirm2FACode> <DeviceSessionId>sample string 9</DeviceSessionId> <FirstName>sample string 1</FirstName> <IncidentDateTime>2025-03-27T00:16:57.7573018+00:00</IncidentDateTime> <LastName>sample string 2</LastName> <PhoneNumber>sample string 4</PhoneNumber> <SessionApproved>true</SessionApproved> </AuthenticationViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
AuthenticationViewModelName | Description | Type | Additional information |
---|---|---|---|
FirstName | string |
Max length: 50 |
|
LastName | string |
Max length: 50 |
|
Badge | string |
Max length: 6 |
|
PhoneNumber | string |
Max length: 25 |
|
Confirm2FACode | string |
Max length: 20 |
|
IncidentDateTime | date |
None. |
|
CanAddRestroom | boolean |
None. |
|
CanEditRestroom | 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", "phoneNumber": "sample string 4", "confirm2FACode": "sample string 5", "incidentDateTime": "2025-03-27T00:16:57.7728777+00:00", "canAddRestroom": true, "canEditRestroom": true, "deviceSessionId": "sample string 9", "sessionApproved": true, "deviceGuid": "sample string 11", "deviceName": "sample string 12", "deviceModel": "sample string 13", "deviceOS": "sample string 14", "systemName": "sample string 15", "systemVersion": "sample string 16", "localizedModel": "sample string 17", "batteryLevel": "sample string 18", "batteryState": "sample string 19", "currentLatitude": 20.0, "currentLongtitude": 21.0, "currentAltitude": 22.0, "currentSpeed": 23.0, "currentHorizontalAccuracy": 24.0, "currentVerticalAccuracy": 25.0 }
application/xml, text/xml
Sample:
<AuthenticationViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ACTransit.RestroomFinder.API.Models"> <BatteryLevel>sample string 18</BatteryLevel> <BatteryState>sample string 19</BatteryState> <CurrentAltitude>22</CurrentAltitude> <CurrentHorizontalAccuracy>24</CurrentHorizontalAccuracy> <CurrentLatitude>20</CurrentLatitude> <CurrentLongtitude>21</CurrentLongtitude> <CurrentSpeed>23</CurrentSpeed> <CurrentVerticalAccuracy>25</CurrentVerticalAccuracy> <DeviceGuid>sample string 11</DeviceGuid> <DeviceModel>sample string 13</DeviceModel> <DeviceName>sample string 12</DeviceName> <DeviceOS>sample string 14</DeviceOS> <LocalizedModel>sample string 17</LocalizedModel> <SystemName>sample string 15</SystemName> <SystemVersion>sample string 16</SystemVersion> <Badge>sample string 3</Badge> <CanAddRestroom>true</CanAddRestroom> <CanEditRestroom>true</CanEditRestroom> <Confirm2FACode>sample string 5</Confirm2FACode> <DeviceSessionId>sample string 9</DeviceSessionId> <FirstName>sample string 1</FirstName> <IncidentDateTime>2025-03-27T00:16:57.7728777+00:00</IncidentDateTime> <LastName>sample string 2</LastName> <PhoneNumber>sample string 4</PhoneNumber> <SessionApproved>true</SessionApproved> </AuthenticationViewModel>