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": "7b4c6f4a-296f-4bfb-80c7-2dc2c5592bf0",
  "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": "4c193afe-7f75-411d-b2d9-044987cc77df",
        "companyID": "5bae9b28-bcd6-4cb4-a2a8-70b10d35ac12"
      },
      "theWithholdingAmount": 16.1,
      "productStockActionID": "63fc2b28-6e0b-4fd4-bdbd-56c83159d3d1",
      "noKDVReason": {
        "title": "sample string 1",
        "code": "sample string 2",
        "createBy": {
          "id": "7e5182df-4ffe-416b-88e2-a05868e959e1",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "createDT": "2025-08-21T00:20:29.8402412+03:00",
        "updateBy": {
          "id": "7e5182df-4ffe-416b-88e2-a05868e959e1",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "updateDT": "2025-08-21T00:20:29.8402412+03:00",
        "id": "7129c599-f2d9-43aa-a946-d2f5e59ff3b9",
        "companyID": "e3a9a5ef-796a-4d0d-81cd-cd23a6112633"
      },
      "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-21T00:20:29.8402412+03:00",
        "salePriceGroupOne": {
          "currency": {
            "name": "sample string 1",
            "code": "sample string 2",
            "id": "ee55fc94-3670-48c0-a5a8-e4e220e75a66",
            "companyID": "b8b31748-5a2e-414b-9153-4aacb02c6add"
          },
          "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": "863ed988-e3b3-4e12-a766-18aaa894499a",
          "companyID": "7d623aad-730c-44e8-97af-b389bb4e3f8f"
        },
        "purchaseOTV": 11.1,
        "purchasePrice": 12.1,
        "purchaseCurrency": {
          "name": "sample string 1",
          "code": "sample string 2",
          "id": "ee55fc94-3670-48c0-a5a8-e4e220e75a66",
          "companyID": "b8b31748-5a2e-414b-9153-4aacb02c6add"
        },
        "unit": {
          "name": "sample string 1",
          "code": "sample string 2",
          "id": "2567a94c-eedf-452f-b416-56a31f433e23",
          "companyID": "968f1016-3a1f-4ae9-ba23-76fa5bfbdcef"
        },
        "gtip": "sample string 13",
        "producerCountry": "sample string 14",
        "buyersItemIdentification": "sample string 15",
        "isImported": true,
        "isActive": true,
        "code": "sample string 18",
        "createBy": {
          "id": "7e5182df-4ffe-416b-88e2-a05868e959e1",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "createDT": "2025-08-21T00:20:29.8558633+03:00",
        "updateBy": {
          "id": "7e5182df-4ffe-416b-88e2-a05868e959e1",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "updateDT": "2025-08-21T00:20:29.8558633+03:00",
        "id": "31f60a2d-05cb-4341-a2f9-19de71973703",
        "companyID": "5ed0fa32-1cb2-4052-b860-04fa364ffad0"
      },
      "unit": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "2567a94c-eedf-452f-b416-56a31f433e23",
        "companyID": "968f1016-3a1f-4ae9-ba23-76fa5bfbdcef"
      },
      "currency": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "ee55fc94-3670-48c0-a5a8-e4e220e75a66",
        "companyID": "b8b31748-5a2e-414b-9153-4aacb02c6add"
      },
      "entryWarehouse": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "72109d6f-f181-4600-ac5f-f1b3aaa600f8",
        "companyID": "e23688a2-af00-45be-83e6-f170c8ab302e"
      },
      "exitWarehouse": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "72109d6f-f181-4600-ac5f-f1b3aaa600f8",
        "companyID": "e23688a2-af00-45be-83e6-f170c8ab302e"
      },
      "code": "sample string 17",
      "createBy": {
        "id": "7e5182df-4ffe-416b-88e2-a05868e959e1",
        "name": "sample string 2",
        "surname": "sample string 3",
        "email": "sample string 4"
      },
      "createDT": "2025-08-21T00:20:29.8558633+03:00",
      "updateBy": {
        "id": "7e5182df-4ffe-416b-88e2-a05868e959e1",
        "name": "sample string 2",
        "surname": "sample string 3",
        "email": "sample string 4"
      },
      "updateDT": "2025-08-21T00:20:29.8558633+03:00",
      "id": "4c52ccd3-a141-4fe6-a2c4-ce194ae0f7cb",
      "companyID": "5eb26a14-0283-438b-a1d0-0d621d6ee6fc"
    },
    {
      "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": "4c193afe-7f75-411d-b2d9-044987cc77df",
        "companyID": "5bae9b28-bcd6-4cb4-a2a8-70b10d35ac12"
      },
      "theWithholdingAmount": 16.1,
      "productStockActionID": "63fc2b28-6e0b-4fd4-bdbd-56c83159d3d1",
      "noKDVReason": {
        "title": "sample string 1",
        "code": "sample string 2",
        "createBy": {
          "id": "7e5182df-4ffe-416b-88e2-a05868e959e1",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "createDT": "2025-08-21T00:20:29.8402412+03:00",
        "updateBy": {
          "id": "7e5182df-4ffe-416b-88e2-a05868e959e1",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "updateDT": "2025-08-21T00:20:29.8402412+03:00",
        "id": "7129c599-f2d9-43aa-a946-d2f5e59ff3b9",
        "companyID": "e3a9a5ef-796a-4d0d-81cd-cd23a6112633"
      },
      "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-21T00:20:29.8402412+03:00",
        "salePriceGroupOne": {
          "currency": {
            "name": "sample string 1",
            "code": "sample string 2",
            "id": "ee55fc94-3670-48c0-a5a8-e4e220e75a66",
            "companyID": "b8b31748-5a2e-414b-9153-4aacb02c6add"
          },
          "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": "863ed988-e3b3-4e12-a766-18aaa894499a",
          "companyID": "7d623aad-730c-44e8-97af-b389bb4e3f8f"
        },
        "purchaseOTV": 11.1,
        "purchasePrice": 12.1,
        "purchaseCurrency": {
          "name": "sample string 1",
          "code": "sample string 2",
          "id": "ee55fc94-3670-48c0-a5a8-e4e220e75a66",
          "companyID": "b8b31748-5a2e-414b-9153-4aacb02c6add"
        },
        "unit": {
          "name": "sample string 1",
          "code": "sample string 2",
          "id": "2567a94c-eedf-452f-b416-56a31f433e23",
          "companyID": "968f1016-3a1f-4ae9-ba23-76fa5bfbdcef"
        },
        "gtip": "sample string 13",
        "producerCountry": "sample string 14",
        "buyersItemIdentification": "sample string 15",
        "isImported": true,
        "isActive": true,
        "code": "sample string 18",
        "createBy": {
          "id": "7e5182df-4ffe-416b-88e2-a05868e959e1",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "createDT": "2025-08-21T00:20:29.8558633+03:00",
        "updateBy": {
          "id": "7e5182df-4ffe-416b-88e2-a05868e959e1",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "updateDT": "2025-08-21T00:20:29.8558633+03:00",
        "id": "31f60a2d-05cb-4341-a2f9-19de71973703",
        "companyID": "5ed0fa32-1cb2-4052-b860-04fa364ffad0"
      },
      "unit": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "2567a94c-eedf-452f-b416-56a31f433e23",
        "companyID": "968f1016-3a1f-4ae9-ba23-76fa5bfbdcef"
      },
      "currency": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "ee55fc94-3670-48c0-a5a8-e4e220e75a66",
        "companyID": "b8b31748-5a2e-414b-9153-4aacb02c6add"
      },
      "entryWarehouse": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "72109d6f-f181-4600-ac5f-f1b3aaa600f8",
        "companyID": "e23688a2-af00-45be-83e6-f170c8ab302e"
      },
      "exitWarehouse": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "72109d6f-f181-4600-ac5f-f1b3aaa600f8",
        "companyID": "e23688a2-af00-45be-83e6-f170c8ab302e"
      },
      "code": "sample string 17",
      "createBy": {
        "id": "7e5182df-4ffe-416b-88e2-a05868e959e1",
        "name": "sample string 2",
        "surname": "sample string 3",
        "email": "sample string 4"
      },
      "createDT": "2025-08-21T00:20:29.8558633+03:00",
      "updateBy": {
        "id": "7e5182df-4ffe-416b-88e2-a05868e959e1",
        "name": "sample string 2",
        "surname": "sample string 3",
        "email": "sample string 4"
      },
      "updateDT": "2025-08-21T00:20:29.8558633+03:00",
      "id": "4c52ccd3-a141-4fe6-a2c4-ce194ae0f7cb",
      "companyID": "5eb26a14-0283-438b-a1d0-0d621d6ee6fc"
    }
  ]
}

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>7b4c6f4a-296f-4bfb-80c7-2dc2c5592bf0</CompanyID>
  <Name>sample string 2</Name>
  <ProductStockActionDetails>
    <ProductStockActionDetailCardDto>
      <CompanyID>5eb26a14-0283-438b-a1d0-0d621d6ee6fc</CompanyID>
      <ID>4c52ccd3-a141-4fe6-a2c4-ce194ae0f7cb</ID>
      <Code>sample string 17</Code>
      <CreateBy>
        <Email>sample string 4</Email>
        <ID>7e5182df-4ffe-416b-88e2-a05868e959e1</ID>
        <Name>sample string 2</Name>
        <Surname>sample string 3</Surname>
      </CreateBy>
      <CreateDT>2025-08-21T00:20:29.8558633+03:00</CreateDT>
      <UpdateBy>
        <Email>sample string 4</Email>
        <ID>7e5182df-4ffe-416b-88e2-a05868e959e1</ID>
        <Name>sample string 2</Name>
        <Surname>sample string 3</Surname>
      </UpdateBy>
      <UpdateDT>2025-08-21T00:20:29.8558633+03:00</UpdateDT>
      <Amount>3.1</Amount>
      <Currency>
        <CompanyID>b8b31748-5a2e-414b-9153-4aacb02c6add</CompanyID>
        <ID>ee55fc94-3670-48c0-a5a8-e4e220e75a66</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>e23688a2-af00-45be-83e6-f170c8ab302e</CompanyID>
        <ID>72109d6f-f181-4600-ac5f-f1b3aaa600f8</ID>
        <Code>sample string 2</Code>
        <Name>sample string 1</Name>
      </EntryWarehouse>
      <ExitWarehouse>
        <CompanyID>e23688a2-af00-45be-83e6-f170c8ab302e</CompanyID>
        <ID>72109d6f-f181-4600-ac5f-f1b3aaa600f8</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>e3a9a5ef-796a-4d0d-81cd-cd23a6112633</CompanyID>
        <ID>7129c599-f2d9-43aa-a946-d2f5e59ff3b9</ID>
        <Code>sample string 2</Code>
        <CreateBy>
          <Email>sample string 4</Email>
          <ID>7e5182df-4ffe-416b-88e2-a05868e959e1</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </CreateBy>
        <CreateDT>2025-08-21T00:20:29.8402412+03:00</CreateDT>
        <UpdateBy>
          <Email>sample string 4</Email>
          <ID>7e5182df-4ffe-416b-88e2-a05868e959e1</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </UpdateBy>
        <UpdateDT>2025-08-21T00:20:29.8402412+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>5ed0fa32-1cb2-4052-b860-04fa364ffad0</CompanyID>
        <ID>31f60a2d-05cb-4341-a2f9-19de71973703</ID>
        <Code>sample string 18</Code>
        <CreateBy>
          <Email>sample string 4</Email>
          <ID>7e5182df-4ffe-416b-88e2-a05868e959e1</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </CreateBy>
        <CreateDT>2025-08-21T00:20:29.8558633+03:00</CreateDT>
        <UpdateBy>
          <Email>sample string 4</Email>
          <ID>7e5182df-4ffe-416b-88e2-a05868e959e1</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </UpdateBy>
        <UpdateDT>2025-08-21T00:20:29.8558633+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>b8b31748-5a2e-414b-9153-4aacb02c6add</CompanyID>
          <ID>ee55fc94-3670-48c0-a5a8-e4e220e75a66</ID>
          <Code>sample string 2</Code>
          <Name>sample string 1</Name>
        </PurchaseCurrency>
        <PurchaseOTV>11.1</PurchaseOTV>
        <PurchasePrice>12.1</PurchasePrice>
        <SalePriceGroupOne>
          <CompanyID>7d623aad-730c-44e8-97af-b389bb4e3f8f</CompanyID>
          <ID>863ed988-e3b3-4e12-a766-18aaa894499a</ID>
          <Code>sample string 7</Code>
          <Currency>
            <CompanyID>b8b31748-5a2e-414b-9153-4aacb02c6add</CompanyID>
            <ID>ee55fc94-3670-48c0-a5a8-e4e220e75a66</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>968f1016-3a1f-4ae9-ba23-76fa5bfbdcef</CompanyID>
          <ID>2567a94c-eedf-452f-b416-56a31f433e23</ID>
          <Code>sample string 2</Code>
          <Name>sample string 1</Name>
        </Unit>
        <WarrantyEndDate>2025-08-21T00:20:29.8402412+03:00</WarrantyEndDate>
      </Product>
      <ProductStockActionID>63fc2b28-6e0b-4fd4-bdbd-56c83159d3d1</ProductStockActionID>
      <Quantity>2.1</Quantity>
      <TheWithholding>
        <CompanyID>5bae9b28-bcd6-4cb4-a2a8-70b10d35ac12</CompanyID>
        <ID>4c193afe-7f75-411d-b2d9-044987cc77df</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>968f1016-3a1f-4ae9-ba23-76fa5bfbdcef</CompanyID>
        <ID>2567a94c-eedf-452f-b416-56a31f433e23</ID>
        <Code>sample string 2</Code>
        <Name>sample string 1</Name>
      </Unit>
    </ProductStockActionDetailCardDto>
    <ProductStockActionDetailCardDto>
      <CompanyID>5eb26a14-0283-438b-a1d0-0d621d6ee6fc</CompanyID>
      <ID>4c52ccd3-a141-4fe6-a2c4-ce194ae0f7cb</ID>
      <Code>sample string 17</Code>
      <CreateBy>
        <Email>sample string 4</Email>
        <ID>7e5182df-4ffe-416b-88e2-a05868e959e1</ID>
        <Name>sample string 2</Name>
        <Surname>sample string 3</Surname>
      </CreateBy>
      <CreateDT>2025-08-21T00:20:29.8558633+03:00</CreateDT>
      <UpdateBy>
        <Email>sample string 4</Email>
        <ID>7e5182df-4ffe-416b-88e2-a05868e959e1</ID>
        <Name>sample string 2</Name>
        <Surname>sample string 3</Surname>
      </UpdateBy>
      <UpdateDT>2025-08-21T00:20:29.8558633+03:00</UpdateDT>
      <Amount>3.1</Amount>
      <Currency>
        <CompanyID>b8b31748-5a2e-414b-9153-4aacb02c6add</CompanyID>
        <ID>ee55fc94-3670-48c0-a5a8-e4e220e75a66</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>e23688a2-af00-45be-83e6-f170c8ab302e</CompanyID>
        <ID>72109d6f-f181-4600-ac5f-f1b3aaa600f8</ID>
        <Code>sample string 2</Code>
        <Name>sample string 1</Name>
      </EntryWarehouse>
      <ExitWarehouse>
        <CompanyID>e23688a2-af00-45be-83e6-f170c8ab302e</CompanyID>
        <ID>72109d6f-f181-4600-ac5f-f1b3aaa600f8</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>e3a9a5ef-796a-4d0d-81cd-cd23a6112633</CompanyID>
        <ID>7129c599-f2d9-43aa-a946-d2f5e59ff3b9</ID>
        <Code>sample string 2</Code>
        <CreateBy>
          <Email>sample string 4</Email>
          <ID>7e5182df-4ffe-416b-88e2-a05868e959e1</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </CreateBy>
        <CreateDT>2025-08-21T00:20:29.8402412+03:00</CreateDT>
        <UpdateBy>
          <Email>sample string 4</Email>
          <ID>7e5182df-4ffe-416b-88e2-a05868e959e1</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </UpdateBy>
        <UpdateDT>2025-08-21T00:20:29.8402412+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>5ed0fa32-1cb2-4052-b860-04fa364ffad0</CompanyID>
        <ID>31f60a2d-05cb-4341-a2f9-19de71973703</ID>
        <Code>sample string 18</Code>
        <CreateBy>
          <Email>sample string 4</Email>
          <ID>7e5182df-4ffe-416b-88e2-a05868e959e1</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </CreateBy>
        <CreateDT>2025-08-21T00:20:29.8558633+03:00</CreateDT>
        <UpdateBy>
          <Email>sample string 4</Email>
          <ID>7e5182df-4ffe-416b-88e2-a05868e959e1</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </UpdateBy>
        <UpdateDT>2025-08-21T00:20:29.8558633+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>b8b31748-5a2e-414b-9153-4aacb02c6add</CompanyID>
          <ID>ee55fc94-3670-48c0-a5a8-e4e220e75a66</ID>
          <Code>sample string 2</Code>
          <Name>sample string 1</Name>
        </PurchaseCurrency>
        <PurchaseOTV>11.1</PurchaseOTV>
        <PurchasePrice>12.1</PurchasePrice>
        <SalePriceGroupOne>
          <CompanyID>7d623aad-730c-44e8-97af-b389bb4e3f8f</CompanyID>
          <ID>863ed988-e3b3-4e12-a766-18aaa894499a</ID>
          <Code>sample string 7</Code>
          <Currency>
            <CompanyID>b8b31748-5a2e-414b-9153-4aacb02c6add</CompanyID>
            <ID>ee55fc94-3670-48c0-a5a8-e4e220e75a66</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>968f1016-3a1f-4ae9-ba23-76fa5bfbdcef</CompanyID>
          <ID>2567a94c-eedf-452f-b416-56a31f433e23</ID>
          <Code>sample string 2</Code>
          <Name>sample string 1</Name>
        </Unit>
        <WarrantyEndDate>2025-08-21T00:20:29.8402412+03:00</WarrantyEndDate>
      </Product>
      <ProductStockActionID>63fc2b28-6e0b-4fd4-bdbd-56c83159d3d1</ProductStockActionID>
      <Quantity>2.1</Quantity>
      <TheWithholding>
        <CompanyID>5bae9b28-bcd6-4cb4-a2a8-70b10d35ac12</CompanyID>
        <ID>4c193afe-7f75-411d-b2d9-044987cc77df</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>968f1016-3a1f-4ae9-ba23-76fa5bfbdcef</CompanyID>
        <ID>2567a94c-eedf-452f-b416-56a31f433e23</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":"7b4c6f4a-296f-4bfb-80c7-2dc2c5592bf0","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":"4c193afe-7f75-411d-b2d9-044987cc77df","companyID":"5bae9b28-bcd6-4cb4-a2a8-70b10d35ac12"},"theWithholdingAmount":16.1,"productStockActionID":"63fc2b28-6e0b-4fd4-bdbd-56c83159d3d1","noKDVReason":{"title":"sample string 1","code":"sample string 2","createBy":{"id":"7e5182df-4ffe-416b-88e2-a05868e959e1","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-08-21T00:20:29.8402412+03:00","updateBy":{"id":"7e5182df-4ffe-416b-88e2-a05868e959e1","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-08-21T00:20:29.8402412+03:00","id":"7129c599-f2d9-43aa-a946-d2f5e59ff3b9","companyID":"e3a9a5ef-796a-4d0d-81cd-cd23a6112633"},"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-21T00:20:29.8402412+03:00","salePriceGroupOne":{"currency":{"name":"sample string 1","code":"sample string 2","id":"ee55fc94-3670-48c0-a5a8-e4e220e75a66","companyID":"b8b31748-5a2e-414b-9153-4aacb02c6add"},"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":"863ed988-e3b3-4e12-a766-18aaa894499a","companyID":"7d623aad-730c-44e8-97af-b389bb4e3f8f"},"purchaseOTV":11.1,"purchasePrice":12.1,"purchaseCurrency":{"name":"sample string 1","code":"sample string 2","id":"ee55fc94-3670-48c0-a5a8-e4e220e75a66","companyID":"b8b31748-5a2e-414b-9153-4aacb02c6add"},"unit":{"name":"sample string 1","code":"sample string 2","id":"2567a94c-eedf-452f-b416-56a31f433e23","companyID":"968f1016-3a1f-4ae9-ba23-76fa5bfbdcef"},"gtip":"sample string 13","producerCountry":"sample string 14","buyersItemIdentification":"sample string 15","isImported":true,"isActive":true,"code":"sample string 18","createBy":{"id":"7e5182df-4ffe-416b-88e2-a05868e959e1","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-08-21T00:20:29.8558633+03:00","updateBy":{"id":"7e5182df-4ffe-416b-88e2-a05868e959e1","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-08-21T00:20:29.8558633+03:00","id":"31f60a2d-05cb-4341-a2f9-19de71973703","companyID":"5ed0fa32-1cb2-4052-b860-04fa364ffad0"},"unit":{"name":"sample string 1","code":"sample string 2","id":"2567a94c-eedf-452f-b416-56a31f433e23","companyID":"968f1016-3a1f-4ae9-ba23-76fa5bfbdcef"},"currency":{"name":"sample string 1","code":"sample string 2","id":"ee55fc94-3670-48c0-a5a8-e4e220e75a66","companyID":"b8b31748-5a2e-414b-9153-4aacb02c6add"},"entryWarehouse":{"name":"sample string 1","code":"sample string 2","id":"72109d6f-f181-4600-ac5f-f1b3aaa600f8","companyID":"e23688a2-af00-45be-83e6-f170c8ab302e"},"exitWarehouse":{"name":"sample string 1","code":"sample string 2","id":"72109d6f-f181-4600-ac5f-f1b3aaa600f8","companyID":"e23688a2-af00-45be-83e6-f170c8ab302e"},"code":"sample string 17","createBy":{"id":"7e5182df-4ffe-416b-88e2-a05868e959e1","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-08-21T00:20:29.8558633+03:00","updateBy":{"id":"7e5182df-4ffe-416b-88e2-a05868e959e1","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-08-21T00:20:29.8558633+03:00","id":"4c52ccd3-a141-4fe6-a2c4-ce194ae0f7cb","companyID":"5eb26a14-0283-438b-a1d0-0d621d6ee6fc"},{"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":"4c193afe-7f75-411d-b2d9-044987cc77df","companyID":"5bae9b28-bcd6-4cb4-a2a8-70b10d35ac12"},"theWithholdingAmount":16.1,"productStockActionID":"63fc2b28-6e0b-4fd4-bdbd-56c83159d3d1","noKDVReason":{"title":"sample string 1","code":"sample string 2","createBy":{"id":"7e5182df-4ffe-416b-88e2-a05868e959e1","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-08-21T00:20:29.8402412+03:00","updateBy":{"id":"7e5182df-4ffe-416b-88e2-a05868e959e1","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-08-21T00:20:29.8402412+03:00","id":"7129c599-f2d9-43aa-a946-d2f5e59ff3b9","companyID":"e3a9a5ef-796a-4d0d-81cd-cd23a6112633"},"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-21T00:20:29.8402412+03:00","salePriceGroupOne":{"currency":{"name":"sample string 1","code":"sample string 2","id":"ee55fc94-3670-48c0-a5a8-e4e220e75a66","companyID":"b8b31748-5a2e-414b-9153-4aacb02c6add"},"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":"863ed988-e3b3-4e12-a766-18aaa894499a","companyID":"7d623aad-730c-44e8-97af-b389bb4e3f8f"},"purchaseOTV":11.1,"purchasePrice":12.1,"purchaseCurrency":{"name":"sample string 1","code":"sample string 2","id":"ee55fc94-3670-48c0-a5a8-e4e220e75a66","companyID":"b8b31748-5a2e-414b-9153-4aacb02c6add"},"unit":{"name":"sample string 1","code":"sample string 2","id":"2567a94c-eedf-452f-b416-56a31f433e23","companyID":"968f1016-3a1f-4ae9-ba23-76fa5bfbdcef"},"gtip":"sample string 13","producerCountry":"sample string 14","buyersItemIdentification":"sample string 15","isImported":true,"isActive":true,"code":"sample string 18","createBy":{"id":"7e5182df-4ffe-416b-88e2-a05868e959e1","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-08-21T00:20:29.8558633+03:00","updateBy":{"id":"7e5182df-4ffe-416b-88e2-a05868e959e1","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-08-21T00:20:29.8558633+03:00","id":"31f60a2d-05cb-4341-a2f9-19de71973703","companyID":"5ed0fa32-1cb2-4052-b860-04fa364ffad0"},"unit":{"name":"sample string 1","code":"sample string 2","id":"2567a94c-eedf-452f-b416-56a31f433e23","companyID":"968f1016-3a1f-4ae9-ba23-76fa5bfbdcef"},"currency":{"name":"sample string 1","code":"sample string 2","id":"ee55fc94-3670-48c0-a5a8-e4e220e75a66","companyID":"b8b31748-5a2e-414b-9153-4aacb02c6add"},"entryWarehouse":{"name":"sample string 1","code":"sample string 2","id":"72109d6f-f181-4600-ac5f-f1b3aaa600f8","companyID":"e23688a2-af00-45be-83e6-f170c8ab302e"},"exitWarehouse":{"name":"sample string 1","code":"sample string 2","id":"72109d6f-f181-4600-ac5f-f1b3aaa600f8","companyID":"e23688a2-af00-45be-83e6-f170c8ab302e"},"code":"sample string 17","createBy":{"id":"7e5182df-4ffe-416b-88e2-a05868e959e1","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-08-21T00:20:29.8558633+03:00","updateBy":{"id":"7e5182df-4ffe-416b-88e2-a05868e959e1","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-08-21T00:20:29.8558633+03:00","id":"4c52ccd3-a141-4fe6-a2c4-ce194ae0f7cb","companyID":"5eb26a14-0283-438b-a1d0-0d621d6ee6fc"}]}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.