Skip to main content
POST
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

Confirm or reject detected royalty source After file upload and automatic detection, use this endpoint to confirm the detected royalty source and trigger processing, or reject it for manual review. Confirming starts the processing workflow, while rejecting marks the file for manual review. Authorization:
  • Required role: user or higher

Code Examples

Authorizations

Authorization
string
header
required

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

Path Parameters

sessionId
string<uuid>
required

The detection session ID

Body

application/json
royaltySourceId
string
required

ID of the royalty source

accountingPeriod
string
required

Accounting period (YYYY-MM format)

Pattern: ^\d{4}-\d{2}$
salePeriod
string
required

Sale period (YYYY-MM format)

Pattern: ^\d{4}-\d{2}$
confirm
boolean
required

true to confirm and process, false to reject

Response

Success - Returns jobId if confirmed, or marks for manual review if rejected

status
enum<string>
Available options:
success
message
string
data
object