# Bulk Upload Process

### sunbird.bulk\_upload\_process (**PRIMARY KEY: id)**

Table used for storing bulk upload process information.&#x20;

<table><thead><tr><th width="177.33333333333331">Column Name</th><th width="130">Data Type</th><th width="232">Description</th><th>Sample Data</th></tr></thead><tbody><tr><td>id</td><td>text</td><td>Process Identifier</td><td>013164532565106688101</td></tr><tr><td>createdby</td><td>text</td><td>Bulk upload triggered by</td><td>ec8deeb2-4ded-4fa2-ac48-023ad8298d92</td></tr><tr><td>createdon</td><td>timestamp</td><td>Bulk upload triggered on</td><td>2020-12-03 12:24:00.303000+0000</td></tr><tr><td>data</td><td>text</td><td>Bulk uploaded file data</td><td>9C9dOj89ssd0Rae5fSjSVmXmNdMSm7OpbtcYhFsc9WMwI92NvcdeNvC+IEgmUg0rdejQd642yHeV\na6E=</td></tr><tr><td>failureresult</td><td>text</td><td>Records that could not be processed</td><td>[]</td></tr><tr><td>lastupdatedon</td><td>timestamp</td><td>record last updated on</td><td>2020-12-03 12:24:00.303000+0000</td></tr><tr><td>objecttype</td><td>text</td><td>records' object type: location/user/organisation/MigrationUser/SELF_DECLARED_USER</td><td>SELF_DECLARED_USER</td></tr><tr><td>organisationid</td><td>text</td><td>organisation Identifier to which bulk upload has been triggered for</td><td>01269878797503692810</td></tr><tr><td>processendtime</td><td>text</td><td></td><td></td></tr><tr><td>processstarttime</td><td>text</td><td>Start time at which record processing got triggered</td><td>2020-12-03 12:24:00.303000+0000</td></tr><tr><td>retrycount</td><td>int</td><td>Number of times record processing was tried</td><td>2</td></tr><tr><td>status</td><td>int</td><td>Status of the bulk upload process</td><td>3</td></tr><tr><td>storagedetails</td><td>text</td><td>Cloud Storage location of the downloadable CSV with process result information</td><td><pre><code>DfCr74W+cCyXsW0KiI9+0fE/qnW1SYZLJeyMEoWC7pV9wu2rSCdgiQ2JBt2B/0nQswU6sFZZ8+dX\noxDWPWJ5FXSKc2v9cXPWEGnscNhsEFrqOIUemwlJe5mcIjhM2Opel2940M1Vslf/cZMCI3xwpSUq\nUCYFRMDmK6lNotysYPISemcCMnZEk+qhOT8vhvpeKo1Xv/0/jBfbKI03JhZruX703HqiOZOcR072\nkYFoPRDaxoOFc+rXLm+hHg6LOXypFVTNhs9/3Sa80SViXQCn4bnc5FlOjy26iVIxqdYi6bCEfQqd\n6EAFIFGwzFRTS/giFGHVEadH0V0aMXTQbYUJ3Q==
</code></pre></td></tr><tr><td>successresult</td><td>text</td><td>Records that were processed successfully</td><td><pre class="language-json"><code class="lang-json">[{"firstName":"Partner Content Creator","phone":null,"roles":["CONTENT_CREATOR"],"userType":"TEACHER","userId":"fd3cbea8-8608-43ce-ba7f-4fb587a10b45","email":"T+CY41939vm5qKAAcTLaxxK+trKhBNYnDDP/VRRvhac0gVteBTNegJgigEyqBs0qGcAkB/m3MS5f\n7RPeVRTnKnT88bYbiAGo78uwUmwN4GcDevB7iVni9p2Sbmsd5V9h/tJR3ZPAAFSTyJ9yFc8WHcvy\nG0t0HiJjD+xEIZgJ6RQ=","orgId":"0128925770740285447","organisationId":"0128925770740285447","emailVerified":true,"createdBy":"30f05f74-2ee8-4ed0-b20a-d1f880268a74","rootOrgId":"0128925770740285447","channel":"2.5.0","phoneVerified":false,"profileVisibility":{},"isDeleted":false,"createdDate":"2020-05-04 07:28:34:162+0000","status":1,"userName":"5Q14OzLBlLI7HHuph8OqS1N9fKpmXHYm+y4p8QljjhRY1J0CQtV30E8Ym7r8KzpXw5EzAHe3Vj+Z\nzy4i+VpmXXlF/Duv7I/HjdoA+q/U2hTPImOINHWbZp0d3J4XvFK2x7BDdjyMwJA4M25P8OEXyfJn\npkKp6ASi2X8EnVJq+wE=","loginId":"5Q14OzLBlLI7HHuph8OqS1N9fKpmXHYm+y4p8QljjhRY1J0CQtV30E8Ym7r8KzpXw5EzAHe3Vj+Z\nzy4i+VpmXcJii4KPr2fcgMs2OGMaLfKN0JRcaxV4Dhk2DKbBCAprp/fgHO9L04/v2xepR3Lj95ZX\nR3WFhFjJrrpMKskBxnM=","externalIds":null,"id":"fd3cbea8-8608-43ce-ba7f-4fb587a10b45","orgName":"Preprod2.5.0","operation":"create"},{"firstName":"Partner Book Creator","phone":null,"roles":["BOOK_CREATOR"],"userType":"TEACHER","userId":"cf37aa84-c441-4222-8158-3dbca16f3837","email":"T+CY41939vm5qKAAcTLaxxK+trKhBNYnDDP/VRRvhac0gVteBTNegJgigEyqBs0qGcAkB/m3MS5f\n7RPeVRTnKnT88bYbiAGo78uwUmwN4GcDevB7iVni9p2Sbmsd5V9h/tJR3ZPAAFSTyJ9yFc8WHcvy\nG0t0HiJjD+xEIZgJ6RQ=","orgId":"0128925770740285447","organisationId":"0128925770740285447","emailVerified":true,"createdBy":"30f05f74-2ee8-4ed0-b20a-d1f880268a74","rootOrgId":"0128925770740285447","channel":"2.5.0","phoneVerified":false,"profileVisibility":{},"isDeleted":false,"createdDate":"2020-05-04 07:28:34:237+0000","status":1,"userName":"TvHDg/MI2JpJFXgjp3YIG4LMGVGHK+jOhtjZhSRlLdN0QYfVVdKS0fH1182ZYFR3wH0ApdRZW2Uu\ncmm1xMNH7hR1NfeTnnYNoC5Lx7PvqjoLgACzaXPkpdqojfIVFRCFT6a+wzaAmCWueMEdPmZuRg==","loginId":"TvHDg/MI2JpJFXgjp3YIGxHeQiq+pucBuZCTotHSROCYKG6HLWzgt45LtXLalf8VOa8Jkm7i4ZoB\nDHKKfmpitKHKqYPck44ON4KMwv0OHXcC0RETYKK/WhokPxDLwYjBXXEKEarPqozxAXE+a5dMmjUl\n1FlHleh2UkyWuT7bVWQ=","externalIds":null,"id":"cf37aa84-c441-4222-8158-3dbca16f3837","orgName":"Preprod2.5.0","operation":"create"}]
</code></pre></td></tr><tr><td>taskcount</td><td>int</td><td></td><td>8</td></tr><tr><td>telemetrycontext</td><td>map&#x3C;text, text></td><td>Used to store request context information in case of MigrationUser/SELF_DECLARED_USER type bulk uploads</td><td><pre class="language-json"><code class="lang-json">{'actorId': '013164536804098048102', 'actorType': 'System', 'channel': '0126796199493140480', 'env': 'SelfDeclaredUserUpload', 'method': 'POST', 'requestType': 'API_CALL', 'telemetry_pdata_id': 'staging.sunbird.learning.service', 'telemetry_pdata_pid': 'learner-service', 'telemetry_pdata_ver': '3.5.0', 'url': '/v2/bulk/user/upload', 'x-request-id': '12b90c4428da29db327c8b17f3258c1c'}
</code></pre></td></tr><tr><td>uploadedby</td><td>text</td><td>same as createdby</td><td>ec8deeb2-4ded-4fa2-ac48-023ad8298d92</td></tr><tr><td>uploadeddate</td><td>text</td><td>same as createdon</td><td>2020-12-03 12:24:00.303000+0000</td></tr></tbody></table>

