Items
GetItemsIntegrationCode
Request Body (JSON)
{ "branch": "c19890fa-7c2f-49f9-8a8b-80f2daf06657"}
| Field | Type | Required | Description |
|---|---|---|---|
| branch | string | ✅ | Şube GUID bilgisi |
📤 Response
✅ Success Response (200)
{ "ResultCode": 200, "Data": [ { "ItemId": 1, "ItemName": "Amuse Bouche", "ItemNo": 11001, "Type": "MenuItem", "IntegrationCode": "" } ], "ResultMessage": "OK"}
📊 Response Fields
Root
| Field | Type | Description |
|---|---|---|
| ResultCode | int | İşlem sonucu (200 = OK) |
| Data | array | Ürün listesi |
| ResultMessage | string | Açıklama |
Data Object
| Field | Type | Description |
|---|---|---|
| ItemId | int | Ürün ID |
| ItemName | string | Ürün adı |
| ItemNo | int | Ürün numarası |
| Type | string | Ürün tipi (MenuItem / Condiment) |
| IntegrationCode | string | Entegrasyon kodu (boş olabilir) |
⚠️ Notlar
-
IntegrationCodeboş olan ürünler henüz eşleştirilmemiş ürünlerdir. -
Bu endpoint genelde mapping öncesi ürünleri çekmek için kullanılır.
-
Menü item ve condiment birlikte gelir → entegrasyon tarafında ayırman gerekebilir.
POST
GetItemsIntegrationCode
Authorizations
GetToken servisinden dönen, 1 gün geçerli oturum token'ı. Diğer tüm servisler için zorunludur.
Body
application/json
Example:
"{{branch}}"
