POST api/Warehouse/Add

Request Information

URI Parameters

None.

Body Parameters

WarehouseAddDto
NameDescriptionTypeAdditional information
Code

string

None.

Name

string

None.

CompanyID

globally unique identifier

None.

ProductStockActionDetails

Collection of ProductStockActionDetailCardDto

None.

Request Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "name": "sample string 2",
  "companyID": "4938271d-5d40-4c03-9bad-d8f961730892",
  "productStockActionDetails": [
    {
      "currencyRate": 1.1,
      "quantity": 2.1,
      "amount": 3.1,
      "discountRate": 4.1,
      "discountAmount": 5.1,
      "discountedUnitPrice": 6.1,
      "discountedTotalPrice": 7.1,
      "isDiscountPercentage": true,
      "totalAmount": 9.1,
      "kdv": 0,
      "kdvAmount": 10.1,
      "oiv": 11.1,
      "oivAmount": 12.1,
      "otv": 13.1,
      "otvAmount": 14.1,
      "isOTVPercentage": true,
      "theWithholding": {
        "title": "sample string 1",
        "rate": 2,
        "description": "sample string 3",
        "isActive": true,
        "code": "sample string 5",
        "id": "f53bb825-0d93-49c6-9685-a4d5ce4e68af",
        "companyID": "251442f3-3b60-4a3f-8314-af3ed3d29b8f"
      },
      "theWithholdingAmount": 16.1,
      "productStockActionID": "df1fa302-ad63-48ea-9b37-08da4f3390b4",
      "noKDVReason": {
        "title": "sample string 1",
        "code": "sample string 2",
        "createBy": {
          "id": "9d3c91ae-bc4f-4074-a578-fbb162f3a878",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "createDT": "2025-08-04T22:33:17.2892725+03:00",
        "updateBy": {
          "id": "9d3c91ae-bc4f-4074-a578-fbb162f3a878",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "updateDT": "2025-08-04T22:33:17.2892725+03:00",
        "id": "05f8ddb5-3466-43fb-af2e-41f726d87fc9",
        "companyID": "13669ee8-7268-4ba8-a686-c78c8c4a49d2"
      },
      "product": {
        "name": "sample string 1",
        "productType": 1,
        "barcode": "sample string 2",
        "description": "sample string 3",
        "photo": "sample string 4",
        "isStockTracking": true,
        "stock": 6.1,
        "minStockValue": 7.1,
        "serialNumber": "sample string 8",
        "model": "sample string 9",
        "isWarranty": true,
        "warrantyEndDate": "2025-08-04T22:33:17.2892725+03:00",
        "salePriceGroupOne": {
          "currency": {
            "name": "sample string 1",
            "code": "sample string 2",
            "id": "3f3a9703-9f11-4db3-8200-49cdcfbceaf7",
            "companyID": "b1278b81-3155-4cf3-9431-f9885cddc5e4"
          },
          "isKDVInclude": true,
          "kdv": 0,
          "price": 2.1,
          "oiv": 3.1,
          "otv": 4.1,
          "oivCode": "sample string 5",
          "otvCode": "sample string 6",
          "code": "sample string 7",
          "id": "d7eb0817-eca4-4ec5-bb79-8239544efb64",
          "companyID": "d0436975-8699-4f06-ad5d-586dc3d2a9bb"
        },
        "purchaseOTV": 11.1,
        "purchasePrice": 12.1,
        "purchaseCurrency": {
          "name": "sample string 1",
          "code": "sample string 2",
          "id": "3f3a9703-9f11-4db3-8200-49cdcfbceaf7",
          "companyID": "b1278b81-3155-4cf3-9431-f9885cddc5e4"
        },
        "unit": {
          "name": "sample string 1",
          "code": "sample string 2",
          "id": "568170fd-ba87-49e4-a946-a4c27410133e",
          "companyID": "a244c78f-80c8-42ac-8da7-d877a7b43a7b"
        },
        "gtip": "sample string 13",
        "producerCountry": "sample string 14",
        "buyersItemIdentification": "sample string 15",
        "isImported": true,
        "isActive": true,
        "code": "sample string 18",
        "createBy": {
          "id": "9d3c91ae-bc4f-4074-a578-fbb162f3a878",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "createDT": "2025-08-04T22:33:17.2892725+03:00",
        "updateBy": {
          "id": "9d3c91ae-bc4f-4074-a578-fbb162f3a878",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "updateDT": "2025-08-04T22:33:17.2892725+03:00",
        "id": "d6dbf3ab-10a7-41aa-8253-197fc1411fe9",
        "companyID": "1c6601c9-3a68-4953-b058-113c56dc4e54"
      },
      "unit": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "568170fd-ba87-49e4-a946-a4c27410133e",
        "companyID": "a244c78f-80c8-42ac-8da7-d877a7b43a7b"
      },
      "currency": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "3f3a9703-9f11-4db3-8200-49cdcfbceaf7",
        "companyID": "b1278b81-3155-4cf3-9431-f9885cddc5e4"
      },
      "entryWarehouse": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "36596ceb-f30a-40bd-87de-24685d2c94a3",
        "companyID": "0421cb22-0af6-4c41-b9c4-4016cbe00329"
      },
      "exitWarehouse": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "36596ceb-f30a-40bd-87de-24685d2c94a3",
        "companyID": "0421cb22-0af6-4c41-b9c4-4016cbe00329"
      },
      "code": "sample string 17",
      "createBy": {
        "id": "9d3c91ae-bc4f-4074-a578-fbb162f3a878",
        "name": "sample string 2",
        "surname": "sample string 3",
        "email": "sample string 4"
      },
      "createDT": "2025-08-04T22:33:17.2892725+03:00",
      "updateBy": {
        "id": "9d3c91ae-bc4f-4074-a578-fbb162f3a878",
        "name": "sample string 2",
        "surname": "sample string 3",
        "email": "sample string 4"
      },
      "updateDT": "2025-08-04T22:33:17.2892725+03:00",
      "id": "d024ca80-a76b-4d53-8f64-ff4fd490f9cd",
      "companyID": "1e04d834-62a9-461c-8f8c-661af6f22e78"
    },
    {
      "currencyRate": 1.1,
      "quantity": 2.1,
      "amount": 3.1,
      "discountRate": 4.1,
      "discountAmount": 5.1,
      "discountedUnitPrice": 6.1,
      "discountedTotalPrice": 7.1,
      "isDiscountPercentage": true,
      "totalAmount": 9.1,
      "kdv": 0,
      "kdvAmount": 10.1,
      "oiv": 11.1,
      "oivAmount": 12.1,
      "otv": 13.1,
      "otvAmount": 14.1,
      "isOTVPercentage": true,
      "theWithholding": {
        "title": "sample string 1",
        "rate": 2,
        "description": "sample string 3",
        "isActive": true,
        "code": "sample string 5",
        "id": "f53bb825-0d93-49c6-9685-a4d5ce4e68af",
        "companyID": "251442f3-3b60-4a3f-8314-af3ed3d29b8f"
      },
      "theWithholdingAmount": 16.1,
      "productStockActionID": "df1fa302-ad63-48ea-9b37-08da4f3390b4",
      "noKDVReason": {
        "title": "sample string 1",
        "code": "sample string 2",
        "createBy": {
          "id": "9d3c91ae-bc4f-4074-a578-fbb162f3a878",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "createDT": "2025-08-04T22:33:17.2892725+03:00",
        "updateBy": {
          "id": "9d3c91ae-bc4f-4074-a578-fbb162f3a878",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "updateDT": "2025-08-04T22:33:17.2892725+03:00",
        "id": "05f8ddb5-3466-43fb-af2e-41f726d87fc9",
        "companyID": "13669ee8-7268-4ba8-a686-c78c8c4a49d2"
      },
      "product": {
        "name": "sample string 1",
        "productType": 1,
        "barcode": "sample string 2",
        "description": "sample string 3",
        "photo": "sample string 4",
        "isStockTracking": true,
        "stock": 6.1,
        "minStockValue": 7.1,
        "serialNumber": "sample string 8",
        "model": "sample string 9",
        "isWarranty": true,
        "warrantyEndDate": "2025-08-04T22:33:17.2892725+03:00",
        "salePriceGroupOne": {
          "currency": {
            "name": "sample string 1",
            "code": "sample string 2",
            "id": "3f3a9703-9f11-4db3-8200-49cdcfbceaf7",
            "companyID": "b1278b81-3155-4cf3-9431-f9885cddc5e4"
          },
          "isKDVInclude": true,
          "kdv": 0,
          "price": 2.1,
          "oiv": 3.1,
          "otv": 4.1,
          "oivCode": "sample string 5",
          "otvCode": "sample string 6",
          "code": "sample string 7",
          "id": "d7eb0817-eca4-4ec5-bb79-8239544efb64",
          "companyID": "d0436975-8699-4f06-ad5d-586dc3d2a9bb"
        },
        "purchaseOTV": 11.1,
        "purchasePrice": 12.1,
        "purchaseCurrency": {
          "name": "sample string 1",
          "code": "sample string 2",
          "id": "3f3a9703-9f11-4db3-8200-49cdcfbceaf7",
          "companyID": "b1278b81-3155-4cf3-9431-f9885cddc5e4"
        },
        "unit": {
          "name": "sample string 1",
          "code": "sample string 2",
          "id": "568170fd-ba87-49e4-a946-a4c27410133e",
          "companyID": "a244c78f-80c8-42ac-8da7-d877a7b43a7b"
        },
        "gtip": "sample string 13",
        "producerCountry": "sample string 14",
        "buyersItemIdentification": "sample string 15",
        "isImported": true,
        "isActive": true,
        "code": "sample string 18",
        "createBy": {
          "id": "9d3c91ae-bc4f-4074-a578-fbb162f3a878",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "createDT": "2025-08-04T22:33:17.2892725+03:00",
        "updateBy": {
          "id": "9d3c91ae-bc4f-4074-a578-fbb162f3a878",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "updateDT": "2025-08-04T22:33:17.2892725+03:00",
        "id": "d6dbf3ab-10a7-41aa-8253-197fc1411fe9",
        "companyID": "1c6601c9-3a68-4953-b058-113c56dc4e54"
      },
      "unit": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "568170fd-ba87-49e4-a946-a4c27410133e",
        "companyID": "a244c78f-80c8-42ac-8da7-d877a7b43a7b"
      },
      "currency": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "3f3a9703-9f11-4db3-8200-49cdcfbceaf7",
        "companyID": "b1278b81-3155-4cf3-9431-f9885cddc5e4"
      },
      "entryWarehouse": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "36596ceb-f30a-40bd-87de-24685d2c94a3",
        "companyID": "0421cb22-0af6-4c41-b9c4-4016cbe00329"
      },
      "exitWarehouse": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "36596ceb-f30a-40bd-87de-24685d2c94a3",
        "companyID": "0421cb22-0af6-4c41-b9c4-4016cbe00329"
      },
      "code": "sample string 17",
      "createBy": {
        "id": "9d3c91ae-bc4f-4074-a578-fbb162f3a878",
        "name": "sample string 2",
        "surname": "sample string 3",
        "email": "sample string 4"
      },
      "createDT": "2025-08-04T22:33:17.2892725+03:00",
      "updateBy": {
        "id": "9d3c91ae-bc4f-4074-a578-fbb162f3a878",
        "name": "sample string 2",
        "surname": "sample string 3",
        "email": "sample string 4"
      },
      "updateDT": "2025-08-04T22:33:17.2892725+03:00",
      "id": "d024ca80-a76b-4d53-8f64-ff4fd490f9cd",
      "companyID": "1e04d834-62a9-461c-8f8c-661af6f22e78"
    }
  ]
}

