---
title: "Initiates the creation of an end user change report CSV"
method: GET
path: "/v2/partition/{partitionId}/report/accounthistory/enduserchanges_2"
tags: ["Report"]
---

# Initiates the creation of an end user change report CSV

`GET /v2/partition/{partitionId}/report/accounthistory/enduserchanges_2`

## Request

- Base URL: `https://api.alianza.com`
- URL: `https://api.alianza.com/v2/partition/{partitionId}/report/accounthistory/enduserchanges_2`
- Auth: API key in header `X-AUTH-TOKEN`
- TypeScript: <https://skmtc.dev/alianza/apis/alianza-public-api/docs/v2/partition/:partitionId/report/accounthistory/enduserchanges_2/get.ts> (a function with typed inputs; its response is checked against the schema)

Creates an <a href="#/~schema/Job">asynchronous job</a> that generates a CSV file for download.
<span hidden>Please refer to <a href="jobs.html#monitor-job-progress">monitoring job progress</a> and <a href="jobs.html#get-job-output">retrieving job output</a> for instructions on retrieving the report.</span>
**The CSV headers are:**
* Account Number
* Username
* Change Time
* Change Type
* Old Value
* New Value

## Path parameters

- `partitionId` string, required

## Query parameters

- `endDate` string, required
- `startDate` string, required

## Response `202`

Use Jobs API to check status

- Job
  - `id` string
  - `name` string
  - `userId` string
  - `status` 'PENDING' | 'IN_PROGRESS' | 'DONE' | 'FAILED'
  - `errors` JobError[]
    - `error` string
    - `lineNumber` integer
    - `column` string
    - `input` string
  - `inputKey` string
  - `outputKey` string
  - `start` string, date-time
  - `lastUpdated` string, date-time

## Other responses

- `400`: Invalid start or end date
- `401`: Unauthorized
- `404`: Partition Id not found

---

[API](https://skmtc.dev/alianza/apis/alianza-public-api.md) - [All operations](https://skmtc.dev/alianza/apis/alianza-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alianza/apis/alianza-public-api/revisions/7223246c352c?raw)
