Fatura HTML - HTML
GET https://webservis.ekupbilisim.com/api/outsource/invoice/{UUID}/html
Faturaya ait HTML görüntüsünü almak için kullanılan API uç noktası. Bu uç nokta, UUID bilgisi ile faturanın HTML formatında görselleştirilmiş halini döner.
Bu servis direkt olarak HTML formatında veri döner.
Üst Bilgi (Header) Parametreleri
Authorization string required
Bearer token ile kimlik doğrulama yapılmalıdır.
İstek ( Query ) Parametreleri
uuid guid required
Fatura UUID bilgisi. Bu UUID, fatura gönderim veya gelen belgelerden alınabilir.
Cevaplar ( Responses )
200
OK
HTML içeriği döner. Content-Type: text/html
401
Unauthorized
{
"error": 1,
"message": "e-Posta veya şifre hatalı."
}404
Not Found
{
"error": 1,
"message": "The route api/outsource/auth/login1 could not be found."
}422
Unprocessable Entity
{
"error": 1,
"message": "Form verileri ile ilgili sorun mevcut, lütfen verileri kontrol ediniz",
"fields": {
"password": [
"password zorunludur."
]
}
}500
Server Error
{
"error": 1,
"message": "Sunucu Hatası"
}Örnek İstek ( Curl )
curl -X GET --location 'https://webservis.ekupbilisim.com/api/outsource/invoice/{UUID}/html' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: ••••••'