CreateOrUpdateTimeCardInput
InputAutogenerated input type of CreateOrUpdateTimeCard
mutation { organization(id: $organizationId) { createOrUpdateTimeCard } }
Example
mutation CreateOrUpdateTimeCard(
$organizationId: ID!
$input: CreateOrUpdateTimeCardInput!
) {
organization(id: $organizationId) {
createOrUpdateTimeCard(input: $input) {
timeCard
errors
}
}
}Fields
| Field | Type | Description |
|---|---|---|
| clientMutationId | String | A unique identifier for the client performing the mutation. |
| createAttachments | [CreateAttachment!] | — |
| date | ISO8601Date! | — |
| deleteAttachments | [DeleteAttachment!] | — |
| id | ID! | — |
| lineItems | [TimeCardLineItemInput!] | — |
| mutationMetadata | JSON | — |
| now | ISO8601DateTime | — |
| number | String | — |
| userId | ID! | — |