Skip to main content

updateBidKnowledgeNote

Requires permission biddesk:knowledge:write.

Edits the title or text of the caller's draft or rejected note. Requires Bid Desk. Requires permission to write knowledge.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation UpdateBidKnowledgeNote($expectedVersion: Int!, $id: ID!) {
updateBidKnowledgeNote(expectedVersion: $expectedVersion, id: $id) {
id
title
authorName
productName
reviewerName
status
source {
bidNumber
bidId
sourceType
threadId
}
}
}

Variables:

{
"expectedVersion": 0,
"id": "id"
}

Response:

{
"data": {
"updateBidKnowledgeNote": {
"id": "id",
"title": "string",
"authorName": "string",
"productName": "string",
"reviewerName": "string",
"status": "ARCHIVED",
"source": {
"bidNumber": "string",
"bidId": "id",
"sourceType": "COST_OVERRIDE",
"threadId": "id"
}
}
}
}
updateBidKnowledgeNote(
body: String
expectedVersion: Int!
id: ID!
title: String
): BidKnowledgeNote!

Arguments​

updateBidKnowledgeNote.body ● String scalar​

The new text.

updateBidKnowledgeNote.expectedVersion ● Int! non-null scalar​

The version the change is based on.

updateBidKnowledgeNote.id ● ID! non-null scalar​

The note.

updateBidKnowledgeNote.title ● String scalar​

The new title.

Type​

BidKnowledgeNote object​

Know-how about an item or assembly, written and reviewed by people.