> For the complete documentation index, see [llms.txt](https://docs.eduplex.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eduplex.eu/scorm-to-xapi-wrapper/examples/example-score-xapi-statements.md).

# Example score xAPI statements

## Answer question <a href="#examplescorexapistatements-answerquestion" id="examplescorexapistatements-answerquestion"></a>

<figure><img src="/files/5CcL8qxtOdXXWQJ4qGEu" alt=""><figcaption></figcaption></figure>

<details>

<summary>Click to see full statement with answer and/or score</summary>

```
{
  "stored": "2023-07-12T15:30:24.576Z",
  "active": true,
  "completedForwardingQueue": [],
  "failedForwardingLog": [],
  "client": "62ed2d33caa1070008fbe17d",
  "lrs_id": "62ed2d33caa1070008fbe17c",
  "completedQueues": [],
  "activities": [
    "http://1U1_qbiXXhuOAioSMG6xipmPd4-mFSfX_rise_v5/ksILhw_SMiaXQ9jUayJ0yH9mTd0ODnf2/cjyovbks400043b5yxqy0i9s9_1689175824374"
  ],
  "hash": "92ef650d473cc6d10d1c3cf57c5d075c1f2866c1",
  "agents": [
    "https://proto.eduplex.eu|3"
  ],
  "statement": {
    "authority": {
      "objectType": "Agent",
      "name": "EduPLEx Client",
      "mbox": "mailto:email@example.com"
    },
    "stored": "2023-07-12T15:30:24.576Z",
    "actor": {
      "objectType": "Agent",
      "account": {
        "name": "3",
        "homePage": "https://proto.eduplex.eu"
      }
    },
    "timestamp": "2023-07-12T15:30:24.374Z",
    "version": "1.0.0",
    "id": "ab3556af-b987-40cc-ae9f-34bfc409f7aa",
    "result": {
      "success": false,
      "response": "cjyovbks400063b5ynrepy1rp"
    },
    "verb": {
      "id": "http://adlnet.gov/expapi/verbs/answered",
      "display": {
        "en-US": "answered"
      }
    },
    "object": {
      "id": "http://1U1_qbiXXhuOAioSMG6xipmPd4-mFSfX_rise_v5/ksILhw_SMiaXQ9jUayJ0yH9mTd0ODnf2/cjyovbks400043b5yxqy0i9s9_1689175824374",
      "objectType": "Activity",
      "definition": {
        "type": "http://adlnet.gov/expapi/activities/cmi.interaction",
        "name": {
          "und": "Take care when writing questions so that learners can interpret them correctly. Use simple, straightforward language."
        },
        "description": {
          "und": "Take care when writing questions so that learners can interpret them correctly. Use simple, straightforward language."
        },
        "interactionType": "choice",
        "correctResponsesPattern": [
          "cjyovbks400053b5yi8r78s8l"
        ],
        "choices": [
          {
            "id": "cjyovbks400053b5yi8r78s8l",
            "description": {
              "und": "Choice 1"
            }
          },
          {
            "id": "cjyovbks400063b5ynrepy1rp",
            "description": {
              "und": "Choice 2"
            }
          },
          {
            "id": "cjyovtgis00353b5yuf6kcai5",
            "description": {
              "und": "Choice 3"
            }
          },
          {
            "id": "cjyovtl0900363b5yu7y5bojb",
            "description": {
              "und": "Choice 4"
            }
          },
          {
            "id": "ckkz884nw002v3b6irh6j377p",
            "description": {
              "und": "sfdsdfdsfs"
            }
          }
        ]
      }
    }
  },
  "hasGeneratedId": false,
  "deadForwardingQueue": [],
  "voided": false,
  "verbs": [
    "http://adlnet.gov/expapi/verbs/answered"
  ],
  "processingQueues": [],
  "person": null,
  "timestamp": "2023-07-12T15:30:24.374Z",
  "relatedActivities": [
    "http://1U1_qbiXXhuOAioSMG6xipmPd4-mFSfX_rise_v5/ksILhw_SMiaXQ9jUayJ0yH9mTd0ODnf2/cjyovbks400043b5yxqy0i9s9_1689175824374"
  ],
  "relatedAgents": [
    "https://proto.eduplex.eu|3",
    "mailto:email@example.com"
  ],
  "organisation": "62ed1d89858c0c0008338e5c",
  "_id": "64aec7106d0a00001bf75e52",
  "registrations": [],
  "pendingForwardingQueue": []
}
```

</details>

## Finish questionnaire with score <a href="#examplescorexapistatements-finishquestionnairewithscore" id="examplescorexapistatements-finishquestionnairewithscore"></a>

### xAPI **passed** verb <a href="#examplescorexapistatements-xapipassedverb" id="examplescorexapistatements-xapipassedverb"></a>

<figure><img src="/files/mHch8K0lTuWq8OxQ1g9Z" alt=""><figcaption></figcaption></figure>

<details>

<summary>Click to see xAPI passed verb</summary>

```
{
  "stored": "2023-07-12T15:34:20.924Z",
  "active": true,
  "completedForwardingQueue": [],
  "failedForwardingLog": [],
  "client": "62ed2d33caa1070008fbe17d",
  "lrs_id": "62ed2d33caa1070008fbe17c",
  "completedQueues": [],
  "activities": [
    "http://1U1_qbiXXhuOAioSMG6xipmPd4-mFSfX_rise_v5"
  ],
  "hash": "47a58cd03db309912eb3b145fd28bdf789145d12",
  "agents": [
    "https://proto.eduplex.eu|3"
  ],
  "statement": {
    "authority": {
      "objectType": "Agent",
      "name": "EduPLEx Client",
      "mbox": "mailto:email@example.com"
    },
    "stored": "2023-07-12T15:34:20.924Z",
    "actor": {
      "objectType": "Agent",
      "account": {
        "name": "3",
        "homePage": "https://proto.eduplex.eu"
      }
    },
    "timestamp": "2023-07-12T15:34:20.810Z",
    "version": "1.0.0",
    "id": "92319379-217d-4812-880f-9490fbbd34b3",
    "result": {
      "success": true,
      "duration": "PT5M58.724S",
      "completion": true
    },
    "verb": {
      "id": "http://adlnet.gov/expapi/verbs/passed",
      "display": {
        "en-US": "passed"
      }
    },
    "object": {
      "id": "http://1U1_qbiXXhuOAioSMG6xipmPd4-mFSfX_rise_v5",
      "objectType": "Activity",
      "definition": {
        "type": "http://adlnet.gov/expapi/activities/course"
      }
    }
  },
  "hasGeneratedId": false,
  "deadForwardingQueue": [],
  "voided": false,
  "verbs": [
    "http://adlnet.gov/expapi/verbs/passed"
  ],
  "processingQueues": [],
  "person": null,
  "timestamp": "2023-07-12T15:34:20.810Z",
  "relatedActivities": [
    "http://1U1_qbiXXhuOAioSMG6xipmPd4-mFSfX_rise_v5"
  ],
  "relatedAgents": [
    "https://proto.eduplex.eu|3",
    "mailto:email@example.com"
  ],
  "organisation": "62ed1d89858c0c0008338e5c",
  "_id": "64aec7fc6d0a00001bf75e5d",
  "registrations": [],
  "pendingForwardingQueue": []
}
```

</details>

### xAPI **progressed** verb <a href="#examplescorexapistatements-xapiprogressedverb" id="examplescorexapistatements-xapiprogressedverb"></a>

<details>

<summary>Click to see xAPI progressed verb</summary>

```
{
  "stored": "2023-07-12T15:38:55.728Z",
  "active": true,
  "completedForwardingQueue": [],
  "failedForwardingLog": [],
  "client": "62ed2d33caa1070008fbe17d",
  "lrs_id": "62ed2d33caa1070008fbe17c",
  "completedQueues": [],
  "activities": [
    "http://1U1_qbiXXhuOAioSMG6xipmPd4-mFSfX_rise_v5"
  ],
  "hash": "725aa39b12ef25efb420f005991d8f8c2f3955bd",
  "agents": [
    "https://proto.eduplex.eu|3"
  ],
  "statement": {
    "authority": {
      "objectType": "Agent",
      "name": "EduPLEx Client",
      "mbox": "mailto:email@example.com"
    },
    "stored": "2023-07-12T15:38:55.728Z",
    "actor": {
      "objectType": "Agent",
      "account": {
        "name": "3",
        "homePage": "https://proto.eduplex.eu"
      }
    },
    "timestamp": "2023-07-12T15:38:55.614Z",
    "version": "1.0.0",
    "id": "99af6f89-c753-46dc-9dd8-d0c5ef315896",
    "result": {
      "duration": "PT10M25.406S",
      "extensions": {
        "http://w3id.org/xapi/cmi5/result/extensions/progress": 100
      },
      "completion": true
    },
    "verb": {
      "id": "http://adlnet.gov/expapi/verbs/progressed",
      "display": {
        "en-US": "progressed"
      }
    },
    "object": {
      "id": "http://1U1_qbiXXhuOAioSMG6xipmPd4-mFSfX_rise_v5",
      "objectType": "Activity",
      "definition": {
        "type": "http://adlnet.gov/expapi/activities/course"
      }
    }
  },
  "hasGeneratedId": false,
  "deadForwardingQueue": [],
  "voided": false,
  "verbs": [
    "http://adlnet.gov/expapi/verbs/progressed"
  ],
  "processingQueues": [],
  "person": null,
  "timestamp": "2023-07-12T15:38:55.614Z",
  "relatedActivities": [
    "http://1U1_qbiXXhuOAioSMG6xipmPd4-mFSfX_rise_v5"
  ],
  "relatedAgents": [
    "https://proto.eduplex.eu|3",
    "mailto:email@example.com"
  ],
  "organisation": "62ed1d89858c0c0008338e5c",
  "_id": "64aec90f6d0a00001bf75e6e",
  "registrations": [],
  "pendingForwardingQueue": []
}
```

</details>

### H5P **scored** verb <a href="#examplescorexapistatements-h5pscoredverb" id="examplescorexapistatements-h5pscoredverb"></a>

<details>

<summary>Click to see H5P scored verb</summary>

```
{
  "stored": "2023-04-12T12:30:48.988Z",
  "active": true,
  "completedForwardingQueue": [],
  "failedForwardingLog": [],
  "client": "6079932d462e7205c3a5de21",
  "lrs_id": "6079932d462e7205c3a5de20",
  "completedQueues": [
    "STATEMENT_PERSON_QUEUE",
    "STATEMENT_QUERYBUILDERCACHE_QUEUE",
    "STATEMENT_FORWARDING_QUEUE"
  ],
  "activities": [
    "http://4198-46917_SCORM_2004 4th Edition"
  ],
  "hash": "143b4cc4ee072ff1630443dc4f8551bf791c7dfc",
  "agents": [
    "https://www.courseticket.com|97774"
  ],
  "statement": {
    "authority": {
      "objectType": "Agent",
      "name": "leraninglocker-ct",
      "mbox": "mailto:email@example.com"
    },
    "stored": "2023-04-12T12:30:48.988Z",
    "context": {
      "contextActivities": {
        "grouping": [
          {
            "id": "http://4198-46917_SCORM_2004 4th Edition?attemptId=97774_a1",
            "objectType": "Activity",
            "definition": {
              "type": "http://adlnet.gov/expapi/activities/attempt"
            }
          },
          {
            "id": "https://www.courseticket.com/de/user-service-detail/159724/e-learning/4198",
            "objectType": "Activity",
            "definition": {
              "type": "http://adlnet.gov/expapi/activities/course"
            }
          },
          {
            "definition": {
              "name": {
                "en-US": "4198-46917_SCORM_2004 4th Edition"
              },
              "description": {
                "en-US": "4198-46917_SCORM_2004 4th Edition"
              }
            },
            "id": "http://4198-46917_SCORM_2004 4th Edition",
            "objectType": "Activity"
          }
        ],
        "category": [
          {
            "id": "https://w3id.org/xapi/scorm",
            "objectType": "Activity"
          }
        ]
      }
    },
    "actor": {
      "objectType": "Agent",
      "account": {
        "homePage": "https://www.courseticket.com",
        "name": "97774"
      }
    },
    "timestamp": "2023-04-12T12:30:48.988Z",
    "version": "1.0.0",
    "id": "0332200e-a7e7-44a8-88b3-a124ea60a5ee",
    "result": {
      "score": {
        "scaled": 0
      }
    },
    "verb": {
      "id": "http://adlnet.gov/expapi/verbs/scored",
      "display": {
        "de-DE": "erreichte",
        "en-US": "scored",
        "fr-FR": "a marqué",
        "es-ES": "anotó",
        "ar-AR": "سحل النقاط"
      }
    },
    "object": {
      "id": "http://4198-46917_SCORM_2004 4th Edition",
      "definition": {
        "type": "http://adlnet.gov/expapi/activities/lesson"
      },
      "objectType": "Activity"
    }
  },
  "hasGeneratedId": false,
  "deadForwardingQueue": [],
  "voided": false,
  "verbs": [
    "http://adlnet.gov/expapi/verbs/scored"
  ],
  "personaIdentifier": "64366f5ef65611193831c0e1",
  "processingQueues": [],
  "person": {
    "_id": "64366f5ec91ba105d0c8c463",
    "display": "97774 - https://www.courseticket.com (xAPI Account)"
  },
  "__v": 1,
  "timestamp": "2023-04-12T12:30:48.988Z",
  "relatedActivities": [
    "http://4198-46917_SCORM_2004 4th Edition",
    "http://4198-46917_SCORM_2004 4th Edition?attemptId=97774_a1",
    "https://www.courseticket.com/de/user-service-detail/159724/e-learning/4198",
    "https://w3id.org/xapi/scorm"
  ],
  "relatedAgents": [
    "https://www.courseticket.com|97774",
    "mailto:email@example.com"
  ],
  "organisation": "60799313462e7205c3a5de1c",
  "_id": "6436a478697be105e2adbac1",
  "registrations": [],
  "pendingForwardingQueue": []
}
```

</details>

### H5p **completed** verb <a href="#examplescorexapistatements-h5pcompletedverb" id="examplescorexapistatements-h5pcompletedverb"></a>

<details>

<summary>Click to see H5p completed verb</summary>

```
{
  "stored": "2023-07-07T14:23:25.844Z",
  "active": true,
  "completedForwardingQueue": [],
  "failedForwardingLog": [],
  "client": "6079932d462e7205c3a5de21",
  "lrs_id": "6079932d462e7205c3a5de20",
  "completedQueues": [
    "STATEMENT_FORWARDING_QUEUE",
    "STATEMENT_PERSON_QUEUE",
    "STATEMENT_QUERYBUILDERCACHE_QUEUE"
  ],
  "activities": [
    "http://1076-51394_H5P_"
  ],
  "hash": "7e38d6f1a77df24a94c54fb5282d1b585cafe592",
  "agents": [
    "https://www.courseticket.com|99141"
  ],
  "statement": {
    "authority": {
      "objectType": "Agent",
      "name": "leraninglocker-ct",
      "mbox": "mailto:email@example.com"
    },
    "stored": "2023-07-07T14:23:25.844Z",
    "context": {
      "contextActivities": {
        "category": [
          {
            "id": "http://h5p.org/libraries/H5P.QuestionSet-1.20",
            "objectType": "Activity"
          }
        ]
      }
    },
    "actor": {
      "account": {
        "name": "99141",
        "homePage": "https://www.courseticket.com"
      },
      "objectType": "Agent",
      "name": "Gianna"
    },
    "timestamp": "2023-07-07T14:23:25.844Z",
    "version": "1.0.0",
    "id": "0a0d0dcc-e811-4d20-a589-871660b73201",
    "result": {
      "score": {
        "min": 0,
        "max": 30,
        "raw": 13,
        "scaled": 0.4333
      },
      "completion": true,
      "success": false,
      "duration": "PT1805.88S"
    },
    "verb": {
      "id": "http://adlnet.gov/expapi/verbs/completed",
      "display": {
        "en-US": "completed"
      }
    },
    "object": {
      "id": "http://1076-51394_H5P_",
      "objectType": "Activity",
      "definition": {
        "extensions": {
          "http://h5p.org/x-api/h5p-local-content-id": "default"
        },
        "name": {
          "en-US": "Wissensteil (Teil A)_Online Testsim 2023"
        }
      }
    }
  },
  "metadata": {
    "https://learninglocker&46;net/result-duration": {
      "seconds": 1805.88
    }
  },
  "hasGeneratedId": true,
  "deadForwardingQueue": [],
  "voided": false,
  "verbs": [
    "http://adlnet.gov/expapi/verbs/completed"
  ],
  "personaIdentifier": "64a818fdf6561146e5344b51",
  "processingQueues": [],
  "person": {
    "_id": "64a818fdc91ba105d0c8c569",
    "display": "Gianna"
  },
  "__v": 1,
  "timestamp": "2023-07-07T14:23:25.844Z",
  "relatedActivities": [
    "http://1076-51394_H5P_",
    "http://h5p.org/libraries/H5P.QuestionSet-1.20"
  ],
  "relatedAgents": [
    "https://www.courseticket.com|99141",
    "mailto:email@example.com"
  ],
  "organisation": "60799313462e7205c3a5de1c",
  "_id": "64a81fdd55d8930605c6de1a",
  "registrations": [],
  "pendingForwardingQueue": []
}
```

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.eduplex.eu/scorm-to-xapi-wrapper/examples/example-score-xapi-statements.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
