mutation UpdateDecisionComponent($input: UpdateDecisionComponentInput!) {
updateDecisionComponent(input: $input) {
decisionComponent {
attachments {
fileName
id
size
uploadedDateTime
}
comments {
content
createdDateTime
decisionComponent
id
updatedDateTime
}
hasAttachments
hasComments
id
items {
descriptiveText
displayOrder
guidance
id
label
stakeholderId
status
}
lastUpdatedBy {
name
type
}
schema {
id
label
requiredRoles
requiredScopes
}
status
updatedDateTime
}
errors {
... on BadRequestError {
advice
code
message
}
... on ForbiddenError {
advice
code
message
}
... on InvalidActorError {
advice
code
message
}
... on InvalidOrganizationError {
advice
code
message
}
... on NotFoundError {
advice
code
message
resourceId
resourceName
}
... on ServerError {
advice
code
message
}
}
}
}
{
"data": {
"updateDecisionComponent": {
"decisionComponent": {
"attachments": [
{
"fileName": "business-license.pdf",
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"size": 0,
"uploadedBy": "example",
"uploadedDateTime": "2026-01-15T14:30:00Z"
}
],
"comments": [
{
"content": "Approved for mechanical keyboard accessories line.",
"createdBy": "example",
"createdDateTime": "2026-01-15T14:30:00Z",
"decisionComponent": "example",
"id": "c9a1e2d3-4b5f-6789-0abc-def123456789",
"lastUpdatedBy": "example",
"updatedDateTime": "2026-01-15T14:30:00Z"
}
],
"hasAttachments": true,
"hasComments": true,
"id": "d8b2f3e4-5c6a-7890-1bcd-ef2345678901",
"items": [
{
"descriptiveText": "example",
"displayOrder": 0,
"fields": [
"example"
],
"guidance": "example",
"id": "e7c3a4b5-6d7e-8901-2cde-f34567890123",
"label": "example",
"outcomes": "example",
"stakeholderId": "b6d4e5f6-7a8b-9012-3def-456789012345",
"status": "ACCEPTED"
}
],
"lastUpdatedBy": {
"name": "Ben Torres",
"type": "APP"
},
"schema": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"label": "example",
"requiredRoles": [
"BANK"
],
"requiredScopes": [
"example"
],
"underwritingDecisionComponentItemSchemas": [
"example"
]
},
"status": "ACCEPTED",
"updatedDateTime": "2026-01-15T14:30:00Z"
},
"errors": [
{
"__typename": "BadRequestError",
"advice": "example",
"code": "BAD_REQUEST",
"message": "example"
}
]
}
}
}
Update a decision component.
mutation UpdateDecisionComponent($input: UpdateDecisionComponentInput!) {
updateDecisionComponent(input: $input) {
decisionComponent {
attachments {
fileName
id
size
uploadedDateTime
}
comments {
content
createdDateTime
decisionComponent
id
updatedDateTime
}
hasAttachments
hasComments
id
items {
descriptiveText
displayOrder
guidance
id
label
stakeholderId
status
}
lastUpdatedBy {
name
type
}
schema {
id
label
requiredRoles
requiredScopes
}
status
updatedDateTime
}
errors {
... on BadRequestError {
advice
code
message
}
... on ForbiddenError {
advice
code
message
}
... on InvalidActorError {
advice
code
message
}
... on InvalidOrganizationError {
advice
code
message
}
... on NotFoundError {
advice
code
message
resourceId
resourceName
}
... on ServerError {
advice
code
message
}
}
}
}
{
"data": {
"updateDecisionComponent": {
"decisionComponent": {
"attachments": [
{
"fileName": "business-license.pdf",
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"size": 0,
"uploadedBy": "example",
"uploadedDateTime": "2026-01-15T14:30:00Z"
}
],
"comments": [
{
"content": "Approved for mechanical keyboard accessories line.",
"createdBy": "example",
"createdDateTime": "2026-01-15T14:30:00Z",
"decisionComponent": "example",
"id": "c9a1e2d3-4b5f-6789-0abc-def123456789",
"lastUpdatedBy": "example",
"updatedDateTime": "2026-01-15T14:30:00Z"
}
],
"hasAttachments": true,
"hasComments": true,
"id": "d8b2f3e4-5c6a-7890-1bcd-ef2345678901",
"items": [
{
"descriptiveText": "example",
"displayOrder": 0,
"fields": [
"example"
],
"guidance": "example",
"id": "e7c3a4b5-6d7e-8901-2cde-f34567890123",
"label": "example",
"outcomes": "example",
"stakeholderId": "b6d4e5f6-7a8b-9012-3def-456789012345",
"status": "ACCEPTED"
}
],
"lastUpdatedBy": {
"name": "Ben Torres",
"type": "APP"
},
"schema": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"label": "example",
"requiredRoles": [
"BANK"
],
"requiredScopes": [
"example"
],
"underwritingDecisionComponentItemSchemas": [
"example"
]
},
"status": "ACCEPTED",
"updatedDateTime": "2026-01-15T14:30:00Z"
},
"errors": [
{
"__typename": "BadRequestError",
"advice": "example",
"code": "BAD_REQUEST",
"message": "example"
}
]
}
}
}
Documentation Index
Fetch the complete documentation index at: https://docs.tesouro.com/llms.txt
Use this file to discover all available pages before exploring further.
Mutation
Show child attributes
UpdateDecisionComponentPayload!
Show child attributes
Show Possible types
Show BadRequestError
Show ForbiddenError
Show InvalidActorError
Show InvalidOrganizationError
Show NotFoundError
Show ServerError
mutation UpdateDecisionComponent($input: UpdateDecisionComponentInput!) {
updateDecisionComponent(input: $input) {
decisionComponent {
attachments {
fileName
id
size
uploadedDateTime
}
comments {
content
createdDateTime
decisionComponent
id
updatedDateTime
}
hasAttachments
hasComments
id
items {
descriptiveText
displayOrder
guidance
id
label
stakeholderId
status
}
lastUpdatedBy {
name
type
}
schema {
id
label
requiredRoles
requiredScopes
}
status
updatedDateTime
}
errors {
... on BadRequestError {
advice
code
message
}
... on ForbiddenError {
advice
code
message
}
... on InvalidActorError {
advice
code
message
}
... on InvalidOrganizationError {
advice
code
message
}
... on NotFoundError {
advice
code
message
resourceId
resourceName
}
... on ServerError {
advice
code
message
}
}
}
}
{
"data": {
"updateDecisionComponent": {
"decisionComponent": {
"attachments": [
{
"fileName": "business-license.pdf",
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"size": 0,
"uploadedBy": "example",
"uploadedDateTime": "2026-01-15T14:30:00Z"
}
],
"comments": [
{
"content": "Approved for mechanical keyboard accessories line.",
"createdBy": "example",
"createdDateTime": "2026-01-15T14:30:00Z",
"decisionComponent": "example",
"id": "c9a1e2d3-4b5f-6789-0abc-def123456789",
"lastUpdatedBy": "example",
"updatedDateTime": "2026-01-15T14:30:00Z"
}
],
"hasAttachments": true,
"hasComments": true,
"id": "d8b2f3e4-5c6a-7890-1bcd-ef2345678901",
"items": [
{
"descriptiveText": "example",
"displayOrder": 0,
"fields": [
"example"
],
"guidance": "example",
"id": "e7c3a4b5-6d7e-8901-2cde-f34567890123",
"label": "example",
"outcomes": "example",
"stakeholderId": "b6d4e5f6-7a8b-9012-3def-456789012345",
"status": "ACCEPTED"
}
],
"lastUpdatedBy": {
"name": "Ben Torres",
"type": "APP"
},
"schema": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"label": "example",
"requiredRoles": [
"BANK"
],
"requiredScopes": [
"example"
],
"underwritingDecisionComponentItemSchemas": [
"example"
]
},
"status": "ACCEPTED",
"updatedDateTime": "2026-01-15T14:30:00Z"
},
"errors": [
{
"__typename": "BadRequestError",
"advice": "example",
"code": "BAD_REQUEST",
"message": "example"
}
]
}
}
}
Was this page helpful?