DRAFT
This endpoint is still undergoing review by stakeholders, so it’s not part of the OpenAPI specification yet.
The FDM validation endpoint verifies whether a particular set of FDM worktags is valid for use in financial systems. It checks for three types of error:
- Misformed or missing: incorrectly formatted values, or required values that aren’t present
- Nonexistant worktags: values that refer to worktags that don’t exist in Workday
- Disallowed combinations: worktags that cannot be used with other worktags
For each element of each FDM combination submitted, the validator will proceed through these steps in order until it encounters an error. It doesn’t, for example, try to look for disallowed combinations for a worktag that doesn’t exist. This means that you may need to re-submit an FDM combination several times, correcting errors each time, to arrive at a fully valid combination.
Example request
{ "data": [ { "type": "fdms", "id": "1", "attributes": { "company": "UWRVF", "fund": "FD0233", "costCenter": "CC001241", "functionId": "FN0000", "gift": "GF00000001" } }, { "type": "fdms", "id": "2", "attributes": { "company": "UWRVF", "fund": "FD0101", "costCenter": "CC001241", "functionId": "FN0000", "gift": "GF00000001" } } ] }
Example response
{ "data": [ { "attributes": { "errors": [], "valid": true }, "id": "1", "type": "fdmValidationResults" }, { "attributes": { "errors": [ "Fund FD0101 is not allowed on gift GF00000001 (the only valid value is FD0233)." ], "valid": false }, "id": "2", "type": "fdmValidationResults" } ] }