Difference between revisions of "NPS-SHARE"

From NP Tracker projects
Jump to navigation Jump to search
(message)
(Output)
Line 19: Line 19:
 
[[File:NPS-SHARE JSON.png|400px|thumb|right|NPS-SHARE JSON output]]
 
[[File:NPS-SHARE JSON.png|400px|thumb|right|NPS-SHARE JSON output]]
 
=== report ===
 
=== report ===
 +
boolean value:
 +
* <i>true</i>: There is a existing NP Tracker vehicle lookout report. See url for a link to the lookout report.
 +
* <i>false</i>: There is no lookout report for this vehicle currently in the NP Tracker system.
 
=== plate ===
 
=== plate ===
 +
The first plate that was detected in the submitted incident (message).
 
=== url ===
 
=== url ===
 +
URL to the lookout report for the detected plate.

Revision as of 20:05, 6 April 2019

Datasheet220 NPS-SHARE. Sharing intel initiative

WarningWarning: This is the developer's corner to aid in integrating our RESTfull API into their apps.


Interface

This is a REST API endpoint using HTTP GET.
Available to any device/server on the internet.

Usage

To use this endpoint you will need a valid API Key available after registration on NPS-CLOUD.
See our API documentation page for advance help and examples on using this endpoint.

Parameters

message

URI encoded a message of the incident you need to test and share with the NP Tracker project.
Please note that the incident will be logged in the NP Tracker suspect and suspicious database if it contains a vehicle registration number.

token

Contact us at [email protected] to create an access token and define your free details that users will see ones a plate from your incident are looked up on NP Tracker.

Output

We provide a JSON formatted output of the results available from this API endpoint.

NPS-SHARE JSON output

report

boolean value:

  • true: There is a existing NP Tracker vehicle lookout report. See url for a link to the lookout report.
  • false: There is no lookout report for this vehicle currently in the NP Tracker system.

plate

The first plate that was detected in the submitted incident (message).

url

URL to the lookout report for the detected plate.