developer.sambasafety.io Open in urlscan Pro
35.169.97.213  Public Scan

URL: https://developer.sambasafety.io/
Submission: On August 22 via automatic, source certstream-suspicious — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

Public


Documentation Settings
Environment
No Environment
Layout
Double Column
Language
cURL



SAMBA SAFETY API DOCUMENTATION

 * Introduction
 * Getting Started
 * Architecture
 * API Client Design Guide


oauth2

activity

license

mvr
Samba Safety API Documentation

Author's note: In it's current state all of our API's are based on distinct
operations that will serve a specific need or purpose. Future versions of this
documentation will be updates that will include recipes that will help users who
want to make use of functionality related to our monitoring platform Qorta.
Today we are developing not only code but also documentation that will be
evolving as we explore the next generation of Samba Safety's Risk Cloud
offerings.


GETTING STARTED

The purpose of our documentation being delivered in this format is so that we
can enable you the reader of this document to be able to have options when it
comes to the technology and language you use to develop your integration to us.
When you see an element of the api that sends messages in some form to us take a
look at the code generation feature offered. Read more about it here.


ARCHITECTURE

Asynchronous architecture goes by many names but I'll explain it's use in our
flows as "a way of delivering flows that are event based, provide for a simpler
overall application, and enables a cleaner, more stable api experience.

Asynchronous is a way to say "background task". This works by you submitting an
order then getting an order id back right away. We then begin to process the
order in the "background" and send you an event message "callback" when the
order is received. At that point you call us and retrieve the result of your
order. The timing is still very fast and will provide a more stable interaction
where orders are not dropped or lost.




API CLIENT DESIGN GUIDE

Guidelines for effective use of our apis will be described here and you should
check back often for tips on cleaner implementations.


BATCHING

The asynchronous nature of the api lends itself to batching quite well. In a
traditional bulk ordering scenario you have to write code to loop through a
collection, serialize that into some sort of array of objects or lines in a
file. You then transfer that file and keep track of each record... was it in the
file? Did we get a response back? etc...

With this architecture you just write that loop and send each call individually,
get back the order id and store it on your side. When your callback flow gets
notified of the order readiness you retrieve the order separately and proceed
with your flow. This allows you to have an event based system of your own with
us orchestrating the eventing through orders and order ids.



AUTHORIZATIONOAuth 2.0


oauth2

Oauth2.0 is an authorization framework feature that adjutants the access for api
use. It holds clients that request (tokens) that the owners address or provide
authorization too. In this case you have authorization grants that are exchanged
for access tokens and refresh tokens depending on the flow. Here below the
oauth2v1 tab you can see where to obtain a token or even revoke for the
SambaSafety Customer API.

AUTHORIZATIONOAuth 2.0
This folder is using OAuth 2.0 from collectionSamba Safety API Documentation

POST

obtain a token


https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/oauth2/v1/token

Get a token

AUTHORIZATIONOAuth 2.0
This request is using OAuth 2.0 from collectionSamba Safety API Documentation
HEADERS
Content-Type
application/x-www-form-urlencoded
Accept
application/json
Bodyurlencoded
grant_type
client_credentials
scope
API


credentials validated
Example Request

curl --location --request POST 'https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/oauth2/v1/token' \
--header 'x-api-key: <API Key>' \
--header 'Authorization: elit pariatur dolor' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'scope=API'

Example Response
200 OK
Body
Header(1)

