mutation EnrichCardEntries($input: EnrichCardEntriesInput!) {
enrichCardEntries(input: $input) {
result {
accepted
affectedCards
affectedSourceEntries
receipts {
id
sourceId
}
}
}
}{
"input": {
"definitionId": "string",
"entries": [
{
"entryId": "string",
"properties": [
{
"propertyId": "string"
}
]
}
]
}
}{
"data": {
"enrichCardEntries": {
"result": {
"accepted": true,
"affectedCards": 1,
"affectedSourceEntries": 1,
"receipts": [
{
"id": "value",
"sourceId": "string"
}
]
}
}
}
}enrichCardEntries
Sets or clears property values on card entries of one card definition. A card has no values of its own: each value is written to the source property behind its card property, with one import per data source. Properties left out stay unchanged, and an id with no source entry behind it creates one in each data source of the patched properties. Nothing is written unless every property exists on the card definition, isn’t bound to a system source property, is editable, matches the card property’s data type and holds no duplicate list values. Returns once the source entries are stored and readable; related entries and destinations update asynchronously. The payload has no errors list; a failure comes back as a top-level GraphQL error whose extensions.code is one of: BAD_USER_INPUT (per-property failures under extensions.validation), NOT_FOUND for an unknown card definition, CONFLICT while a data source is being purged, or WRITE_FAILED. To retry after WRITE_FAILED, see id; the retry also completes a request where one data source was written and another failed.
enrichCardEntries(input: EnrichCardEntriesInput!): EnrichCardEntriesPayload!Arguments
Returns
mutation EnrichCardEntries($input: EnrichCardEntriesInput!) {
enrichCardEntries(input: $input) {
result {
accepted
affectedCards
affectedSourceEntries
receipts {
id
sourceId
}
}
}
}{
"input": {
"definitionId": "string",
"entries": [
{
"entryId": "string",
"properties": [
{
"propertyId": "string"
}
]
}
]
}
}{
"data": {
"enrichCardEntries": {
"result": {
"accepted": true,
"affectedCards": 1,
"affectedSourceEntries": 1,
"receipts": [
{
"id": "value",
"sourceId": "string"
}
]
}
}
}
}Was this page helpful?