Skip to main content
GET
/
api
/
supplier-exchanges
/
{planId}
/
export
Export supplier exchange plan as Excel
curl --request GET \
  --url https://app.solya.app/api/supplier-exchanges/{planId}/export \
  --header 'Authorization: Bearer <token>'
"Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\nContent-Disposition: attachment; filename=exchange-<planId>-2025-05-23.xlsx"

Authorizations

Authorization
string
header
required

User session token issued by NextAuth. For human users accessing Solya via the web application.

Path Parameters

planId
string<uuid>
required

UUID of the supplier exchange plan to export

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Response

Successful response

data
string
required

Binary XLSX workbook

success
enum<boolean>
required
Available options:
true