
POST https://driver.translog.no//api/Activate/Xml
Header Content-Type: text/xml Accept: application/xml
<ActivateRequest>
<DeviceId>f6faac48ef5f0766</DeviceId>
<DeviceInformation>
<GCMMessageSupport>Supported</GCMMessageSupport>
<AppVersion>1.0</AppVersion>
<DeviceManufacturer>samsung</DeviceManufacturer>
<DeviceModel>SM-N9005</DeviceModel>
<DeviceOsName>Android</DeviceOsName>
<DeviceOsVersion>4.3</DeviceOsVersion>
<GooglePlayServicesVersion>4.1.32 (978161-38)</GooglePlayServicesVersion>
</DeviceInformation>
<Language>EN</Language>
<PhoneNumber></PhoneNumber>
<SecurityToken>{securitytoken}</SecurityToken>
</ActivateRequest>
POST https://driver.translog.no//api/Activate/Json
Header Content-Type: application/json Accept: application/json
{
"ActivateRequest": {
"DeviceId": "f6faac48ef5f0766",
"DeviceInformation": {
"GCMMessageSupport": "Supported",
"AppVersion": "1.0",
"DeviceManufacturer": "samsung",
"DeviceModel": "SM-N9005",
"DeviceOsName": "Android",
"DeviceOsVersion": "4.3",
"GooglePlayServicesVersion": "4.1.32 (978161-38)"
},
"Language": "EN",
"SecurityToken": "{securitytoken}"
}
}
The method does not require any parametes
If successful, this method returns a response body with the following structure:
POST https://driver.translog.no//api/Deactivate/Xml
Header Content-Type: text/xml Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
<DeactivateRequest> <DeviceId>f6faac48ef5f0766</DeviceId> <SecurityToken>Thomas001</SecurityToken> </DeactivateRequest>
POST https://driver.translog.no//api/Deactivate/Json
Header Content-Type: application/json Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
{
"DeactivateRequest":{
"DeviceId": "f6faac48ef5f0766",
"SecurityToken": "securitytoken"
}
The method does not require any parametes
Will provide an HTTP response 200 OK.
XML: POST https://driver.translog.no//api/Login/Xml
Header Content-Type: text/xml Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
<UserLoginRequest>
<CarId>1</CarId>
<DriverId>1</DriverId>
</UserLoginRequest>
Header Content-Type: application/json Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
Json: POST https://driver.translog.no//api/Login/Json
{
"UserLoginRequest":{
"CarId": 143,
"DriverId": 174,
"RemovOtherUser": "false"
}
}
The method does not require any parametes
If successful, this method returns a response body with the following structure:
If successful, this method returns a response body with the following structure:
POST https://driver.translog.no//api/Logout/Xml
Header Content-Type: text/xml Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
<UserLogoutRequest>
<CarId>1</CarId>
<DriverId>1</DriverId>
</UserLogoutRequest>
POST https://driver.translog.no//api/Logout/Json
Header Content-Type: application/json Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
<UserLogoutRequest>
<CarId>1</CarId>
<DriverId>1</DriverId>
</UserLogoutRequest>
The method does not require any parametes
If successful, Will provide an HTTP response 200 OK.
XML: POST https://driver.translog.no//api/PushNotificationRegistration/Xml
Header Content-Type: text/xml Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
<NotificationUpdateRequest> <DeviceRegistrationId>APA91bH-WnjqFGN8CAbe7I8jTcM5luhUc9Z9qj79V0zsSrH3fr</<DeviceRegistrationId> <NotificationRegistrationId>1424703395892504417-5812563559044046859-2</<NotificationRegistrationId> </<NotificationUpdateRequest>
POST https://driver.translog.no//api/PushNotificationRegistration/Json
Header Content-Type: application/json Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
{
"NotificationUpdateRequest":{
"DeviceRegistrationId": "APA91bH-WnjqFGN8CAbe7I8jTcM5luhUc9Z9qj79V0zsSrH3fr",
"NotificationRegistrationId": "1424703395892504417-5812563559044046859-2"
}
}
The method does not require any parametes
Will provide an HTTP response 200 OK.
POST https://driver.translog.no//api/Required
Header Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
The method does not require any parametes
POST https://driver.translog.no//api/Order/New
Header Content-Type: text/xml Accept: application/xml Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
POST https://driver.translog.no//api/Order/NewJson
Header Content-Type: application/json Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
If successful, this method returns a response body with the following structure:
The method does not require any parametes
15 Recived - when order is downloaded to App.
20 Read - when order is opened the first time in App.
100 Accepted - when order is accepted in App.
110 Started - first time user starts timer on of the order lines.
120 Done - order is set to finished in App.
500 Cancelled - order is deleted in app before it gets event 120 in App.
999 Declined - order is not accepted. (last event can't be more then 20)
POST https://driver.translog.no//api/Order/Event
Header Content-Type: text/xml Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
<OrderEventRequest>
<HeaderId> 96248</HeaderId>
<EventId> 110</EventId>
<CarId>469</CarId>
<DriverId>123</DriverId>
<GPSInformation>
<Latitude> 123</Latitude>
<Longitude> 123</Longitude>
<TimeOfFix> 2014-01-01T12:00:00</TimeOfFix>
<AccuracyInMeters> 0</AccuracyInMeters>
<SpeedInMeters> 0</SpeedInMeters>
<GsmCoverage> 0</GsmCoverage>
</GPSInformation>
</OrderEventRequest>
POST https://driver.translog.no//api/Order/EventJson
Header Content-Type: application/json Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
{
"OrderEventRequest":{
"HeaderId": 97062,
"EventId": 110,
"CarId": 469,
"DriverId": 123,
"GPSInformation":{
"Latitude": 123,
"Longitude": 123,
"TimeOfFix": "2014-01-01T12:00:00",
"AccuracyInMeters": 0,
"SpeedInMeters": 0,
"GsmCoverage": 0
}
}
The method does not require any parametes
If successful, this method returns a response body with the following structure:
<OrderEventResponse> <HeaderId> 96248</HeaderId> <EventId> 110</EventId> </OrderEventResponse>
{"HeaderId":97062,"EventId":110}
POST https://driver.translog.no//api/Order/Get
Header Content-Type: text/xml
<GetOrderRequest>
<CarId>469</CarId>
<DriverId>369</DriverId>
<Id>-1</Id>
</GetOrderRequest>
POST https://driver.translog.no//api/Order/GetJson
Header Content-Type: application/json
{
"GetOrderRequest":{
"CarId": 143,
"DriverId": 174,
"Id": 97063
}
}
The method does not require any parametes
If successful, this method returns a response body with the following structure:
POST https://driver.translog.no//api/Order/Recived
Header Content-Type: text/xml Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
<OrdersRecivedRequest>
<CarId>469</CarId>
<DriverId>369</DriverId>
<HeaderIds>
<Id>55040</Id>
</HeaderIds>
</OrdersRecivedRequest>
Json: POST https://driver.translog.no//api/Order/RecivedJson
Header Content-Type: application/json Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
{
"OrdersRecivedRequest":{
"CarId": 143,
"DriverId": 174,
"HeaderIds":[
97063
]
}
}
The method does not require any parametes
Will provide an HTTP response 200 OK.
Header Content-Type: text/xml Accept: application/xml
POST https://driver.translog.no/api/Order/Finished
Header Content-Type: application/json Accept: application/xml
Json: POST https://driver.translog.no/api/Order/FinishedJson
The method does not require any parametes
If successful, this method returns a response body with the following structure:
POST https://driver.translog.no/api/Order/Signature
Header Content-Type: text/xml Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
<SignatureRequest>
<Signature>
<HeaderId>96247</HeaderId>
<OrderDetailLineId>-1</OrderDetailLineId>
<DateTime>2014-02-10T14:15:00</DateTime>
<SignatureText>tmt</SignatureText>
<SignatureBinaryString></SignatureBinaryString>
<GPSInformation>
<Latitude>123</Latitude>
<Longitude>123</Longitude>
<TimeOfFix>2014-01-01T12:00:00</TimeOfFix>
<AccuracyInMeters>0</AccuracyInMeters>
<SpeedInMeters>0</SpeedInMeters>
<GsmCoverage>0</GsmCoverage>
</GPSInformation>
</Signature>
</SignatureRequest>
POST https://driver.translog.no/api/Order/SignatureJson
Header Content-Type: application/json Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
{
"SignatureRequest":{
"Signature":{
"HeaderId": 96247,
"OrderDetailLineId": "-1",
"DateTime": "2014-02-10T14:15:00",
"SignatureText": "tmt",
"SignatureBinaryString": "?????????????",
"GPSInformation": {
"Latitude": "123",
"Longitude": "123",
"TimeOfFix": "2014-01-01T12:00:00",
"AccuracyInMeters": 0,
"SpeedInMeters": 0,
"GsmCoverage": 0
}
}
}
}
The method does not require any parametes
Will provide an HTTP response 200 OK.
POST https://driver.translog.no//api/CarDriverStatus/Xml
Header Content-Type: text/xml Authorization: Basic dGhvbWFzQHRyYW5zcG9ydG5ldHQubm86YWUwZmIwZTEwZmI0ZjJmNmRhMjY5YzBhNTA5NTg4ZDVhMTE5ODFiOQ==
<CarDriverStatusRequest> <StatusId>1</StatusId> <DateTime>2014-04-29T09:38:21</DateTime> </CarDriverStatusRequest>
POST https://driver.translog.no//api/CarDriverStatus/Json
Header Content-Type: application/json Authorization: Basic dGhvbWFzQHRyYW5zcG9ydG5ldHQubm86YWUwZmIwZTEwZmI0ZjJmNmRhMjY5YzBhNTA5NTg4ZDVhMTE5ODFiOQ==
{
"CarDriverStatusRequest":{
"StatusId": 1,
"DateTime": "2014-04-29T09:38:21",
"CarId": 143,
"DriverId": 174
}
}
The method does not require any parametes
Will provide an HTTP response 200 OK.
POST https://driver.translog.no//api/GPS/Xml
Header Content-Type: text/xml Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
<GPSInformation> <Latitude>59.907929</Latitude> <Longitude>10.619120</Longitude> <TimeOfFix>2013-10-03T12:59:22.2137725+02:00</TimeOfFix> <SpeedInMeters>20.40</SpeedInMeters> <AccuracyInMeters>28.423423</AccuracyInMeters> <GSMCoverage>30</GSMCoverage> </GPSInformation>
POST https://driver.translog.no//api/GPS/Json
Header Content-Type: application/json Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
{
"GPSInformation":{
"Latitude": 123,
"Longitude": 123,
"TimeOfFix": "2014-01-01T12:00:00",
"AccuracyInMeters": 0,
"SpeedInMeters": 0,
"GsmCoverage": 0
}
}
The method does not require any parameters
Will provide an HTTP response 200.
POST https://driver.translog.no//api/OnSite/Xml
Header Content-Type: text/xml Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
<OnSiteRequest> <Latitude>59.907929</Latitude> <Longitude>10.619120</Longitude> <TimeOfFix>2013-10-03T12:59:22.2137725+02:00</TimeOfFix> <HeaderId>123456</HeaderId> </OnSiteRequest>
POST https://driver.translog.no//api/OnSite/Json
Header Content-Type: application/json Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
{
"OnSiteRequest": {
"HeaderId": 12211,
"Latitude": "1231.123",
"Longitude": "56.546",
"TimeOfFix": "2017-04-03T13:31:00.4900276+02:00"
}
}
The method does not require any parameters
Will provide an HTTP response 200.