POST
/
auth
/
importdata
import data
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/auth/importdata \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'accountingPeriod=<string>' \
  --form 'salePeriod=<string>' \
  --form 'royaltySource=<string>' \
  --form file=@example-file
{
  "message": "Platform data Uploaded Successfully and Dataset being processed"
}

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data

Response

200
application/json

Success

The response is of type object.