action biapi_post_users_id_user_connections {
label: "Add a new connection."
description: "Create a new connection to a given bank or provider. You have to give all needed parameters (use /banks/ID/fields or /providers/ID/fields to get them).
"
provider: biapi
method: POST
path: "/users/{id_user}/connections"
encoding: json
input: {
type: "object"
properties: {
expand: {
type: "string"
}
id_user: {
type: "string"
}
source: {
type: "string"
}
}
required: ["id_user"]
additionalProperties: false
}
output: {
type: "object"
required: ["active", "id", "id_connector"]
properties: {
active: {
type: "boolean"
description: "This connection is active and will be automatically synced"
}
created: {
type: "string"
format: "date-time"
description: "Creation date"
}
id: {
type: "integer"
description: "ID of connection"
}
id_connector: {
type: "integer"
description: "ID of the related connector"
}
id_user: {
type: "integer"
description: "ID of the related user"
}
last_push: {
type: "string"
format: "date-time"
description: "Last successful push"
}
last_update: {
type: "string"
format: "date-time"
description: "Last successful update"
}
next_try: {
type: "string"
format: "date-time"
description: "Date of next synchronization"
}
}
}
}