Skip to main content
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:
See response example below

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

multipart/form-data
file
file
required

The CSV file to be uploaded

accountingPeriod
string
required

The accounting period associated with the data (YYYY-MM-DD)

salePeriod
string
required

The sale period associated with the data (YYYY-MM-DD)

royaltySource
string
required

The source of royalties for the imported data

Response

Success

message
string