Türkçe
cURL
curl --request POST \ --url https://app.azalt.co/api/v1/sites/import \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "csvContent": "<string>", "organizationId": "<string>" } '
{ "success": 123, "failed": 123, "errors": [ "<string>" ], "logs": [ "<string>" ] }
CSV dosyasından tesisleri toplu olarak oluşturur.
CSV içeriği:
Çoklu tesis eklemelerinde hızlı kurulum sağlar; site manager yetkisi gerekir.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response