The
/auth/importdata
endpoint allows users to import data by uploading a file, typically a CSV file containing relevant information. This endpoint is useful for importing data into the system for further processing or analysis.
Method:POST
Request Parameters:
Parameter | Type | Description | Required |
---|---|---|---|
file | file | The CSV file to be uploaded. | Yes |
accountingPeriod | string | The accounting period associated with the data (YYYY-MM-DD) | Yes |
salePeriod | string | The sale period associated with the data (YYYY-MM-DD) | Yes |
royaltySource | string | The source of royalties for the imported data | Yes |
See response example below
Authentication
This endpoint requires authentication. Include your bearer token in the Authorization header.Request Body
Responses
✅ 200 - Success
⚠️ 401 - Unauthorized
⚠️ 404 - Not Found
❌ 500 - Internal Server Error
Tags
Auth
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Body
multipart/form-data
Response
Success