POST api/Workrequests
Sistemde yeni bir iş talebi (Work Request) oluşturur. Gönderilen model parametrelerine göre yetki kontrollerini yapar, öncelik seçimine göre SLA (müdahale/çözüm) sürelerini hesaplar ve kaydı tamamlar.
Request Information
URI Parameters
None.
Body Parameters
Yeni oluşturulacak iş talebine ait tüm detayları içeren veri modeli.
CreateWorkRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Priority |
Talebin öncelik derecesi 1, 2 veya 3 olabilir ("STANDART Mavi=1", "ACİL Turuncu=2", "KRİTİK Kırmızı=3") |
integer |
None. |
| Integrationcode |
İş talebinin entegrasyon kodudur. 3.parti yazılımlar veya sistemlerle entegrasyon için kullanılan alandır. (İsteğe bağlı, boş gönderilebilir) |
string |
String length: inclusive between 0 and 20 |
| Projectid |
Talebin açılacağı Projenin ID değeri. Eğer bilinmiyorsa 0 gönderilip 'Projectintegrationcode' doldurulmalıdır. |
integer |
None. |
| Projectintegrationcode |
Projenin entegrasyon kodudur. 3.parti yazılımlar veya sistemlerle entegrasyon için kullanılan alandır. Projectid = 0 ise sistem bu kod üzerinden Proje ID'sini bulur. |
string |
String length: inclusive between 0 and 20 |
| Locationid |
Talebin ait olduğu Lokasyonun ID değeri. Eğer bilinmiyorsa 0 gönderilip 'Locationintegrationcode' doldurulmalıdır. |
integer |
None. |
| Locationintegrationcode |
Lokasyonun entegrasyon kodudur. 3.parti yazılımlar veya sistemlerle entegrasyon için kullanılan alandır. Locationid = 0 ise sistem bu kod üzerinden Lokasyon ID'sini bulur. |
string |
String length: inclusive between 0 and 50 |
| Locationdescription |
Lokasyonun detayı, kat, oda veya yönlendirme tarifi. (İsteğe bağlı, boş gönderilebilir) |
string |
String length: inclusive between 0 and 2000 |
| Reasonid |
İş talep nedeni ID'si (api/Categories?Type=1 metodunu kullanarak listeye erişebilirsiniz). |
integer |
None. |
| Categoryid |
İş kategorisi ID'si (api/Categories?Type=2 metodunu kullanarak listeye erişebilirsiniz). |
integer |
None. |
| Requesterusertypeid |
Talebi yapan kullanıcının türü 1 veya 2 olabilir. ("TEKNİK KADRO=1", "MÜŞTERİ=2"). |
integer |
None. |
| Requesterdetail |
Talebi yapan kişi ya da müşteri bilgisi (adsoyad veya mağaza adı yazılabilir). |
string |
String length: inclusive between 0 and 250 |
| Problemdetail |
İş talebinin açıklaması. Bu alan, iş talebinin ne olduğunu, hangi sorunu çözmeyi amaçladığını belirtmek için kullanılır. |
string |
None. |
| Desireddate |
İşin yapılması istenen planlanan tarih ve saat bilgisi. (İsteğe bağlı boş gönderilebilir, ancak dolu ise FORMAT: yyyy-MM-dd HH:mm şeklinde olmalıdır) |
date |
None. |
Request Formats
application/json, text/json
{
"Priority": 1,
"Integrationcode": "sample string 2",
"Projectid": 3,
"Projectintegrationcode": "sample string 4",
"Locationid": 5,
"Locationintegrationcode": "sample string 6",
"Locationdescription": "sample string 7",
"Reasonid": 8,
"Categoryid": 9,
"Requesterusertypeid": 10,
"Requesterdetail": "sample string 11",
"Problemdetail": "sample string 12",
"Desireddate": "2026-06-03T03:40:42.8259477+03:00"
}
application/xml, text/xml
<CreateWorkRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IntegroV6API"> <Categoryid>9</Categoryid> <Desireddate>2026-06-03T03:40:42.8259477+03:00</Desireddate> <Integrationcode>sample string 2</Integrationcode> <Locationdescription>sample string 7</Locationdescription> <Locationid>5</Locationid> <Locationintegrationcode>sample string 6</Locationintegrationcode> <Priority>1</Priority> <Problemdetail>sample string 12</Problemdetail> <Projectid>3</Projectid> <Projectintegrationcode>sample string 4</Projectintegrationcode> <Reasonid>8</Reasonid> <Requesterdetail>sample string 11</Requesterdetail> <Requesterusertypeid>10</Requesterusertypeid> </CreateWorkRequestModel>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
HTTP 201 Created durum kodu döner ve gövdede (Response Body) yeni oluşturulan talebin benzersiz ID bilgisini içerir.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |