What does Kikin still need us to answer? Returns your company’s current questions, newest first. Defaults to unanswered; filter.responseState can select answered or all, and filter.questionId selects one question. Includes exact question text and the latest saved answer when present. A saved answer does not imply acceptance, and no unanswered questions does not imply underwriting is complete. Read only.
Input schema
{
"type": "object",
"required": [],
"properties": {
"filter": {
"type": "object",
"required": [],
"properties": {
"questionId": {
"type": "string",
"description": "a non empty string",
"title": "nonEmptyString",
"minLength": 1
},
"responseState": {
"anyOf": [
{
"type": "string",
"enum": [
"unanswered",
"answered"
],
"description": "Whether this question has a current saved answer."
},
{
"type": "string",
"enum": [
"all"
],
"description": "Both answered and unanswered customer-visible questions."
}
],
"description": "Defaults to unanswered; all includes both response states."
}
},
"additionalProperties": false
},
"pagination": {
"type": "object",
"required": [],
"properties": {
"pageSize": {
"type": "integer",
"description": "a number less than or equal to 100",
"title": "lessThanOrEqualTo(100)",
"exclusiveMinimum": 0,
"maximum": 100
},
"pageNumber": {
"type": "integer",
"description": "a number less than or equal to 9007199254740991",
"title": "lessThanOrEqualTo(9007199254740991)",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
Result schema
{
"type": "object",
"required": [
"items",
"pagination",
"selection"
],
"properties": {
"items": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"questionId",
"text",
"createdAt",
"responseState",
"latestAnswer"
],
"properties": {
"questionId": {
"type": "string",
"description": "a non empty string",
"title": "nonEmptyString",
"minLength": 1
},
"text": {
"type": "string"
},
"createdAt": {
"type": "string",
"description": "a string to be decoded into a Date"
},
"responseState": {
"type": "string",
"enum": [
"unanswered"
],
"description": "No current saved answer."
},
"latestAnswer": {
"type": "null"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"questionId",
"text",
"createdAt",
"responseState",
"latestAnswer"
],
"properties": {
"questionId": {
"type": "string",
"description": "a non empty string",
"title": "nonEmptyString",
"minLength": 1
},
"text": {
"type": "string"
},
"createdAt": {
"type": "string",
"description": "a string to be decoded into a Date"
},
"responseState": {
"type": "string",
"enum": [
"answered"
],
"description": "A current saved answer exists."
},
"latestAnswer": {
"type": "object",
"required": [
"id",
"response",
"createdAt"
],
"properties": {
"id": {
"type": "string",
"description": "a non empty string",
"title": "nonEmptyString",
"minLength": 1
},
"response": {
"type": "string"
},
"createdAt": {
"type": "string",
"description": "a string to be decoded into a Date"
}
},
"additionalProperties": false,
"description": "The latest saved answer and its timestamp; saving is not underwriting acceptance."
}
},
"additionalProperties": false
}
],
"description": "One customer-visible question and its latest answer, or null when unanswered."
},
"description": "an array of at most 100 item(s)",
"title": "maxItems(100)",
"maxItems": 100
},
"pagination": {
"type": "object",
"required": [
"totalCount",
"pageNumber",
"pageSize",
"totalPages"
],
"properties": {
"totalCount": {
"type": "integer",
"description": "an integer",
"title": "int",
"minimum": 0
},
"pageNumber": {
"type": "integer",
"description": "an integer",
"title": "int",
"exclusiveMinimum": 0
},
"pageSize": {
"type": "integer",
"description": "a number less than or equal to 100",
"title": "lessThanOrEqualTo(100)",
"exclusiveMinimum": 0,
"maximum": 100
},
"totalPages": {
"type": "integer",
"description": "an integer",
"title": "int",
"minimum": 0
}
},
"additionalProperties": false,
"description": "Selected page and full matching question count."
},
"selection": {
"type": "object",
"required": [],
"properties": {
"filter": {
"type": "object",
"required": [],
"properties": {
"questionId": {
"type": "string",
"description": "a non empty string",
"title": "nonEmptyString",
"minLength": 1
},
"responseState": {
"anyOf": [
{
"type": "string",
"enum": [
"unanswered",
"answered"
],
"description": "Whether this question has a current saved answer."
},
{
"type": "string",
"enum": [
"all"
],
"description": "Both answered and unanswered customer-visible questions."
}
],
"description": "Defaults to unanswered; all includes both response states."
}
},
"additionalProperties": false,
"description": "Exact question and response state within the same company and visibility scope."
},
"pagination": {
"type": "object",
"required": [],
"properties": {
"pageSize": {
"type": "integer",
"description": "a number less than or equal to 100",
"title": "lessThanOrEqualTo(100)",
"exclusiveMinimum": 0,
"maximum": 100
},
"pageNumber": {
"type": "integer",
"description": "a number less than or equal to 9007199254740991",
"title": "lessThanOrEqualTo(9007199254740991)",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"additionalProperties": false,
"description": "Page 1 and 20 items by default; positive integers, at most 100 items."
}
},
"additionalProperties": false,
"description": "Selection and pagination for the authenticated company’s questions."
}
},
"additionalProperties": false,
"description": "Questions and applied selection; an empty page does not imply underwriting is complete."
}