{
  "access_token": "eyJraWQiOiJmVmt1cDVQMDNLS3k0eGpCOUlKUWFVaW5OWDA3bE1LM3pvYVA2bHhiam1ZIiwiYWxnIjoiUlMyNTYifQ.eyJ2ZXIiOjEsImp0aSI6IkFULkxoZkRzUnNOVW1qVWc2VVVESjVjbndOZjNYdkt4b0Q5cmhDMEdEQlFtNlUiLCJpc3MiOiJodHRwczovL3NhbWJhc2FmZXR5LWRldi5va3RhLmNvbS9vYXV0aDIvYXVzNHJxcmFxS3hpMGxGR3QzNTYiLCJhdWQiOiJhcGk6Ly9wcml2YXRlIiwiaWF0IjoxNTYxMTQ1NTM1LCJleHAiOjE1NjExNDkxMzUsImNpZCI6IjBvYW1vdG05cmZUVGRScjhYMzU2Iiwic2NwIjpbIkFQSSJdLCJzdWIiOiIwb2Ftb3RtOXJmVFRkUnI4WDM1NiIsImN1c3RvbWVySWQiOiIxMjM0NTY3ODkwIn0.TLNcN7zun2WB2AJX5uw10c08S_mpgE-Ky5VK6u4lKpG5QqD8CmhO9_Am8F43-CjdSeKt0Re2nt8nH1VCcf9EX3CAhPlifYctqYsTtQrrcloevZxiZiSCTJJwdBxGXBN5oxW4ZAm0YF7tqOM_IDenAYVwtwySgW1I4qm4GMCv6MQnYcMDa-wMcNdFLfZrNZNb8tvKDoHuinGCgjchcQYC_W_OyrS4jArdssoI6gaHYCcWl-8WbjRrE3w8AR5VH1avfrKtLEM4xbA9QDRwO7VQPBBUH6GtN0Bv9KJRHN97ssxHk65fpKMep4ZsJTLriuYMaohkJB4EHW_KlrPZJnLOLQ",
  "token_type": "Bearer",
  "expires": "3600",
  "scope": "API"
}

POST

revoke a token


https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/oauth2/v1/revoke

Revoke a Token to invalidate it.

AUTHORIZATIONOAuth 2.0
This request is using OAuth 2.0 from collectionSamba Safety API Documentation
HEADERS
Content-Type
application/x-www-form-urlencoded
Bodyurlencoded
token
eyJraWQiOiJmVmt1cDVQMDNLS3k0eGpCOUlKUWFVaW5OWDA3bE1LM3pvYVA2bHhiam1ZIiwiYWxnIjoiUlMyNTYifQ.eyJ2ZXIiOjEsImp0aSI6IkFULkxoZkRzUnNOVW1qVWc2VVVESjVjbndOZjNYdkt4b0Q5cmhDMEdEQlFtNlUiLCJpc3MiOiJodHRwczovL3NhbWJhc2FmZXR5LWRldi5va3RhLmNvbS9vYXV0aDIvYXVzNHJxcmFxS3hpMGxGR3QzNTYiLCJhdWQiOiJhcGk6Ly9wcml2YXRlIiwiaWF0IjoxNTYxMTQ1NTM1LCJleHAiOjE1NjExNDkxMzUsImNpZCI6IjBvYW1vdG05cmZUVGRScjhYMzU2Iiwic2NwIjpbIkFQSSJdLCJzdWIiOiIwb2Ftb3RtOXJmVFRkUnI4WDM1NiIsImN1c3RvbWVySWQiOiIxMjM0NTY3ODkwIn0.TLNcN7zun2WB2AJX5uw10c08S_mpgE-Ky5VK6u4lKpG5QqD8CmhO9_Am8F43-CjdSeKt0Re2nt8nH1VCcf9EX3CAhPlifYctqYsTtQrrcloevZxiZiSCTJJwdBxGXBN5oxW4ZAm0YF7tqOM_IDenAYVwtwySgW1I4qm4GMCv6MQnYcMDa-wMcNdFLfZrNZNb8tvKDoHuinGCgjchcQYC_W_OyrS4jArdssoI6gaHYCcWl-8WbjRrE3w8AR5VH1avfrKtLEM4xbA9QDRwO7VQPBBUH6GtN0Bv9KJRHN97ssxHk65fpKMep4ZsJTLriuYMaohkJB4EHW_KlrPZJnLOLQ


200 Success
Example Request

