> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://ops-apidoc.hugin.co/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://ops-apidoc.hugin.co/_mcp/server.

# Get Case

GET https://ops-test.hugin.com.tr/api/v1/cases/48

# Get Case by ID - Talep Sorgulama

Talep takip numarası ile talebin durumunu ve detaylarını sorgular.

## Path Parameters

| Parametre | Tip | Açıklama |
|-----------|-----|----------|
| `caseId` | int | Talep takip numarası |

## Response Fields

| Alan | Tip | Açıklama |
|------|-----|----------|
| `caseId` | int | Talep takip numarası |
| `fiscalId` | string | Cihaz mali sicil numarası |
| `terminalId` | string | Banka terminal numarası |
| `merchantId` | string | Banka üye işyeri numarası |
| `subject` | string | Talep konusu |
| `detail` | string | Talep ayrıntısı |
| `caseType` | string | Talep tipi |
| `status` | string | Talep durumu (Bkz: Talep Durumları) |
| `resolution` | string | Talep çözümü (versiyon yüklemelerde versiyon kodu) |
| `createDate` | datetime | Talep oluşturma tarihi |
| `appointmentDate` | datetime | Randevu tarihi |
| `lastUpdate` | datetime | Talep son güncelleme tarihi |
| `ownerName` | string | Talep sahibi teknisyen adı |
| `ownerPhone` | string | Talep sahibinin telefon numarası |
| `resolutionId` | string | Çözüm kodu (Bkz: Çözüm Değerleri) |
| `appointmentDetailId` | string | Randevu konusu (Bkz: Randevu Değerleri) |
| `deviceBrand` | string | Yazarkasa markası (GMP3) |
| `deviceModel` | string | Yazarkasa modeli (GMP3) |
| `isGmp3` | boolean | GMP3 cihazı mı? (GMP3) |

## Talep Durumları

| Durum | Açıklama |
|-------|----------|
| `New` | Yeni |
| `In Progress` | İşlemde |
| `Closed` | Kapalı |
| `Cancelled` | İptal |
| `Failed` | Başarısız Kapama |

## Notlar

- Talep ile ilgilenen servisin eklediği sabit çözüm değeri gösterilir
- Talep ile ilgili randevu tarihi dönülür


Reference: https://ops-apidoc.hugin.co/hugin-ops-api/cases/get-case

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Response

### 200

OK

- `status` (string, required)
- `data` (object, required)
  - `caseId` (integer, required)
  - `fiscalId` (string, required)
  - `terminalId` (string, required)
  - `merchantId` (string, required)
  - `subject` (string, required)
  - `detail` (string, required)
  - `caseType` (string, required)
  - `caseStatus` (string, required)
  - `resolution` (string, required)
  - `createDate` (datetime, required)
  - `lastUpdate` (datetime, required)
  - `ownerName` (string, required)
  - `ownerPhone` (string, required)
  - `deviceBrand` (string, required)
  - `deviceModel` (string, required)
  - `isGmp3` (boolean, required)
  - `appointmentDate` (any, optional)
- `metadata` (object, required)
  - `instance` (string, required)
  - `timestamp` (datetime, required)

## Errors

### 401 Unauthorized Error

Unauthorized

- `status` (string, required)
- `error` (object, required)
  - `code` (string, required)
  - `title` (string, required)
  - `description` (string, required)
- `metadata` (object, required)
  - `instance` (string, required)
  - `timestamp` (datetime, required)

### 404 Not Found Error

Not Found

- `status` (string, required)
- `error` (object, required)
  - `code` (string, required)
  - `title` (string, required)
  - `description` (string, required)
- `metadata` (object, required)
  - `instance` (string, required)
  - `timestamp` (datetime, required)

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "status": "SUCCESS",
  "data": {
    "caseId": 456,
    "fiscalId": "FP123456789",
    "terminalId": "TRM987654321",
    "merchantId": "MRC123456789",
    "subject": "Terminal Connectivity Issue",
    "detail": "The terminal intermittently loses connection to the bank server during transactions.",
    "caseType": "Technical Support",
    "caseStatus": "In Progress",
    "resolution": "Device replaced",
    "createDate": "2024-01-15T10:00:00Z",
    "lastUpdate": "2024-01-20T15:30:00Z",
    "ownerName": "Ahmet Yılmaz",
    "ownerPhone": "+905321234567",
    "deviceBrand": "GMP3",
    "deviceModel": "GMP3-2023X",
    "isGmp3": true,
    "appointmentDate": null
  },
  "metadata": {
    "instance": "/cases/456",
    "timestamp": "2025-07-02T14:40:10+03:00"
  }
}
```

**SDK Code**

```python Success - Case Found
import requests

url = "https://ops-test.hugin.com.tr/api/v1/cases/48"

payload = {}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.get(url, json=payload, headers=headers)

print(response.json())
```

```javascript Success - Case Found
const url = 'https://ops-test.hugin.com.tr/api/v1/cases/48';
const options = {
  method: 'GET',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Success - Case Found
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://ops-test.hugin.com.tr/api/v1/cases/48"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("GET", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Success - Case Found
require 'uri'
require 'net/http'

url = URI("https://ops-test.hugin.com.tr/api/v1/cases/48")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{}"

response = http.request(request)
puts response.read_body
```

```java Success - Case Found
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://ops-test.hugin.com.tr/api/v1/cases/48")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

```php Success - Case Found
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://ops-test.hugin.com.tr/api/v1/cases/48', [
  'body' => '{}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Success - Case Found
using RestSharp;

var client = new RestClient("https://ops-test.hugin.com.tr/api/v1/cases/48");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Success - Case Found
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://ops-test.hugin.com.tr/api/v1/cases/48")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```