Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
application/json
Response
Returns the generated export status
curl --request POST \
--url https://app.pennylane.com/api/external/v2/exports/fecs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"period_start": "2023-08-30",
"period_end": "2023-08-30"
}'
{
"id": 124,
"status": "pending",
"created_at": "2023-08-30T10:08:08.146343Z",
"updated_at": "2023-08-30T10:08:08.146343Z"
}
This endpoint allows you to create a FEC export
ℹ️ This endpoint requires one of the following scopes:
exports:fec
curl --request POST \
--url https://app.pennylane.com/api/external/v2/exports/fecs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"period_start": "2023-08-30",
"period_end": "2023-08-30"
}'
{
"id": 124,
"status": "pending",
"created_at": "2023-08-30T10:08:08.146343Z",
"updated_at": "2023-08-30T10:08:08.146343Z"
}
The access token received from the authorization server in the OAuth 2.0 flow.
Returns the generated export status
Was this page helpful?