POST | /ext/powens/connection_synced |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Connection | body | ConnectionRequest | No | |
PushType | body | string | No | |
IdWebhookData | body | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
IdUser | form | long | No | |
IdConnector | form | int | No | |
LastUpdate | form | DateTime? | No | |
Created | form | DateTime? | No | |
Active | form | bool | No | |
LastPush | form | DateTime? | No | |
NextTry | form | DateTime? | No | |
Connector | form | ConnectorReq | No | |
Accounts | form | PowensAccount[] | No | |
State | form | string | No | |
Error | form | string | No | |
ErrorMessage | form | string | No | |
Expire | form | DateTime? | No | |
IdProvider | form | int | No | |
IdBank | form | int | No | |
Bank | form | ConnectorReq | No | |
ConnectorUuid | form | string | No | |
Informations | form | Object | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
Name | form | string | No | |
Hidden | form | bool? | No | |
Charged | form | bool | No | |
Code | form | string | No | |
Beta | form | bool | No | |
Color | form | string | No | |
Slug | form | string | No | |
SyncPeriodicity | form | decimal? | No | |
MonthsToFetch | form | int? | No | |
Siret | form | string | No | |
Uuid | form | string | No | |
Restricted | form | bool | No | |
Stability | form | Stability | No | |
Capabilities | form | string[] | No | |
AvailableAuthMechanisms | form | List<AuthMechanism> | No | |
Categories | form | string[] | No | |
AuthMechanism | form | AuthMechanism | No | |
AccountTypes | form | List<Object> | No | |
AccountUsages | form | List<Object> | No | |
DocumentsType | form | string[] | No | |
Products | form | List<Object> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Status | form | string | No | |
LastUpdate | form | DateTime? | No |
Name | Value | |
---|---|---|
Credentials | credentials | |
WebAuth | webauth |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Investments | form | PowensInvestment[] | No | |
Id | form | int | No | |
IdConnection | form | int? | No | |
IdUser | form | int? | No | |
IdSource | form | int? | No | |
IdParent | form | int? | No | |
Number | form | string | No | |
WebId | form | string | No | |
OriginalName | form | string | No | |
Balance | form | decimal? | No | |
Coming | form | decimal? | No | |
Display | form | bool | No | |
LastUpdate | form | DateTime? | No | |
Deleted | form | DateTime? | No | |
Disabled | form | DateTime? | No | |
Iban | form | string | No | |
Currency | form | PowensCurrency | No | |
IdType | form | int | No | |
Bookmarked | form | int | No | |
Name | form | string | No | |
Error | form | string | No | |
Usage | form | AccountUsage? | No | |
CompanyName | form | string | No | |
OpeningDate | form | DateTime? | No | |
Bic | form | Object | No | |
ComingBalances | form | long | No | |
FormattedBalance | form | string | No | |
Type | form | string | No | |
Calculated | form | string[] | No | |
Valuation | form | double | No | |
Diff | form | double | No | |
DiffPercent | form | double | No | |
PrevDiff | form | double | No | |
PrevDiffPercent | form | double | No | |
Information | form | PowensInformation | No | |
Loan | form | PowensLoan | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
IdAccount | form | int | No | |
Label | form | string | No | |
Code | form | string | No | |
CodeType | form | string | No | |
StockSymbol | form | string | No | |
StockMarket | form | Object | No | |
Source | form | string | No | |
Description | form | string | No | |
Quantity | form | decimal? | No | |
UnitPrice | form | decimal? | No | |
UnitValue | form | decimal? | No | |
Valuation | form | decimal? | No | |
Diff | form | decimal? | No | |
DiffPercent | form | decimal? | No | |
PrevDiff | form | decimal? | No | |
PortfolioShare | form | decimal | No | |
VDate | form | DateTime | No | |
PrevVDate | form | DateTime? | No | |
IdSecurity | form | int | No | |
OriginalCurrency | form | Currency | No | |
OriginalValuation | form | decimal? | No | |
OriginalUnitValue | form | decimal? | No | |
OriginalUnitPrice | form | decimal? | No | |
OriginalDiff | form | decimal? | No | |
LastUpdate | form | DateTime? | No | |
Deleted | form | DateTime? | No | |
Calculated | form | string[] | No | |
IdType | form | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No | |
Name | form | string | No | |
Symbol | form | string | No | |
Crypto | form | bool | No | |
Precision | form | int | No | |
Prefix | form | bool | No | |
Marketcap | form | Object | No | |
Datetime | form | DateTime? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No | |
Name | form | string | No | |
Symbol | form | string | No | |
Crypto | form | bool | No | |
Precision | form | int | No | |
Prefix | form | bool | No | |
Marketcap | form | Object | No | |
Datetime | form | DateTime? | No |
Name | Value | |
---|---|---|
PRIV | 1 | |
ORGA | 2 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Version | form | string | No | |
ProviderType | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TotalAmount | form | decimal? | No | |
AvailableAmount | form | decimal? | No | |
UsedAmount | form | decimal? | No | |
SubscriptionDate | form | DateTime? | No | |
MaturityDate | form | DateTime? | No | |
NextPaymentAmount | form | decimal? | No | |
NextPaymentDate | form | DateTime? | No | |
Rate | form | decimal? | No | |
NbPaymentsLeft | form | int? | No | |
NbPaymentsDone | form | int? | No | |
NbPaymentsTotal | form | int? | No | |
LastPaymentAmount | form | decimal? | No | |
LastPaymentDate | form | DateTime? | No | |
AccountLabel | form | string | No | |
InsuranceLabel | form | string | No | |
InsuranceAmount | form | decimal? | No | |
InsuranceRate | form | decimal? | No | |
Duration | form | int? | No | |
Type | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /ext/powens/connection_synced HTTP/1.1
Host: hcbtas-q-albamfs-api.azurewebsites.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
connection:
{
id: 0,
id_user: 0,
id_connector: 0,
last_update: 0001-01-01,
created: 0001-01-01,
active: False,
last_push: 0001-01-01,
next_try: 0001-01-01,
connector:
{
id: 0,
name: String,
hidden: False,
charged: False,
code: String,
beta: False,
color: String,
slug: String,
sync_periodicity: 0,
months_to_fetch: 0,
siret: String,
uuid: String,
restricted: False,
stability:
{
status: String,
lastUpdate: 0001-01-01
},
capabilities:
[
String
],
available_auth_mechanisms:
[
credentials
],
categories:
[
String
],
auth_mechanism: credentials,
account_types:
[
{
}
],
account_usage:
[
{
}
],
documents_type:
[
String
],
products:
[
{
}
]
},
accounts:
[
{
investments:
[
{
id: 0,
id_account: 0,
label: String,
code: String,
code_type: String,
stock_symbol: String,
stock_market: {},
source: String,
description: String,
quantity: 0,
unitprice: 0,
unitvalue: 0,
valuation: 0,
diff: 0,
diff_percent: 0,
prev_diff: 0,
portfolio_share: 0,
vdate: 0001-01-01,
prev_vdate: 0001-01-01,
id_security: 0,
original_currency:
{
id: String,
name: String,
symbol: String,
crypto: False,
precision: 0,
prefix: False,
marketcap: {},
datetime: 0001-01-01
},
original_valuation: 0,
original_unitvalue: 0,
original_unitprice: 0,
original_diff: 0,
last_update: 0001-01-01,
deleted: 0001-01-01,
calculated:
[
String
],
id_type: 0
}
],
id: 0,
id_connection: 0,
id_user: 0,
id_source: 0,
id_parent: 0,
number: String,
webid: String,
original_name: String,
balance: 0,
coming: 0,
display: False,
last_update: 0001-01-01,
deleted: 0001-01-01,
disabled: 0001-01-01,
iban: String,
currency:
{
id: String,
name: String,
symbol: String,
crypto: False,
precision: 0,
prefix: False,
marketcap: {},
datetime: 0001-01-01
},
id_type: 0,
bookmarked: 0,
name: String,
error: String,
usage: 0,
company_name: String,
opening_date: 0001-01-01,
bic: {},
coming_balance: 0,
formatted_balance: String,
type: String,
calculated:
[
String
],
valuation: 0,
diff: 0,
diff_percent: 0,
prev_diff: 0,
prev_diff_percent: 0,
information:
{
version: String,
provider_type: String
},
loan:
{
total_amount: 0,
available_amount: 0,
used_amount: 0,
subscription_date: 0001-01-01,
maturity_date: 0001-01-01,
next_payment_amount: 0,
next_payment_date: 0001-01-01,
rate: 0,
nb_payments_left: 0,
nb_payments_done: 0,
nb_payments_total: 0,
last_payment_amount: 0,
last_payment_date: 0001-01-01,
account_label: String,
insurance_label: String,
insurance_amount: 0,
insurance_rate: 0,
duration: 0,
type: String
}
}
],
state: String,
error: String,
error_message: String,
expire: 0001-01-01,
id_provider: 0,
id_bank: 0,
bank:
{
id: 0,
name: String,
hidden: False,
charged: False,
code: String,
beta: False,
color: String,
slug: String,
sync_periodicity: 0,
months_to_fetch: 0,
siret: String,
uuid: String,
restricted: False,
stability:
{
status: String,
lastUpdate: 0001-01-01
},
capabilities:
[
String
],
available_auth_mechanisms:
[
credentials
],
categories:
[
String
],
auth_mechanism: credentials,
account_types:
[
{
}
],
account_usage:
[
{
}
],
documents_type:
[
String
],
products:
[
{
}
]
},
connector_uuid: String,
informations: {}
},
push_type: String,
id_webhook_data: 0
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { version: { major: 0, minor: 0, build: -1, revision: -1, majorRevision: -1, minorRevision: -1 }, content: { __type: "System.Net.Http.EmptyContent, System.Net.Http", headers: [] }, statusCode: Continue, reasonPhrase: String, headers: [], trailingHeaders: [], requestMessage: { version: { major: 0, minor: 0, build: -1, revision: -1, majorRevision: -1, minorRevision: -1 }, versionPolicy: RequestVersionOrLower, method: { method: GET }, headers: [], properties: {}, options: {} }, isSuccessStatusCode: False }