application/xml, text/xml

Sample:
<WarehouseAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">
  <Code>sample string 1</Code>
  <CompanyID>4938271d-5d40-4c03-9bad-d8f961730892</CompanyID>
  <Name>sample string 2</Name>
  <ProductStockActionDetails>
    <ProductStockActionDetailCardDto>
      <CompanyID>1e04d834-62a9-461c-8f8c-661af6f22e78</CompanyID>
      <ID>d024ca80-a76b-4d53-8f64-ff4fd490f9cd</ID>
      <Code>sample string 17</Code>
      <CreateBy>
        <Email>sample string 4</Email>
        <ID>9d3c91ae-bc4f-4074-a578-fbb162f3a878</ID>
        <Name>sample string 2</Name>
        <Surname>sample string 3</Surname>
      </CreateBy>
      <CreateDT>2025-08-04T22:33:17.2892725+03:00</CreateDT>
      <UpdateBy>
        <Email>sample string 4</Email>
        <ID>9d3c91ae-bc4f-4074-a578-fbb162f3a878</ID>
        <Name>sample string 2</Name>
        <Surname>sample string 3</Surname>
      </UpdateBy>
      <UpdateDT>2025-08-04T22:33:17.2892725+03:00</UpdateDT>
      <Amount>3.1</Amount>
      <Currency>
        <CompanyID>b1278b81-3155-4cf3-9431-f9885cddc5e4</CompanyID>
        <ID>3f3a9703-9f11-4db3-8200-49cdcfbceaf7</ID>
        <Code>sample string 2</Code>
        <Name>sample string 1</Name>
      </Currency>
      <CurrencyRate>1.1</CurrencyRate>
      <DiscountAmount>5.1</DiscountAmount>
      <DiscountRate>4.1</DiscountRate>
      <DiscountedTotalPrice>7.1</DiscountedTotalPrice>
      <DiscountedUnitPrice>6.1</DiscountedUnitPrice>
      <EntryWarehouse>
        <CompanyID>0421cb22-0af6-4c41-b9c4-4016cbe00329</CompanyID>
        <ID>36596ceb-f30a-40bd-87de-24685d2c94a3</ID>
        <Code>sample string 2</Code>
        <Name>sample string 1</Name>
      </EntryWarehouse>
      <ExitWarehouse>
        <CompanyID>0421cb22-0af6-4c41-b9c4-4016cbe00329</CompanyID>
        <ID>36596ceb-f30a-40bd-87de-24685d2c94a3</ID>
        <Code>sample string 2</Code>
        <Name>sample string 1</Name>
      </ExitWarehouse>
      <IsDiscountPercentage>true</IsDiscountPercentage>
      <IsOTVPercentage>true</IsOTVPercentage>
      <KDV>KDV0</KDV>
      <KDVAmount>10.1</KDVAmount>
      <NoKDVReason>
        <CompanyID>13669ee8-7268-4ba8-a686-c78c8c4a49d2</CompanyID>
        <ID>05f8ddb5-3466-43fb-af2e-41f726d87fc9</ID>
        <Code>sample string 2</Code>
        <CreateBy>
          <Email>sample string 4</Email>
          <ID>9d3c91ae-bc4f-4074-a578-fbb162f3a878</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </CreateBy>
        <CreateDT>2025-08-04T22:33:17.2892725+03:00</CreateDT>
        <UpdateBy>
          <Email>sample string 4</Email>
          <ID>9d3c91ae-bc4f-4074-a578-fbb162f3a878</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </UpdateBy>
        <UpdateDT>2025-08-04T22:33:17.2892725+03:00</UpdateDT>
        <Title>sample string 1</Title>
      </NoKDVReason>
      <OIV>11.1</OIV>
      <OIVAmount>12.1</OIVAmount>
      <OTV>13.1</OTV>
      <OTVAmount>14.1</OTVAmount>
      <Product>
        <CompanyID>1c6601c9-3a68-4953-b058-113c56dc4e54</CompanyID>
        <ID>d6dbf3ab-10a7-41aa-8253-197fc1411fe9</ID>
        <Code>sample string 18</Code>
        <CreateBy>
          <Email>sample string 4</Email>
          <ID>9d3c91ae-bc4f-4074-a578-fbb162f3a878</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </CreateBy>
        <CreateDT>2025-08-04T22:33:17.2892725+03:00</CreateDT>
        <UpdateBy>
          <Email>sample string 4</Email>
          <ID>9d3c91ae-bc4f-4074-a578-fbb162f3a878</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </UpdateBy>
        <UpdateDT>2025-08-04T22:33:17.2892725+03:00</UpdateDT>
        <Barcode>sample string 2</Barcode>
        <BuyersItemIdentification>sample string 15</BuyersItemIdentification>
        <Description>sample string 3</Description>
        <Gtip>sample string 13</Gtip>
        <IsActive>true</IsActive>
        <IsImported>true</IsImported>
        <IsStockTracking>true</IsStockTracking>
        <IsWarranty>true</IsWarranty>
        <MinStockValue>7.1</MinStockValue>
        <Model>sample string 9</Model>
        <Name>sample string 1</Name>
        <Photo>sample string 4</Photo>
        <ProducerCountry>sample string 14</ProducerCountry>
        <ProductType>Product</ProductType>
        <PurchaseCurrency>
          <CompanyID>b1278b81-3155-4cf3-9431-f9885cddc5e4</CompanyID>
          <ID>3f3a9703-9f11-4db3-8200-49cdcfbceaf7</ID>
          <Code>sample string 2</Code>
          <Name>sample string 1</Name>
        </PurchaseCurrency>
        <PurchaseOTV>11.1</PurchaseOTV>
        <PurchasePrice>12.1</PurchasePrice>
        <SalePriceGroupOne>
          <CompanyID>d0436975-8699-4f06-ad5d-586dc3d2a9bb</CompanyID>
          <ID>d7eb0817-eca4-4ec5-bb79-8239544efb64</ID>
          <Code>sample string 7</Code>
          <Currency>
            <CompanyID>b1278b81-3155-4cf3-9431-f9885cddc5e4</CompanyID>
            <ID>3f3a9703-9f11-4db3-8200-49cdcfbceaf7</ID>
            <Code>sample string 2</Code>
            <Name>sample string 1</Name>
          </Currency>
          <IsKDVInclude>true</IsKDVInclude>
          <KDV>KDV0</KDV>
          <OIV>3.1</OIV>
          <OIVCode>sample string 5</OIVCode>
          <OTV>4.1</OTV>
          <OTVCode>sample string 6</OTVCode>
          <Price>2.1</Price>
        </SalePriceGroupOne>
        <SerialNumber>sample string 8</SerialNumber>
        <Stock>6.1</Stock>
        <Unit>
          <CompanyID>a244c78f-80c8-42ac-8da7-d877a7b43a7b</CompanyID>
          <ID>568170fd-ba87-49e4-a946-a4c27410133e</ID>
          <Code>sample string 2</Code>
          <Name>sample string 1</Name>
        </Unit>
        <WarrantyEndDate>2025-08-04T22:33:17.2892725+03:00</WarrantyEndDate>
      </Product>
      <ProductStockActionID>df1fa302-ad63-48ea-9b37-08da4f3390b4</ProductStockActionID>
      <Quantity>2.1</Quantity>
      <TheWithholding>
        <CompanyID>251442f3-3b60-4a3f-8314-af3ed3d29b8f</CompanyID>
        <ID>f53bb825-0d93-49c6-9685-a4d5ce4e68af</ID>
        <Code>sample string 5</Code>
        <Description>sample string 3</Description>
        <IsActive>true</IsActive>
        <Rate>2</Rate>
        <Title>sample string 1</Title>
      </TheWithholding>
      <TheWithholdingAmount>16.1</TheWithholdingAmount>
      <TotalAmount>9.1</TotalAmount>
      <Unit>
        <CompanyID>a244c78f-80c8-42ac-8da7-d877a7b43a7b</CompanyID>
        <ID>568170fd-ba87-49e4-a946-a4c27410133e</ID>
        <Code>sample string 2</Code>
        <Name>sample string 1</Name>
      </Unit>
    </ProductStockActionDetailCardDto>
    <ProductStockActionDetailCardDto>
      <CompanyID>1e04d834-62a9-461c-8f8c-661af6f22e78</CompanyID>
      <ID>d024ca80-a76b-4d53-8f64-ff4fd490f9cd</ID>
      <Code>sample string 17</Code>
      <CreateBy>
        <Email>sample string 4</Email>
        <ID>9d3c91ae-bc4f-4074-a578-fbb162f3a878</ID>
        <Name>sample string 2</Name>
        <Surname>sample string 3</Surname>
      </CreateBy>
      <CreateDT>2025-08-04T22:33:17.2892725+03:00</CreateDT>
      <UpdateBy>
        <Email>sample string 4</Email>
        <ID>9d3c91ae-bc4f-4074-a578-fbb162f3a878</ID>
        <Name>sample string 2</Name>
        <Surname>sample string 3</Surname>
      </UpdateBy>
      <UpdateDT>2025-08-04T22:33:17.2892725+03:00</UpdateDT>
      <Amount>3.1</Amount>
      <Currency>
        <CompanyID>b1278b81-3155-4cf3-9431-f9885cddc5e4</CompanyID>
        <ID>3f3a9703-9f11-4db3-8200-49cdcfbceaf7</ID>
        <Code>sample string 2</Code>
        <Name>sample string 1</Name>
      </Currency>
      <CurrencyRate>1.1</CurrencyRate>
      <DiscountAmount>5.1</DiscountAmount>
      <DiscountRate>4.1</DiscountRate>
      <DiscountedTotalPrice>7.1</DiscountedTotalPrice>
      <DiscountedUnitPrice>6.1</DiscountedUnitPrice>
      <EntryWarehouse>
        <CompanyID>0421cb22-0af6-4c41-b9c4-4016cbe00329</CompanyID>
        <ID>36596ceb-f30a-40bd-87de-24685d2c94a3</ID>
        <Code>sample string 2</Code>
        <Name>sample string 1</Name>
      </EntryWarehouse>
      <ExitWarehouse>
        <CompanyID>0421cb22-0af6-4c41-b9c4-4016cbe00329</CompanyID>
        <ID>36596ceb-f30a-40bd-87de-24685d2c94a3</ID>
        <Code>sample string 2</Code>
        <Name>sample string 1</Name>
      </ExitWarehouse>
      <IsDiscountPercentage>true</IsDiscountPercentage>
      <IsOTVPercentage>true</IsOTVPercentage>
      <KDV>KDV0</KDV>
      <KDVAmount>10.1</KDVAmount>
      <NoKDVReason>
        <CompanyID>13669ee8-7268-4ba8-a686-c78c8c4a49d2</CompanyID>
        <ID>05f8ddb5-3466-43fb-af2e-41f726d87fc9</ID>
        <Code>sample string 2</Code>
        <CreateBy>
          <Email>sample string 4</Email>
          <ID>9d3c91ae-bc4f-4074-a578-fbb162f3a878</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </CreateBy>
        <CreateDT>2025-08-04T22:33:17.2892725+03:00</CreateDT>
        <UpdateBy>
          <Email>sample string 4</Email>
          <ID>9d3c91ae-bc4f-4074-a578-fbb162f3a878</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </UpdateBy>
        <UpdateDT>2025-08-04T22:33:17.2892725+03:00</UpdateDT>
        <Title>sample string 1</Title>
      </NoKDVReason>
      <OIV>11.1</OIV>
      <OIVAmount>12.1</OIVAmount>
      <OTV>13.1</OTV>
      <OTVAmount>14.1</OTVAmount>
      <Product>
        <CompanyID>1c6601c9-3a68-4953-b058-113c56dc4e54</CompanyID>
        <ID>d6dbf3ab-10a7-41aa-8253-197fc1411fe9</ID>
        <Code>sample string 18</Code>
        <CreateBy>
          <Email>sample string 4</Email>
          <ID>9d3c91ae-bc4f-4074-a578-fbb162f3a878</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </CreateBy>
        <CreateDT>2025-08-04T22:33:17.2892725+03:00</CreateDT>
        <UpdateBy>
          <Email>sample string 4</Email>
          <ID>9d3c91ae-bc4f-4074-a578-fbb162f3a878</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </UpdateBy>
        <UpdateDT>2025-08-04T22:33:17.2892725+03:00</UpdateDT>
        <Barcode>sample string 2</Barcode>
        <BuyersItemIdentification>sample string 15</BuyersItemIdentification>
        <Description>sample string 3</Description>
        <Gtip>sample string 13</Gtip>
        <IsActive>true</IsActive>
        <IsImported>true</IsImported>
        <IsStockTracking>true</IsStockTracking>
        <IsWarranty>true</IsWarranty>
        <MinStockValue>7.1</MinStockValue>
        <Model>sample string 9</Model>
        <Name>sample string 1</Name>
        <Photo>sample string 4</Photo>
        <ProducerCountry>sample string 14</ProducerCountry>
        <ProductType>Product</ProductType>
        <PurchaseCurrency>
          <CompanyID>b1278b81-3155-4cf3-9431-f9885cddc5e4</CompanyID>
          <ID>3f3a9703-9f11-4db3-8200-49cdcfbceaf7</ID>
          <Code>sample string 2</Code>
          <Name>sample string 1</Name>
        </PurchaseCurrency>
        <PurchaseOTV>11.1</PurchaseOTV>
        <PurchasePrice>12.1</PurchasePrice>
        <SalePriceGroupOne>
          <CompanyID>d0436975-8699-4f06-ad5d-586dc3d2a9bb</CompanyID>
          <ID>d7eb0817-eca4-4ec5-bb79-8239544efb64</ID>
          <Code>sample string 7</Code>
          <Currency>
            <CompanyID>b1278b81-3155-4cf3-9431-f9885cddc5e4</CompanyID>
            <ID>3f3a9703-9f11-4db3-8200-49cdcfbceaf7</ID>
            <Code>sample string 2</Code>
            <Name>sample string 1</Name>
          </Currency>
          <IsKDVInclude>true</IsKDVInclude>
          <KDV>KDV0</KDV>
          <OIV>3.1</OIV>
          <OIVCode>sample string 5</OIVCode>
          <OTV>4.1</OTV>
          <OTVCode>sample string 6</OTVCode>
          <Price>2.1</Price>
        </SalePriceGroupOne>
        <SerialNumber>sample string 8</SerialNumber>
        <Stock>6.1</Stock>
        <Unit>
          <CompanyID>a244c78f-80c8-42ac-8da7-d877a7b43a7b</CompanyID>
          <ID>568170fd-ba87-49e4-a946-a4c27410133e</ID>
          <Code>sample string 2</Code>
          <Name>sample string 1</Name>
        </Unit>
        <WarrantyEndDate>2025-08-04T22:33:17.2892725+03:00</WarrantyEndDate>
      </Product>
      <ProductStockActionID>df1fa302-ad63-48ea-9b37-08da4f3390b4</ProductStockActionID>
      <Quantity>2.1</Quantity>
      <TheWithholding>
        <CompanyID>251442f3-3b60-4a3f-8314-af3ed3d29b8f</CompanyID>
        <ID>f53bb825-0d93-49c6-9685-a4d5ce4e68af</ID>
        <Code>sample string 5</Code>
        <Description>sample string 3</Description>
        <IsActive>true</IsActive>
        <Rate>2</Rate>
        <Title>sample string 1</Title>
      </TheWithholding>
      <TheWithholdingAmount>16.1</TheWithholdingAmount>
      <TotalAmount>9.1</TotalAmount>
      <Unit>
        <CompanyID>a244c78f-80c8-42ac-8da7-d877a7b43a7b</CompanyID>
        <ID>568170fd-ba87-49e4-a946-a4c27410133e</ID>
        <Code>sample string 2</Code>
        <Name>sample string 1</Name>
      </Unit>
    </ProductStockActionDetailCardDto>
  </ProductStockActionDetails>
</WarehouseAddDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"code":"sample string 1","name":"sample string 2","companyID":"4938271d-5d40-4c03-9bad-d8f961730892","productStockActionDetails":[{"currencyRate":1.1,"quantity":2.1,"amount":3.1,"discountRate":4.1,"discountAmount":5.1,"discountedUnitPrice":6.1,"discountedTotalPrice":7.1,"isDiscountPercentage":true,"totalAmount":9.1,"kdv":0,"kdvAmount":10.1,"oiv":11.1,"oivAmount":12.1,"otv":13.1,"otvAmount":14.1,"isOTVPercentage":true,"theWithholding":{"title":"sample string 1","rate":2,"description":"sample string 3","isActive":true,"code":"sample string 5","id":"f53bb825-0d93-49c6-9685-a4d5ce4e68af","companyID":"251442f3-3b60-4a3f-8314-af3ed3d29b8f"},"theWithholdingAmount":16.1,"productStockActionID":"df1fa302-ad63-48ea-9b37-08da4f3390b4","noKDVReason":{"title":"sample string 1","code":"sample string 2","createBy":{"id":"9d3c91ae-bc4f-4074-a578-fbb162f3a878","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-08-04T22:33:17.2892725+03:00","updateBy":{"id":"9d3c91ae-bc4f-4074-a578-fbb162f3a878","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-08-04T22:33:17.2892725+03:00","id":"05f8ddb5-3466-43fb-af2e-41f726d87fc9","companyID":"13669ee8-7268-4ba8-a686-c78c8c4a49d2"},"product":{"name":"sample string 1","productType":1,"barcode":"sample string 2","description":"sample string 3","photo":"sample string 4","isStockTracking":true,"stock":6.1,"minStockValue":7.1,"serialNumber":"sample string 8","model":"sample string 9","isWarranty":true,"warrantyEndDate":"2025-08-04T22:33:17.2892725+03:00","salePriceGroupOne":{"currency":{"name":"sample string 1","code":"sample string 2","id":"3f3a9703-9f11-4db3-8200-49cdcfbceaf7","companyID":"b1278b81-3155-4cf3-9431-f9885cddc5e4"},"isKDVInclude":true,"kdv":0,"price":2.1,"oiv":3.1,"otv":4.1,"oivCode":"sample string 5","otvCode":"sample string 6","code":"sample string 7","id":"d7eb0817-eca4-4ec5-bb79-8239544efb64","companyID":"d0436975-8699-4f06-ad5d-586dc3d2a9bb"},"purchaseOTV":11.1,"purchasePrice":12.1,"purchaseCurrency":{"name":"sample string 1","code":"sample string 2","id":"3f3a9703-9f11-4db3-8200-49cdcfbceaf7","companyID":"b1278b81-3155-4cf3-9431-f9885cddc5e4"},"unit":{"name":"sample string 1","code":"sample string 2","id":"568170fd-ba87-49e4-a946-a4c27410133e","companyID":"a244c78f-80c8-42ac-8da7-d877a7b43a7b"},"gtip":"sample string 13","producerCountry":"sample string 14","buyersItemIdentification":"sample string 15","isImported":true,"isActive":true,"code":"sample string 18","createBy":{"id":"9d3c91ae-bc4f-4074-a578-fbb162f3a878","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-08-04T22:33:17.2892725+03:00","updateBy":{"id":"9d3c91ae-bc4f-4074-a578-fbb162f3a878","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-08-04T22:33:17.2892725+03:00","id":"d6dbf3ab-10a7-41aa-8253-197fc1411fe9","companyID":"1c6601c9-3a68-4953-b058-113c56dc4e54"},"unit":{"name":"sample string 1","code":"sample string 2","id":"568170fd-ba87-49e4-a946-a4c27410133e","companyID":"a244c78f-80c8-42ac-8da7-d877a7b43a7b"},"currency":{"name":"sample string 1","code":"sample string 2","id":"3f3a9703-9f11-4db3-8200-49cdcfbceaf7","companyID":"b1278b81-3155-4cf3-9431-f9885cddc5e4"},"entryWarehouse":{"name":"sample string 1","code":"sample string 2","id":"36596ceb-f30a-40bd-87de-24685d2c94a3","companyID":"0421cb22-0af6-4c41-b9c4-4016cbe00329"},"exitWarehouse":{"name":"sample string 1","code":"sample string 2","id":"36596ceb-f30a-40bd-87de-24685d2c94a3","companyID":"0421cb22-0af6-4c41-b9c4-4016cbe00329"},"code":"sample string 17","createBy":{"id":"9d3c91ae-bc4f-4074-a578-fbb162f3a878","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-08-04T22:33:17.2892725+03:00","updateBy":{"id":"9d3c91ae-bc4f-4074-a578-fbb162f3a878","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-08-04T22:33:17.2892725+03:00","id":"d024ca80-a76b-4d53-8f64-ff4fd490f9cd","companyID":"1e04d834-62a9-461c-8f8c-661af6f22e78"},{"currencyRate":1.1,"quantity":2.1,"amount":3.1,"discountRate":4.1,"discountAmount":5.1,"discountedUnitPrice":6.1,"discountedTotalPrice":7.1,"isDiscountPercentage":true,"totalAmount":9.1,"kdv":0,"kdvAmount":10.1,"oiv":11.1,"oivAmount":12.1,"otv":13.1,"otvAmount":14.1,"isOTVPercentage":true,"theWithholding":{"title":"sample string 1","rate":2,"description":"sample string 3","isActive":true,"code":"sample string 5","id":"f53bb825-0d93-49c6-9685-a4d5ce4e68af","companyID":"251442f3-3b60-4a3f-8314-af3ed3d29b8f"},"theWithholdingAmount":16.1,"productStockActionID":"df1fa302-ad63-48ea-9b37-08da4f3390b4","noKDVReason":{"title":"sample string 1","code":"sample string 2","createBy":{"id":"9d3c91ae-bc4f-4074-a578-fbb162f3a878","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-08-04T22:33:17.2892725+03:00","updateBy":{"id":"9d3c91ae-bc4f-4074-a578-fbb162f3a878","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-08-04T22:33:17.2892725+03:00","id":"05f8ddb5-3466-43fb-af2e-41f726d87fc9","companyID":"13669ee8-7268-4ba8-a686-c78c8c4a49d2"},"product":{"name":"sample string 1","productType":1,"barcode":"sample string 2","description":"sample string 3","photo":"sample string 4","isStockTracking":true,"stock":6.1,"minStockValue":7.1,"serialNumber":"sample string 8","model":"sample string 9","isWarranty":true,"warrantyEndDate":"2025-08-04T22:33:17.2892725+03:00","salePriceGroupOne":{"currency":{"name":"sample string 1","code":"sample string 2","id":"3f3a9703-9f11-4db3-8200-49cdcfbceaf7","companyID":"b1278b81-3155-4cf3-9431-f9885cddc5e4"},"isKDVInclude":true,"kdv":0,"price":2.1,"oiv":3.1,"otv":4.1,"oivCode":"sample string 5","otvCode":"sample string 6","code":"sample string 7","id":"d7eb0817-eca4-4ec5-bb79-8239544efb64","companyID":"d0436975-8699-4f06-ad5d-586dc3d2a9bb"},"purchaseOTV":11.1,"purchasePrice":12.1,"purchaseCurrency":{"name":"sample string 1","code":"sample string 2","id":"3f3a9703-9f11-4db3-8200-49cdcfbceaf7","companyID":"b1278b81-3155-4cf3-9431-f9885cddc5e4"},"unit":{"name":"sample string 1","code":"sample string 2","id":"568170fd-ba87-49e4-a946-a4c27410133e","companyID":"a244c78f-80c8-42ac-8da7-d877a7b43a7b"},"gtip":"sample string 13","producerCountry":"sample string 14","buyersItemIdentification":"sample string 15","isImported":true,"isActive":true,"code":"sample string 18","createBy":{"id":"9d3c91ae-bc4f-4074-a578-fbb162f3a878","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-08-04T22:33:17.2892725+03:00","updateBy":{"id":"9d3c91ae-bc4f-4074-a578-fbb162f3a878","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-08-04T22:33:17.2892725+03:00","id":"d6dbf3ab-10a7-41aa-8253-197fc1411fe9","companyID":"1c6601c9-3a68-4953-b058-113c56dc4e54"},"unit":{"name":"sample string 1","code":"sample string 2","id":"568170fd-ba87-49e4-a946-a4c27410133e","companyID":"a244c78f-80c8-42ac-8da7-d877a7b43a7b"},"currency":{"name":"sample string 1","code":"sample string 2","id":"3f3a9703-9f11-4db3-8200-49cdcfbceaf7","companyID":"b1278b81-3155-4cf3-9431-f9885cddc5e4"},"entryWarehouse":{"name":"sample string 1","code":"sample string 2","id":"36596ceb-f30a-40bd-87de-24685d2c94a3","companyID":"0421cb22-0af6-4c41-b9c4-4016cbe00329"},"exitWarehouse":{"name":"sample string 1","code":"sample string 2","id":"36596ceb-f30a-40bd-87de-24685d2c94a3","companyID":"0421cb22-0af6-4c41-b9c4-4016cbe00329"},"code":"sample string 17","createBy":{"id":"9d3c91ae-bc4f-4074-a578-fbb162f3a878","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-08-04T22:33:17.2892725+03:00","updateBy":{"id":"9d3c91ae-bc4f-4074-a578-fbb162f3a878","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-08-04T22:33:17.2892725+03:00","id":"d024ca80-a76b-4d53-8f64-ff4fd490f9cd","companyID":"1e04d834-62a9-461c-8f8c-661af6f22e78"}]}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.