Skip to main content
PUT
Confirm accounting/sale periods for a session
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

PUT /source-creator/sessions//periods Description: Confirms the accounting period (required, YYYYMM) and optional sale period for the session’s file, and optionally overrides the detected decimal separator. Persisted on the session’s fileAnalysis JSONB and used later by generate-queries and save when deriving the BigQuery table-name format and versioning start date. Authorization:
  • Required role: admin or higher
Method: PUT

Code Examples

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Session ID

Body

application/json
accountingPeriod
string
required

YYYYMM

Pattern: ^\d{4}(0[1-9]|1[0-2])$
Example:

"202501"

salePeriod
string | null
Pattern: ^\d{4}(0[1-9]|1[0-2])$
Example:

"202501"

hasSalePeriod
boolean
default:false

Whether this source uses a separate sale period in table names.

decimalSeparator
string | null

Optional override of the auto-detected decimal separator ("," or ".").

Response

Periods confirmed successfully

status
string
Example:

"success"

message
string
Example:

"Periods confirmed successfully"

data
object