Gelen Belge - Inbox
GET https://webservis.ekupbilisim.com/api/outsource/despatch/list/inbox
Gelen irsaliyelerin listelendiği API uç noktası. Bu uç nokta, GİB'den gelen belgeleri listelemek için kullanılır.
Üst Bilgi (Header) Parametreleri
Authorization string required
Bearer token ile kimlik doğrulama yapılmalıdır.
İstek ( Query ) Parametreleri
start_date date required
Başlangıç tarihi. YYYY-MM-DD formatında olmalıdır.
end_date date required
Bitiş tarihi. YYYY-MM-DD formatında olmalıdır.
page int
Varsayılan 1'dir. Sayfalama için kullanılır.
Cevaplar ( Responses )
200
OK
{
'error': 0,
'message': 'İşlem başarıyla tamamlandı',
'extra': {
'list': [
{
'UUID': '0f100b37-8839-1111-a581-e466b4f630c5',
'number': 'EKB2025000232141',
'envelopeUUID': '06fcc58d-222-406c-8854-f8bbd77146fd',
'creationTime': '2025-08-05 17:35:21',
'alias': 'urn:mail:defaultgb@sender.com.tr',
'local_alias': 'urn:mail:irsakiyepk@receiver.com',
'ubl': 'BASE64 XML'
},
],
'limit': 25,
'total': 1,
'currentPage': 1,
'maxPage': 1
}
}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/despatch/list/inbox?start_date=YYYY-mm-dd&end_date=YYYY-mm-dd' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: ••••••'