POST v6/api_1758/StokKartiOlustur

Request Information

URI Parameters

None.

Body Parameters

Stok
NameDescriptionTypeAdditional information
stokKodu

string

None.

stokAdi

string

None.

takipSekli

byte

None.

stokCinsi

byte

None.

muhasebeKodu

string

None.

minStok

decimal number

None.

toptanVergi

byte

None.

perakendeVergi

byte

None.

Request Formats

application/json, text/json

Sample:
{
  "stokKodu": "sample string 1",
  "stokAdi": "sample string 2",
  "takipSekli": 64,
  "stokCinsi": 64,
  "muhasebeKodu": "sample string 5",
  "minStok": 6.1,
  "toptanVergi": 64,
  "perakendeVergi": 64
}

application/xml, text/xml

Sample:
<mdl_1758_KilicEntegrasyon.Stok xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/V6.models.Entegrasyon.Operasyonlar">
  <minStok>6.1</minStok>
  <muhasebeKodu>sample string 5</muhasebeKodu>
  <perakendeVergi>64</perakendeVergi>
  <stokAdi>sample string 2</stokAdi>
  <stokCinsi>64</stokCinsi>
  <stokKodu>sample string 1</stokKodu>
  <takipSekli>64</takipSekli>
  <toptanVergi>64</toptanVergi>
</mdl_1758_KilicEntegrasyon.Stok>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Stok'.

Response Information

Resource Description

ResultModel
NameDescriptionTypeAdditional information
IsSuccessfull

boolean

None.

ErrorMessage

string

None.

StatusCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessfull": true,
  "ErrorMessage": "sample string 2",
  "StatusCode": 3
}

application/xml, text/xml

Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/V6.models.CommonModels">
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsSuccessfull>true</IsSuccessfull>
  <StatusCode>3</StatusCode>
</ResultModel>