POST api/urun/urunDepolariKaydet

Request Information

URI Parameters

None.

Body Parameters

UrunDepoKayitModels
NameDescriptionTypeAdditional information
UrunID

integer

None.

Depolar

Collection of UrunDepoModels

None.

Request Formats

application/json, text/json

Sample:
{
  "UrunID": 1,
  "Depolar": [
    {
      "SubeID": 1,
      "Sube": "sample string 2",
      "StokAdet": 3.1
    },
    {
      "SubeID": 1,
      "Sube": "sample string 2",
      "StokAdet": 3.1
    }
  ]
}

application/xml, text/xml

Sample:
<UrunDepoKayitModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SharedModels">
  <Depolar>
    <UrunDepoModels>
      <StokAdet>3.1</StokAdet>
      <Sube>sample string 2</Sube>
      <SubeID>1</SubeID>
    </UrunDepoModels>
    <UrunDepoModels>
      <StokAdet>3.1</StokAdet>
      <Sube>sample string 2</Sube>
      <SubeID>1</SubeID>
    </UrunDepoModels>
  </Depolar>
  <UrunID>1</UrunID>
</UrunDepoKayitModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.