This API Endpoint will allow a customer to add their wear data into the PDS software.
There are two non-production environments that can be used for testing.
Mandatory Fields are denoted by *
Content-Type = Application/Json
This is required for authentication. If you do not have your API key please contact PDS Support (firstname.lastname@example.org).
An object containing the primary key identifying the equipment being measured. The primary key can be specified by use of one of the properties of the object: equipmentID, equipmentFunctionalLocation or externalEquipmentID.
The values passed must relate to existing equipment in the PDS system. EquipmentID can be found on the Equipment Dashboard in Asset by scrolling to the right. Equipment Functional Location and External Equipment ID can be found on the Asset’s edit page.
|wearSurfaceType* - string(50)
The type of wear surface being measured. Values can be obtained from the Wear Surface Types dialog.
|wearMeasurementType* - string(50)
The type of wear measurement being performed. Values can be obtained from the Wear Measurement Types dialog.
|inspectedBy - string(50)
Free text limited to 50 characters. InspectedBy should be who or what inspected the wear measurement. Generally this will be the username or email address of the user.
|instrumentType - string(50)
Free text limited to 50 characters. Instrument type should be the name of the instrument used to take the wear measurement.
|instrumentVelocity - decimal (18,1)
Decimal value limited to 1 decimal place. The velocity setting as shown on the thickness testing unit (as recorded in instrumentType).
|callibrationThickness - decimal (18,1)
Decimal value limited to 1 decimal Place. Calibration thickness used on the thickness testing unit in millimetres.
|surfaceTemperature - decimal (18,1)
Decimal value limited to 1 decimal place. The temperature of the surface being measured.
|comments - string(500)
Free text limited to 500 characters. Any comments can be added as required.
|hardness - int
Whole number. A hardness measurement can be recorded for the belt section.
wearMeasurementResults* - List<WearMeasurementResult>
After sending through your data, the API call will return a response entity with a body and a status. The response entity will let you know if the data you sent through was successful or unsuccessful.
200 - HTTP Response OK
400 - HTTP Response Bad Request
403 - HTTP Response Forbidden
415 - HTTP Response Unsupported Media Type
500 - HTTP Response Internal Server Error
The ResponseEntity object will contain a string or object value. This will have an error or success message – examples below:
- Successfully Created Wear Measurement and Wear Measurement Results
- Invalid Security Token
- Error Locating Equipment
- Invalid/Incorrect API Key
- Missing Content-Type header
- Error connecting to PDS Server
Example Body - Multiple Results:
"equipmentID" : 7227
"instrumentType": “DMS GO”,