Fred FSCP Api (v1)

Download OpenAPI specification:

Fred FSCP API

This API computes, stores and exposes French financial states (Bilan, Compte de Résultat, CapPar, CCA/PCA, Capitaux Propres, Fixed Assets, Tax Result, Tax Credit, Social, SIG, Provisions…), plus the questionnaire that drives them. It is part of the larger Fred platform and is consumed by other Fred services.

Authentication

All endpoints are protected and require a valid Fred bearer token, except where explicitly marked as anonymous. Authentication and authorization follow the common Inqom mechanism shared by every Fred microservice.

See the shared Inqom authentication documentation for how to obtain a token and call the API behind the gateway.

Environments

Environment Base URL
Production https://api.inqom.com/fscp
Staging https://api-staging.inqom.com/fscp

Replace the URLs above and the authentication link with the values for this service if they differ.

FinancialStates

FSCPFinancialStates_AddOrUpdateAmountsOverrides

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
Request Body schema:
Type
required
string
StartDate
required
string <date-time>
EndDate
required
string <date-time>
required
Array of objects (AmountOverride)
ChangeSet
string or null

Responses

Request samples

Content type
{
  • "Type": "string",
  • "StartDate": "2019-08-24T14:15:22Z",
  • "EndDate": "2019-08-24T14:15:22Z",
  • "Overrides": [
    ],
  • "ChangeSet": "string"
}

Saves in one call the user lines of the repeatable rows of a state and the overrides of its cells. Superset of M:Fred.FSCP.Api.Controllers.FinancialStatesController.AddOrUpdateAmountsOverridesAsync(System.Int32,Fred.FSCP.Application.FinancialStates.Commands.AddOrUpdateFinancialStateUserOverridesCommand), which stays in place until the front has switched over. Answers no content: the identifiers struck for the rows it created reach the caller through the reload of the state, which the caller must perform anyway to learn which of their cells are editable.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
Request Body schema:
Type
required
string
StartDate
required
string <date-time>
EndDate
required
string <date-time>
Array of objects or null (UserLines)
Array of objects or null (AmountOverride)
ChangeSet
string or null

Responses

Request samples

Content type
{
  • "Type": "string",
  • "StartDate": "2019-08-24T14:15:22Z",
  • "EndDate": "2019-08-24T14:15:22Z",
  • "UserLines": [
    ],
  • "Overrides": [
    ],
  • "ChangeSet": "string"
}

FSCPFinancialStates_AddOrUpdateFootNotes

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
Request Body schema:
FinancialState
required
string
StartDate
required
string <date-time>
EndDate
required
string <date-time>
required
Array of objects (FootnoteOverride)
ChangeSet
string or null

Responses

Request samples

Content type
{
  • "FinancialState": "string",
  • "StartDate": "2019-08-24T14:15:22Z",
  • "EndDate": "2019-08-24T14:15:22Z",
  • "Overrides": [
    ],
  • "ChangeSet": "string"
}

FSCPFinancialStates_GetFinancialStates

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
query Parameters
caller
string or null
Request Body schema:
required
StartDate
required
string <date-time>
EndDate
required
string <date-time>
StateTypes
Array of strings or null
ApplyRules
required
boolean
BalanceSnapshotId
integer or null <int32>
object (GetFinancialStatesQueryFilter)
object (GetFinancialStatesQueryOptions)
Context
string or null
Enum: "FSCP" "Visualisation" "Plaquette" "FSCP_Structure"
ReferenceStartDate
string or null <date-time>
ReferenceEndDate
string or null <date-time>

Responses

Request samples

Content type
{
  • "StartDate": "2019-08-24T14:15:22Z",
  • "EndDate": "2019-08-24T14:15:22Z",
  • "StateTypes": [
    ],
  • "ApplyRules": true,
  • "BalanceSnapshotId": 0,
  • "Filter": {
    },
  • "Options": {
    },
  • "Context": "FSCP",
  • "ReferenceStartDate": "2019-08-24T14:15:22Z",
  • "ReferenceEndDate": "2019-08-24T14:15:22Z"
}

Response samples

Content type
{
  • "LastUpdateDate": "2019-08-24T14:15:22Z",
  • "FinancialStates": [
    ],
  • "Metrics": [
    ]
}

FSCPFinancialStates_GetAnalyticFinancialStates

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
Request Body schema:
required
StartDate
required
string <date-time>
EndDate
required
string <date-time>
ReferenceStartDate
string or null <date-time>
ReferenceEndDate
string or null <date-time>
StateTypes
Array of strings or null
DisplayMode
required
string
Enum: "Aggregate" "Compare"
TagIds
required
Array of integers <int32> unique [ items <int32 > ]
ApplyRules
required
boolean
object (GetFinancialStatesQueryFilter)
ChangeSet
string or null

