e-Bilet

Etkinlik e-Bileti

Etkinlik Request Örnekleri

Etkinlik bileti oluşturma ve işlem çağrıları için tam endpoint ve body sözleşmesiyle sunulan kopyalanabilir JSON request örnekleri.

Tam Oluşturma Örneği

Yurt içi bir etkinlik için eksiksiz bilet oluşturma isteği.

Endpoint: POST /api/EventTicket/EventTicketSave
Body: EventTicketRequestModel (JSON)

{
  "IsCancel": false,
  "CancelDate": null,
  "TicketNumber": null,
  "LocationCode": "EVT",
  "TicketExternalNumber": "ERP-EV-20260802-0001",
  "TicketPnrNo": "EV-PNR-0001",
  "TicketReferenceNumber": null,
  "UUId": null,
  "TicketModDate": "2026-08-02T14:30:00+03:00",
  "EventDate": "2026-09-10T20:00:00+03:00",
  "EventName": "Örnek Konser",
  "EventLocation": "Örnek Açıkhava",
  "IsEventForeign": false,
  "City": "İstanbul",
  "CitySubDivision": "Şişli",
  "LocationCityCode": 34,
  "LocationCityHall": "İstanbul Büyükşehir Belediyesi",
  "LocationDescription": "Şişli",
  "OrganizerTaxOrId": "1234567890",
  "TicketBuyerName": "Örnek Alıcı",
  "TicketBuyerTaxOrId": "11111111111",
  "SeatNumber": "A-12",
  "ServiceType": "DIGER",
  "PaymentType": "KREDIKARTI",
  "Cash": 0.00,
  "CreditCard": 1320.00,
  "PromoCash": 0.00,
  "TicketFee": 1000.00,
  "TicketVatAmount": 100.00,
  "TicketTotalFee": 1100.00,
  "ExtraServiceFee": 200.00,
  "ExtraServiceVatRate": 10.00,
  "ExtraServiceVatAmount": 20.00,
  "ExtraServiceTotal": 220.00,
  "FeesTotal": 1200.00,
  "VatAmountTotal": 120.00,
  "OtherTaxCode": null,
  "OtherTaxName": null,
  "OtherTaxAmount": 0.00,
  "GrandTotal": 1320.00,
  "IsCustomer": false,
  "CustomerName": null,
  "CustomerTaxOffice": null,
  "CustomerTaxOrId": null,
  "BranchCode": "IST01",
  "BranchName": "İstanbul Şubesi",
  "TicketDescription": "A kategori etkinlik bileti",
  "MailTo": "ornek@example.com",
  "XsltFileName": null,
  "CustomField1": null,
  "CustomField2": null,
  "CustomField3": null
}

İptal ve Durum

POST /api/EventTicket/CancelEventTicket?ticketNumber=EVT2026000000001
POST /api/EventTicket/GetEventTicketStatus?ticketNumber=EVT2026000000001