POST PRG

Request Information

URI Parameters

None.

Body Parameters

ParamsPRGBilgisi
NameDescriptionTypeAdditional information
VERGI_NUMARASI

string

String length: inclusive between 0 and 35

VERGI_DAIRESI

string

String length: inclusive between 0 and 50

FIRMA_ADI

string

String length: inclusive between 0 and 200

TELEFON

string

String length: inclusive between 0 and 50

SEHIR

string

String length: inclusive between 0 and 50

ADRES

string

String length: inclusive between 0 and 200

PROGRAM_TIPI

PRGProgramTipi

None.

PRG_SERI_NO

string

String length: inclusive between 0 and 30

HDD_FZK_SERI_NO

string

String length: inclusive between 0 and 30

HDD_VOL_ID

string

String length: inclusive between 0 and 30

MAC_ID

string

String length: inclusive between 0 and 50

YETKILI_ADI

string

String length: inclusive between 0 and 50

TRIA_VERSIYON

string

String length: inclusive between 0 and 20

VERSIYON

string

String length: inclusive between 0 and 20

BAYI_KODU

string

String length: inclusive between 0 and 35

USER_NAME

string

String length: inclusive between 0 and 35

POS_NO

integer

None.

PC_NAME

string

String length: inclusive between 0 and 50

PC_IP

string

String length: inclusive between 0 and 30

PC_DATE

date

None.

WebErisimKullanici

string

None.

WebErisimSifre

string

None.

Request Formats

application/json, text/json

Sample:
{
  "VERGI_NUMARASI": "sample string 1",
  "VERGI_DAIRESI": "sample string 2",
  "FIRMA_ADI": "sample string 3",
  "TELEFON": "sample string 4",
  "SEHIR": "sample string 5",
  "ADRES": "sample string 6",
  "PROGRAM_TIPI": 1,
  "PRG_SERI_NO": "sample string 7",
  "HDD_FZK_SERI_NO": "sample string 8",
  "HDD_VOL_ID": "sample string 9",
  "MAC_ID": "sample string 10",
  "YETKILI_ADI": "sample string 11",
  "TRIA_VERSIYON": "sample string 12",
  "VERSIYON": "sample string 13",
  "BAYI_KODU": "sample string 14",
  "USER_NAME": "sample string 15",
  "POS_NO": 16,
  "PC_NAME": "sample string 17",
  "PC_IP": "sample string 18",
  "PC_DATE": "2025-12-08T17:53:41.2134547+03:00",
  "WebErisimKullanici": "sample string 20",
  "WebErisimSifre": "sample string 21"
}

application/xml, text/xml

Sample:
<ParamsPRGBilgisi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TriaEFaturaRestServer.Models">
  <WebErisimKullanici>sample string 20</WebErisimKullanici>
  <WebErisimSifre>sample string 21</WebErisimSifre>
  <ADRES>sample string 6</ADRES>
  <BAYI_KODU>sample string 14</BAYI_KODU>
  <FIRMA_ADI>sample string 3</FIRMA_ADI>
  <HDD_FZK_SERI_NO>sample string 8</HDD_FZK_SERI_NO>
  <HDD_VOL_ID>sample string 9</HDD_VOL_ID>
  <MAC_ID>sample string 10</MAC_ID>
  <PC_DATE>2025-12-08T17:53:41.2134547+03:00</PC_DATE>
  <PC_IP>sample string 18</PC_IP>
  <PC_NAME>sample string 17</PC_NAME>
  <POS_NO>16</POS_NO>
  <PRG_SERI_NO>sample string 7</PRG_SERI_NO>
  <PROGRAM_TIPI>Tria</PROGRAM_TIPI>
  <SEHIR>sample string 5</SEHIR>
  <TELEFON>sample string 4</TELEFON>
  <TRIA_VERSIYON>sample string 12</TRIA_VERSIYON>
  <USER_NAME>sample string 15</USER_NAME>
  <VERGI_DAIRESI>sample string 2</VERGI_DAIRESI>
  <VERGI_NUMARASI>sample string 1</VERGI_NUMARASI>
  <VERSIYON>sample string 13</VERSIYON>
  <YETKILI_ADI>sample string 11</YETKILI_ADI>
</ParamsPRGBilgisi>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IPRGReturn
NameDescriptionTypeAdditional information
Status

boolean

None.

ErrorMessageCode

integer

None.

ErrorMessage

string

None.

Versiyon

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "ErrorMessageCode": 2,
  "ErrorMessage": "sample string 3",
  "Versiyon": "sample string 4"
}

application/xml, text/xml

Sample:
<IPRGReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TriaEFaturaRestServer.Models">
  <ErrorMessage>sample string 3</ErrorMessage>
  <ErrorMessageCode>2</ErrorMessageCode>
  <Status>true</Status>
  <Versiyon>sample string 4</Versiyon>
</IPRGReturn>