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
}
... on UnderwritingApplicationFieldValidationError {
code
field
message
}
... on UnderwritingApplicationStakeholderFieldValidationError {
code
field
message
stakeholderId
}
... on UnderwritingApplicationValidationError {
code
message
}
... on UnderwritingApplicationBankAccountFieldValidationError {
bankAccountId
code
field
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"
}
]
}
}
}
Boarding
updateDecisionComponent
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
}
... on UnderwritingApplicationFieldValidationError {
code
field
message
}
... on UnderwritingApplicationStakeholderFieldValidationError {
code
field
message
stakeholderId
}
... on UnderwritingApplicationValidationError {
code
message
}
... on UnderwritingApplicationBankAccountFieldValidationError {
bankAccountId
code
field
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
Arguments
Show child attributes
Show child attributes
The unique identifier of the decision component to update.
Return type
UpdateDecisionComponentPayload!
The decision component that was updated.
Show child attributes
Show child attributes
See Attachment
The unique identifier of the decision component.
The current processing status of this decision component in the underwriting workflow.See DecisionComponentStatus
The last date and time this was updated in UTC.
Errors that occurred during the mutation, if any. Null or empty indicates success.
Show Possible types
Show Possible types
Show BadRequestError
Show BadRequestError
Show ForbiddenError
Show ForbiddenError
Show InvalidActorError
Show InvalidActorError
Show InvalidOrganizationError
Show InvalidOrganizationError
Show NotFoundError
Show NotFoundError
Show ServerError
Show ServerError
Show UnderwritingApplicationFieldValidationError
Show UnderwritingApplicationFieldValidationError
Represents a field-level validation error on an underwriting application.
A static code for tying the response back programmatically.
Show Possible enum values
Show Possible enum values
A field value exceeds the maximum allowed length.
The business address country code is not a recognized ISO 3166-1 alpha-3 value.
The Employer Identification Number (EIN) does not conform to the expected format of XX-XXXXXXX (e.g., 12-3456789).
The field value does not meet the required format or constraints.
The Merchant Category Code (MCC) is not a recognized value.
The Social Security Number (SSN) does not conform to the expected format of XXX-XX-XXXX (e.g., 012-34-5678).
The telephone number is invalid. It must be a valid phone number containing only digits, with optional dashes, dots, or spaces.
The tax identification number (TIN) does not conform to the expected format: XXX-XX-XXXX for individuals (SSN/ITIN) or XX-XXXXXXX for businesses (EIN).
A required field was not provided.
The field that is invalid.
A helpful message to help fix the invalid value.
Show UnderwritingApplicationStakeholderFieldValidationError
Show UnderwritingApplicationStakeholderFieldValidationError
Represents a field-level validation error on a stakeholder within an underwriting application.
A static code for tying the response back programmatically
Show Possible enum values
Show Possible enum values
A field value exceeds the maximum allowed length.
The field value does not meet the required format or constraints.
The stakeholder’s telephone number is invalid. It must be a valid phone number containing only digits, with optional dashes, dots, or spaces.
A required field was not provided.
The field that is invalid
A helpful message to help fix the invalid value
The associated stakeholder ID
Show UnderwritingApplicationValidationError
Show UnderwritingApplicationValidationError
Represents a validation error on an underwriting application that is not specific to a single field.
A static code for tying the response back programmatically.
Show Possible enum values
Show Possible enum values
An unexpected server error occurred while processing the application.
The caller does not own the application or lacks permission to modify it.
The application is in a state that does not permit this operation.
The application is missing a required guarantor.
A helpful message to help fix the validation error.
Show UnderwritingApplicationBankAccountFieldValidationError
Show UnderwritingApplicationBankAccountFieldValidationError
Represents a field-level validation error on a bank account within an underwriting application.
The associated bank account id
The field that is invalid
A helpful message to help fix the invalid value
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
}
... on UnderwritingApplicationFieldValidationError {
code
field
message
}
... on UnderwritingApplicationStakeholderFieldValidationError {
code
field
message
stakeholderId
}
... on UnderwritingApplicationValidationError {
code
message
}
... on UnderwritingApplicationBankAccountFieldValidationError {
bankAccountId
code
field
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?
⌘I