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": "016b18c3-feb1-4b07-b7db-0e7b0e2b0c8b",
  "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": "d3dafef5-749f-4a4b-9cdc-a1a2b77c3539",
        "companyID": "d41318f2-38c0-43be-9278-a15b7321f835"
      },
      "theWithholdingAmount": 16.1,
      "productStockActionID": "f582c0bb-dc4a-4289-bac3-01a8f301b9c9",
      "noKDVReason": {
        "title": "sample string 1",
        "code": "sample string 2",
        "createBy": {
          "id": "0c4b37d2-d0c6-4d38-a633-b1f410c9033f",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "createDT": "2025-08-05T21:16:15.2843752+03:00",
        "updateBy": {
          "id": "0c4b37d2-d0c6-4d38-a633-b1f410c9033f",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "updateDT": "2025-08-05T21:16:15.2843752+03:00",
        "id": "5b9187b9-c59c-4de9-8a69-b282c3885981",
        "companyID": "16616a69-3868-4b82-a6e0-4dab2723b85f"
      },
      "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-05T21:16:15.2843752+03:00",
        "salePriceGroupOne": {
          "currency": {
            "name": "sample string 1",
            "code": "sample string 2",
            "id": "e35c2b30-a203-40de-8bdd-6269d2469501",
            "companyID": "9f65f1ae-9830-4fa4-b510-e2916cf07c7b"
          },
          "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": "e821caa0-df8d-4e13-90ba-296085df7b68",
          "companyID": "8301bc4b-eaea-4558-8eeb-7b06922a0244"
        },
        "purchaseOTV": 11.1,
        "purchasePrice": 12.1,
        "purchaseCurrency": {
          "name": "sample string 1",
          "code": "sample string 2",
          "id": "e35c2b30-a203-40de-8bdd-6269d2469501",
          "companyID": "9f65f1ae-9830-4fa4-b510-e2916cf07c7b"
        },
        "unit": {
          "name": "sample string 1",
          "code": "sample string 2",
          "id": "6099a73b-a2ae-4ef3-800d-7d123acf469a",
          "companyID": "35879f28-f4f1-4ada-861a-03e41e659a39"
        },
        "gtip": "sample string 13",
        "producerCountry": "sample string 14",
        "buyersItemIdentification": "sample string 15",
        "isImported": true,
        "isActive": true,
        "code": "sample string 18",
        "createBy": {
          "id": "0c4b37d2-d0c6-4d38-a633-b1f410c9033f",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "createDT": "2025-08-05T21:16:15.2843752+03:00",
        "updateBy": {
          "id": "0c4b37d2-d0c6-4d38-a633-b1f410c9033f",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "updateDT": "2025-08-05T21:16:15.2843752+03:00",
        "id": "bd1e722f-0cea-4494-965f-5d5836f8ee7a",
        "companyID": "a0b847f4-d430-4bc8-8225-46e79d073732"
      },
      "unit": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "6099a73b-a2ae-4ef3-800d-7d123acf469a",
        "companyID": "35879f28-f4f1-4ada-861a-03e41e659a39"
      },
      "currency": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "e35c2b30-a203-40de-8bdd-6269d2469501",
        "companyID": "9f65f1ae-9830-4fa4-b510-e2916cf07c7b"
      },
      "entryWarehouse": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "8b1c27d8-277c-4149-a99c-38a7cfd7a469",
        "companyID": "93f29cae-16f4-4581-8123-dd39db39a293"
      },
      "exitWarehouse": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "8b1c27d8-277c-4149-a99c-38a7cfd7a469",
        "companyID": "93f29cae-16f4-4581-8123-dd39db39a293"
      },
      "code": "sample string 17",
      "createBy": {
        "id": "0c4b37d2-d0c6-4d38-a633-b1f410c9033f",
        "name": "sample string 2",
        "surname": "sample string 3",
        "email": "sample string 4"
      },
      "createDT": "2025-08-05T21:16:15.2843752+03:00",
      "updateBy": {
        "id": "0c4b37d2-d0c6-4d38-a633-b1f410c9033f",
        "name": "sample string 2",
        "surname": "sample string 3",
        "email": "sample string 4"
      },
      "updateDT": "2025-08-05T21:16:15.2843752+03:00",
      "id": "e1301de8-4c8e-4d38-be18-6597d651dc8f",
      "companyID": "6f61aef7-78d6-43e1-a5ef-f292329106b5"
    },
    {
      "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": "d3dafef5-749f-4a4b-9cdc-a1a2b77c3539",
        "companyID": "d41318f2-38c0-43be-9278-a15b7321f835"
      },
      "theWithholdingAmount": 16.1,
      "productStockActionID": "f582c0bb-dc4a-4289-bac3-01a8f301b9c9",
      "noKDVReason": {
        "title": "sample string 1",
        "code": "sample string 2",
        "createBy": {
          "id": "0c4b37d2-d0c6-4d38-a633-b1f410c9033f",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "createDT": "2025-08-05T21:16:15.2843752+03:00",
        "updateBy": {
          "id": "0c4b37d2-d0c6-4d38-a633-b1f410c9033f",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "updateDT": "2025-08-05T21:16:15.2843752+03:00",
        "id": "5b9187b9-c59c-4de9-8a69-b282c3885981",
        "companyID": "16616a69-3868-4b82-a6e0-4dab2723b85f"
      },
      "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-05T21:16:15.2843752+03:00",
        "salePriceGroupOne": {
          "currency": {
            "name": "sample string 1",
            "code": "sample string 2",
            "id": "e35c2b30-a203-40de-8bdd-6269d2469501",
            "companyID": "9f65f1ae-9830-4fa4-b510-e2916cf07c7b"
          },
          "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": "e821caa0-df8d-4e13-90ba-296085df7b68",
          "companyID": "8301bc4b-eaea-4558-8eeb-7b06922a0244"
        },
        "purchaseOTV": 11.1,
        "purchasePrice": 12.1,
        "purchaseCurrency": {
          "name": "sample string 1",
          "code": "sample string 2",
          "id": "e35c2b30-a203-40de-8bdd-6269d2469501",
          "companyID": "9f65f1ae-9830-4fa4-b510-e2916cf07c7b"
        },
        "unit": {
          "name": "sample string 1",
          "code": "sample string 2",
          "id": "6099a73b-a2ae-4ef3-800d-7d123acf469a",
          "companyID": "35879f28-f4f1-4ada-861a-03e41e659a39"
        },
        "gtip": "sample string 13",
        "producerCountry": "sample string 14",
        "buyersItemIdentification": "sample string 15",
        "isImported": true,
        "isActive": true,
        "code": "sample string 18",
        "createBy": {
          "id": "0c4b37d2-d0c6-4d38-a633-b1f410c9033f",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "createDT": "2025-08-05T21:16:15.2843752+03:00",
        "updateBy": {
          "id": "0c4b37d2-d0c6-4d38-a633-b1f410c9033f",
          "name": "sample string 2",
          "surname": "sample string 3",
          "email": "sample string 4"
        },
        "updateDT": "2025-08-05T21:16:15.2843752+03:00",
        "id": "bd1e722f-0cea-4494-965f-5d5836f8ee7a",
        "companyID": "a0b847f4-d430-4bc8-8225-46e79d073732"
      },
      "unit": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "6099a73b-a2ae-4ef3-800d-7d123acf469a",
        "companyID": "35879f28-f4f1-4ada-861a-03e41e659a39"
      },
      "currency": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "e35c2b30-a203-40de-8bdd-6269d2469501",
        "companyID": "9f65f1ae-9830-4fa4-b510-e2916cf07c7b"
      },
      "entryWarehouse": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "8b1c27d8-277c-4149-a99c-38a7cfd7a469",
        "companyID": "93f29cae-16f4-4581-8123-dd39db39a293"
      },
      "exitWarehouse": {
        "name": "sample string 1",
        "code": "sample string 2",
        "id": "8b1c27d8-277c-4149-a99c-38a7cfd7a469",
        "companyID": "93f29cae-16f4-4581-8123-dd39db39a293"
      },
      "code": "sample string 17",
      "createBy": {
        "id": "0c4b37d2-d0c6-4d38-a633-b1f410c9033f",
        "name": "sample string 2",
        "surname": "sample string 3",
        "email": "sample string 4"
      },
      "createDT": "2025-08-05T21:16:15.2843752+03:00",
      "updateBy": {
        "id": "0c4b37d2-d0c6-4d38-a633-b1f410c9033f",
        "name": "sample string 2",
        "surname": "sample string 3",
        "email": "sample string 4"
      },
      "updateDT": "2025-08-05T21:16:15.2843752+03:00",
      "id": "e1301de8-4c8e-4d38-be18-6597d651dc8f",
      "companyID": "6f61aef7-78d6-43e1-a5ef-f292329106b5"
    }
  ]
}

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>016b18c3-feb1-4b07-b7db-0e7b0e2b0c8b</CompanyID>
  <Name>sample string 2</Name>
  <ProductStockActionDetails>
    <ProductStockActionDetailCardDto>
      <CompanyID>6f61aef7-78d6-43e1-a5ef-f292329106b5</CompanyID>
      <ID>e1301de8-4c8e-4d38-be18-6597d651dc8f</ID>
      <Code>sample string 17</Code>
      <CreateBy>
        <Email>sample string 4</Email>
        <ID>0c4b37d2-d0c6-4d38-a633-b1f410c9033f</ID>
        <Name>sample string 2</Name>
        <Surname>sample string 3</Surname>
      </CreateBy>
      <CreateDT>2025-08-05T21:16:15.2843752+03:00</CreateDT>
      <UpdateBy>
        <Email>sample string 4</Email>
        <ID>0c4b37d2-d0c6-4d38-a633-b1f410c9033f</ID>
        <Name>sample string 2</Name>
        <Surname>sample string 3</Surname>
      </UpdateBy>
      <UpdateDT>2025-08-05T21:16:15.2843752+03:00</UpdateDT>
      <Amount>3.1</Amount>
      <Currency>
        <CompanyID>9f65f1ae-9830-4fa4-b510-e2916cf07c7b</CompanyID>
        <ID>e35c2b30-a203-40de-8bdd-6269d2469501</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>93f29cae-16f4-4581-8123-dd39db39a293</CompanyID>
        <ID>8b1c27d8-277c-4149-a99c-38a7cfd7a469</ID>
        <Code>sample string 2</Code>
        <Name>sample string 1</Name>
      </EntryWarehouse>
      <ExitWarehouse>
        <CompanyID>93f29cae-16f4-4581-8123-dd39db39a293</CompanyID>
        <ID>8b1c27d8-277c-4149-a99c-38a7cfd7a469</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>16616a69-3868-4b82-a6e0-4dab2723b85f</CompanyID>
        <ID>5b9187b9-c59c-4de9-8a69-b282c3885981</ID>
        <Code>sample string 2</Code>
        <CreateBy>
          <Email>sample string 4</Email>
          <ID>0c4b37d2-d0c6-4d38-a633-b1f410c9033f</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </CreateBy>
        <CreateDT>2025-08-05T21:16:15.2843752+03:00</CreateDT>
        <UpdateBy>
          <Email>sample string 4</Email>
          <ID>0c4b37d2-d0c6-4d38-a633-b1f410c9033f</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </UpdateBy>
        <UpdateDT>2025-08-05T21:16:15.2843752+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>a0b847f4-d430-4bc8-8225-46e79d073732</CompanyID>
        <ID>bd1e722f-0cea-4494-965f-5d5836f8ee7a</ID>
        <Code>sample string 18</Code>
        <CreateBy>
          <Email>sample string 4</Email>
          <ID>0c4b37d2-d0c6-4d38-a633-b1f410c9033f</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </CreateBy>
        <CreateDT>2025-08-05T21:16:15.2843752+03:00</CreateDT>
        <UpdateBy>
          <Email>sample string 4</Email>
          <ID>0c4b37d2-d0c6-4d38-a633-b1f410c9033f</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </UpdateBy>
        <UpdateDT>2025-08-05T21:16:15.2843752+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>9f65f1ae-9830-4fa4-b510-e2916cf07c7b</CompanyID>
          <ID>e35c2b30-a203-40de-8bdd-6269d2469501</ID>
          <Code>sample string 2</Code>
          <Name>sample string 1</Name>
        </PurchaseCurrency>
        <PurchaseOTV>11.1</PurchaseOTV>
        <PurchasePrice>12.1</PurchasePrice>
        <SalePriceGroupOne>
          <CompanyID>8301bc4b-eaea-4558-8eeb-7b06922a0244</CompanyID>
          <ID>e821caa0-df8d-4e13-90ba-296085df7b68</ID>
          <Code>sample string 7</Code>
          <Currency>
            <CompanyID>9f65f1ae-9830-4fa4-b510-e2916cf07c7b</CompanyID>
            <ID>e35c2b30-a203-40de-8bdd-6269d2469501</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>35879f28-f4f1-4ada-861a-03e41e659a39</CompanyID>
          <ID>6099a73b-a2ae-4ef3-800d-7d123acf469a</ID>
          <Code>sample string 2</Code>
          <Name>sample string 1</Name>
        </Unit>
        <WarrantyEndDate>2025-08-05T21:16:15.2843752+03:00</WarrantyEndDate>
      </Product>
      <ProductStockActionID>f582c0bb-dc4a-4289-bac3-01a8f301b9c9</ProductStockActionID>
      <Quantity>2.1</Quantity>
      <TheWithholding>
        <CompanyID>d41318f2-38c0-43be-9278-a15b7321f835</CompanyID>
        <ID>d3dafef5-749f-4a4b-9cdc-a1a2b77c3539</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>35879f28-f4f1-4ada-861a-03e41e659a39</CompanyID>
        <ID>6099a73b-a2ae-4ef3-800d-7d123acf469a</ID>
        <Code>sample string 2</Code>
        <Name>sample string 1</Name>
      </Unit>
    </ProductStockActionDetailCardDto>
    <ProductStockActionDetailCardDto>
      <CompanyID>6f61aef7-78d6-43e1-a5ef-f292329106b5</CompanyID>
      <ID>e1301de8-4c8e-4d38-be18-6597d651dc8f</ID>
      <Code>sample string 17</Code>
      <CreateBy>
        <Email>sample string 4</Email>
        <ID>0c4b37d2-d0c6-4d38-a633-b1f410c9033f</ID>
        <Name>sample string 2</Name>
        <Surname>sample string 3</Surname>
      </CreateBy>
      <CreateDT>2025-08-05T21:16:15.2843752+03:00</CreateDT>
      <UpdateBy>
        <Email>sample string 4</Email>
        <ID>0c4b37d2-d0c6-4d38-a633-b1f410c9033f</ID>
        <Name>sample string 2</Name>
        <Surname>sample string 3</Surname>
      </UpdateBy>
      <UpdateDT>2025-08-05T21:16:15.2843752+03:00</UpdateDT>
      <Amount>3.1</Amount>
      <Currency>
        <CompanyID>9f65f1ae-9830-4fa4-b510-e2916cf07c7b</CompanyID>
        <ID>e35c2b30-a203-40de-8bdd-6269d2469501</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>93f29cae-16f4-4581-8123-dd39db39a293</CompanyID>
        <ID>8b1c27d8-277c-4149-a99c-38a7cfd7a469</ID>
        <Code>sample string 2</Code>
        <Name>sample string 1</Name>
      </EntryWarehouse>
      <ExitWarehouse>
        <CompanyID>93f29cae-16f4-4581-8123-dd39db39a293</CompanyID>
        <ID>8b1c27d8-277c-4149-a99c-38a7cfd7a469</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>16616a69-3868-4b82-a6e0-4dab2723b85f</CompanyID>
        <ID>5b9187b9-c59c-4de9-8a69-b282c3885981</ID>
        <Code>sample string 2</Code>
        <CreateBy>
          <Email>sample string 4</Email>
          <ID>0c4b37d2-d0c6-4d38-a633-b1f410c9033f</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </CreateBy>
        <CreateDT>2025-08-05T21:16:15.2843752+03:00</CreateDT>
        <UpdateBy>
          <Email>sample string 4</Email>
          <ID>0c4b37d2-d0c6-4d38-a633-b1f410c9033f</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </UpdateBy>
        <UpdateDT>2025-08-05T21:16:15.2843752+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>a0b847f4-d430-4bc8-8225-46e79d073732</CompanyID>
        <ID>bd1e722f-0cea-4494-965f-5d5836f8ee7a</ID>
        <Code>sample string 18</Code>
        <CreateBy>
          <Email>sample string 4</Email>
          <ID>0c4b37d2-d0c6-4d38-a633-b1f410c9033f</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </CreateBy>
        <CreateDT>2025-08-05T21:16:15.2843752+03:00</CreateDT>
        <UpdateBy>
          <Email>sample string 4</Email>
          <ID>0c4b37d2-d0c6-4d38-a633-b1f410c9033f</ID>
          <Name>sample string 2</Name>
          <Surname>sample string 3</Surname>
        </UpdateBy>
        <UpdateDT>2025-08-05T21:16:15.2843752+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>9f65f1ae-9830-4fa4-b510-e2916cf07c7b</CompanyID>
          <ID>e35c2b30-a203-40de-8bdd-6269d2469501</ID>
          <Code>sample string 2</Code>
          <Name>sample string 1</Name>
        </PurchaseCurrency>
        <PurchaseOTV>11.1</PurchaseOTV>
        <PurchasePrice>12.1</PurchasePrice>
        <SalePriceGroupOne>
          <CompanyID>8301bc4b-eaea-4558-8eeb-7b06922a0244</CompanyID>
          <ID>e821caa0-df8d-4e13-90ba-296085df7b68</ID>
          <Code>sample string 7</Code>
          <Currency>
            <CompanyID>9f65f1ae-9830-4fa4-b510-e2916cf07c7b</CompanyID>
            <ID>e35c2b30-a203-40de-8bdd-6269d2469501</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>35879f28-f4f1-4ada-861a-03e41e659a39</CompanyID>
          <ID>6099a73b-a2ae-4ef3-800d-7d123acf469a</ID>
          <Code>sample string 2</Code>
          <Name>sample string 1</Name>
        </Unit>
        <WarrantyEndDate>2025-08-05T21:16:15.2843752+03:00</WarrantyEndDate>
      </Product>
      <ProductStockActionID>f582c0bb-dc4a-4289-bac3-01a8f301b9c9</ProductStockActionID>
      <Quantity>2.1</Quantity>
      <TheWithholding>
        <CompanyID>d41318f2-38c0-43be-9278-a15b7321f835</CompanyID>
        <ID>d3dafef5-749f-4a4b-9cdc-a1a2b77c3539</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>35879f28-f4f1-4ada-861a-03e41e659a39</CompanyID>
        <ID>6099a73b-a2ae-4ef3-800d-7d123acf469a</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":"016b18c3-feb1-4b07-b7db-0e7b0e2b0c8b","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":"d3dafef5-749f-4a4b-9cdc-a1a2b77c3539","companyID":"d41318f2-38c0-43be-9278-a15b7321f835"},"theWithholdingAmount":16.1,"productStockActionID":"f582c0bb-dc4a-4289-bac3-01a8f301b9c9","noKDVReason":{"title":"sample string 1","code":"sample string 2","createBy":{"id":"0c4b37d2-d0c6-4d38-a633-b1f410c9033f","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-08-05T21:16:15.2843752+03:00","updateBy":{"id":"0c4b37d2-d0c6-4d38-a633-b1f410c9033f","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-08-05T21:16:15.2843752+03:00","id":"5b9187b9-c59c-4de9-8a69-b282c3885981","companyID":"16616a69-3868-4b82-a6e0-4dab2723b85f"},"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-05T21:16:15.2843752+03:00","salePriceGroupOne":{"currency":{"name":"sample string 1","code":"sample string 2","id":"e35c2b30-a203-40de-8bdd-6269d2469501","companyID":"9f65f1ae-9830-4fa4-b510-e2916cf07c7b"},"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":"e821caa0-df8d-4e13-90ba-296085df7b68","companyID":"8301bc4b-eaea-4558-8eeb-7b06922a0244"},"purchaseOTV":11.1,"purchasePrice":12.1,"purchaseCurrency":{"name":"sample string 1","code":"sample string 2","id":"e35c2b30-a203-40de-8bdd-6269d2469501","companyID":"9f65f1ae-9830-4fa4-b510-e2916cf07c7b"},"unit":{"name":"sample string 1","code":"sample string 2","id":"6099a73b-a2ae-4ef3-800d-7d123acf469a","companyID":"35879f28-f4f1-4ada-861a-03e41e659a39"},"gtip":"sample string 13","producerCountry":"sample string 14","buyersItemIdentification":"sample string 15","isImported":true,"isActive":true,"code":"sample string 18","createBy":{"id":"0c4b37d2-d0c6-4d38-a633-b1f410c9033f","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-08-05T21:16:15.2843752+03:00","updateBy":{"id":"0c4b37d2-d0c6-4d38-a633-b1f410c9033f","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-08-05T21:16:15.2843752+03:00","id":"bd1e722f-0cea-4494-965f-5d5836f8ee7a","companyID":"a0b847f4-d430-4bc8-8225-46e79d073732"},"unit":{"name":"sample string 1","code":"sample string 2","id":"6099a73b-a2ae-4ef3-800d-7d123acf469a","companyID":"35879f28-f4f1-4ada-861a-03e41e659a39"},"currency":{"name":"sample string 1","code":"sample string 2","id":"e35c2b30-a203-40de-8bdd-6269d2469501","companyID":"9f65f1ae-9830-4fa4-b510-e2916cf07c7b"},"entryWarehouse":{"name":"sample string 1","code":"sample string 2","id":"8b1c27d8-277c-4149-a99c-38a7cfd7a469","companyID":"93f29cae-16f4-4581-8123-dd39db39a293"},"exitWarehouse":{"name":"sample string 1","code":"sample string 2","id":"8b1c27d8-277c-4149-a99c-38a7cfd7a469","companyID":"93f29cae-16f4-4581-8123-dd39db39a293"},"code":"sample string 17","createBy":{"id":"0c4b37d2-d0c6-4d38-a633-b1f410c9033f","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-08-05T21:16:15.2843752+03:00","updateBy":{"id":"0c4b37d2-d0c6-4d38-a633-b1f410c9033f","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-08-05T21:16:15.2843752+03:00","id":"e1301de8-4c8e-4d38-be18-6597d651dc8f","companyID":"6f61aef7-78d6-43e1-a5ef-f292329106b5"},{"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":"d3dafef5-749f-4a4b-9cdc-a1a2b77c3539","companyID":"d41318f2-38c0-43be-9278-a15b7321f835"},"theWithholdingAmount":16.1,"productStockActionID":"f582c0bb-dc4a-4289-bac3-01a8f301b9c9","noKDVReason":{"title":"sample string 1","code":"sample string 2","createBy":{"id":"0c4b37d2-d0c6-4d38-a633-b1f410c9033f","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-08-05T21:16:15.2843752+03:00","updateBy":{"id":"0c4b37d2-d0c6-4d38-a633-b1f410c9033f","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-08-05T21:16:15.2843752+03:00","id":"5b9187b9-c59c-4de9-8a69-b282c3885981","companyID":"16616a69-3868-4b82-a6e0-4dab2723b85f"},"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-05T21:16:15.2843752+03:00","salePriceGroupOne":{"currency":{"name":"sample string 1","code":"sample string 2","id":"e35c2b30-a203-40de-8bdd-6269d2469501","companyID":"9f65f1ae-9830-4fa4-b510-e2916cf07c7b"},"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":"e821caa0-df8d-4e13-90ba-296085df7b68","companyID":"8301bc4b-eaea-4558-8eeb-7b06922a0244"},"purchaseOTV":11.1,"purchasePrice":12.1,"purchaseCurrency":{"name":"sample string 1","code":"sample string 2","id":"e35c2b30-a203-40de-8bdd-6269d2469501","companyID":"9f65f1ae-9830-4fa4-b510-e2916cf07c7b"},"unit":{"name":"sample string 1","code":"sample string 2","id":"6099a73b-a2ae-4ef3-800d-7d123acf469a","companyID":"35879f28-f4f1-4ada-861a-03e41e659a39"},"gtip":"sample string 13","producerCountry":"sample string 14","buyersItemIdentification":"sample string 15","isImported":true,"isActive":true,"code":"sample string 18","createBy":{"id":"0c4b37d2-d0c6-4d38-a633-b1f410c9033f","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-08-05T21:16:15.2843752+03:00","updateBy":{"id":"0c4b37d2-d0c6-4d38-a633-b1f410c9033f","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-08-05T21:16:15.2843752+03:00","id":"bd1e722f-0cea-4494-965f-5d5836f8ee7a","companyID":"a0b847f4-d430-4bc8-8225-46e79d073732"},"unit":{"name":"sample string 1","code":"sample string 2","id":"6099a73b-a2ae-4ef3-800d-7d123acf469a","companyID":"35879f28-f4f1-4ada-861a-03e41e659a39"},"currency":{"name":"sample string 1","code":"sample string 2","id":"e35c2b30-a203-40de-8bdd-6269d2469501","companyID":"9f65f1ae-9830-4fa4-b510-e2916cf07c7b"},"entryWarehouse":{"name":"sample string 1","code":"sample string 2","id":"8b1c27d8-277c-4149-a99c-38a7cfd7a469","companyID":"93f29cae-16f4-4581-8123-dd39db39a293"},"exitWarehouse":{"name":"sample string 1","code":"sample string 2","id":"8b1c27d8-277c-4149-a99c-38a7cfd7a469","companyID":"93f29cae-16f4-4581-8123-dd39db39a293"},"code":"sample string 17","createBy":{"id":"0c4b37d2-d0c6-4d38-a633-b1f410c9033f","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-08-05T21:16:15.2843752+03:00","updateBy":{"id":"0c4b37d2-d0c6-4d38-a633-b1f410c9033f","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-08-05T21:16:15.2843752+03:00","id":"e1301de8-4c8e-4d38-be18-6597d651dc8f","companyID":"6f61aef7-78d6-43e1-a5ef-f292329106b5"}]}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.