Responses

Request samples

Content type
{
  • "StartDate": "2019-08-24T14:15:22Z",
  • "EndDate": "2019-08-24T14:15:22Z",
  • "ReferenceStartDate": "2019-08-24T14:15:22Z",
  • "ReferenceEndDate": "2019-08-24T14:15:22Z",
  • "StateTypes": [
    ],
  • "DisplayMode": "Aggregate",
  • "TagIds": [
    ],
  • "ApplyRules": true,
  • "Filter": {
    },
  • "ChangeSet": "string"
}

Response samples

Content type
[
  • {
    }
]

FSCPFinancialStates_GetFinancialStatesStructure

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
query Parameters
StartDate
required
string <date-time>
EndDate
required
string <date-time>
contextType
string
Default: "FSCP"
Enum: "FSCP" "Visualisation" "Plaquette" "FSCP_Structure"
ChangeSet
string or null

Responses

Response samples

Content type
{
  • "Classes": [
    ]
}

Export financial states in standard or analytic mode

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
Request Body schema:
required
StartDate
required
string <date-time>
EndDate
required
string <date-time>
ReferenceStartDate
string or null <date-time>
ReferenceEndDate
string or null <date-time>
BalanceSnapshotId
integer or null <int32>
WithDetails
required
boolean
StateTypes
Array of strings or null
object (ExportAnalyticFilter)
Type
required
string
Enum: "Excel" "Pdf"
ContextType
required
string
Enum: "FSCP" "Visualisation" "Plaquette" "FSCP_Structure"
Title
required
string
ShowWatermark
required
boolean
ShowDecimals
required
boolean
ShowBilanVariationColumn
required
boolean
ShowCompteDeResultatVariationColumn
required
boolean
ThemeId
integer or null <int32>

Responses

Request samples

Content type
{
  • "StartDate": "2019-08-24T14:15:22Z",
  • "EndDate": "2019-08-24T14:15:22Z",
  • "ReferenceStartDate": "2019-08-24T14:15:22Z",
  • "ReferenceEndDate": "2019-08-24T14:15:22Z",
  • "BalanceSnapshotId": 0,
  • "WithDetails": true,
  • "StateTypes": [
    ],
  • "AnalyticFilter": {
    },
  • "Type": "Excel",
  • "ContextType": "FSCP",
  • "Title": "string",
  • "ShowWatermark": true,
  • "ShowDecimals": true,
  • "ShowBilanVariationColumn": true,
  • "ShowCompteDeResultatVariationColumn": true,
  • "ThemeId": 0
}

Response samples

Content type
{
  • "filename": "string",
  • "tempUrl": "string"
}

FSCPFinancialStates_GetAdvancePaymentDates

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
query Parameters
StartDate
required
string <date-time>
EndDate
required
string <date-time>

Responses

Response samples

Content type
[
  • [
    ]
]

FSCPFinancialStates_GetHeadingsByState

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
query Parameters
StateType
required
string
StartDate
required
string <date-time>
EndDate
required
string <date-time>

Responses

Response samples

Content type
[
  • {
    }
]

FSCPFinancialStates_GetAllFinancialStateConfigs

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
query Parameters
StartDate
required
string <date-time>
EndDate
required
string <date-time>
changeSet
string or null

Responses

Response samples

Content type
[
  • {
    }
]

FSCPFinancialStates_GetParticipationsPreloadInfo

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
query Parameters
StartDate
required
string <date-time>
EndDate
required
string <date-time>

Responses

Response samples

Content type
[
  • {
    }
]

Get all used ChangeSets in the system

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Responses

Response samples

Content type
[
  • "string"
]

FSCPFinancialStates_DeleteSnapshots

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
query Parameters
deleteAfterDate
string or null <date-time>

Responses

Response samples

Content type
{
  • "Success": true
}

FSCPFinancialStates_GetDeposits

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
query Parameters
StartDate
required
string <date-time>
EndDate
required
string <date-time>

Responses

Response samples

Content type
[
  • {
    }
]

Questionnaire

FSCPQuestionnaire_Get

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
query Parameters
startDate
required
string <date-time>
endDate
required
string <date-time>
changeSet
string or null

Responses

Response samples

Content type
[
  • {
    }
]

FSCPQuestionnaire_AddOrUpdateAnswers

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
Request Body schema:
StartDate
required
string <date-time>
EndDate
required
string <date-time>
required
Array of objects (QuestionnaireAnswer)

Responses

Request samples

Content type
{
  • "StartDate": "2019-08-24T14:15:22Z",
  • "EndDate": "2019-08-24T14:15:22Z",
  • "Answers": [
    ]
}

FSCPQuestionnaire_GetParentQuestions

Authorizations:
oauth2

Responses

Response samples

Content type
[
  • {
    }
]