### sunbird.bulk\_upload\_process\_task (PRIMARY KEY: processid, sequenceid)

<table><thead><tr><th width="167.33333333333331">Column Name</th><th width="117">Data Type</th><th>Description</th><th>Sample Data</th></tr></thead><tbody><tr><td>processid</td><td>text</td><td>Process Identifier</td><td>0134312772714250242</td></tr><tr><td>sequenceid</td><td>int</td><td>Record sequence</td><td>2</td></tr><tr><td>createdon</td><td>timestamp</td><td>Record created on</td><td>2021-12-15 09:11:59.078000+0000</td></tr><tr><td>data</td><td>text</td><td>Record details</td><td>{"code":"998","parentCode":"ak0015","name":"d02","parentId":"1efe2f58-b1a3-432f-820e-9a8b9d843237","id":"259278c4-7c69-428e-85cb-0f2df8d167c4","type":"district"}</td></tr><tr><td>failureresult</td><td>text</td><td>Reason for record processing failure</td><td>{"code":"999","parentCode":"ak0015","name":"d01","parentId":"65359881-ace2-44e9-8212-c74c637fea9b","id":"ff47b704-9856-4712-ad88-0625853f0e26","type":"state","operation":"update","err_msg":"Update of type is not allowed."}</td></tr><tr><td>iterationid</td><td>int</td><td>Number of iterations</td><td>1</td></tr><tr><td>lastupdatedon</td><td>timestamp</td><td>Record last updated on</td><td>2021-12-15 09:11:59.322000+0000</td></tr><tr><td>status</td><td>int</td><td><p>Status of record processing</p><pre><code>NEW(0),
IN_PROGRESS(1),
INTERRUPT(2),
COMPLETED(3),
FAILED(9)
</code></pre></td><td>0/1/2/3/9</td></tr><tr><td>successresult</td><td>text</td><td>record details when processed successfully</td><td>{"code":"998","parentCode":"ak0015","name":"d02","parentId":"1efe2f58-b1a3-432f-820e-9a8b9d843237","id":"259278c4-7c69-428e-85cb-0f2df8d167c4","type":"district","operation":"update"}</td></tr></tbody></table>


---

# Agent Instructions: 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://lern.sunbird.org/use/developer-guide/user-and-org-service/data-models/cassandra/data-dictionary/bulk-upload-process.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.
