import data
Auth
import data
/auth/importdata
POST
import data
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
/auth/importdata Description: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
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Body
multipart/form-data
Response
Success