Info
Welcome to the generated API reference.
0-Start
user-login
H2O müşteri paneli işlemleri için OTP ile token almanızı sağlar. İki aşamalıdır birinci aşamada telefon numarası yollanır ve sms ile kod gönderilmesi sağlanır. İkinci aşamada sms_code yollanır ve pin doğrulamasından sonra User methodları için Access_token alınır.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/user-login" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"phone_number":"username@Eventpay.com","sms_code":"123456","token":"quo"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/user-login");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"phone_number": "username@Eventpay.com",
"sms_code": "123456",
"token": "quo"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST user-login
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| phone_number | string | required | Mail adresiniz |
| sms_code | string | required | Giriş şifreniz |
| token | string | optional | Agent urlden gelen kullanıcı için Token değeri. |
admin-login
H2O admin paneli işlemleri için OTP ile token almanızı sağlar. İki aşamalıdır birinci aşamada telefon numarası yollanır ve sms ile kod gönderilmesi sağlanır. İkinci aşamada sms_code yollanır ve pin doğrulamasından sonra Admin methodları için Access_token alınır.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/admin-login" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"phone_number":"username@Eventpay.com","sms_code":"123456"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/admin-login");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"phone_number": "username@Eventpay.com",
"sms_code": "123456"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST admin-login
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| phone_number | string | required | Mail adresiniz |
| sms_code | string | required | Giriş şifreniz |
product-list
H2O ürünlerini listeler.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/product-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"search_value":"possimus","campaign_id":"quos"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/product-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"search_value": "possimus",
"campaign_id": "quos"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST product-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| search_value | string | optional | Arama parametresicom |
| campaign_id | string | optional | Kampanyalı fiyatlarıda ekler |
location-list
Adres oluşturmak için gerekli İL - İLÇE - MAHALLE id lerini getirir.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/location-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"type":"quidem","location_id":"dignissimos","search_value":"officia"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/location-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"type": "quidem",
"location_id": "dignissimos",
"search_value": "officia"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST location-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| type | required | optional | string Liste türünü belirler. TYPES: cities,districts,quarters |
| location_id | string | optional | Alt birimlerilistelencek Lokasyon id |
| search_value | string | optional | Arama parametresi |
terms-list
Site genelinde gösterilecek izin ve sözleşmeleri getirir.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/terms-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"search_value":"ipsam"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/terms-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"search_value": "ipsam"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST terms-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| search_value | string | optional |
campaign-get
Slug parametresinden kampanya detayını getirir.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/campaign-get" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"slug":"pariatur"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/campaign-get");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"slug": "pariatur"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST campaign-get
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| slug | required | optional | string Liste türünü belirler. TYPES: cities,districts,quarters |
user-check
Telefon numarasından kullanıcının kayıtlı olup olmadığını kontrol eder.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/user-check" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"phone_number":"username@Eventpay.com"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/user-check");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"phone_number": "username@Eventpay.com"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST user-check
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| phone_number | string | required | Mail adresiniz |
1-User
auth3d-callback
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/auth3d-callback" \
-H "Access-token: {token}"
const url = new URL("https://devapisuaritma.arcelik.com.tr/auth3d-callback");
let headers = {
"Access-token": "{token}",
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST auth3d-callback
u-get-me
Kullanıcının detayını getirir.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/u-get-me" \
-H "Access-token: {token}"
const url = new URL("https://devapisuaritma.arcelik.com.tr/u-get-me");
let headers = {
"Access-token": "{token}",
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST u-get-me
u-update-me
Kullanıcının detayını günceller.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/u-update-me" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"name":9,"surname":15,"email":3,"tcno":16,"bithday":12}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/u-update-me");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"name": 9,
"surname": 15,
"email": 3,
"tcno": 16,
"bithday": 12
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST u-update-me
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| name | integer | required | ... |
| surname | integer | required | ... |
| integer | required | ... | |
| tcno | integer | required | ... |
| bithday | integer | required | ... |
u-address-express
address_id ile gönderilen adresin detayını getirir.
address_id ile gönderilen parametreleri günceller. address_id yoksa yeni adres oluşturur varsa günceller.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/u-address-express" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"address_id":5,"city_id":2,"district_id":5,"quarter_id":4,"address_title":"asperiores","address_description":"tempora","address":"amet","building_number":7,"door_number":20,"floor":12,"postal_code":10,"longitude":"ullam","latitude":"ea"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/u-address-express");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"address_id": 5,
"city_id": 2,
"district_id": 5,
"quarter_id": 4,
"address_title": "asperiores",
"address_description": "tempora",
"address": "amet",
"building_number": 7,
"door_number": 20,
"floor": 12,
"postal_code": 10,
"longitude": "ullam",
"latitude": "ea"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST u-address-express
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| address_id | integer | optional | ... |
| city_id | integer | required | ... |
| district_id | integer | required | ... |
| quarter_id | integer | required | ... |
| address_title | string | required | ... |
| address_description | string | required | ... |
| address | string | required | ... |
| building_number | integer | required | ... |
| door_number | integer | required | ... |
| floor | integer | required | ... |
| postal_code | integer | required | ... |
| longitude | string | required | Harita Boylam |
| latitude | string | required | Harita Enlem |
u-address-list
Kullanıcıların adreslerini listeler.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/u-address-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"search_value":"cupiditate"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/u-address-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"search_value": "cupiditate"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST u-address-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| search_value | string | optional | Arama parametresi |
u-lead-express
address_id ye bağlı açık lead detayını getirir, address_id ile gönderilen parametreleri günceller. address_id yoksa yeni lead oluşturur.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/u-lead-express" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"address_id":12,"lead_type":13,"price_ids":"cupiditate","prerequisites":"illum","is_self_service":16,"campaign_id":1}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/u-lead-express");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"address_id": 12,
"lead_type": 13,
"price_ids": "cupiditate",
"prerequisites": "illum",
"is_self_service": 16,
"campaign_id": 1
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST u-lead-express
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| address_id | integer | required | ... |
| lead_type | integer | required | ... 1.bireyse 2.kurumsal |
| price_ids | json | required | ... [86] |
| prerequisites | json | required | ... [1,1] |
| is_self_service | integer | optional | nullable Self servisi iptalekmek için 1 gönderilir. |
| campaign_id | integer | optional | Kampanya ID |
u-lead-findex
Findex punanını hesaplar ve lead'e kayıt eder. İlk aşamada tcno ve lead_id gönderilir. İkinci aşamada sms_pin, dogum_yili ve ilk istekde dönen token gönderilmelidir.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/u-lead-findex" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"lead_id":12,"tcno":15,"pin":14,"dogum_yili":7,"token":20}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/u-lead-findex");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"lead_id": 12,
"tcno": 15,
"pin": 14,
"dogum_yili": 7,
"token": 20
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST u-lead-findex
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| lead_id | integer | required | ... |
| tcno | integer | required | ... |
| pin | integer | required | ... |
| dogum_yili | integer | required | ... |
| token | integer | required | ... |
u-subs-express
lead_id uygunsa sözleşmeyi başlatır..
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/u-subs-express" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"lead_id":3,"terms_ids":"consequatur","card_id":1,"is_delete":10}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/u-subs-express");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"lead_id": 3,
"terms_ids": "consequatur",
"card_id": 1,
"is_delete": 10
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST u-subs-express
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| lead_id | integer | required | ... |
| terms_ids | json | required | ... |
| card_id | integer | required | ... |
| is_delete | integer | optional | Eğer 1 ise onay aşamasındaki aboneliği siler ... |
u-subs-list
Aktif sözleşmeleri listeler.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/u-subs-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"search_value":"itaque","user_id":15,"campaign_id":14,"product_id":13,"status":19,"start_date":"rem","finish_date":"expedita"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/u-subs-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"search_value": "itaque",
"user_id": 15,
"campaign_id": 14,
"product_id": 13,
"status": 19,
"start_date": "rem",
"finish_date": "expedita"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST u-subs-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| search_value | string | optional | Arama parametresi |
| user_id | integer | optional | ... |
| campaign_id | integer | optional | ... |
| product_id | integer | optional | ... |
| status | integer | optional | ... |
| start_date | date | optional | date_format:Y-m-d |
| finish_date | date | optional | date_format:Y-m-d |
u-subs-get
Sözleşme detayını getirir.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/u-subs-get" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"subs_id":"eligendi"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/u-subs-get");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"subs_id": "eligendi"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST u-subs-get
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| subs_id | string | required | Abone Sözleşme ID |
u-card-express
Kullanıcıya kartı ekler
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/u-card-express" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"alias":15,"number":12,"holder_name":2,"expire_month":15,"expire_year":20,"cvv":3,"card_id":4,"is_delete":13}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/u-card-express");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"alias": 15,
"number": 12,
"holder_name": 2,
"expire_month": 15,
"expire_year": 20,
"cvv": 3,
"card_id": 4,
"is_delete": 13
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST u-card-express
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| alias | integer | required | ... |
| number | integer | required | ... |
| holder_name | integer | required | ... |
| expire_month | integer | required | ... |
| expire_year | integer | required | ... |
| cvv | integer | required | ... |
| card_id | integer | required | ... |
| is_delete | integer | required | ... |
u-card-list
Kullanıcının kartlarını listeler
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/u-card-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"search_value":"doloribus"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/u-card-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"search_value": "doloribus"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST u-card-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| search_value | string | optional | ... |
u-payment-list
Yapılan ve denenen ödemeleri getirir.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/u-payment-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"subs_id":5,"period_id":2}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/u-payment-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"subs_id": 5,
"period_id": 2
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST u-payment-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| subs_id | integer | optional | Arama parametresi |
| period_id | integer | optional | Arama parametresi |
u-ticket-express
1- ticket_id boş ve message varsa yeni ticket oluşturur.
2- ticket_id varsa ve message varsa yeni ticket'a mesaj olarak ekler.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/u-ticket-express" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"message":"nihil","ticket_id":6,"subs_id":13,"type":13}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/u-ticket-express");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"message": "nihil",
"ticket_id": 6,
"subs_id": 13,
"type": 13
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST u-ticket-express
Body Parameters
| Parameter | Type | Status | Description | |
|---|---|---|---|---|
| message | text | optional | sometimes | required mesaj yoksa ticket detayını getirir ... |
| ticket_id | integer | optional | ID yoksa yeni ticket oluşturur. | |
| subs_id | integer | optional | required_without:ticket_id ... | |
| type | integer | optional | required_without:ticket_id ... |
u-ticket-list
Kullanıcının destek taleplerini listeler.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/u-ticket-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"search_value":"illo"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/u-ticket-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"search_value": "illo"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST u-ticket-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| search_value | string | optional | Arama parametresi |
u-notification-list
Kullanıcıya giden bildirimleri listeler.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/u-notification-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"search_value":"non","type":"vero","is_read_all":"sed"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/u-notification-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"search_value": "non",
"type": "vero",
"is_read_all": "sed"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST u-notification-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| search_value | string | optional | Arama parametresi |
| type | string | optional | ... |
| is_read_all | string | optional | bildirimleri okundu oalrak işaretler |
u-period-express
Sözleşme periodunun detayıonı getirir veya ödemesini manuel şekilde yapılmasını sağlar.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/u-period-express" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"period_id":5,"is_payment_request":8}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/u-period-express");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"period_id": 5,
"is_payment_request": 8
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST u-period-express
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| period_id | integer | required | Ödemesi yapılmak istenen period ID değeri |
| is_payment_request | integer | optional | 1 ise Ödemeyi tanımlı karttan alır |
a-admin-list
Yönecileri listeler
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-admin-list" \
-H "Access-token: {token}"
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-admin-list");
let headers = {
"Access-token": "{token}",
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-admin-list
a-admin-express
Auth olmuş amini getirir. Ve ID veriilen kullanıcıyı getirir
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-admin-express" \
-H "Access-token: {token}"
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-admin-express");
let headers = {
"Access-token": "{token}",
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-admin-express
a-user-list
Abonelikleri olan kullanıcıları listeler.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-user-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"search_value":"facilis"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-user-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"search_value": "facilis"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-user-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| search_value | string | optional | Arama parametresi |
a-lead-list
Admin için Lead kayıtlarını listeler.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-lead-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"search_value":"ducimus","user_id":"hic"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-lead-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"search_value": "ducimus",
"user_id": "hic"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-lead-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| search_value | string | optional | Arama parametresi |
| user_id | string | optional | ... |
a-subs-list
Admin için abonelikleri listeler.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-subs-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"search_value":"et","user_id":"eum"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-subs-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"search_value": "et",
"user_id": "eum"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-subs-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| search_value | string | optional | Arama parametresi |
| user_id | string | optional | ... |
a-subs-get
Admin için sözleşme detayını getirir
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-subs-get" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"subs_id":"quia"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-subs-get");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"subs_id": "quia"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-subs-get
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| subs_id | string | required | Abone Sözleşme ID |
a-subs-express
lead_id uygunsa sözleşmeyi başlatır..
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-subs-express" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"subs_id":"voluptatum","is_test":6}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-subs-express");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"subs_id": "voluptatum",
"is_test": 6
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-subs-express
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| subs_id | string | required | Abone Sözleşme ID |
| is_test | integer | optional | ... |
a-ticket-list
Kullanıcıların destek taleplerini listeler.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-ticket-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"search_value":"praesentium","type":"pariatur","user_id":"a"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-ticket-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"search_value": "praesentium",
"type": "pariatur",
"user_id": "a"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-ticket-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| search_value | string | optional | Arama parametresi |
| type | string | optional | ... |
| user_id | string | optional | ... |
a-ticket-express
Ticket'a mesaj olarak ekler.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-ticket-express" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"ticket_id":17,"message":"labore"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-ticket-express");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"ticket_id": 17,
"message": "labore"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-ticket-express
Body Parameters
| Parameter | Type | Status | Description | |
|---|---|---|---|---|
| ticket_id | integer | optional | ID yoksa yeni ticket oluşturur. | |
| message | text | optional | sometimes | required mesaj yoksa ticket detayını getirir ... |
a-order-list
Diğer ödeme kayıtlarını listeler.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-order-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"type":18,"subs_id":11,"user_id":2}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-order-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"type": 18,
"subs_id": 11,
"user_id": 2
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-order-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| type | integer | optional | ... |
| subs_id | integer | optional | ... |
| user_id | integer | optional | ... |
a-order-express
Ödeme talebinin detayını getirir, Ödeme oluşturur, Ödemeyi tahisil eder.
.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-order-express" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"order_id":14,"subs_id":3,"type":18,"amount":18,"is_delete":7,"is_payment_request":13}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-order-express");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"order_id": 14,
"subs_id": 3,
"type": 18,
"amount": 18,
"is_delete": 7,
"is_payment_request": 13
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-order-express
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| order_id | integer | required | ... |
| subs_id | integer | optional | ... |
| type | integer | optional | ... |
| amount | integer | optional | ... |
| is_delete | integer | optional | ... |
| is_payment_request | integer | optional | ... |
a-wallet-list
Cüzdan işlemlerini listeler.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-wallet-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"type":15,"subs_id":13,"user_id":14}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-wallet-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"type": 15,
"subs_id": 13,
"user_id": 14
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-wallet-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| type | integer | optional | ... |
| subs_id | integer | optional | ... |
| user_id | integer | optional | ... |
a-order-express
Cüzdan'a ait işlem detayını getirir, bakiye yükler yada iade ekler.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-wallet-express" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"wallet_id":18,"amount":1,"is_refund":20}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-wallet-express");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"wallet_id": 18,
"amount": 1,
"is_refund": 20
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-wallet-express
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| wallet_id | integer | required | ... |
| amount | integer | optional | ... |
| is_refund | integer | optional | Default=0 |
a-user-express
Kullnıcının detayını günceller.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-user-express" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"user_id":9,"name":13,"surname":10,"email":12,"mobile_number":12}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-user-express");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"user_id": 9,
"name": 13,
"surname": 10,
"email": 12,
"mobile_number": 12
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-user-express
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| user_id | integer | required | ... |
| name | integer | optional | ... |
| surname | integer | optional | ... |
| integer | optional | ... | |
| mobile_number | integer | optional | ... |
a-product-express
Ürün detayını getirir veya günceller.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-product-express" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"product_id":17,"name":"veritatis","surname":"commodi","status":5,"description":"est","image":"quae"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-product-express");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"product_id": 17,
"name": "veritatis",
"surname": "commodi",
"status": 5,
"description": "est",
"image": "quae"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-product-express
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| product_id | integer | required | ... |
| name | string | optional | ... |
| surname | string | optional | ... |
| status | integer | optional | ... |
| description | text | optional | ... |
| image | base64 | optional | ... |
a-address-list
Kullanıcıların adreslerini listeler.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-address-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"search_value":"sit","user_id":"enim"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-address-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"search_value": "sit",
"user_id": "enim"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-address-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| search_value | string | optional | Arama parametresi |
| user_id | string | optional | ... |
a-address-express
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-address-express" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"address_id":5}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-address-express");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"address_id": 5
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-address-express
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| address_id | integer | required | ... |
a-card-list
Kullanıcının kartlarını listeler
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-card-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"search_value":"illo","user_id":19}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-card-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"search_value": "illo",
"user_id": 19
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-card-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| search_value | string | optional | ... |
| user_id | integer | optional | ... |
a-notification-list
Kullanıcıya giden bildirimleri listeler.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-notification-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"search_value":"est","type":"voluptatem","user_id":"est"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-notification-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"search_value": "est",
"type": "voluptatem",
"user_id": "est"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-notification-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| search_value | string | optional | Arama parametresi |
| type | string | optional | ... |
| user_id | ineger | optional | ... |
a-term-list
Kullanılan sözleşme şablonlarını listeler.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-term-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"search_value":"non"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-term-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"search_value": "non"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-term-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| search_value | string | optional | Arama parametresi |
a-term-express
Sözleşme şablonu detayını günceller.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-term-express" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"term_id":14,"title":"quaerat","description":"esse","status":"consectetur","slug":"tempora","type":6,"required":12,"erp_code":"quaerat"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-term-express");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"term_id": 14,
"title": "quaerat",
"description": "esse",
"status": "consectetur",
"slug": "tempora",
"type": 6,
"required": 12,
"erp_code": "quaerat"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-term-express
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| term_id | integer | required | ... |
| title | string | optional | ... |
| description | string | optional | ... |
| status | string | optional | ... |
| slug | string | optional | ... |
| type | integer | optional | 0 or 1 ... |
| required | integer | optional | 0 or 1 ... |
| erp_code | string | optional | ... |
a-campaign-list
Kampanyaları listeler.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-campaign-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"search_value":"et"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-campaign-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"search_value": "et"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-campaign-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| search_value | string | optional | ... |
a-campaign-express
Kampanya ekler yada düzenler.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-campaign-express" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"campaign_id":2,"campaign_name":"modi","description":"facilis","discount_month":12,"discount_ratio":2,"type":14,"status":5}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-campaign-express");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"campaign_id": 2,
"campaign_name": "modi",
"description": "facilis",
"discount_month": 12,
"discount_ratio": 2,
"type": 14,
"status": 5
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-campaign-express
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| campaign_id | integer | optional | ... |
| campaign_name | text | optional | ... |
| description | text | optional | ... |
| discount_month | integer | optional | ... |
| discount_ratio | integer | optional | ... |
| type | integer | optional | ... |
| status | integer | optional | ... |
a-payment-list
Yapılan ve denenen ödemeleri getirir.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-payment-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"search_value":"vel","user_id":"tempore","subs_id":"laudantium","type":"alias"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-payment-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"search_value": "vel",
"user_id": "tempore",
"subs_id": "laudantium",
"type": "alias"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-payment-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| search_value | string | optional | Arama parametresi |
| user_id | string | optional | Arama parametresi |
| subs_id | string | optional | Arama parametresi |
| type | string | optional | monthly |
a-payment-future
Yapılması planlanan ödemeleri getirir.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-payment-future" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"user_id":"facere","subs_id":"laboriosam","type":"qui"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-payment-future");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"user_id": "facere",
"subs_id": "laboriosam",
"type": "qui"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-payment-future
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| user_id | string | optional | Arama parametresi |
| subs_id | string | optional | Arama parametresi |
| type | string | optional | monthly |
a-service-log-list
Servis loglarını getirir.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-service-log-list" \
-H "Access-token: {token}"
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-service-log-list");
let headers = {
"Access-token": "{token}",
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-service-log-list
a-service-log-express
Servis loglarının detayını getirir.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-service-log-express" \
-H "Access-token: {token}"
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-service-log-express");
let headers = {
"Access-token": "{token}",
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-service-log-express
a-location-import IPTAL
TDS skorlarının içeri aktarır @todo
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-location-import" \
-H "Access-token: {token}"
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-location-import");
let headers = {
"Access-token": "{token}",
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-location-import
a-dashboard-report
Admin paneli için özet rapor
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-dashboard-report" \
-H "Access-token: {token}"
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-dashboard-report");
let headers = {
"Access-token": "{token}",
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-dashboard-report
a-campaign-list
Kampanyaları listeler.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/a-card-manual-update" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"search_value":"est"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/a-card-manual-update");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"search_value": "est"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST a-card-manual-update
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| search_value | string | optional | ... |
a-admin-list
Yönecileri listeler
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/d-get-me" \
-H "Access-token: {token}"
const url = new URL("https://devapisuaritma.arcelik.com.tr/d-get-me");
let headers = {
"Access-token": "{token}",
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST d-get-me
d-user-list
Kullanıcıları listeler
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/d-user-list" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"search_value":"illum","phone_number":"iure"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/d-user-list");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"search_value": "illum",
"phone_number": "iure"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST d-user-list
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| search_value | string | optional | ... |
| phone_number | string | optional | ... |
u-user-invite
Kullanıcının detayını günceller.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/d-user-invite" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"name":4,"surname":7,"email":11,"tcno":9,"bithday":4}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/d-user-invite");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"name": 4,
"surname": 7,
"email": 11,
"tcno": 9,
"bithday": 4
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST d-user-invite
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| name | integer | required | ... |
| surname | integer | required | ... |
| integer | required | ... | |
| tcno | integer | required | ... |
| bithday | integer | required | ... |
Subscription Create
Bayi tarafından sözleşme oluşturulmasını sağlar. Eğer müşteri kayıtlı değilse önce müşteriye sms gönderilir.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/d-subs-create" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"user_id":7,"address_id":19,"city_id":19,"district_id":20,"quarter_id":4,"address_title":"voluptatem","address_description":"cumque","address":"laborum","building_number":2,"door_number":13,"floor":14,"postal_code":16,"longitude":"atque","latitude":"velit","price_ids":"nobis","lead_type":4,"prerequisites":"doloremque","findex_score":"eaque","birthday":"repellendus"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/d-subs-create");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"user_id": 7,
"address_id": 19,
"city_id": 19,
"district_id": 20,
"quarter_id": 4,
"address_title": "voluptatem",
"address_description": "cumque",
"address": "laborum",
"building_number": 2,
"door_number": 13,
"floor": 14,
"postal_code": 16,
"longitude": "atque",
"latitude": "velit",
"price_ids": "nobis",
"lead_type": 4,
"prerequisites": "doloremque",
"findex_score": "eaque",
"birthday": "repellendus"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST d-subs-create
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| user_id | integer | required | ... |
| address_id | integer | optional | ... |
| city_id | integer | required | ... |
| district_id | integer | required | ... |
| quarter_id | integer | required | ... |
| address_title | string | required | ... |
| address_description | string | required | ... |
| address | string | required | ... |
| building_number | integer | required | ... |
| door_number | integer | required | ... |
| floor | integer | required | ... |
| postal_code | integer | required | ... |
| longitude | string | required | Harita Boylam |
| latitude | string | required | Harita Enlem |
| price_ids | json | required | ... |
| lead_type | integer | required | ... |
| prerequisites | json | required | ... |
| findex_score | json | required | ... |
| birthday | json | required | ... |
u-subs-info
Sözleşme için kullanıcı detayı ve mevcut kampanyaları getirir.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/d-subs-info" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"user_id":15}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/d-subs-info");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"user_id": 15
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST d-subs-info
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| user_id | integer | required | ... |
3-Arc
Change Status
Abonelik durumunu günceller.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/api/subscription/changeStatus" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"subscriptionCode":"quaerat","userCode":"molestias","statusText":"expedita","startDate":"quae","endDate":"doloribus","actions":"excepturi"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/api/subscription/changeStatus");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"subscriptionCode": "quaerat",
"userCode": "molestias",
"statusText": "expedita",
"startDate": "quae",
"endDate": "doloribus",
"actions": "excepturi"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST api/subscription/changeStatus
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| subscriptionCode | string | optional | Abone ERP Kodu |
| userCode | string | required | Kullanıcı ERP Kodu |
| statusText | string | required | Durum Metni |
| startDate | date | required | ... |
| endDate | date | required | ... |
| actions | json | required | ... |
Start Subscription
Sales force üzerinden sözleşme oluşturur.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/api/agent/startSubscription" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"subscriptionCode":"iure","userCode":"voluptatibus","statusText":"assumenda","startDate":"autem","endDate":"temporibus","actions":"eum"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/api/agent/startSubscription");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"subscriptionCode": "iure",
"userCode": "voluptatibus",
"statusText": "assumenda",
"startDate": "autem",
"endDate": "temporibus",
"actions": "eum"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST api/agent/startSubscription
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| subscriptionCode | string | optional | Abone ERP Kodu |
| userCode | string | required | Kullanıcı ERP Kodu |
| statusText | string | required | Durum Metni |
| startDate | date | required | ... |
| endDate | date | required | ... |
| actions | json | required | ... |
Finis Subscription
Sales tarafından başlatılan sözleşmeyi sonuçlandırarak kullanıcıya bildirim gönderilmesini sağlar.
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/api/agent/finishSubscription" \
-H "Access-token: {token}" \
-H "Content-Type: application/json" \
-d '{"token":"aut","address_id":16,"city_id":20,"district_id":19,"quarter_id":15,"address_title":"praesentium","address_description":"aliquam","address":"commodi","building_number":6,"door_number":4,"floor":1,"postal_code":8,"longitude":"nulla","latitude":"placeat","price_ids":"voluptatum","lead_type":8,"prerequisites":"eius","findex_score":"sit","birthday":"incidunt"}'
const url = new URL("https://devapisuaritma.arcelik.com.tr/api/agent/finishSubscription");
let headers = {
"Access-token": "{token}",
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"token": "aut",
"address_id": 16,
"city_id": 20,
"district_id": 19,
"quarter_id": 15,
"address_title": "praesentium",
"address_description": "aliquam",
"address": "commodi",
"building_number": 6,
"door_number": 4,
"floor": 1,
"postal_code": 8,
"longitude": "nulla",
"latitude": "placeat",
"price_ids": "voluptatum",
"lead_type": 8,
"prerequisites": "eius",
"findex_score": "sit",
"birthday": "incidunt"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST api/agent/finishSubscription
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| token | string | required | ... |
| address_id | integer | optional | ... |
| city_id | integer | required | ... |
| district_id | integer | required | ... |
| quarter_id | integer | required | ... |
| address_title | string | required | ... |
| address_description | string | required | ... |
| address | string | required | ... |
| building_number | integer | required | ... |
| door_number | integer | required | ... |
| floor | integer | required | ... |
| postal_code | integer | required | ... |
| longitude | string | required | Harita Boylam |
| latitude | string | required | Harita Enlem |
| price_ids | json | required | ... |
| lead_type | integer | required | ... |
| prerequisites | json | required | ... |
| findex_score | json | required | ... |
| birthday | json | required | ... |
api/command
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/api/command" \
-H "Access-token: {token}"
const url = new URL("https://devapisuaritma.arcelik.com.tr/api/command");
let headers = {
"Access-token": "{token}",
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST api/command
api/remove-number
Example request:
curl -X POST "https://devapisuaritma.arcelik.com.tr/api/remove-number" \
-H "Access-token: {token}"
const url = new URL("https://devapisuaritma.arcelik.com.tr/api/remove-number");
let headers = {
"Access-token": "{token}",
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST api/remove-number