curl --location --request POST 'https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/oauth2/v1/revoke' \
--header 'x-api-key: <API Key>' \
--data-urlencode 'token=eyJraWQiOiJmVmt1cDVQMDNLS3k0eGpCOUlKUWFVaW5OWDA3bE1LM3pvYVA2bHhiam1ZIiwiYWxnIjoiUlMyNTYifQ.eyJ2ZXIiOjEsImp0aSI6IkFULkxoZkRzUnNOVW1qVWc2VVVESjVjbndOZjNYdkt4b0Q5cmhDMEdEQlFtNlUiLCJpc3MiOiJodHRwczovL3NhbWJhc2FmZXR5LWRldi5va3RhLmNvbS9vYXV0aDIvYXVzNHJxcmFxS3hpMGxGR3QzNTYiLCJhdWQiOiJhcGk6Ly9wcml2YXRlIiwiaWF0IjoxNTYxMTQ1NTM1LCJleHAiOjE1NjExNDkxMzUsImNpZCI6IjBvYW1vdG05cmZUVGRScjhYMzU2Iiwic2NwIjpbIkFQSSJdLCJzdWIiOiIwb2Ftb3RtOXJmVFRkUnI4WDM1NiIsImN1c3RvbWVySWQiOiIxMjM0NTY3ODkwIn0.TLNcN7zun2WB2AJX5uw10c08S_mpgE-Ky5VK6u4lKpG5QqD8CmhO9_Am8F43-CjdSeKt0Re2nt8nH1VCcf9EX3CAhPlifYctqYsTtQrrcloevZxiZiSCTJJwdBxGXBN5oxW4ZAm0YF7tqOM_IDenAYVwtwySgW1I4qm4GMCv6MQnYcMDa-wMcNdFLfZrNZNb8tvKDoHuinGCgjchcQYC_W_OyrS4jArdssoI6gaHYCcWl-8WbjRrE3w8AR5VH1avfrKtLEM4xbA9QDRwO7VQPBBUH6GtN0Bv9KJRHN97ssxHk65fpKMep4ZsJTLriuYMaohkJB4EHW_KlrPZJnLOLQ'

Example Response
200 OK
Body
Header(1)
No response body
This request doesn't return a response body

activity

Activity operations

AUTHORIZATIONOAuth 2.0
This folder is using OAuth 2.0 from collectionSamba Safety API Documentation

GET

Get Activity Details order


https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/activity/detail/:orderId

Get Activity Details report for an order id

AUTHORIZATIONOAuth 2.0
This request is using OAuth 2.0 from collectionSamba Safety API Documentation
HEADERS
Accept
application/json
PATH VARIABLES
orderId
76a23bfa-e1e0-11ec-8fea-0242ac120002

(Required) Order ID previously returned when ordering an Activity Details



200 OK
Example Request

curl --location --request GET 'https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/activity/detail/76a23bfa-e1e0-11ec-8fea-0242ac120002'

Example Response
200 OK
Body
Header(1)

[
  {
    "value": "reference https://api.swaggerhub.com/domains/SambaSafety/MonitoringMotorVehicleReports/v1-beta#/components/schemas/MotorVehicleReportJson3 not found in the OpenAPI spec"
  },
  {
    "value": "reference https://api.swaggerhub.com/domains/SambaSafety/MonitoringMotorVehicleReports/v1-beta#/components/schemas/MotorVehicleReportJson3 not found in the OpenAPI spec"
  }
]

GET

Search for Activity Details orders


https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/activity/detail?startOrderDate=o&endOrderDate=ipsum

Get Activity Details reports based on filters

AUTHORIZATIONOAuth 2.0
This request is using OAuth 2.0 from collectionSamba Safety API Documentation
HEADERS
Accept
application/json
PARAMS
startOrderDate
o

Start date when orders were created

endOrderDate
ipsum

Inclusive end date when orders were created



200 OK
Example Request

curl --location --request GET 'https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/activity/detail?startOrderDate=o&endOrderDate=ipsum'

Example Response
200 OK
Body
Header(1)
View More

