Get an answer

get

/services/rest/connect/v1.4/answers/{id}

Request

Path Parameters
Back to Top

Response

Default Response

Body ()
Root Schema : answers
Type: object
The knowledge base information that provides solutions to the common customer support questions.
Show Source
Nested Schema : namedIDs-answers-accessLevels
Type: object
The named ID that can be included in a list.
Show Source
Nested Schema : namedIDs-answerTypes
Type: object
The type of an answer.
Show Source
Nested Schema : answerVersion
Type: object
The versioned instance of an answer. Answers are solutions to common customer support questions. These questions and answers are maintained in the Oracle B2C Service knowledge base. It is the reference to a resource in 'answerVersions' collection. Only ID or lookupName can be provided to specify the resource.
Nested Schema : answers-assignedTo
Type: object
The collection of staff account and staff group.
Show Source
  • The account represents a staff member in Oracle B2C Service. Examples of staff members are customer sales representatives, sales agents, site administrators, and so on. It is the reference to a resource in 'accounts' collection. Only ID or lookupName can be provided to specify the resource.
  • namedIDs-answers-assignedTo-staffGroup
    An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Nested Schema : answers-banner
Type: object
The display flags of a banner.
Show Source
Nested Schema : categories
Type: array
The hierarchical service category that provides an option to group answers and incidents for better organization and refined searching in the knowledge base. It is the reference to a resource in 'serviceCategories' collection. Only ID or lookupName can be provided to specify the resources.
Show Source
Nested Schema : answers-commonAttachments
Type: object
The file attachment shared by sibling answers.
Show Source
Nested Schema : answers-fileAttachments
Type: object
The file attachment shared by answers.
Show Source
Nested Schema : namedIDs-answers-guidedAssistance
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : namedIDs-answers-language
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : answers-notes
Type: object
The note text associated with the objects such as contacts and organizations.
Show Source
  • namedIDs-answers-notes-channel
    An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
  • The account represents a staff member in Oracle B2C Service. Examples of staff members are customer sales representatives, sales agents, site administrators, and so on. It is the reference to a resource in 'accounts' collection. Only ID or lookupName can be provided to specify the resource.
  • The date and time when the note was created. This attribute is read-only.
  • Minimum Value: 1
    Maximum Value: 9.223372036854776E18
    The unique identifier of the note.
  • Maximum Length: 349525
    The text content in the note.
  • The account represents a staff member in Oracle B2C Service. Examples of staff members are customer sales representatives, sales agents, site administrators, and so on. It is the reference to a resource in 'accounts' collection. Only ID or lookupName can be provided to specify the resource.
  • The date and time when the note was last updated. This attribute is read-only.
Nested Schema : namedIDs-answers-positionInList
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : products
Type: array
The hierarchical service product that provides an option to group answers and incidents for better organization and refined searching in the knowledge base. It is the reference to a resource in 'serviceProducts' collection. Only ID or lookupName can be provided to specify the resources.
Show Source
Nested Schema : answers-relatedAnswers
Type: object
The link to related answers.
Show Source
Nested Schema : siblingAnswers
Type: array
The knowledge base information that provides solutions to the common customer support questions. It is the reference to a resource in 'answers' collection. Only ID or lookupName can be provided to specify the resources.
Show Source
Nested Schema : answers-statusWithType
Type: object
The status of an object with its associated status type.
Show Source
Nested Schema : answers-versionDetail
Type: object
The details of the answer version.
Show Source
Nested Schema : namedIDs-answers-assignedTo-staffGroup
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : namedIDs-answers-banner-importanceFlag
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : items
Type: object
Nested Schema : answers-commonAttachments-names
Type: object
The language-specific strings used for localization of fields. The label text cannot be empty or null. The labels are assembled in a list associated with a particular text field.
Show Source
Nested Schema : namedIDs-answers-commonAttachments-names-language
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : namedIDs-answers-notes-channel
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : items
Type: object
Nested Schema : toAnswer
Type: object
The knowledge base information that provides solutions to the common customer support questions. It is the reference to a resource in 'answers' collection. Only ID or lookupName can be provided to specify the resource.
Nested Schema : items
Type: object
Nested Schema : namedIDs-answers-statusWithType-status
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : namedIDs-answers-statusWithType-statusType
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : namedIDs-answers-versionDetail-state
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Back to Top

Examples

Use GET with the following syntax to retrieve data for an answer object:

https://your_site_interface/services/rest/connect/version/answers/answer_id

Request URI example

https://mysite.example.com/services/rest/connect/v1.4/answers/57

Response body example

{
    "id": 57,
    "lookupName": "57",
    "createdTime": "2016-01-29T19:35:41.000Z",
    "updatedTime": "2016-01-29T19:35:41.000Z",
    "accessLevels": {
        "links": [
            {
                "rel": "self",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/answers/57/accessLevels"
            }
        ]
    },
    "adminLastAccessTime": "2016-01-29T19:35:41.000Z",
    "answerType": {
        "id": 1,
        "lookupName": "HTML"
    },
    "assignedTo": {
        "account": null,
        "staffGroup": null
    },
    "banner": {
        "importanceFlag": null,
        "text": null,
        "updatedByAccount": null,
        "updatedTime": null
    },
    "categories": {
        "links": [
            {
                "rel": "self",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/answers/57/categories"
            }
        ]
    },
    "commonAttachments": {
        "links": [
            {
                "rel": "self",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/answers/57/commonAttachments"
            }
        ]
    },
    "customFields": {
        "c": {}
    },
    "expiresDate": null,
    "fileAttachments": {
        "links": [
            {
                "rel": "self",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/answers/57/fileAttachments"
            }
        ]
    },
    "guidedAssistance": null,
    "keywords": null,
    "language": {
        "id": 1,
        "lookupName": "en_US"
    },
    "lastAccessTime": "2016-01-29T19:35:41.000Z",
    "lastNotificationTime": null,
    "name": "57",
    "nextNotificationTime": null,
    "notes": {
        "links": [
            {
                "rel": "self",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/answers/57/notes"
            }
        ]
    },
    "originalReferenceNumber": null,
    "positionInList": {
        "id": 1,
        "lookupName": "Historical Usefulness"
    },
    "products": {
        "links": [
            {
                "rel": "self",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/answers/57/products"
            }
        ]
    },
    "publishOnDate": null,
    "question": null,
    "relatedAnswers": {
        "links": [
            {
                "rel": "self",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/answers/57/relatedAnswers"
            }
        ]
    },
    "siblingAnswers": {
        "links": [
            {
                "rel": "self",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/answers/57/siblingAnswers"
            }
        ]
    },
    "solution": "The FishPhone is water resistant to 10 meters, or 33 feet.",
    "statusWithType": {
        "status": {
            "id": 5,
            "lookupName": "Private"
        },
        "statusType": {
            "id": 5,
            "lookupName": "Private"
        }
    },
    "summary": "How deep can I get my FishPhone?",
    "updatedByAccount": {
        "links": [
            {
                "rel": "self",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/accounts/7"
            },
            {
                "rel": "canonical",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/accounts/7"
            },
            {
                "rel": "describedby",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/accounts",
                "mediaType": "application/schema+json"
            }
        ]
    },
    "uRL": null,
    "links": [
        {
            "rel": "self",
            "href": "https://mysite.example.com/services/rest/connect/v1.4/answers/57"
        },
        {
            "rel": "canonical",
            "href": "https://mysite.example.com/services/rest/connect/v1.4/answers/57"
        },
        {
            "rel": "describedby",
            "href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/answers",
            "mediaType": "application/schema+json"
        }
    ]
}
Back to Top