Get the resource file basic info for synchronization purposes
URL:
POST http://api.aurelon.com/api/v2/resource/pmminfo
Request Headers:
MisKey : see Authentication
HardwareHash : see Authentication
SerialNumber : see Authentication
ApplicationVersion : see Authentication
Request Body:
JSON object containing the to find:
- ProfileGroup – required – ProfileGroup matching “ProfileGroup” in the meta data, case insensitive.
- Media – required – Media name, matching “Media” in the meta data, case insensitive.
- Mode – required – Media name, matching “Mode” in the meta data, case insensitive.
Example:
[{“ProfileGroup”:”PDF”, “Media”:”Paper”, “Mode”:”600dpi”}]
Response:
Return the resource information in JSON format
Success:
200 OK : JSON formatted resource information. ResourceGUID, ResourceChecksum, ResourceType, Timestamp, Meta and Meta.Name are always available.
{ "ResourceGUID": "88de5c02-cce6-411f-950f-be309caa4439" "ResourceChecksum": "CF837A01C1F0342B121911A4FE17449D6B463310", "ResourceType": "NormalProfile", "Timestamp": "2018-11-01T08:41:34Z", "Domain": "Private", "Meta": { "Name": "Media > Mode", "ProfileGroup": "PDF", "Media": "Paper", "Mode": "600dpi" } }
Error:
- 401 Unauthorized : {“Message”: “Invalid MisKey”}
- 401 Unauthorized : {“Message”:”Invalid HardwareHash”}
- 401 Unauthorized : {“Message”: “”MisKey” or “HardwareHash”, “SerialNumber” and “ApplicationVersion” header are required”}
- 404 Unauthorized : {“Message”: “PMM not found”}
- 500 Internal Server Error : {“Message”:”Internal Server Error”}