This API .
Content-Type: text/xml Accept: application/xml
POST https://bulkcargo.translog.no/api/Activate
The method does not require any parametes
<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>
If successful, this method returns a response body with the following structure:
Content-Type: text/xml Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
POST https://bulkcargo.translog.no/api/Deactivate
The method does not require any parametes
<DeactivateRequest> <DeviceId>f6faac48ef5f0766</DeviceId> <SecurityToken>Thomas001</SecurityToken> </DeactivateRequest>
Will provide an HTTP response 200 OK.
Content-Type: text/xml Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
POST https://bulkcargo.translog.no/api/PushNotificationRegistration
The method does not require any parametes
<NotificationUpdateRequest> <DeviceRegistrationId>APA91bH-WnjqFGN8CAbe7I8jTcM5luhUc9Z9qj79V0zsSrH3fr</<DeviceRegistrationId> <NotificationRegistrationId>1424703395892504417-5812563559044046859-2</<NotificationRegistrationId> </<NotificationUpdateRequest>
Will provide an HTTP response 200 OK.
Content-Type: text/xml Accept: application/xml Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
POST https://bulkcargo.translog.no/api/Required
The method does not require any parametes
Content-Type: text/xml Accept: application/xml Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
POST https://bulkcargo.translog.no/api/Login
The method does not require any parametes
<UserLoginRequest>
<CarId>1</CarId>
<DriverId>1</DriverId>
</UserLoginRequest>
If successful, this method returns a response body with the following structure:
<UserLoginResponse>
<CarId>1</CarId>
<DriverId>1</DriverId>
<LoginResult>Ok</LoginResult>
</UserLoginResponse>
if car is loged in on some where else
<UserLoginResponse>
<CarId>1</CarId>
<DriverId>1</DriverId>
<LoginResult>OnAnotherDevice</LoginResult>
</UserLoginResponse>
if login failed
<UserLoginResponse>
<CarId>1</CarId>
<DriverId>1</DriverId>
<LoginResult>Error</LoginResult>
<ErrorMessage>ErrorMessage</ErrorMessage>
</UserLoginResponse>
Content-Type: text/xml Accept: application/xml Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
POST https://bulkcargo.translog.no/api/Logout
The method does not require any parametes
<UserLogoutRequest>
<CarId>1</CarId>
<DriverId>1</DriverId>
</UserLogoutRequest>
If successful, Will provide an HTTP response 200 OK.
Content-Type: text/xml Accept: application/xml Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
POST https://bulkcargo.translog.no/api/Order/New
The method does not require any parametes
<NewOrderRequest>
<Header>
<CustomerId> 1417</CustomerId>
<SiteId> 16874</SiteId>
<SupervisiorId> 30</SupervisiorId>
<DateTime> 2014-02-06T12:00:00</DateTime>
<CarId> 476</CarId>
<DriverId> 375</DriverId>
<CreatedInApp> true</CreatedInApp>
</Header>
</NewOrderRequest>
If successful, this method returns a response body with the following structure:
<NewOrderResponse>
<Header>
<Id>96251</Id>
<CustomerId> 1417</CustomerId>
<SiteId> 16874</SiteId>
<SupervisiorId> 30</SupervisiorId>
<DateTime> 2014-02-06T12:00:00</DateTime>
<CarId> 476</CarId>
<DriverId> 375</DriverId>
<CreatedInApp> true</CreatedInApp>
</Header>
</NewOrderResponse>
Content-Type: text/xml Accept: application/xml Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
POST https://bulkcargo.translog.no/api/Order/Event
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)
<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>
If successful, this method returns a response body with the following structure:
<OrderEventResponse> <HeaderId> 96248</HeaderId> <EventId> 110</EventId> </OrderEventResponse>
Content-Type: text/xml Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
POST https://bulkcargo.translog.no/api/Order/Signature
The method does not require any parametes
<FinishedOrdre>
<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>
Will provide an HTTP response 200 OK.
Content-Type: text/xml Accept: application/xml
POST https://bulkcargo.translog.no/api/Order/Finished
The method does not require any parametes
If successful, this method returns a response body with the following structure:
Content-Type: text/xml Accept: application/xml
POST https://bulkcargo.translog.no/api/Orders/Get
The method does not require any parametes
<GetOrderRequest>
<CarId>469</CarId>
<DriverId>369</DriverId>
<Id>-1</Id>
</GetOrderRequest>
If successful, this method returns a response body with the following structure:
Content-Type: text/xml Authorization: Basic NTgwM2RhOWQxZDM3ZGM2MDozODRmNDJiZTVmN2FhNmU4YzEzN2I1MTk3NTNhYzFlZWVlYmVkYjUx
POST https://bulkcargo.translog.no/api/Order/Recived
The method does not require any parametes
<OrdersRecivedRequest>
<CarId>469</CarId>
<DriverId>369</DriverId>
<HeaderIds>
<Id>55040</Id>
</HeaderIds>
</OrdersRecivedRequest>
Will provide an HTTP response 200 OK.
Accept: text/xml Authorization: Basic dGhvbWFzQHRyYW5zcG9ydG5ldHQubm86YWUwZmIwZTEwZmI0ZjJmNmRhMjY5YzBhNTA5NTg4ZDVhMTE5ODFiOQ==
POST https://bulkcargo.translog.no/api/CarDriverStatus
The method does not require any parametes
<CarDriverStatusRequest> <StatusId>1</StatusId> <DateTime>2014-04-29T09:38:21</DateTime> </CarDriverStatusRequest>
Will provide an HTTP response 200 OK.
Accept: text/xml Authorization: Basic dGhvbWFzQHRyYW5zcG9ydG5ldHQubm86YWUwZmIwZTEwZmI0ZjJmNmRhMjY5YzBhNTA5NTg4ZDVhMTE5ODFiOQ==
POST https://bulkcargo.translog.no/api/gps
The method does not require any parameters
<GPSInformation> <Latitude>59.907929</Latitude> <Longitude>10.619120</Longitude> <TimeOfFix>2013-10-03T12:59:22.2137725+02:00</TimeOfFix> <SpeedInKnots>20.40</SpeedInKnots> <AccuracyInMeters>28.423423</SpeedInKnots> <GSMCoverage>30</GSMCoverage> </GPSInformation>
Will provide an HTTP response 200.
POST https://bulkcargo.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://bulkcargo.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.