---
title: "Validate a Workflow Delegation"
method: POST
path: "/workflowdelegationmanager.checkdates"
tags: ["Workflow Delegation"]
---

# Validate a Workflow Delegation

`POST /workflowdelegationmanager.checkdates`

Checks delegation for conflicts. Always use this operation before `/workflowdelegationmanager.add` to prevent invalid date conflicts in the new delegation.
Use the same payload as for the `/workflowdelegationmanager.add` operation.

## Request body

- object
  - `data` object, required
    - `sourceUser` string — The name of the user whose workflow you want to delegate.
    - `targetUser` string — The name of the user you want to delegate a workflow to.
    - `startDate` string, required — The date from which the workflow delegation should come into effect.
    - `endDate` string, required — The date until which the workflow delegation should be effective.
    - `note` string — A comment for the workflow delegation.
    - `sourceUserId` string, required — The ID of the user whose workflow you want to delegate.
    - `targetUserId` string, required — The ID of the user you want to delegate a workflow to.

## Response `200`

OK

- object
  - `response` object
    - `node` string
    - `data` unknown
    - `status` number

---

[API](https://skmtc.net/pricefx/apis/the-pricefx-backend-api.md) · [All operations](https://skmtc.net/pricefx/apis/the-pricefx-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pricefx/the-pricefx-backend-api/versions/0850b5d6be73/schema)
