Value Must Be Greater Than
You went too low
Summary
If you receive this error code then you have supplied a value that is less than the required value.
For example, if you attempt to create an Absence entity which has an End date that is less than the Start date then you will receive this error response.
curl -X POST \ https://api.youmanage.co.uk/Absences \ -H 'Authorization: ApiKey {ApiKey}' \ -H 'Content-Type: application/json' \ -d '{ "Type": "Holiday", "Reason": "Annual Leave", "CreatorId": 2, "EmployeeId": 3, "Start": "2019-03-23T09:00:00Z", "End": "2019-03-22T17:00:00Z", "Period": { "Days": 1, "Hours": 7.5 } }' { "error": { "code": "YM1000", "reference": "https://developer.youmanage.co.uk/api/errors/ym1000", "target": "Validation", "message": "Validation failed", "details": [ { "code": "YM1002", "reference": "https://developer.youmanage.co.uk/api/errors/ym1002", "target": "End", "message": "Validation failed for a specific property", "details": [ { "code": "YM1013", "reference": "https://developer.youmanage.co.uk/api/errors/ym1013", "target": "End", "message": "'End' must be greater than '23/03/2019 09:00:00'.", "details": null } ] } ] } }
Solution
Reissue the request ensuring that all validation requirements have been met.