{"type":"api","title":"Returns compact history of client by date and username","meta":{"id":"/apps/pubhub/media/cisco-cmx-v11-0-0/c5aed5a4a2c41c993164672f27e8c5acda4dd890/984c8ace-1ab9-3c1d-89a9-c0650f6a37ef","info":{"title":"Location API","version":"1.0.0","description":"This is Location API. Use the Location based REST APIs to retrieve client location data programmatically from the Cisco CMX."},"openapi":"3.0.0","servers":[{"url":"/fakecmxserver"}]},"spec":{"operationId":"compactHistoryByUsername","summary":"Returns compact history of client by date and username","description":"This API returns compact history of client by date and username.","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"Error Message","content":{"application/json":{"schema":{"type":"object"},"example":{"error":"CMX: System error"}}}}},"parameters":[{"name":"date","in":"query","required":true,"description":"Date in format of yyyy/mm/dd","schema":{"type":"string","format":"date"}},{"name":"username","in":"path","required":true,"description":"username","schema":{"type":"string"}},{"name":"allMacs","in":"query","required":false,"description":"Return all macaddresses associated with this Username for given date. Allowed values/formats: true, false","schema":{"type":"string","enum":["true","false"]}},{"name":"allResults","in":"query","required":false,"description":"Return all results. Allowed values/formats: true, false","schema":{"type":"string","enum":["true","false"]}}],"__originalOperationId":"compactHistoryByUsername","method":"get","path":"/location/v1/historylite/byusername/:username{username}"}}