Skip to main content

archiveBidKnowledgeNote

Requires permission biddesk:knowledge:review.

Withdraws a published note from every bid. Requires Bid Desk. Requires permission to review 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 ArchiveBidKnowledgeNote($expectedVersion: Int!, $id: ID!) {
archiveBidKnowledgeNote(expectedVersion: $expectedVersion, id: $id) {
id
title
authorName
productName
reviewerName
status
source {
bidNumber
bidId
sourceType
threadId
}
}
}

Variables:

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

Response:

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

Arguments​

archiveBidKnowledgeNote.expectedVersion ● Int! non-null scalar​

The version the change is based on.

archiveBidKnowledgeNote.id ● ID! non-null scalar​

The note.

Type​

BidKnowledgeNote object​

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