[
  {
    "data": [
      {
        "errorMessage": "sunt Lorem dolor",
        "orderId": "minim ea cupidatat eu",
        "requestInfo": {
          "birthDate": "ullamco enim est mollit amet",
          "firstName": "John",
          "lastName": "Doe",
          "licenseNumber": "pariatur exercitation",

POST

Order a single Activity Details request


https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/activity/detail

Order Activity Details report for a single driver

AUTHORIZATIONOAuth 2.0
This request is using OAuth 2.0 from collectionSamba Safety API Documentation
HEADERS
Content-Type
application/json
Accept
application/json
BODYraw
View More

{
  "birthDate": "fugiat sed irure in",
  "firstName": "John",
  "lastName": "Doe",
  "licenseNumber": "consectetur do est",
  "licenseState": "CA",
  "activityDuration": 18,
  "customAttributes": [
    {
      "name": "CustomField",
      "value": "CustomValue"



201 Created
Example Request
View More

curl --location --request POST 'https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/activity/detail' \
--data-raw '{
  "birthDate": "fugiat sed irure in",
  "firstName": "John",
  "lastName": "Doe",
  "licenseNumber": "consectetur do est",
  "licenseState": "CA",
  "activityDuration": 18,
  "customAttributes": [
    {
      "name": "CustomField",

Example Response
201 Created
Body
Header(1)

{
  "orderId": "sunt et"
}

GET

Get Activity Indicator order


https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/activity/indicator/:orderId

Get Activity Indicator report for an order id

AUTHORIZATIONOAuth 2.0
This request is using OAuth 2.0 from collectionSamba Safety API Documentation
HEADERS
Accept
application/json
PATH VARIABLES
orderId
76a23bfa-e1e0-11ec-8fea-0242ac120002

(Required) Order ID previously returned when ordering an Activity Indicator



200 OK
Example Request

curl --location --request GET 'https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/activity/indicator/76a23bfa-e1e0-11ec-8fea-0242ac120002'

Example Response
200 OK
Body
Header(1)

[
  {
    "value": "reference https://api.swaggerhub.com/domains/SambaSafety/MonitoringMotorVehicleReports/v1-beta#/components/schemas/MotorVehicleReportJson3 not found in the OpenAPI spec"
  },
  {
    "value": "reference https://api.swaggerhub.com/domains/SambaSafety/MonitoringMotorVehicleReports/v1-beta#/components/schemas/MotorVehicleReportJson3 not found in the OpenAPI spec"
  }
]

GET

Search for Activity Indicator orders


https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/activity/indicator?startOrderDate=o&endOrderDate=ipsum

Get Activity Indicator reports based on filters

AUTHORIZATIONOAuth 2.0
This request is using OAuth 2.0 from collectionSamba Safety API Documentation
HEADERS
Accept
application/json
PARAMS
startOrderDate
o

Start date when orders were created

endOrderDate
ipsum

Inclusive end date when orders were created



200 OK
Example Request

curl --location --request GET 'https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/activity/indicator?startOrderDate=o&endOrderDate=ipsum'

Example Response
200 OK
Body
Header(1)
View More

[
  {
    "data": [
      {
        "errorMessage": "con",
        "orderId": "enim aliqua",
        "requestInfo": {
          "birthDate": "Excepteur consectetur culpa dolore",
          "firstName": "John",
          "lastName": "Doe",
          "licenseNumber": "ut occaecat est dolor deserunt",

POST

Order a single Activity Indicator request


https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/activity/indicator

Order Activity Indicator report for a single driver

AUTHORIZATIONOAuth 2.0
This request is using OAuth 2.0 from collectionSamba Safety API Documentation
HEADERS
Content-Type
application/json
Accept
application/json
BODYraw
View More

{
  "birthDate": "fugiat sed irure in",
  "firstName": "John",
  "lastName": "Doe",
  "licenseNumber": "consectetur do est",
  "licenseState": "CA",
  "activityDuration": 18,
  "customAttributes": [
    {
      "name": "CustomField",
      "value": "CustomValue"



201 Created
Example Request
View More

curl --location --request POST 'https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/activity/indicator' \
--data-raw '{
  "birthDate": "fugiat sed irure in",
  "firstName": "John",
  "lastName": "Doe",
  "licenseNumber": "consectetur do est",
  "licenseState": "CA",
  "activityDuration": 18,
  "customAttributes": [
    {
      "name": "CustomField",

Example Response
201 Created
Body
Header(1)

{
  "orderId": "sunt et"
}

license

License operations

AUTHORIZATIONOAuth 2.0
This folder is using OAuth 2.0 from collectionSamba Safety API Documentation

GET

Get License Discovery order


https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/verify/driver/:orderId

Get License Discovery report for an order id

AUTHORIZATIONOAuth 2.0
This request is using OAuth 2.0 from collectionSamba Safety API Documentation
HEADERS
Accept
application/json
PATH VARIABLES
orderId
76a23bfa-e1e0-11ec-8fea-0242ac120002

(Required) Order ID previously returned when ordering an License Discovery



200 OK
Example Request

curl --location --request GET 'https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/verify/driver/76a23bfa-e1e0-11ec-8fea-0242ac120002'

Example Response
200 OK
Body
Header(1)

[
  {
    "value": "reference https://api.swaggerhub.com/domains/SambaSafety/MonitoringMotorVehicleReports/v1-beta#/components/schemas/MotorVehicleReportJson3 not found in the OpenAPI spec"
  },
  {
    "value": "reference https://api.swaggerhub.com/domains/SambaSafety/MonitoringMotorVehicleReports/v1-beta#/components/schemas/MotorVehicleReportJson3 not found in the OpenAPI spec"
  }
]

GET

Search for License Discovery orders


https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/verify/driver?startOrderDate=o&endOrderDate=ipsum

Get License Discovery reports based on filters

AUTHORIZATIONOAuth 2.0
This request is using OAuth 2.0 from collectionSamba Safety API Documentation
HEADERS
Accept
application/json
PARAMS
startOrderDate
o

Start date when orders were created

endOrderDate
ipsum

Inclusive end date when orders were created



200 OK
Example Request

curl --location --request GET 'https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/verify/driver?startOrderDate=o&endOrderDate=ipsum'

Example Response
200 OK
Body
Header(1)
View More

[
  {
    "data": [
      {
        "errorMessage": "nulla ut eiusmod",
        "orderId": "in mollit sint elit",
        "requestInfo": {
          "birthDate": "enim esse ex",
          "firstName": "John",
          "lastName": "Doe",
          "licenseState": "CA",

POST

Order a single License Discovery request


https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/verify/driver

Order License Discovery report for a single driver

AUTHORIZATIONOAuth 2.0
This request is using OAuth 2.0 from collectionSamba Safety API Documentation
HEADERS
Content-Type
application/json
Accept
application/json
BODYraw
View More

{
  "birthDate": "consequat velit",
  "firstName": "John",
  "lastName": "Doe",
  "licenseState": "CA",
  "customAttributes": [
    {
      "name": "CustomField",
      "value": "CustomValue"
    },
    {



201 Created
Example Request
View More

curl --location --request POST 'https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/verify/driver' \
--data-raw '{
  "birthDate": "consequat velit",
  "firstName": "John",
  "lastName": "Doe",
  "licenseState": "CA",
  "customAttributes": [
    {
      "name": "CustomField",
      "value": "CustomValue"
    },

Example Response
201 Created
Body
Header(1)

{
  "orderId": "sunt et"
}

GET

Get License Validation order


https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/verify/license/:orderId

Get License Validation report for an order id

AUTHORIZATIONOAuth 2.0
This request is using OAuth 2.0 from collectionSamba Safety API Documentation
HEADERS
Accept
application/json
PATH VARIABLES
orderId
76a23bfa-e1e0-11ec-8fea-0242ac120002

(Required) Order ID previously returned when ordering an License Validation



200 OK
Example Request

curl --location --request GET 'https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/verify/license/76a23bfa-e1e0-11ec-8fea-0242ac120002'

Example Response
200 OK
Body
Header(1)

[
  {
    "value": "reference https://api.swaggerhub.com/domains/SambaSafety/MonitoringMotorVehicleReports/v1-beta#/components/schemas/MotorVehicleReportJson3 not found in the OpenAPI spec"
  },
  {
    "value": "reference https://api.swaggerhub.com/domains/SambaSafety/MonitoringMotorVehicleReports/v1-beta#/components/schemas/MotorVehicleReportJson3 not found in the OpenAPI spec"
  }
]

GET

Search for License Validation orders


https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/verify/license?startOrderDate=o&endOrderDate=ipsum

Get License Validation reports based on filters

AUTHORIZATIONOAuth 2.0
This request is using OAuth 2.0 from collectionSamba Safety API Documentation
HEADERS
Accept
application/json
PARAMS
startOrderDate
o

Start date when orders were created

endOrderDate
ipsum

Inclusive end date when orders were created



200 OK
Example Request

curl --location --request GET 'https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/verify/license?startOrderDate=o&endOrderDate=ipsum'

Example Response
200 OK
Body
Header(1)
View More

[
  {
    "data": [
      {
        "errorMessage": "aute",
        "orderId": "labore ad aute tempor",
        "requestInfo": {
          "firstName": "John",
          "lastName": "Doe",
          "licenseNumber": "aute",
          "licenseState": "CA",

POST

Order a single License Validation request


https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/verify/license

Order License Validation report for a single driver

AUTHORIZATIONOAuth 2.0
This request is using OAuth 2.0 from collectionSamba Safety API Documentation
HEADERS
Content-Type
application/json
Accept
application/json
BODYraw
View More

{
  "firstName": "John",
  "lastName": "Doe",
  "licenseNumber": "dolore proident",
  "licenseState": "CA",
  "customAttributes": [
    {
      "name": "CustomField",
      "value": "CustomValue"
    },
    {



201 Created
Example Request
View More

curl --location --request POST 'https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/verify/license' \
--data-raw '{
  "firstName": "John",
  "lastName": "Doe",
  "licenseNumber": "dolore proident",
  "licenseState": "CA",
  "customAttributes": [
    {
      "name": "CustomField",
      "value": "CustomValue"
    },

Example Response
201 Created
Body
Header(1)

{
  "orderId": "sunt et"
}

mvr

MVR operations

AUTHORIZATIONOAuth 2.0
This folder is using OAuth 2.0 from collectionSamba Safety API Documentation

GET

Get Intelligent MVR order


https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/intelligent/:orderId

Get Intelligent MVR report for an order id

AUTHORIZATIONOAuth 2.0
This request is using OAuth 2.0 from collectionSamba Safety API Documentation
HEADERS
Accept
application/json
PATH VARIABLES
orderId
76a23bfa-e1e0-11ec-8fea-0242ac120002

(Required) Order ID previously returned when ordering an Intelligent MVR



200 OK
Example Request

curl --location --request GET 'https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/intelligent/76a23bfa-e1e0-11ec-8fea-0242ac120002'

Example Response
200 OK
Body
Header(1)

[
  {
    "value": "reference https://api.swaggerhub.com/domains/SambaSafety/MonitoringMotorVehicleReports/v1-beta#/components/schemas/MotorVehicleReportJson3 not found in the OpenAPI spec"
  },
  {
    "value": "reference https://api.swaggerhub.com/domains/SambaSafety/MonitoringMotorVehicleReports/v1-beta#/components/schemas/MotorVehicleReportJson3 not found in the OpenAPI spec"
  }
]

GET

Search for Intelligent MVR orders


https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/intelligent?startOrderDate=o&endOrderDate=ipsum

Get Intelligent MVR reports based on filters

AUTHORIZATIONOAuth 2.0
This request is using OAuth 2.0 from collectionSamba Safety API Documentation
HEADERS
Accept
application/json
PARAMS
startOrderDate
o

Start date when orders were created

endOrderDate
ipsum

Inclusive end date when orders were created



200 OK
Example Request

curl --location --request GET 'https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/intelligent?startOrderDate=o&endOrderDate=ipsum'

Example Response
200 OK
Body
Header(1)
View More

[
  {
    "data": [
      {
        "errorMessage": "ad pariatur commodo anim",
        "orderId": "quis aliquip",
        "requestInfo": {
          "birthDate": "culpa et sit incididunt",
          "firstName": "John",
          "lastName": "Doe",
          "licenseNumber": "enim mollit",

POST

Order a single Intelligent MVR request


https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/intelligent

Order Intelligent MVR report for a single driver

AUTHORIZATIONOAuth 2.0
This request is using OAuth 2.0 from collectionSamba Safety API Documentation
HEADERS
Content-Type
application/json
Accept
application/json
BODYraw
View More

{
  "birthDate": "Ut nulla Duis commodo",
  "firstName": "John",
  "lastName": "Doe",
  "licenseNumber": "do in ut",
  "licenseState": "CA",
  "customAttributes": [
    {
      "name": "CustomField",
      "value": "CustomValue"
    },



201 Created
Example Request
View More

curl --location --request POST 'https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/intelligent' \
--data-raw '{
  "birthDate": "Ut nulla Duis commodo",
  "firstName": "John",
  "lastName": "Doe",
  "licenseNumber": "do in ut",
  "licenseState": "CA",
  "customAttributes": [
    {
      "name": "CustomField",
      "value": "CustomValue"

Example Response
201 Created
Body
Header(1)

{
  "orderId": "sunt et"
}

GET

Get Activity MVR order


https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/mvr/activity/:orderId

Get Activity MVR report for an order id

AUTHORIZATIONOAuth 2.0
This request is using OAuth 2.0 from collectionSamba Safety API Documentation
HEADERS
Accept
application/json
PATH VARIABLES
orderId
76a23bfa-e1e0-11ec-8fea-0242ac120002

(Required) Order ID previously returned when ordering an Activity MVR



200 OK
Example Request

curl --location --request GET 'https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/mvr/activity/76a23bfa-e1e0-11ec-8fea-0242ac120002'

Example Response
200 OK
Body
Header(1)

[
  {
    "value": "reference https://api.swaggerhub.com/domains/SambaSafety/MonitoringMotorVehicleReports/v1-beta#/components/schemas/MotorVehicleReportJson3 not found in the OpenAPI spec"
  },
  {
    "value": "reference https://api.swaggerhub.com/domains/SambaSafety/MonitoringMotorVehicleReports/v1-beta#/components/schemas/MotorVehicleReportJson3 not found in the OpenAPI spec"
  }
]

GET

Search for Activity MVR orders


https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/mvr/activity?startOrderDate=o&endOrderDate=ipsum

Get Activity MVR reports based on filters

AUTHORIZATIONOAuth 2.0
This request is using OAuth 2.0 from collectionSamba Safety API Documentation
HEADERS
Accept
application/json
PARAMS
startOrderDate
o

Start date when orders were created

endOrderDate
ipsum

Inclusive end date when orders were created



200 OK
Example Request

curl --location --request GET 'https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/mvr/activity?startOrderDate=o&endOrderDate=ipsum'

Example Response
200 OK
Body
Header(1)
View More

[
  {
    "data": [
      {
        "errorMessage": "con",
        "orderId": "enim aliqua",
        "requestInfo": {
          "birthDate": "Excepteur consectetur culpa dolore",
          "firstName": "John",
          "lastName": "Doe",
          "licenseNumber": "ut occaecat est dolor deserunt",

POST

Order a single Activity MVR request


https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/mvr/activity

Order Activity MVR report for a single driver

AUTHORIZATIONOAuth 2.0
This request is using OAuth 2.0 from collectionSamba Safety API Documentation
HEADERS
Content-Type
application/json
Accept
application/json
BODYraw
View More

{
  "birthDate": "exercitation nulla",
  "firstName": "John",
  "lastName": "Doe",
  "licenseNumber": "aliqua in anim do",
  "licenseState": "CA",
  "activityDuration": 18,
  "customAttributes": [
    {
      "name": "CustomField",
      "value": "CustomValue"



201 Created
Example Request
View More

curl --location --request POST 'https://virtserver.swaggerhub.com/SambaSafety/SiriusApi/1.0.0/order/v1/mvr/activity' \
--data-raw '{
  "birthDate": "fugiat sed irure in",
  "firstName": "John",
  "lastName": "Doe",
  "licenseNumber": "consectetur do est",
  "licenseState": "CA",
  "activityDuration": 18,
  "customAttributes": [
    {
      "name": "CustomField",

Example Response
201 Created
Body
Header(1)

{
  "orderId": "sunt et"
}