Overview
Version information
Version : v1
URI scheme
Host : ${deployenv}.epias.com.tr
BasePath : /stp-orchestrator-trading-engine/rest
Schemes : HTTPS
Tags
-
bid
-
contract
-
contract-conf
-
contract-gate
-
contract-status
-
market-price
-
match
-
payment
-
trade-engine
-
trading
Döküman Hakkında
Bu dökümanda Piyasa Motoru Servislerin tanımları ve bu servislerin nasıl çağrılacağı anlatılmaktadır.
Döküman her sürümde güncellendiğinden test ve gerçek ortam içerisindeki servisler farklılık gösterebilir. Sürüm notlarını takip ediniz.
Değişiklikler
1.0.0 Servis tanımları
Uygulama Hakkında
Bu uygulama REST servisleri üzerine kuruludur. JSON ve XML isteklerini kabul eder ve gelen isteğe göre JSON yada XML cevap döner.
Uygulamayı çağırabilmek için DGPYS de kayıtlı bir kullanıcınız olmalı ve bu kullanıcının ilgili servisleri çağırabilmek için yeterli yetkisi olmalıdır. Uygulamaya gelen tüm istekler Merkezi Yetkilendirme Sunucusu’ndan (gerçek ortam için https://cas.epias.com.tr test ortamı için https://testcas.epias.com.tr) etiket alınarak gönderilmelidir.
Uygulama Servis Çağrımı
TGT (Ticket Granting Ticket) kullanıcının oturumunu kontrol eder. TGT Servisinden alacağınız değer 45 dakika boyunca kullanmasanız bile aktiftir. TGT değerini her kullanışınızda 45 dakikalık süre tekrar başlar.
TGT ile servisi çağırmanız mümkün değildir. Her servis çağrımında TGT üzerinden ST (Service Ticket) almanız gerekir. TGT tekrar kullanılabilen bir değerdir. Her istek için TGT almanıza gerek yoktur. Her istek için TGT almanız halinde CAS (Merkezi Yetkilendirme Sunucusu) tarafından bloke edilebilirsiniz.
Ticket Granting Ticket (TGT) Oluşturma
TGT oluşturmak için gerçek ortam https://cas.epias.com.tr/cas/v1/tickets?format=text yada test ortamı https://testcas.epias.com.tr/cas/v1/tickets?format=text adresine aşağıdaki değerleri POST metodu ile göndermeniz gerekmektedir. format parametresi aşağıdaki değerleri alır.
parametre | değer |
---|---|
xml |
xml response döner |
json |
json response döner |
text |
text response döner |
Gönderilen HTTP isteğinin header kısmında Content-Type ise aşağıdaki değerleri alabilir.
parametre | değer |
---|---|
xml |
application/xml |
json |
application/json |
text |
application/x-www-form-urlencoded |
parametre | değer |
---|---|
username |
Kullanıcı Adı |
password |
Şifre |
POST /cas/v1/tickets HTTP/1.1
Host: cas.epias.com.tr
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
username=KULLANICI_ADIM&password=ŞİFREM
Servisten HTTP 200 cevabını beklemelisiniz. Sonuç olarak aşağıdaki gibi bir örnek dönecektir.
TGT-237-U0TU0jUHLyOEIrdoDBEEf3AdRFAXGLifK2ITn4LoY3HfhstGtx-cas02.epias.com.tr
Service Ticket (ST) Oluşturma
ST oluşturmak için önce TGT alınmalıdır. TGT alındıktan sonra şu şekilde bir istek adresi oluşturulur. Gerçek ortam için https://cas.epias.com.tr/cas/v1/tickets/{TGT} test ortamı için https://testcas.epias.com.tr/cas/v1/tickets/{TGT} ST için xml veya JSON cevap alabilmeniz için url şu şekilde oluşturmalısınız.
https://cas.epias.com.tr/cas/v1/tickets/TGT-229-2hmcHafszagAAxtCh017nax1en3U9TouWeGvIrq9KbSbeKE9Zk-cas02.epias.com.tr?format=xml
<st>ST12312312312321</st>
https://cas.epias.com.tr/cas/v1/tickets/TGT-229-2hmcHafszagAAxtCh017nax1en3U9TouWeGvIrq9KbSbeKE9Zk-cas02.epias.com.tr?format=json
{"st":"ST12312312312321"}
parametre | değer |
---|---|
xml |
xml response döner |
json |
json response döner |
Bir servis için alınan ST başka bir servis için kullanılamaz. |
ST nin geçerlilik süresi 30 saniyedir. |
Uygulamanın servis adı gerçek ortam için https://stp.epias.com.tr test ortamı için app-preproduction |
https://cas.epias.com.tr/cas/v1/tickets/TGT-229-2hmcHafszagAAxtCh017nax1en3U9TouWeGvIrq9KbSbeKE9Zk-cas02.epias.com.tr
Bu adrese aşağıdaki parametreler POST metodu ile gönderilir.
parametre | değer |
---|---|
service |
test ortamı için https://stp.epias.com.tr gerçek ortam için https://teststp.epias.com.tr |
Sonuç olarak aşağıdaki cevap döner. Bu servisten HTTP 200 döndüğünde ST yi başarılı olarak almış olursunuz.
ST-29962-hSwyzWCP0xC0eRi0bmna-cas01.epias.com.tr
Uygulama Örnek Mesaj Yapısı
Servislerinin standart bir mesaj yapısı bulunmaktadır. Gönderdiğiniz tüm isteklerde bu formata uygun veri göndermelisiniz.
Öncelikle her isteğin HTTP header alanına aşağıdaki değerleri eklemelisiniz.
parametre | değer |
---|---|
stp-service-ticket |
Service Ticket (ST) Örneğin : ST-30247-uNWazHn52sKZU71v5Ar4-cas02.epias.com.tr |
Accept |
application/json veya application/xml |
Content-Type |
application/json veya application/xml |
Accept-Language |
tr-tr veya en-us (ingilizce henüz test aşamasındadır) |
Servis mesajları iki bölümden oluşur.
Birinci bölüm header olarak kullanılan ve isteği, gönderdiğiniz servisten bağımsız olarak isteği tanımlayan mesaj alanıdır. header alanında aşağıdaki anahtarlar bulunmalıdır.
parametre | değer | açıklama |
---|---|---|
transactionId |
isteği tanımlayan benzersiz anahtar (Universal Unique Identifier) |
isteğiniz ile ilgili sorularınızda bu id değerini sizden isteyeceğiz |
application |
servisi çağırırken kullanmış olduğunuz uygulamanın adı |
İkinci bölüm ise çağırdığınız servise has parametreleri içeren body alanıdır. Tüm servisler için farklılık gösterebilir.
Aşağıdaki örnekte teslim gününün doğru olup olmadığını kontrol eden bir mesaj bulunmaktadır.
header alanını anahtar (key) ve değer (value) şeklinde gönderilmelidir. |
Servise gelen ve giden tüm mesajlardaki tarih alanları ISO-8601 formatındadır. Format yyyy-MM-dd’T’HH:mm:ss.SSSXXX şeklinde olmalıdır. Timezone değeri Yaz Saati Uygulamasında için +03:00 Kış Saatin Uygulamasında +02:00 olarak değişmektedir. O yüzden dökümanın içerisinde verilen örnek JSON dosyalarındaki tarih alanlarına dikkat ediniz. Örnek bir zaman değeri şu şekildedir. 2016-03-25T00:00:00.000+03:00 |
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
public class DateUtil
{
public static Date fromISO8601Date(String v)
{
if (null == v) return null;
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSXXX");
try
{
return sdf.parse(v);
} catch (ParseException e)
{
throw new RuntimeException(e);
}
}
public static String toISO8601Date(Date v)
{
if (null == v) return null;
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSXXX");
return sdf.format(v);
}
}
POST /stp-organization-service/rest/organization/save HTTP/1.1
Host: testtysapi.epias.com.tr
Accept: application/json
Content-Type: application/json
stp-service-ticket: ST-31352-VjHOo5iDV4fDkOod3jZc-cas02.epias.com.tr
Cache-Control: no-cache
{
"header":[
{
"key":"transactionId",
"value":"6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac"
},
{
"key":"application",
"value":"UYGULAMA_ADI"
}
],
"body":{
"settlementPeriod":"2016-06-01T00:00:00.000+03:00",
"requestStatuses":["WAITING","INVALID_DISTRIBUTION_METER_CODE","INSUFFICENT_LIMIT","APPROVED"]
}
}
{
"resultCode":"0",
"resultDescription":"OK",
"resultType":"SUCCESS",
"body":{
"queryInformation":{
"begin":1,
"end":10000,
"count":3
},
"unregisteredMeteringPoints":[
{
"requestId":1,
"requestDate":"2016-10-03T13:34:43.000+03:00",
"reportingDate":null,
"distributionMeterCode":" M328",
"eic":"40Z000007531577H",
"requestStatus":"APPROVED",
"requestedCompany":{
"organizationId":9327,
"eic":"40X000000009327Q",
"name":"ERZURUM 1.ORGANİZE SANAYİ BÖLGE MÜDÜRLÜĞÜ",
"shortname":"ERZ.1-OSB"
},
"requestingCompany":{
"organizationId":195,
"eic":"40X000000000195P",
"name":"ELEKTRİK ÜRETİM A.Ş.",
"shortname":"EÜAŞ"
},
"recordingUser":"PK195",
"reportingUser":null
},
{
"requestId":2,
"requestDate":"2016-10-03T13:34:45.000+03:00",
"reportingDate":null,
"distributionMeterCode":"uasxprsc",
"eic":null,
"requestStatus":"WAITING",
"requestedCompany":{
"organizationId":649,
"eic":"40X000000000649C",
"name":"1. BÖLGE MÜDÜRLÜĞÜ",
"shortname":"1 Iletim"
},
"requestingCompany":{
"organizationId":195,
"eic":"40X000000000195P",
"name":"ELEKTRİK ÜRETİM A.Ş.",
"shortname":"EÜAŞ"
},
"recordingUser":"PK195",
"reportingUser":null
},
{
"requestId":3,
"requestDate":"2016-10-03T13:38:41.000+03:00",
"reportingDate":null,
"distributionMeterCode":"123123",
"eic":null,
"requestStatus":"WAITING",
"requestedCompany":{
"organizationId":649,
"eic":"40X000000000649C",
"name":"1. BÖLGE MÜDÜRLÜĞÜ",
"shortname":"1 Iletim"
},
"requestingCompany":{
"organizationId":195,
"eic":"40X000000000195P",
"name":"ELEKTRİK ÜRETİM A.Ş.",
"shortname":"EÜAŞ"
},
"recordingUser":"PK195",
"reportingUser":null
}
]
}
}
Gönderilen tüm isteklere dönen cevaplar da iki bölümden oluşur. Birinci bölüm isteğin başarılı olup olmadığını dönen result ile başlayan değerler. İkinci bölüm ise body alanında sonucu dönen kısım.
Her sonuç mesajında aşağıdaki alanlar sabit olarak bulunur.
parametre | tip | değer | açıklama |
---|---|---|---|
resultCode |
string |
"0" başarılı diğer hallerde hatakodu içerir |
aldığınız hatalar ile ilgili bilgi almak isterseniz bu alanı sizden isteyeceğiz. |
resultDescription |
string |
başarılı durumda "OK" diğer hallerde hatanın açıklamasını içerir |
aldığınız hatalar ile ilgili bilgi almak isterseniz bu alanı sizden isteyeceğiz. SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR |
resultType |
string |
başarılı isteklerde SUCCESS , bir iş kuralına takıldıysanız BUSINESSERROR , bir sistem hatası ile karşılaşırsanız SYSTEMERROR, yetkilendirme ile ilgili hata alırsanız SECURITYERROR |
BUSINESSERROR : Göndermiş olduğunuz istek ile ilgili bir sorun olduğunu belirtir. İsteğinizi gözden geçirmelisiniz. SYSTEMERROR : Sistemde bir hata olduğunu belirtir. Bizimle irtibata geçmelisiniz. |
{"resultCode":"0","resultDescription":"OK","body":true,"resultType":"SUCCESS"}
Servis Detayları
Bu bölümden kategorilerine göre Servis çağırım detayları ile ilgili bilgilere ulaşabilirsiniz.
1. Teklif Servisleri
1.1. Teklif Oluşturma Servisi Kullanımı
Teklif oluşturmak için detayları burada olan servis kullanılır.
<?xml version="1.0" encoding="UTF-8"?>
<bidSaveServiceRequest>
<headers>
<key>transactionId</key>
<value>6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac</value>
</headers>
<body>
<contractName>string</contractName>
<price>0</price>
<quantity>0</quantity>
<bidType>string</bidType>
<bidStatus>string</bidStatus>
<direction>string</direction>
<expireTime>2017-11-30T07:41:41.390+03:00</expireTime>
<pointName>string</pointName>
<bidProcessName>string</bidProcessName>
</body>
</bidSaveServiceRequest>
{
"headers": [
{
"key": "transactionId",
"value": "6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac"
}
],
"body": {
"contractName": "string",
"price": 0,
"quantity": 0,
"bidType": "string",
"bidStatus": "string",
"direction": "string",
"expireTime": "2018-02-20T19:30:33.000+03:00",
"pointName": "string",
"bidProcessName": "string"
}
}
<?xml version="1.0" encoding="UTF-8"?>
<bidSaveServiceResponse>
<resultCode>0</resultCode>
<resultDescription>OK</resultDescription>
<resultType>SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR</resultType>
<body>
<bidResponse>
<id>string</id>
</bidResponse>
</body>
</bidSaveServiceResponse>
{
"resultCode": "0",
"resultDescription": "OK",
"resultType": "SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR",
"body": {
"bidResponse": {
"id": "string"
}
}
}
1.2. Teklif Güncelleme Servisi Kullanımı
Teklif güncellemek için detayları burada olan servis kullanılır.
<?xml version="1.0" encoding="UTF-8"?>
<bidUpdateServiceRequest>
<headers>
<key>transactionId</key>
<value>6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac</value>
</headers>
<body>
<bidId>string</bidId>
<price>0</price>
<quantity>0</quantity>
<bidStatus>string</bidStatus>
</body>
</bidUpdateServiceRequest>
{
"headers": [
{
"key": "transactionId",
"value": "6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac"
}
],
"body": {
"bidId": "string",
"price": 0,
"quantity": 0,
"bidStatus": "string"
}
}
<?xml version="1.0" encoding="UTF-8"?>
<bidUpdateServiceResponse>
<resultCode>0</resultCode>
<resultDescription>OK</resultDescription>
<resultType>SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR</resultType>
<body>
<bidResponse>
<id>string</id>
</bidResponse>
</body>
</bidUpdateServiceResponse>
{
"resultCode": "0",
"resultDescription": "OK",
"resultType": "SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR",
"body": {
"bidResponse": {
"id": "string"
}
}
}
1.3. Teklif İptal Etme Servisi Kullanımı
Teklif iptal etmek için detayları burada olan servis kullanılır.
<?xml version="1.0" encoding="UTF-8"?>
<bidCancelServiceRequest>
<headers>
<key>transactionId</key>
<value>6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac</value>
</headers>
<body>
<bidId>string</bidId>
</body>
</bidCancelServiceRequest>
{
"headers": [
{
"key": "transactionId",
"value": "6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac"
}
],
"body": {
"bidId": "string"
}
}
<?xml version="1.0" encoding="UTF-8"?>
<bidCancelServiceResponse>
<resultCode>0</resultCode>
<resultDescription>OK</resultDescription>
<resultType>SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR</resultType>
<body>
<bidResponse>
<id>string</id>
</bidResponse>
</body>
</bidCancelServiceResponse>
{
"resultCode": "0",
"resultDescription": "OK",
"resultType": "SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR",
"body": {
"bidResponse": {
"id": "string"
}
}
}
2. Kontrat Servisleri
2.1. Kontrat Oluşturma Servisi Kullanımı
Kontrat oluşturmak için detayları burada olan servis kullanılır.
<?xml version="1.0" encoding="UTF-8"?>
<contractSaveServiceRequest>
<headers>
<key>transactionId</key>
<value>6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac</value>
</headers>
<body>
<contractTypeName>string</contractTypeName>
<gasDayDate>2017-11-30T07:51:26.997+03:00</gasDayDate>
<quantity>0</quantity>
<directionName>string</directionName>
<physicalPointIds>0</physicalPointIds>
</body>
</contractSaveServiceRequest>
{
"headers": [
{
"key": "transactionId",
"value": "6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac"
}
],
"body": {
"contractTypeName": "string",
"gasDayDate": "2017-11-30T07:50:08.873+03:00",
"quantity": 0,
"directionName": "string",
"physicalPointIds": [
0
]
}
}
<?xml version="1.0" encoding="UTF-8"?>
<contractSaveServiceResponse>
<resultCode>0</resultCode>
<resultDescription>OK</resultDescription>
<resultType>SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR</resultType>
<body>
<contractName>string</contractName>
<contractType>
<name>string</name>
<localization>
<language>string</language>
<text>string</text>
</localization>
</contractType>
<contractStatus>
<name>string</name>
<localization>
<language>string</language>
<text>string</text>
</localization>
</contractStatus>
<gasDay>
<gasDayId>0</gasDayId>
<registrationPeriodId>0</registrationPeriodId>
<gasDayDate>2017-11-30T07:51:37.097+03:00</gasDayDate>
<gasDeliveryStartDate>2017-11-30T07:51:37.097+03:00</gasDeliveryStartDate>
<gasDeliveryEndDate>2017-11-30T07:51:37.097+03:00</gasDeliveryEndDate>
</gasDay>
<quantity>0</quantity>
<direction>
<name>string</name>
<localization>
<language>string</language>
<text>string</text>
</localization>
</direction>
<createDate>2017-11-30T07:51:37.097+03:00</createDate>
<activationDate>2017-11-30T07:51:37.097+03:00</activationDate>
<closeDate>2017-11-30T07:51:37.097+03:00</closeDate>
<physicalPointIds>0</physicalPointIds>
</body>
</contractSaveServiceResponse>
{
"resultCode": "0",
"resultDescription": "OK",
"resultType": "SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR",
"body": {
"contractName": "string",
"contractType": {
"name": "string",
"localization": {
"language": "string",
"text": "string"
}
},
"contractStatus": {
"name": "string",
"localization": {
"language": "string",
"text": "string"
}
},
"gasDay": {
"gasDayId": 0,
"registrationPeriodId": 0,
"gasDayDate": "2017-11-30T07:50:08.912+03:00",
"gasDeliveryStartDate": "2017-11-30T07:50:08.912+03:00",
"gasDeliveryEndDate": "2017-11-30T07:50:08.912+03:00"
},
"quantity": 0,
"direction": {
"name": "string",
"localization": {
"language": "string",
"text": "string"
}
},
"createDate": "2017-11-30T07:50:08.912+03:00",
"activationDate": "2017-11-30T07:50:08.912+03:00",
"closeDate": "2017-11-30T07:50:08.912+03:00",
"physicalPointIds": [
0
]
}
}
2.2. Kontrat Sorgulama Servisi Kullanımı
Kontrat sorgulamak için detayları burada olan servis kullanılır.
<?xml version="1.0" encoding="UTF-8"?>
<contractGetServiceRequest>
<headers>
<key>transactionId</key>
<value>6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac</value>
</headers>
<body>
<contractName>string</contractName>
</body>
</contractGetServiceRequest>
{
"headers": [
{
"key": "transactionId",
"value": "6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac"
}
],
"body": {
"contractName": "string"
}
}
<?xml version="1.0" encoding="UTF-8"?>
<contractGetServiceResponse>
<resultCode>0</resultCode>
<resultDescription>OK</resultDescription>
<resultType>SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR</resultType>
<body>
<contractName>string</contractName>
<contractType>
<name>string</name>
<localization>
<language>string</language>
<text>string</text>
</localization>
</contractType>
<contractStatus>
<name>string</name>
<localization>
<language>string</language>
<text>string</text>
</localization>
</contractStatus>
<gasDay>
<gasDayId>0</gasDayId>
<registrationPeriodId>0</registrationPeriodId>
<gasDayDate>2017-11-30T07:51:13.578+03:00</gasDayDate>
<gasDeliveryStartDate>2017-11-30T07:51:13.578+03:00</gasDeliveryStartDate>
<gasDeliveryEndDate>2017-11-30T07:51:13.578+03:00</gasDeliveryEndDate>
</gasDay>
<quantity>0</quantity>
<direction>
<name>string</name>
<localization>
<language>string</language>
<text>string</text>
</localization>
</direction>
<createDate>2017-11-30T07:51:13.578+03:00</createDate>
<activationDate>2017-11-30T07:51:13.578+03:00</activationDate>
<closeDate>2017-11-30T07:51:13.578+03:00</closeDate>
<physicalPointIds>0</physicalPointIds>
</body>
</contractGetServiceResponse>
{
"resultCode": "0",
"resultDescription": "OK",
"resultType": "SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR",
"body": {
"contractName": "string",
"contractType": {
"name": "string",
"localization": {
"language": "string",
"text": "string"
}
},
"contractStatus": {
"name": "string",
"localization": {
"language": "string",
"text": "string"
}
},
"gasDay": {
"gasDayId": 0,
"registrationPeriodId": 0,
"gasDayDate": "2017-11-30T07:49:51.382+03:00",
"gasDeliveryStartDate": "2017-11-30T07:49:51.382+03:00",
"gasDeliveryEndDate": "2017-11-30T07:49:51.382+03:00"
},
"quantity": 0,
"direction": {
"name": "string",
"localization": {
"language": "string",
"text": "string"
}
},
"createDate": "2017-11-30T07:49:51.382+03:00",
"activationDate": "2017-11-30T07:49:51.382+03:00",
"closeDate": "2017-11-30T07:49:51.382+03:00",
"physicalPointIds": [
0
]
}
}
2.3. Aktif Kontrat Derinliği Servisi Kullanımı
Aktif kontrat derinliğini öğrenmek için detayları burada olan servis kullanılır.
<?xml version="1.0" encoding="UTF-8"?>
<contractDepthServiceRequest>
<headers>
<key>transactionId</key>
<value>6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac</value>
</headers>
<body>
<contractName>string</contractName>
</body>
</contractDepthServiceRequest>
{
"headers": [
{
"key": "transactionId",
"value": "6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac"
}
],
"body": {
"contractName": "string"
}
}
<?xml version="1.0" encoding="UTF-8"?>
<ContractDepthServiceResponse>
<resultCode>0</resultCode>
<resultDescription>OK</resultDescription>
<resultType>SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR</resultType>
<body>
<contractBuyDepths>
<price>0</price>
<amount>0</amount>
</contractBuyDepths>
<contractSellDepths>
<price>0</price>
<amount>0</amount>
</contractSellDepths>
</body>
</ContractDepthServiceResponse>
{
"resultCode": "0",
"resultDescription": "OK",
"resultType": "SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR",
"body": {
"contractBuyDepths": [
{
"price": 0,
"amount": 0
}
],
"contractSellDepths": [
{
"price": 0,
"amount": 0
}
]
}
}
2.4. Aktif Kontrat Derinliği Özeti Servisi Kullanımı
Aktif kontrat derinlik özetini öğrenmek için detayları burada olan servis kullanılır.
<?xml version="1.0" encoding="UTF-8"?>
<contractDepthServiceRequest>
<headers>
<key>transactionId</key>
<value>6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac</value>
</headers>
<body>
<contractName>string</contractName>
</body>
</contractDepthServiceRequest>
{
"headers": [
{
"key": "transactionId",
"value": "6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac"
}
],
"body": {
"contractName": "string"
}
}
<?xml version="1.0" encoding="UTF-8"?>
<ContractDepthSummaryServiceResponse>
<resultCode>0</resultCode>
<resultDescription>OK</resultDescription>
<resultType>SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR</resultType>
<body>
<contractDepthSummaryResponses>
<price>0</price>
<quantity>0</quantity>
<bidStatus>
<name>string</name>
<localization>
<language>string</language>
<text>string</text>
</localization>
</bidStatus>
<organizationId>0</organizationId>
<organization>
<value>string</value>
<text>string</text>
</organization>
<lastMatchingsQuantityAverage>0</lastMatchingsQuantityAverage>
<lastMatchingsPriceAverage>0</lastMatchingsPriceAverage>
<direction>
<name>string</name>
<localization>
<language>string</language>
<text>string</text>
</localization>
</direction>
<createDate>2017-11-30T07:52:34.709+03:00</createDate>
<bidState>
<value>string</value>
<text>string</text>
</bidState>
</contractDepthSummaryResponses>
</body>
</ContractDepthSummaryServiceResponse>
{
"resultCode": "0",
"resultDescription": "OK",
"resultType": "SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR",
"body": {
"contractDepthSummaryResponses": [
{
"price": 0,
"quantity": 0,
"bidStatus": {
"name": "string",
"localization": {
"language": "string",
"text": "string"
}
},
"organizationId": 0,
"organization": {
"value": "string",
"text": "string"
},
"lastMatchingsQuantityAverage": 0,
"lastMatchingsPriceAverage": 0,
"direction": {
"name": "string",
"localization": {
"language": "string",
"text": "string"
}
},
"createDate": "2017-11-30T07:48:26.661+03:00",
"bidState": {
"value": "string",
"text": "string"
}
}
]
}
}
2.5. Aktif Kontrat Eşleşmeleri Servisi Kullanımı
Aktif kontrat eşleşmelerini öğrenmek için detayları burada olan servis kullanılır.
<?xml version="1.0" encoding="UTF-8"?>
<activeContractMatchingRequest>
<headers>
<key>transactionId</key>
<value>6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac</value>
</headers>
<body>
<contractNames>string</contractNames>
</body>
</activeContractMatchingRequest>
{
"headers": [
{
"key": "transactionId",
"value": "6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac"
}
],
"body": {
"contractNames": [
"string"
]
}
}
<?xml version="1.0" encoding="UTF-8"?>
<activeContractMatchingResponse>
<resultCode>0</resultCode>
<resultDescription>OK</resultDescription>
<resultType>SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR</resultType>
<body>
<matchings>
<matchId>string</matchId>
<contract>string</contract>
<price>0</price>
<quantity>0</quantity>
<matchStatus>string</matchStatus>
<matchingTime>2017-11-30T07:52:59.443+03:00</matchingTime>
<pointName>string</pointName>
<myOwnMatching>false</myOwnMatching>
</matchings>
</body>
</activeContractMatchingResponse>
{
"resultCode": "0",
"resultDescription": "OK",
"resultType": "SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR",
"body": {
"matchings": [
{
"matchId": "string",
"contract": "string",
"price": 0,
"quantity": 0,
"matchStatus": "string",
"matchingTime": "2017-11-30T07:48:42.156+03:00",
"pointName": "string",
"myOwnMatching": false
}
]
}
}
2.6. Bölgesel Aktif Kontratlar Servisi Kullanımı
Bölgesel aktif kontratları öğrenmek için detayları burada olan servis kullanılır.
<?xml version="1.0" encoding="UTF-8"?>
<contractRequest>
<headers>
<key>transactionId</key>
<value>6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac</value>
</headers>
<body>
</body>
</contractRequest>
{
"headers": [
{
"key": "transactionId",
"value": "6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac"
}
],
"body": {}
}
<?xml version="1.0" encoding="UTF-8"?>
<regionalContractResponse>
<resultCode>0</resultCode>
<resultDescription>OK</resultDescription>
<resultType>SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR</resultType>
<body>
<contracts>
<deliveryDay>2017-11-30T07:53:18.219+03:00</deliveryDay>
<name>string</name>
<bestAmountPriceBuying>
<price>0</price>
<amount>0</amount>
</bestAmountPriceBuying>
<bestAmountPriceSelling>
<price>0</price>
<amount>0</amount>
</bestAmountPriceSelling>
<status>
<value>string</value>
<text>string</text>
</status>
<closingTime>2017-11-30T07:53:18.219+03:00</closingTime>
<activationTime>2017-11-30T07:53:18.219+03:00</activationTime>
<type>
<value>string</value>
<text>string</text>
</type>
<totalAmount>0</totalAmount>
<remainingAmount>0</remainingAmount>
<locations>string</locations>
<direction>string</direction>
</contracts>
</body>
</regionalContractResponse>
{
"resultCode": "0",
"resultDescription": "OK",
"resultType": "SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR",
"body": {
"contracts": [
{
"deliveryDay": "2017-11-30T07:49:02.334+03:00",
"name": "string",
"bestAmountPriceBuying": {
"price": 0,
"amount": 0
},
"bestAmountPriceSelling": {
"price": 0,
"amount": 0
},
"status": {
"value": "string",
"text": "string"
},
"closingTime": "2017-11-30T07:49:02.334+03:00",
"activationTime": "2017-11-30T07:49:02.334+03:00",
"type": {
"value": "string",
"text": "string"
},
"totalAmount": 0,
"remainingAmount": 0,
"locations": [
"string"
],
"direction": "string"
}
]
}
}
2.7. Standart Aktif Kontratlar Servisi Kullanımı
Standart aktif kontratları öğrenmek için detayları burada olan servis kullanılır.
<?xml version="1.0" encoding="UTF-8"?>
<contractRequest>
<headers>
<key>transactionId</key>
<value>6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac</value>
</headers>
<body>
</body>
</contractRequest>
{
"headers": [
{
"key": "transactionId",
"value": "6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac"
}
],
"body": {}
}
<?xml version="1.0" encoding="UTF-8"?>
<contractResponse>
<resultCode>0</resultCode>
<resultDescription>OK</resultDescription>
<resultType>SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR</resultType>
<body>
<contracts>
<deliveryDay>2017-11-30T07:53:39.103+03:00</deliveryDay>
<name>string</name>
<bestAmountPriceBuying>
<price>0</price>
<amount>0</amount>
</bestAmountPriceBuying>
<bestAmountPriceSelling>
<price>0</price>
<amount>0</amount>
</bestAmountPriceSelling>
<status>
<value>string</value>
<text>string</text>
</status>
<closingTime>2017-11-30T07:53:39.103+03:00</closingTime>
<activationTime>2017-11-30T07:53:39.103+03:00</activationTime>
<type>
<value>string</value>
<text>string</text>
</type>
<highestMatchingPrice>0</highestMatchingPrice>
<lastMatchingPrice>0</lastMatchingPrice>
<lastMatchingPriceDirection>UP</lastMatchingPriceDirection>
<weightedAverage>0</weightedAverage>
<weightedAverageDirection>UP</weightedAverageDirection>
<gasDay>2017-11-30T07:53:39.103+03:00</gasDay>
</contracts>
</body>
</contractResponse>
{
"resultCode": "0",
"resultDescription": "OK",
"resultType": "SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR",
"body": {
"contracts": [
{
"deliveryDay": "2017-11-30T07:49:18.625+03:00",
"name": "string",
"bestAmountPriceBuying": {
"price": 0,
"amount": 0
},
"bestAmountPriceSelling": {
"price": 0,
"amount": 0
},
"status": {
"value": "string",
"text": "string"
},
"closingTime": "2018-02-20T19:30:33.000+03:00",
"activationTime": "2017-11-30T07:49:18.625+03:00",
"type": {
"value": "string",
"text": "string"
},
"highestMatchingPrice": 0,
"lastMatchingPrice": 0,
"lastMatchingPriceDirection": "UP",
"weightedAverage": 0,
"weightedAverageDirection": "UP",
"gasDay": "2017-11-30T07:49:18.625+03:00"
}
]
}
}
3. Kontrat Konfigürasyon Servisleri
3.1. Kontrat Konfigürasyon Kaydetme Servisi Kullanımı
Kontrat konfigürasyonu kaydetmek için detayları burada olan servis kullanılır.
<?xml version="1.0" encoding="UTF-8"?>
<contractConfigurationSaveServiceRequest>
<headers>
<key>transactionId</key>
<value>6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac</value>
</headers>
<body>
<contractName>string</contractName>
<gateList>
<contractGateId>0</contractGateId>
<contractGateTypeName>string</contractGateTypeName>
<startDate>2017-11-30T07:47:18.733+03:00</startDate>
<endDate>2017-11-30T07:47:18.733+03:00</endDate>
<gateStatusName>string</gateStatusName>
</gateList>
<dapScopeDate>2017-11-30T07:47:18.733+03:00</dapScopeDate>
<dapFinalDate>2017-11-30T07:47:18.733+03:00</dapFinalDate>
<grpScopeDate>2017-11-30T07:47:18.733+03:00</grpScopeDate>
<grpFinalDate>2017-11-30T07:47:18.733+03:00</grpFinalDate>
<lqa>0</lqa>
<lpa>0</lpa>
<objectionTime>0</objectionTime>
<marketMaxQuantity>0</marketMaxQuantity>
<marketMinQuantity>0</marketMinQuantity>
<marketCeilingPrice>0</marketCeilingPrice>
<marketBasePrice>0</marketBasePrice>
<transmissionMaxQuantity>0</transmissionMaxQuantity>
<transmissionMinQuantity>0</transmissionMinQuantity>
<ceilingCoefficient>0</ceilingCoefficient>
<baseCoefficient>0</baseCoefficient>
<average>0</average>
<transmissionCeilingPriceFormula>string</transmissionCeilingPriceFormula>
<transmissionCeilingPrice>0</transmissionCeilingPrice>
<transmissionBasePriceFormula>string</transmissionBasePriceFormula>
<transmissionBasePrice>0</transmissionBasePrice>
<nbpOpenTime>0</nbpOpenTime>
<modifyUser>string</modifyUser>
</body>
</contractConfigurationSaveServiceRequest>
{
"headers": [
{
"key": "transactionId",
"value": "6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac"
}
],
"body": {
"contractName": "string",
"gateList": [
{
"contractGateId": 0,
"contractGateTypeName": "string",
"startDate": "2017-11-30T07:46:21.790+03:00",
"endDate": "2017-11-30T07:46:21.790+03:00",
"gateStatusName": "string"
}
],
"dapScopeDate": "2017-11-30T07:46:21.790+03:00",
"dapFinalDate": "2017-11-30T07:46:21.790+03:00",
"grpScopeDate": "2017-11-30T07:46:21.790+03:00",
"grpFinalDate": "2017-11-30T07:46:21.790+03:00",
"lqa": 0,
"lpa": 0,
"objectionTime": 0,
"marketMaxQuantity": 0,
"marketMinQuantity": 0,
"marketCeilingPrice": 0,
"marketBasePrice": 0,
"transmissionMaxQuantity": 0,
"transmissionMinQuantity": 0,
"ceilingCoefficient": 0,
"baseCoefficient": 0,
"average": 0,
"transmissionCeilingPriceFormula": "string",
"transmissionCeilingPrice": 0,
"transmissionBasePriceFormula": "string",
"transmissionBasePrice": 0,
"nbpOpenTime": 0,
"modifyUser": "string"
}
}
<?xml version="1.0" encoding="UTF-8"?>
<contractConfigurationSaveServiceResponse>
<resultCode>0</resultCode>
<resultDescription>OK</resultDescription>
<resultType>SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR</resultType>
<body>
</body>
</contractConfigurationSaveServiceResponse>
{
"resultCode": "0",
"resultDescription": "OK",
"resultType": "SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR",
"body": {}
}
3.2. Kontrat Konfigürasyon Sorgulama Servisi Kullanımı
Kontrat konfigürasyonu sorgulamak için detayları burada olan servis kullanılır.
<?xml version="1.0" encoding="UTF-8"?>
<contractConfigurationGetServiceRequest>
<headers>
<key>transactionId</key>
<value>6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac</value>
</headers>
<body>
<contractName>string</contractName>
</body>
</contractConfigurationGetServiceRequest>
{
"headers": [
{
"key": "transactionId",
"value": "6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac"
}
],
"body": {
"contractName": "string"
}
}
<?xml version="1.0" encoding="UTF-8"?>
<contractConfigurationGetServiceResponse>
<resultCode>0</resultCode>
<resultDescription>OK</resultDescription>
<resultType>SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR</resultType>
<body>
<contractConfId>0</contractConfId>
<dapScopeDate>2017-11-30T07:46:58.406+03:00</dapScopeDate>
<dapFinalDate>2017-11-30T07:46:58.406+03:00</dapFinalDate>
<grpScopeDate>2017-11-30T07:46:58.406+03:00</grpScopeDate>
<grpFinalDate>2017-11-30T07:46:58.406+03:00</grpFinalDate>
<lqa>0</lqa>
<lpa>0</lpa>
<objectionTime>0</objectionTime>
<marketMaxQuantity>0</marketMaxQuantity>
<marketMinQuantity>0</marketMinQuantity>
<marketCeilingPrice>0</marketCeilingPrice>
<marketBasePrice>0</marketBasePrice>
<transmissionMaxQuantity>0</transmissionMaxQuantity>
<transmissionMinQuantity>0</transmissionMinQuantity>
<ceilingCoefficient>0</ceilingCoefficient>
<baseCoefficient>0</baseCoefficient>
<retrospectiveAverage>0</retrospectiveAverage>
<transmissionCeilingPriceFormula>string</transmissionCeilingPriceFormula>
<transmissionCeilingPrice>0</transmissionCeilingPrice>
<transmissionBasePriceFormula>string</transmissionBasePriceFormula>
<transmissionBasePrice>0</transmissionBasePrice>
<nbpOpenTime>0</nbpOpenTime>
<gateList>
<contractGateId>0</contractGateId>
<gateTypeResponse>
<name>string</name>
<localization>
<language>string</language>
<text>string</text>
</localization>
</gateTypeResponse>
<startDate>2017-11-30T07:46:58.406+03:00</startDate>
<endDate>2017-11-30T07:46:58.406+03:00</endDate>
<gateStatusResponse>
<name>string</name>
<localization>
<language>string</language>
<text>string</text>
</localization>
</gateStatusResponse>
<contractName>string</contractName>
<quantity>0</quantity>
<announcementDate>2017-11-30T07:46:58.406+03:00</announcementDate>
<directionResponse>
<name>string</name>
<localization>
<language>string</language>
<text>string</text>
</localization>
</directionResponse>
</gateList>
</body>
</contractConfigurationGetServiceResponse>
{
"resultCode": "0",
"resultDescription": "OK",
"resultType": "SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR",
"body": {
"contractConfId": 0,
"dapScopeDate": "2017-11-30T07:45:58.596+03:00",
"dapFinalDate": "2017-11-30T07:45:58.596+03:00",
"grpScopeDate": "2017-11-30T07:45:58.596+03:00",
"grpFinalDate": "2017-11-30T07:45:58.596+03:00",
"lqa": 0,
"lpa": 0,
"objectionTime": 0,
"marketMaxQuantity": 0,
"marketMinQuantity": 0,
"marketCeilingPrice": 0,
"marketBasePrice": 0,
"transmissionMaxQuantity": 0,
"transmissionMinQuantity": 0,
"ceilingCoefficient": 0,
"baseCoefficient": 0,
"retrospectiveAverage": 0,
"transmissionCeilingPriceFormula": "string",
"transmissionCeilingPrice": 0,
"transmissionBasePriceFormula": "string",
"transmissionBasePrice": 0,
"nbpOpenTime": 0,
"gateList": [
{
"contractGateId": 0,
"gateTypeResponse": {
"name": "string",
"localization": {
"language": "string",
"text": "string"
}
},
"startDate": "2017-11-30T07:45:58.596+03:00",
"endDate": "2017-11-30T07:45:58.596+03:00",
"gateStatusResponse": {
"name": "string",
"localization": {
"language": "string",
"text": "string"
}
},
"contractName": "string",
"quantity": 0,
"announcementDate": "2017-11-30T07:45:58.596+03:00",
"directionResponse": {
"name": "string",
"localization": {
"language": "string",
"text": "string"
}
}
}
]
}
}
4. Contract Gate Services
4.1. How to call Contract Gate Change Status Service?
You can check service details from here .
<?xml version="1.0" encoding="UTF-8"?>
<contractGateChangeStatusServiceRequest>
<headers>
<key>transactionId</key>
<value>6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac</value>
</headers>
<body>
<gateId>0</gateId>
<gateStatusName>string</gateStatusName>
</body>
</contractGateChangeStatusServiceRequest>
<?xml version="1.0" encoding="UTF-8"?>
<contractGateSaveServiceResponse>
<resultCode>0</resultCode>
<resultDescription>OK</resultDescription>
<resultType>SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR</resultType>
<body>
<contractGateId>0</contractGateId>
<gateTypeResponse>
<name>string</name>
<localization>
<language>string</language>
<text>string</text>
</localization>
</gateTypeResponse>
<startDate>2017-11-30T07:44:32.174+03:00</startDate>
<endDate>2017-11-30T07:44:32.174+03:00</endDate>
<gateStatusResponse>
<name>string</name>
<localization>
<language>string</language>
<text>string</text>
</localization>
</gateStatusResponse>
<contractName>string</contractName>
<quantity>0</quantity>
<announcementDate>2017-11-30T07:44:32.174+03:00</announcementDate>
<directionResponse>
<name>string</name>
<localization>
<language>string</language>
<text>string</text>
</localization>
</directionResponse>
</body>
</contractGateSaveServiceResponse>
{
"headers": [
{
"key": "transactionId",
"value": "6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac"
}
],
"body": {
"gateId": 0,
"gateStatusName": "string"
}
}
{
"resultCode": "0",
"resultDescription": "OK",
"resultType": "SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR",
"body": {
"contractGateId": 0,
"gateTypeResponse": {
"name": "string",
"localization": {
"language": "string",
"text": "string"
}
},
"startDate": "2017-11-30T07:42:56.171+03:00",
"endDate": "2017-11-30T07:42:56.171+03:00",
"gateStatusResponse": {
"name": "string",
"localization": {
"language": "string",
"text": "string"
}
},
"contractName": "string",
"quantity": 0,
"announcementDate": "2017-11-30T07:42:56.171+03:00",
"directionResponse": {
"name": "string",
"localization": {
"language": "string",
"text": "string"
}
}
}
}
4.2. How to call Contract Gate Update Service?
You can check service details from here .
<?xml version="1.0" encoding="UTF-8"?>
<contractGateUpdateServiceRequest>
<headers>
<key>transactionId</key>
<value>6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac</value>
</headers>
<body>
<gateId>0</gateId>
<startDate>2017-11-30T07:45:05.574+03:00</startDate>
<endDate>2017-11-30T07:45:05.574+03:00</endDate>
</body>
</contractGateUpdateServiceRequest>
<?xml version="1.0" encoding="UTF-8"?>
<contractGateSaveServiceResponse>
<resultCode>0</resultCode>
<resultDescription>OK</resultDescription>
<resultType>SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR</resultType>
<body>
<contractGateId>0</contractGateId>
<gateTypeResponse>
<name>string</name>
<localization>
<language>string</language>
<text>string</text>
</localization>
</gateTypeResponse>
<startDate>2017-11-30T07:45:18.585+03:00</startDate>
<endDate>2017-11-30T07:45:18.585+03:00</endDate>
<gateStatusResponse>
<name>string</name>
<localization>
<language>string</language>
<text>string</text>
</localization>
</gateStatusResponse>
<contractName>string</contractName>
<quantity>0</quantity>
<announcementDate>2017-11-30T07:45:18.585+03:00</announcementDate>
<directionResponse>
<name>string</name>
<localization>
<language>string</language>
<text>string</text>
</localization>
</directionResponse>
</body>
</contractGateSaveServiceResponse>
{
"headers": [
{
"key": "transactionId",
"value": "6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac"
}
],
"body": {
"gateId": 0,
"startDate": "2017-11-30T07:43:47.160+03:00",
"endDate": "2017-11-30T07:43:47.160+03:00"
}
}
{
"resultCode": "0",
"resultDescription": "OK",
"resultType": "SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR",
"body": {
"contractGateId": 0,
"gateTypeResponse": {
"name": "string",
"localization": {
"language": "string",
"text": "string"
}
},
"startDate": "2017-11-30T07:43:47.177+03:00",
"endDate": "2017-11-30T07:43:47.177+03:00",
"gateStatusResponse": {
"name": "string",
"localization": {
"language": "string",
"text": "string"
}
},
"contractName": "string",
"quantity": 0,
"announcementDate": "2017-11-30T07:43:47.177+03:00",
"directionResponse": {
"name": "string",
"localization": {
"language": "string",
"text": "string"
}
}
}
}
5. Kontrat Durum Servisleri
5.1. Kontrat Durumları Listeleme Servisi Kullanımı
Kontratlar için mevcut durumları listelemek için detayları burada olan servis kullanılır.
<?xml version="1.0" encoding="UTF-8"?>
<contractStatusListServiceRequest>
<headers>
<key>transactionId</key>
<value>6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac</value>
</headers>
<body>
</body>
</contractStatusListServiceRequest>
{
"headers": [
{
"key": "transactionId",
"value": "6d553b3c-1ffc-44cc-bed6-1dce4d5b48ac"
}
],
"body": {}
}
<?xml version="1.0" encoding="UTF-8"?>
<contractStatusListServiceResponse>
<resultCode>0</resultCode>
<resultDescription>OK</resultDescription>
<resultType>SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR</resultType>
<body>
<contractStatuses>
<name>string</name>
<localization>
<language>string</language>
<text>string</text>
</localization>
</contractStatuses>
</body>
</contractStatusListServiceResponse>
{
"resultCode": "0",
"resultDescription": "OK",
"resultType": "SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR",
"body": {
"contractStatuses": [
{
"name": "string",
"localization": {
"language": "string",
"text": "string"
}
}
]
}
}
6. Paths
6.1. Aktif Kontrat Derinliği
POST /activecontracts/depth
6.1.1. Description
Aktif Kontrat Derinliği
6.1.2. Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
stp-service-ticket |
STP Service ST Header |
string |
|
Body |
body |
6.1.3. Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
6.1.4. Consumes
-
application/json
-
application/xml
6.1.5. Produces
-
application/json
-
application/xml
6.1.6. Tags
-
contract
-
trade-engine
6.2. Aktif Kontrat Özet Derinliği
POST /activecontracts/depth-summary
6.2.1. Description
Contract Bid Depth Service
6.2.2. Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
stp-service-ticket |
STP Service ST Header |
string |
|
Body |
body |
6.2.3. Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
6.2.4. Consumes
-
application/json
-
application/xml
6.2.5. Produces
-
application/json
-
application/xml
6.2.6. Tags
-
contract
-
trade-engine
6.3. Active Contract Matching Service
POST /activecontracts/matchings
6.3.1. Description
Active Contract Matching Service
6.3.2. Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
stp-service-ticket |
STP Service ST Header |
string |
|
Body |
body |
6.3.3. Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
6.3.4. Consumes
-
application/json
-
application/xml
6.3.5. Produces
-
application/json
-
application/xml
6.3.6. Tags
-
contract
-
trade-engine
6.4. Current Active Regional Contract List Service
POST /activecontracts/regional
6.4.1. Description
Lists active contracts currently is open or is about to open.
6.4.2. Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
stp-service-ticket |
STP Service ST Header |
string |
|
Body |
body |
6.4.3. Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
6.4.4. Consumes
-
application/json
-
application/xml
6.4.5. Produces
-
application/json
-
application/xml
6.4.6. Tags
-
contract
-
trade-engine
6.5. Current Active Contract List Service
POST /activecontracts/standart
6.5.1. Description
Lists active contracts currently is open or is about to open.
6.5.2. Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
stp-service-ticket |
STP Service ST Header |
string |
|
Body |
body |
6.5.3. Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
6.5.4. Consumes
-
application/json
-
application/xml
6.5.5. Produces
-
application/json
-
application/xml
6.5.6. Tags
-
contract
-
trade-engine
6.6. Current Active Weekly Contract List Service
POST /activecontracts/weekly
6.6.1. Description
Lists active weekly contracts currently is open or is about to open.
6.6.2. Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
stp-service-ticket |
STP Service ST Header |
string |
|
Body |
body |
6.6.3. Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
6.6.4. Consumes
-
application/json
-
application/xml
6.6.5. Produces
-
application/json
-
application/xml
6.6.6. Tags
-
contract
-
trade-engine
6.7. Teklif İptali
POST /bid/cancel
6.7.1. Description
Teklif iptal eder.
6.7.2. Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Body |
body |
6.7.3. Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
6.7.4. Consumes
-
application/json
-
application/xml
6.7.5. Produces
-
application/json
-
application/xml
6.7.6. Tags
-
bid
-
trading
6.8. Teklif Kaydetme
POST /bid/save
6.8.1. Description
Teklif kaydeder.
6.8.2. Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Body |
body |
6.8.3. Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
6.8.4. Consumes
-
application/json
-
application/xml
6.8.5. Produces
-
application/json
-
application/xml
6.8.6. Tags
-
bid
-
trading
6.9. Teklif Güncelleme
POST /bid/update
6.9.1. Description
Teklif Günceller.
6.9.2. Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Body |
body |
6.9.3. Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
6.9.4. Consumes
-
application/json
-
application/xml
6.9.5. Produces
-
application/json
-
application/xml
6.9.6. Tags
-
bid
-
trading
6.10. Get Contract Configuration
POST /contract-conf/get
6.10.1. Description
Get Contract Configuration By Contract Id
6.10.2. Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
stp-service-ticket |
STP Service ST Header |
string |
|
Body |
body |
6.10.3. Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
6.10.4. Consumes
-
application/json
-
application/xml
6.10.5. Produces
-
application/json
-
application/xml
6.10.6. Tags
-
contract-conf
-
trade-engine
6.11. Contract Configuration Save
POST /contract-conf/save
6.11.1. Description
Contract Configuration Save Service
6.11.2. Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
stp-service-ticket |
STP Service ST Header |
string |
|
Body |
body |
6.11.3. Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
6.11.4. Consumes
-
application/json
-
application/xml
6.11.5. Produces
-
application/json
-
application/xml
6.11.6. Tags
-
contract-conf
-
trade-engine
6.12. Contract Gate Status Update Service
POST /contract-gate/change-status
6.12.1. Description
Contract Gate Status Update Service
6.12.2. Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Body |
body |
6.12.3. Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
6.12.4. Consumes
-
application/json
-
application/xml
6.12.5. Produces
-
application/json
-
application/xml
6.12.6. Tags
-
contract-gate
6.13. Contract Gate Date Update Service
POST /contract-gate/update
6.13.1. Description
Contract Gate Date Update Service
6.13.2. Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Body |
body |
6.13.3. Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
6.13.4. Consumes
-
application/json
-
application/xml
6.13.5. Produces
-
application/json
-
application/xml
6.13.6. Tags
-
contract-gate
6.14. Contract Status List Name
POST /contract-status/list
6.14.1. Description
Contract Status List Description
6.14.2. Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Body |
body |
6.14.3. Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
6.14.4. Consumes
-
application/json
-
application/xml
6.14.5. Produces
-
application/json
-
application/xml
6.14.6. Tags
-
contract-status
6.15. Contract Query
POST /contract/get
6.15.1. Description
Contract Query with Contract Name
6.15.2. Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Body |
body |
6.15.3. Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
6.15.4. Consumes
-
application/json
-
application/xml
6.15.5. Produces
-
application/json
-
application/xml
6.15.6. Tags
-
contract
-
trade-engine
6.16. Contract Save
POST /contract/save
6.16.1. Description
Contract Save
6.16.2. Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Body |
body |
6.16.3. Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
6.16.4. Consumes
-
application/json
-
application/xml
6.16.5. Produces
-
application/json
-
application/xml
6.16.6. Tags
-
contract
-
trade-engine
6.17. GRP Calculation
POST /market-price/calculate-grp
6.17.1. Description
GRP Calculation
6.17.2. Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Body |
body |
6.17.3. Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
6.17.4. Consumes
-
application/json
-
application/xml
6.17.5. Produces
-
application/json
-
application/xml
6.17.6. Tags
-
market-price
6.18. Match Change Status
POST /match/change-status
6.18.1. Description
Changes the status of the match.
6.18.2. Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Body |
body |
6.18.3. Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
6.18.4. Consumes
-
application/json
-
application/xml
6.18.5. Produces
-
application/json
-
application/xml
6.18.6. Tags
-
match
6.19. Ödeme Talebi
POST /payment/order
6.19.1. Description
Ödeme Taleplerini Değerlendiren Servistir
6.19.2. Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
stp-service-ticket |
STP Service ST Header |
string |
|
Body |
body |
6.19.3. Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
6.19.4. Consumes
-
application/json
-
application/xml
6.19.5. Produces
-
application/json
-
application/xml
6.19.6. Tags
-
payment
7. Definitions
7.1. ActiveContractMatchingRequestBody
Active Contract Matching List Request
Name | Description | Schema |
---|---|---|
contractNames |
Contracts |
< string > array |
7.2. ActiveContractMatchingResponseBody
Active Contract Matching Response
Name | Description | Schema |
---|---|---|
matchings |
< Match > array |
7.3. AmountPrice
Amount and Price
Name | Description | Schema |
---|---|---|
amount |
Amount |
integer(int64) |
owner |
Owner |
boolean |
price |
Price |
number |
7.4. BidCancelRequestBody
Teklif İptal Servis İstek Yapısı
Name | Description | Schema |
---|---|---|
bidId |
Teklif Tekil Numarası |
string |
7.5. BidCancelResponseBody
Teklif İptal Servis Cevap Yapısı
Name | Description | Schema |
---|---|---|
bidResponse |
Teklif Oluşturma/Güncelleme Servis Cevap Yapısı |
7.6. BidMatchStatusResponse
Eşleşme Durumları Servis Cevap Yapısı
Name | Description | Schema |
---|---|---|
localization |
= {BID_MATCH_STATUS_LOCALIZATION} |
|
name |
= {BID_MATCH_STATUS_NAME} |
string |
7.7. BidResponse
Teklif Oluşturma/Güncelleme Servis Cevap Yapısı
Name | Description | Schema |
---|---|---|
id |
Teklif Tekil Numarası |
string |
7.8. BidSaveRequestBody
Teklif Oluşturma Servis İstek Yapısı
Name | Description | Schema |
---|---|---|
bidProcessName |
Bid Process Name |
string |
bidStatus |
Teklif Durumları |
string |
bidType |
Teklif Tipleri |
string |
contractName |
Contract Name |
string |
direction |
Direction Name |
string |
expireTime |
= {REMAINING_TIME} |
string(date-time) |
pointName |
Teklif Noktası |
string |
price |
Fiyat |
number |
quantity |
Miktar |
integer(int64) |
7.9. BidSaveResponseBody
Teklif Oluşturma SErvis Cevap Yapısı
Name | Description | Schema |
---|---|---|
bidResponse |
Teklif Oluşturma/Güncelleme Servis Cevap Yapısı |
7.10. BidStatusResponse
Teklif Durum Listesi Servis Cevabı
Name | Description | Schema |
---|---|---|
localization |
Teklif Durumları Yerelleştime |
|
name |
Teklif Durumları |
string |
7.11. BidTypeResponse
Teklif Tip Listesi Servis Cevabı
Name | Description | Schema |
---|---|---|
localization |
Teklif Tipleri Yerelleştime |
|
name |
Teklif Tipleri |
string |
7.12. BidUpdateReasonResponse
Telif Güncelleme Sebep Listesi Servis Cevabı
Name | Description | Schema |
---|---|---|
localization |
= {BID_UPDATE_REASON_LOCALIZATION} |
|
name |
= {BID_UPDATE_REASON_NAME} |
string |
7.13. BidUpdateRequestBody
Teklif Güncelleme Servis İstek Yapısı
Name | Description | Schema |
---|---|---|
bidId |
Teklif Tekil Numarası |
string |
bidStatus |
Teklif Durumları |
string |
price |
Fiyat |
number |
quantity |
Miktar |
integer(int64) |
7.14. BidUpdateResponseBody
Teklif Güncelleme Servis Cevap Yapısı
Name | Description | Schema |
---|---|---|
bidResponse |
Teklif Oluşturma/Güncelleme Servis Cevap Yapısı |
7.15. ContractConfigurationGetRequestBody
Contract Configuration Get Service Request
Name | Description | Schema |
---|---|---|
contractName |
Contract Name |
string |
7.16. ContractConfigurationGetResponseBody
Contract Configuration Get Service Response
Name | Description | Schema |
---|---|---|
baseCoefficient |
Base Product Coefficient |
number |
ceilingCoefficient |
Ceiling Product Coefficient |
number |
contractConfId |
Contract Configuration Id |
integer(int64) |
dapFinalDate |
Day Ahead Price Finalization Date |
string(date-time) |
dapScopeDate |
Day Ahead Price Scope Date |
string(date-time) |
gateList |
Contract Configuration Gate Operations |
< ContractGateResponse > array |
grpFinalDate |
Gas Reference Price Finalization Date |
string(date-time) |
grpScopeDate |
Gas Reference Price Scope Date |
string(date-time) |
lpa |
Last Price Average |
integer(int64) |
lqa |
Last Quantitiy Average |
integer(int64) |
marketBasePrice |
Market Base Price |
number |
marketCeilingPrice |
Market Ceiling Price |
number |
marketMaxQuantity |
Market Max Quantity |
integer(int64) |
marketMinQuantity |
Market Min Quantity |
integer(int64) |
nbpOpenTime |
National Balancing Point Open Time |
number |
objectionTime |
Objection Time |
number |
retrospectiveAverage |
Gas Reference Price Retrospective Average |
number |
transmissionBasePrice |
Transmission Base Price |
number |
transmissionBasePriceFormula |
Transmission Base Price Formula |
string |
transmissionCeilingPrice |
Transmission Ceiling Price |
number |
transmissionCeilingPriceFormula |
Transmission Ceiling Price Formula |
string |
transmissionMaxQuantity |
Transmission Max Quantity |
integer(int64) |
transmissionMinQuantity |
Transmission Min Quantity |
integer(int64) |
7.17. ContractConfigurationSaveRequestBody
Contract Configuration Save Service Request
Name | Description | Schema |
---|---|---|
average |
Gas Reference Price Retrospective Average |
number |
baseCoefficient |
Base Product Coefficient |
number |
ceilingCoefficient |
Ceiling Product Coefficient |
number |
contractName |
Contract Name |
string |
dapFinalDate |
Day Ahead Price Finalization Date |
string(date-time) |
dapScopeDate |
Day Ahead Price Scope Date |
string(date-time) |
grpFinalDate |
Gas Reference Price Finalization Date |
string(date-time) |
grpScopeDate |
Gas Reference Price Scope Date |
string(date-time) |
lpa |
Last Price Average |
integer(int64) |
lqa |
Last Quantitiy Average |
integer(int64) |
marketBasePrice |
Market Base Price |
number |
marketCeilingPrice |
Market Ceiling Price |
number |
marketMaxQuantity |
Market Max Quantity |
integer(int64) |
marketMinQuantity |
Market Min Quantity |
integer(int64) |
modifyUser |
Modify User |
string |
nbpOpenTime |
National Balancing Point Open Time |
number |
objectionTime |
Objection Time |
number |
transmissionBasePrice |
Transmission Base Price |
number |
transmissionBasePriceFormula |
Transmission Base Price Formula |
string |
transmissionCeilingPrice |
Transmission Ceiling Price |
number |
transmissionCeilingPriceFormula |
Transmission Ceiling Price Formula |
string |
transmissionMaxQuantity |
Transmission Max Quantity |
integer(int64) |
transmissionMinQuantity |
Transmission Min Quantity |
integer(int64) |
7.18. ContractConfigurationSaveResponseBody
Contract Configuration Save Service Response
Type : object
7.19. ContractDepthRequestBody
Kontrat Derinliği Servis İstek Yapısı
Name | Description | Schema |
---|---|---|
contractName |
Contract Name |
string |
7.20. ContractDepthResponseBody
Kontrat Derinliği Servis Cevap Yapısı
Name | Description | Schema |
---|---|---|
contractBuyDepths |
< AmountPrice > array |
|
contractSellDepths |
< AmountPrice > array |
7.21. ContractDepthServiceResponse
Kontrat Derinliği Servis Cevap
Name | Description | Schema |
---|---|---|
body |
||
resultCode |
0 for successful requests. For unsuccessful requests, this value contains the error code. |
string |
resultDescription |
Returns OK if successful or error description otherwise. |
string |
resultType |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
enum (SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR) |
transactionId |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
string |
7.22. ContractDepthSummaryResponse
Contract Bid Depth Service Response
Name | Description | Schema |
---|---|---|
bidState |
Bid State |
|
bidStatus |
Teklif Durumu |
|
createDate |
Teklif Oluşturma Tarihi |
string(date-time) |
direction |
Teklif Yönü |
|
lastMatchingsPriceAverage |
Last Matching Price Average |
number |
lastMatchingsQuantityAverage |
Last Matching Quantity Average |
integer(int64) |
organization |
Organizasyon |
|
organizationId |
Organizasyon Tekil Numarası |
integer(int64) |
price |
Teklif Fiyatı |
number |
quantity |
Teklif Miktarı |
integer(int64) |
remaingQuatity |
= {BID_REMAINING_QUANTITY} |
integer(int64) |
7.23. ContractDepthSummaryResponseBody
Contract Bid Depth Service Response Body
Name | Description | Schema |
---|---|---|
contractDepthSummaryResponses |
< ContractDepthSummaryResponse > array |
7.24. ContractDepthSummaryServiceResponse
Contract Bid Depth Service Response
Name | Description | Schema |
---|---|---|
body |
||
resultCode |
0 for successful requests. For unsuccessful requests, this value contains the error code. |
string |
resultDescription |
Returns OK if successful or error description otherwise. |
string |
resultType |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
enum (SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR) |
transactionId |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
string |
7.25. ContractGateChangeStatusRequestBody
Contract Gate Status Update Request Body
Name | Description | Schema |
---|---|---|
gateId |
Contract Configuration Gate Id |
integer(int64) |
gateStatusName |
Kontrat Kapı Durumu |
string |
7.26. ContractGateResponse
Contract Configuration Get Service Response
Name | Description | Schema |
---|---|---|
announcementDate |
Kontrat Kapı Duyuru Zamanı |
string(date-time) |
contractGateId |
Contract Configuration Gate Id |
integer(int64) |
contractName |
Contract Name |
string |
directionResponse |
Direction Name |
|
endDate |
Contract Configuration Gate End Date |
string(date-time) |
gateStatusResponse |
Contract Gate Status |
|
gateTypeResponse |
Contract Configuration Gate Name |
|
quantity |
Kontrat Kapı Miktarı |
integer(int64) |
startDate |
Contract Configuration Gate Start Date |
string(date-time) |
7.27. ContractGateStatusResponse
Kontrat Kapı Durumu Servis Cevabı
Name | Description | Schema |
---|---|---|
localization |
Kontrat Kapı Durumu Yerelleştirme |
|
name |
Kontrat Kapı Durumu |
string |
7.28. ContractGateTypeResponse
Kontrat Kapı Tipi
Name | Description | Schema |
---|---|---|
localization |
Kontrat Kapı Tipi Yerelleştirme |
|
name |
Contract Configuration Gate Name |
string |
7.29. ContractGateUpdateRequestBody
Contract Gate Date Update Service Request
Name | Description | Schema |
---|---|---|
endDate |
Contract Configuration Gate End Date |
string(date-time) |
gateId |
Contract Configuration Gate Id |
integer(int64) |
startDate |
Contract Configuration Gate Start Date |
string(date-time) |
7.30. ContractGetRequestBody
Contract Get Service Request
Name | Description | Schema |
---|---|---|
contractName |
Contract Name |
string |
7.31. ContractResponseBody
Current Active Contract List Service Response
Name | Description | Schema |
---|---|---|
contracts |
< ContractSummary > array |
7.32. ContractSaveRequestBody
Contract Get Service Request
Name | Description | Schema |
---|---|---|
contractTypeName |
Contract Type Name |
string |
directionName |
Contract Direction |
string |
gasDayDate |
string(date-time) |
|
gasDayDates |
Gas Day Dates |
< string(date-time) > array |
physicalPointIds |
Contract Physical Points |
< integer(int64) > array |
quantity |
Contract Quantity |
integer(int64) |
7.33. ContractServiceResponseBody
Contract Get Service Response
Name | Description | Schema |
---|---|---|
activationDate |
Contract Activation Date |
string(date-time) |
closeDate |
Contract Close Date |
string(date-time) |
contractName |
Contract Name |
string |
contractStatus |
Contract Status |
|
contractType |
Contract Type |
|
createDate |
Contract Create Date |
string(date-time) |
direction |
Contract Direction |
|
gasDays |
Contract Gas Days |
< GasDayResponse > array |
physicalPointIds |
Contract Physical Points |
< integer(int64) > array |
quantity |
Contract Quantity |
integer(int64) |
7.34. ContractStatusListRequestBody
Contract Status List Service Request
Type : object
7.35. ContractStatusListResponse
Contract Status List Service Response
Name | Description | Schema |
---|---|---|
contractStatuses |
< ContractStatusResponse > array |
7.36. ContractStatusResponse
Contract Status List Service Response
Name | Description | Schema |
---|---|---|
localization |
Contract Status Localization |
|
name |
Contract Status Name |
string |
7.37. ContractSummary
Kontrat Özeti
Name | Description | Schema |
---|---|---|
activationTime |
Contract Activation Date |
string(date-time) |
bestAmountPriceBuying |
Best Buying |
|
bestAmountPriceSelling |
Best Selling |
|
closingTime |
Contract Closing Time |
string(date-time) |
deliveryDays |
Gas Delivery Days |
< string(date-time) > array |
gasDays |
Contract Gas Days |
< GasDay > array |
highestMatchingPrice |
Highest Matching Price |
number |
lastMatchingPrice |
Last Matching Price |
number |
lastMatchingPriceDirection |
Contract Price Matching Direction |
enum (UP, DOWN, IDLE) |
name |
Contract Name |
string |
status |
Contract State |
|
type |
Type |
|
weightedAverage |
Weighted Average |
number |
weightedAverageDirection |
Contract Price Matching Direction |
enum (UP, DOWN, IDLE) |
7.38. ContractTypeResponse
Contract Type List Service Response
Name | Description | Schema |
---|---|---|
localization |
Contract Type Localization |
|
name |
Contract Type Name |
string |
7.39. DirectionResponse
Direction List Service Response
Name | Description | Schema |
---|---|---|
localization |
Direciton Localization |
|
name |
Direction Name |
string |
7.40. EmptyRequestBody
Type : object
7.41. GasDay
Contract Gas Day
Name | Description | Schema |
---|---|---|
advancePaymentDate |
Advance Payment Date |
string(date-time) |
gasDayDate |
Gas Day Date |
string(date-time) |
gasDayId |
Gas Day ID |
integer(int64) |
gasDeliveryEndDate |
Gas Day End Date |
string(date-time) |
gasDeliveryStartDate |
Gas Day Start Date |
string(date-time) |
registrationPeriodId |
Gas Day Registration Period ID |
integer(int64) |
7.42. GasDayResponse
Gas Day List Service Response
Name | Description | Schema |
---|---|---|
advancePaymentDate |
Advance Payment Date |
string(date-time) |
gasDayDate |
Gas Day Date |
string(date-time) |
gasDayId |
Gas Day ID |
integer(int64) |
gasDeliveryEndDate |
Gas Day End Date |
string(date-time) |
gasDeliveryStartDate |
Gas Day Start Date |
string(date-time) |
registrationPeriodId |
Gas Day Registration Period ID |
integer(int64) |
7.43. GrpPriceGetRequestBody
GRP Calculate Service Request
Name | Description | Schema |
---|---|---|
contractType |
Contract Type |
string |
gasDay |
Gas Day Date |
string(date-time) |
7.44. GrpPriceResponseBody
GRP Calculate Service Response
Name | Description | Schema |
---|---|---|
basePrice |
number |
|
ceilingPrice |
number |
7.45. Header
Header information.
Name | Description | Schema |
---|---|---|
key |
Header key. |
string |
value |
Header value. |
string |
7.46. LocalizationResponse
Localization Service Response
Name | Description | Schema |
---|---|---|
language |
Localization Language |
string |
text |
Localization Text |
string |
7.47. Match
Matching
Name | Description | Schema |
---|---|---|
contract |
Contract Name |
string |
matchId |
Matching Id |
string |
matchStatus |
Eşleşme Durumu |
string |
matchingTime |
Matching Time |
string(date-time) |
myOwnMatching |
My Own Matching |
boolean |
pointName |
Teklif Noktası |
string |
price |
Fiyat |
number |
quantity |
Miktar |
integer(int64) |
7.48. MatchChangeStatusRequestBody
Eşleşme Durum Değiştire Servis İstek Yapısı
Name | Description | Schema |
---|---|---|
description |
Changes the status of the match. |
string |
matchId |
Eşleşme Tekil Numarası |
string |
statusName |
Eşleşme Durumu |
string |
7.49. MatchChangeStatusRequestListBody
Eşleşme Durum Değiştire Servis İstek Yapısı
Name | Description | Schema |
---|---|---|
matchList |
< MatchChangeStatusRequestBody > array |
7.50. MatchListResponse
Eşleşme Listesi Servis Cevabı
Name | Description | Schema |
---|---|---|
matchList |
< MatchResponse > array |
7.51. MatchReasonResponse
EŞleşme Neden Listesi Servis Cevabı
Name | Description | Schema |
---|---|---|
localization |
Eşleşme Nedeni Yerelleştirme |
|
name |
Eşleşme Nedeni |
string |
7.52. MatchResponse
Eşleşme Listesi Servis Cevabı
Name | Description | Schema |
---|---|---|
contractName |
Contract Name |
string |
createDate |
Eşleşme Oluşma Tarihi |
string(date-time) |
createUser |
Eşleşme Oluşturan Kullanıcı(jxc) |
string |
matchId |
Eşleşme Tekil Numarası |
string |
matchStatus |
= {MATCH_STATUS} |
|
price |
Eşleşme Fiyatı |
number |
purchaseBid |
Eşleşme Alış Teklifi |
|
purchaseMatchReason |
Alış Teklifi Eşleşme Nedeni |
|
quantity |
Eşleşme Miktarı |
integer(int64) |
saleBid |
Eşleşme Satış Teklifi |
|
saleMatchReason |
Satış Teklifi Eşleşme Nedeni |
7.53. MatchStatusResponse
Eşleşme Durumu Servis Cevabı
Name | Description | Schema |
---|---|---|
localization |
Eşleşme Durumu Yerelleştirme |
|
name |
Eşleşme Durumu |
string |
7.54. PaymentOrder
Payment Order
Name | Description | Schema |
---|---|---|
amount |
Payment Amount |
number |
eic |
EIC |
string |
paymentOrderId |
Order Id |
integer(int64) |
requestTime |
Withdrawal Request Time |
string(date-time) |
7.55. PaymentOrderRequestBody
Ödeme Talebi İsteği
Name | Description | Schema |
---|---|---|
orders |
< PaymentOrder > array |
7.56. PaymentOrderResult
Payment Request Result
Name | Description | Schema |
---|---|---|
amount |
Payment Amount |
number |
eic |
EIC |
string |
paymentOrderId |
Order Id |
integer(int64) |
status |
Order Status |
7.57. PaymentResponseBody
Ödeme Talebi Cevabı
Name | Description | Schema |
---|---|---|
results |
< PaymentOrderResult > array |
7.58. PaymentServiceResponse
Ödeme Talebi Cevabı
Name | Description | Schema |
---|---|---|
body |
||
resultCode |
0 for successful requests. For unsuccessful requests, this value contains the error code. |
string |
resultDescription |
Returns OK if successful or error description otherwise. |
string |
resultType |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
enum (SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR) |
transactionId |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
string |
7.59. RegionalContractResponseBody
Bölgesel Aktif Kontractlar Servis Cevabı
Name | Description | Schema |
---|---|---|
contracts |
< RegionalContractSummary > array |
7.60. RegionalContractSummary
Regional Contracts
Name | Description | Schema |
---|---|---|
activationTime |
Contract Activation Date |
string(date-time) |
bestAmountPriceBuying |
Best Buying |
|
bestAmountPriceSelling |
Best Selling |
|
closingTime |
Contract Closing Time |
string(date-time) |
deliveryDays |
Gas Delivery Days |
< string(date-time) > array |
direction |
Direction |
string |
gasDays |
Contract Gas Days |
< GasDay > array |
locations |
Locations |
< string > array |
name |
Contract Name |
string |
remainingAmount |
Remaining Amount |
integer(int64) |
status |
Contract State |
|
totalAmount |
Total Amount |
integer(int64) |
type |
Type |
7.61. StringType
String Tipi
Name | Description | Schema |
---|---|---|
text |
Metin |
string |
value |
Değer |
string |
7.62. activeContractMatchingRequest
Active Contract Matching List Request
Name | Description | Schema |
---|---|---|
body |
||
headers |
Header information. |
< Header > array |
7.63. activeContractMatchingResponse
Active Contract Matching Response
Name | Description | Schema |
---|---|---|
body |
||
resultCode |
0 for successful requests. For unsuccessful requests, this value contains the error code. |
string |
resultDescription |
Returns OK if successful or error description otherwise. |
string |
resultType |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
enum (SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR) |
transactionId |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
string |
7.64. bidCancelServiceRequest
Teklif İptal Servis İsteği
Name | Description | Schema |
---|---|---|
body |
||
headers |
Header information. |
< Header > array |
7.65. bidCancelServiceResponse
Teklif İptal Servis Cevabı
Name | Description | Schema |
---|---|---|
body |
||
resultCode |
0 for successful requests. For unsuccessful requests, this value contains the error code. |
string |
resultDescription |
Returns OK if successful or error description otherwise. |
string |
resultType |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
enum (SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR) |
transactionId |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
string |
7.66. bidSaveServiceRequest
Teklif Kaydetme Servis İsteği
Name | Description | Schema |
---|---|---|
body |
||
headers |
Header information. |
< Header > array |
7.67. bidSaveServiceResponse
Teklif Kaydetme Servis Cevabı
Name | Description | Schema |
---|---|---|
body |
||
resultCode |
0 for successful requests. For unsuccessful requests, this value contains the error code. |
string |
resultDescription |
Returns OK if successful or error description otherwise. |
string |
resultType |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
enum (SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR) |
transactionId |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
string |
7.68. bidUpdateServiceRequest
Teklif Güncelleme Servis İsteği
Name | Description | Schema |
---|---|---|
body |
||
headers |
Header information. |
< Header > array |
7.69. bidUpdateServiceResponse
Teklif Güncelleme Servis Cevabı
Name | Description | Schema |
---|---|---|
body |
||
resultCode |
0 for successful requests. For unsuccessful requests, this value contains the error code. |
string |
resultDescription |
Returns OK if successful or error description otherwise. |
string |
resultType |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
enum (SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR) |
transactionId |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
string |
7.70. contractConfigurationGetServiceRequest
Contract Configuration Get Service Request
Name | Description | Schema |
---|---|---|
body |
||
headers |
Header information. |
< Header > array |
7.71. contractConfigurationGetServiceResponse
Contract Configuration Get Service Response
Name | Description | Schema |
---|---|---|
body |
||
resultCode |
0 for successful requests. For unsuccessful requests, this value contains the error code. |
string |
resultDescription |
Returns OK if successful or error description otherwise. |
string |
resultType |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
enum (SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR) |
transactionId |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
string |
7.72. contractConfigurationSaveServiceRequest
Contract Configuration Save Service Request
Name | Description | Schema |
---|---|---|
body |
||
headers |
Header information. |
< Header > array |
7.73. contractConfigurationSaveServiceResponse
Contract Configuration Save Service Response
Name | Description | Schema |
---|---|---|
body |
||
resultCode |
0 for successful requests. For unsuccessful requests, this value contains the error code. |
string |
resultDescription |
Returns OK if successful or error description otherwise. |
string |
resultType |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
enum (SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR) |
transactionId |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
string |
7.74. contractDepthServiceRequest
Kontrat Derinliği Servis Cevabı
Name | Description | Schema |
---|---|---|
body |
||
headers |
Header information. |
< Header > array |
7.75. contractGateChangeStatusServiceRequest
Contract Gate Status Update Service Request
Name | Description | Schema |
---|---|---|
body |
||
headers |
Header information. |
< Header > array |
7.76. contractGateSaveServiceResponse
Kontrat Kapı Kaydetme Servis Cevabı
Name | Description | Schema |
---|---|---|
body |
||
resultCode |
0 for successful requests. For unsuccessful requests, this value contains the error code. |
string |
resultDescription |
Returns OK if successful or error description otherwise. |
string |
resultType |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
enum (SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR) |
transactionId |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
string |
7.77. contractGateUpdateServiceRequest
Contract Gate Date Update Service Request
Name | Description | Schema |
---|---|---|
body |
||
headers |
Header information. |
< Header > array |
7.78. contractGetServiceRequest
Contract Get Service Request
Name | Description | Schema |
---|---|---|
body |
||
headers |
Header information. |
< Header > array |
7.79. contractGetServiceResponse
Contract Get Service Response
Name | Description | Schema |
---|---|---|
body |
||
resultCode |
0 for successful requests. For unsuccessful requests, this value contains the error code. |
string |
resultDescription |
Returns OK if successful or error description otherwise. |
string |
resultType |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
enum (SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR) |
transactionId |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
string |
7.80. contractRequest
Contract List Request
Name | Description | Schema |
---|---|---|
body |
||
headers |
Header information. |
< Header > array |
7.81. contractResponse
Current Active Contract List Service Response
Name | Description | Schema |
---|---|---|
body |
||
resultCode |
0 for successful requests. For unsuccessful requests, this value contains the error code. |
string |
resultDescription |
Returns OK if successful or error description otherwise. |
string |
resultType |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
enum (SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR) |
transactionId |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
string |
7.82. contractSaveServiceRequest
Contract Get Service Request
Name | Description | Schema |
---|---|---|
body |
||
headers |
Header information. |
< Header > array |
7.83. contractSaveServiceResponse
Contract Get Service Response
Name | Description | Schema |
---|---|---|
body |
||
resultCode |
0 for successful requests. For unsuccessful requests, this value contains the error code. |
string |
resultDescription |
Returns OK if successful or error description otherwise. |
string |
resultType |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
enum (SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR) |
transactionId |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
string |
7.84. contractStatusListServiceRequest
Contract Status List Service Request
Name | Description | Schema |
---|---|---|
body |
||
headers |
Header information. |
< Header > array |
7.85. contractStatusListServiceResponse
Contract Status List Service Response
Name | Description | Schema |
---|---|---|
body |
||
resultCode |
0 for successful requests. For unsuccessful requests, this value contains the error code. |
string |
resultDescription |
Returns OK if successful or error description otherwise. |
string |
resultType |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
enum (SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR) |
transactionId |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
string |
7.86. grpPriceGetRequest
GRP Calculate Service Request
Name | Description | Schema |
---|---|---|
body |
||
headers |
Header information. |
< Header > array |
7.87. grpPriceServiceResponse
GRP Calculate Service Response
Name | Description | Schema |
---|---|---|
body |
||
resultCode |
0 for successful requests. For unsuccessful requests, this value contains the error code. |
string |
resultDescription |
Returns OK if successful or error description otherwise. |
string |
resultType |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
enum (SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR) |
transactionId |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
string |
7.88. matchChangeStatusServiceRequest
Match Change Status Service Request
Name | Description | Schema |
---|---|---|
body |
||
headers |
Header information. |
< Header > array |
7.89. matchChangeStatusServiceResponse
Match Change Status Service Response
Name | Description | Schema |
---|---|---|
body |
||
resultCode |
0 for successful requests. For unsuccessful requests, this value contains the error code. |
string |
resultDescription |
Returns OK if successful or error description otherwise. |
string |
resultType |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
enum (SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR) |
transactionId |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
string |
7.90. paymentOrderServiceRequest
Ödeme Talebi İsteği
Name | Description | Schema |
---|---|---|
body |
||
headers |
Header information. |
< Header > array |
7.91. regionalContractResponse
Bölgesel Aktif Kontractlar Servis Cevabı
Name | Description | Schema |
---|---|---|
body |
||
resultCode |
0 for successful requests. For unsuccessful requests, this value contains the error code. |
string |
resultDescription |
Returns OK if successful or error description otherwise. |
string |
resultType |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
enum (SUCCESS, BUSINESSERROR, SYSTEMERROR, SECURITYERROR) |
transactionId |
SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. |
string |
Unresolved directive in index.adoc - include::operationCodeGetService.adoc[] Unresolved directive in index.adoc - include::operationHistoryGetService.adoc[]