POST api/Warehouse/Add
Request Information
URI Parameters
None.
Body Parameters
WarehouseAddDtoName | Description | Type | Additional 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": "0eca942e-84e7-4e33-9eef-4da54b68a5d2", "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": "2bc98d29-90f7-4181-b084-a28198c4edcf", "companyID": "5d831324-3d75-4df9-b0ba-c0a85c3f8d00" }, "theWithholdingAmount": 16.1, "productStockActionID": "61d72fb0-78fb-40e7-97e1-1e4e1b8e1436", "noKDVReason": { "title": "sample string 1", "code": "sample string 2", "createBy": { "id": "77788085-f550-4765-a29d-a8dcfe4ed88b", "name": "sample string 2", "surname": "sample string 3", "email": "sample string 4" }, "createDT": "2025-07-08T11:54:42.5883244+03:00", "updateBy": { "id": "77788085-f550-4765-a29d-a8dcfe4ed88b", "name": "sample string 2", "surname": "sample string 3", "email": "sample string 4" }, "updateDT": "2025-07-08T11:54:42.5883244+03:00", "id": "b09d3add-a6dc-43ee-9669-36e5cd666c37", "companyID": "7a9ef7f3-f95a-4f4d-bd05-06d851c3f39c" }, "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-07-08T11:54:42.5883244+03:00", "salePriceGroupOne": { "currency": { "name": "sample string 1", "code": "sample string 2", "id": "e9cc0534-39b0-4c8d-9db8-c0a1ea42d35c", "companyID": "451016c3-5112-45d5-ab26-a78d2bf9be53" }, "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": "75d8a618-a1d9-47d5-8c18-5ab67af503e5", "companyID": "ea9fd057-f9be-4c4c-858a-a05fa9086e0a" }, "purchaseOTV": 11.1, "purchasePrice": 12.1, "purchaseCurrency": { "name": "sample string 1", "code": "sample string 2", "id": "e9cc0534-39b0-4c8d-9db8-c0a1ea42d35c", "companyID": "451016c3-5112-45d5-ab26-a78d2bf9be53" }, "unit": { "name": "sample string 1", "code": "sample string 2", "id": "2f0e322c-63e9-4bc4-a9b4-9bb9065c2d9b", "companyID": "fe5836d4-e98a-4ee6-9996-653ee2a4f43e" }, "gtip": "sample string 13", "producerCountry": "sample string 14", "buyersItemIdentification": "sample string 15", "isImported": true, "isActive": true, "code": "sample string 18", "createBy": { "id": "77788085-f550-4765-a29d-a8dcfe4ed88b", "name": "sample string 2", "surname": "sample string 3", "email": "sample string 4" }, "createDT": "2025-07-08T11:54:42.5883244+03:00", "updateBy": { "id": "77788085-f550-4765-a29d-a8dcfe4ed88b", "name": "sample string 2", "surname": "sample string 3", "email": "sample string 4" }, "updateDT": "2025-07-08T11:54:42.5883244+03:00", "id": "0a0a4fc7-ab11-4529-9cd0-b091a59d8ca7", "companyID": "3ce842b7-b324-4103-b072-7cb0e9d8f969" }, "unit": { "name": "sample string 1", "code": "sample string 2", "id": "2f0e322c-63e9-4bc4-a9b4-9bb9065c2d9b", "companyID": "fe5836d4-e98a-4ee6-9996-653ee2a4f43e" }, "currency": { "name": "sample string 1", "code": "sample string 2", "id": "e9cc0534-39b0-4c8d-9db8-c0a1ea42d35c", "companyID": "451016c3-5112-45d5-ab26-a78d2bf9be53" }, "entryWarehouse": { "name": "sample string 1", "code": "sample string 2", "id": "24c4dc41-f7ae-49f9-b255-4ea1e1d55a32", "companyID": "45250a81-757a-4820-a0b4-1d8549c56a30" }, "exitWarehouse": { "name": "sample string 1", "code": "sample string 2", "id": "24c4dc41-f7ae-49f9-b255-4ea1e1d55a32", "companyID": "45250a81-757a-4820-a0b4-1d8549c56a30" }, "code": "sample string 17", "createBy": { "id": "77788085-f550-4765-a29d-a8dcfe4ed88b", "name": "sample string 2", "surname": "sample string 3", "email": "sample string 4" }, "createDT": "2025-07-08T11:54:42.5883244+03:00", "updateBy": { "id": "77788085-f550-4765-a29d-a8dcfe4ed88b", "name": "sample string 2", "surname": "sample string 3", "email": "sample string 4" }, "updateDT": "2025-07-08T11:54:42.5883244+03:00", "id": "e612c137-02ee-4cf4-bdfc-e5341c7f724b", "companyID": "c910a322-c14e-42dc-855a-11f65d9d724b" }, { "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": "2bc98d29-90f7-4181-b084-a28198c4edcf", "companyID": "5d831324-3d75-4df9-b0ba-c0a85c3f8d00" }, "theWithholdingAmount": 16.1, "productStockActionID": "61d72fb0-78fb-40e7-97e1-1e4e1b8e1436", "noKDVReason": { "title": "sample string 1", "code": "sample string 2", "createBy": { "id": "77788085-f550-4765-a29d-a8dcfe4ed88b", "name": "sample string 2", "surname": "sample string 3", "email": "sample string 4" }, "createDT": "2025-07-08T11:54:42.5883244+03:00", "updateBy": { "id": "77788085-f550-4765-a29d-a8dcfe4ed88b", "name": "sample string 2", "surname": "sample string 3", "email": "sample string 4" }, "updateDT": "2025-07-08T11:54:42.5883244+03:00", "id": "b09d3add-a6dc-43ee-9669-36e5cd666c37", "companyID": "7a9ef7f3-f95a-4f4d-bd05-06d851c3f39c" }, "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-07-08T11:54:42.5883244+03:00", "salePriceGroupOne": { "currency": { "name": "sample string 1", "code": "sample string 2", "id": "e9cc0534-39b0-4c8d-9db8-c0a1ea42d35c", "companyID": "451016c3-5112-45d5-ab26-a78d2bf9be53" }, "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": "75d8a618-a1d9-47d5-8c18-5ab67af503e5", "companyID": "ea9fd057-f9be-4c4c-858a-a05fa9086e0a" }, "purchaseOTV": 11.1, "purchasePrice": 12.1, "purchaseCurrency": { "name": "sample string 1", "code": "sample string 2", "id": "e9cc0534-39b0-4c8d-9db8-c0a1ea42d35c", "companyID": "451016c3-5112-45d5-ab26-a78d2bf9be53" }, "unit": { "name": "sample string 1", "code": "sample string 2", "id": "2f0e322c-63e9-4bc4-a9b4-9bb9065c2d9b", "companyID": "fe5836d4-e98a-4ee6-9996-653ee2a4f43e" }, "gtip": "sample string 13", "producerCountry": "sample string 14", "buyersItemIdentification": "sample string 15", "isImported": true, "isActive": true, "code": "sample string 18", "createBy": { "id": "77788085-f550-4765-a29d-a8dcfe4ed88b", "name": "sample string 2", "surname": "sample string 3", "email": "sample string 4" }, "createDT": "2025-07-08T11:54:42.5883244+03:00", "updateBy": { "id": "77788085-f550-4765-a29d-a8dcfe4ed88b", "name": "sample string 2", "surname": "sample string 3", "email": "sample string 4" }, "updateDT": "2025-07-08T11:54:42.5883244+03:00", "id": "0a0a4fc7-ab11-4529-9cd0-b091a59d8ca7", "companyID": "3ce842b7-b324-4103-b072-7cb0e9d8f969" }, "unit": { "name": "sample string 1", "code": "sample string 2", "id": "2f0e322c-63e9-4bc4-a9b4-9bb9065c2d9b", "companyID": "fe5836d4-e98a-4ee6-9996-653ee2a4f43e" }, "currency": { "name": "sample string 1", "code": "sample string 2", "id": "e9cc0534-39b0-4c8d-9db8-c0a1ea42d35c", "companyID": "451016c3-5112-45d5-ab26-a78d2bf9be53" }, "entryWarehouse": { "name": "sample string 1", "code": "sample string 2", "id": "24c4dc41-f7ae-49f9-b255-4ea1e1d55a32", "companyID": "45250a81-757a-4820-a0b4-1d8549c56a30" }, "exitWarehouse": { "name": "sample string 1", "code": "sample string 2", "id": "24c4dc41-f7ae-49f9-b255-4ea1e1d55a32", "companyID": "45250a81-757a-4820-a0b4-1d8549c56a30" }, "code": "sample string 17", "createBy": { "id": "77788085-f550-4765-a29d-a8dcfe4ed88b", "name": "sample string 2", "surname": "sample string 3", "email": "sample string 4" }, "createDT": "2025-07-08T11:54:42.5883244+03:00", "updateBy": { "id": "77788085-f550-4765-a29d-a8dcfe4ed88b", "name": "sample string 2", "surname": "sample string 3", "email": "sample string 4" }, "updateDT": "2025-07-08T11:54:42.5883244+03:00", "id": "e612c137-02ee-4cf4-bdfc-e5341c7f724b", "companyID": "c910a322-c14e-42dc-855a-11f65d9d724b" } ] }
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>0eca942e-84e7-4e33-9eef-4da54b68a5d2</CompanyID> <Name>sample string 2</Name> <ProductStockActionDetails> <ProductStockActionDetailCardDto> <CompanyID>c910a322-c14e-42dc-855a-11f65d9d724b</CompanyID> <ID>e612c137-02ee-4cf4-bdfc-e5341c7f724b</ID> <Code>sample string 17</Code> <CreateBy> <Email>sample string 4</Email> <ID>77788085-f550-4765-a29d-a8dcfe4ed88b</ID> <Name>sample string 2</Name> <Surname>sample string 3</Surname> </CreateBy> <CreateDT>2025-07-08T11:54:42.5883244+03:00</CreateDT> <UpdateBy> <Email>sample string 4</Email> <ID>77788085-f550-4765-a29d-a8dcfe4ed88b</ID> <Name>sample string 2</Name> <Surname>sample string 3</Surname> </UpdateBy> <UpdateDT>2025-07-08T11:54:42.5883244+03:00</UpdateDT> <Amount>3.1</Amount> <Currency> <CompanyID>451016c3-5112-45d5-ab26-a78d2bf9be53</CompanyID> <ID>e9cc0534-39b0-4c8d-9db8-c0a1ea42d35c</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>45250a81-757a-4820-a0b4-1d8549c56a30</CompanyID> <ID>24c4dc41-f7ae-49f9-b255-4ea1e1d55a32</ID> <Code>sample string 2</Code> <Name>sample string 1</Name> </EntryWarehouse> <ExitWarehouse> <CompanyID>45250a81-757a-4820-a0b4-1d8549c56a30</CompanyID> <ID>24c4dc41-f7ae-49f9-b255-4ea1e1d55a32</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>7a9ef7f3-f95a-4f4d-bd05-06d851c3f39c</CompanyID> <ID>b09d3add-a6dc-43ee-9669-36e5cd666c37</ID> <Code>sample string 2</Code> <CreateBy> <Email>sample string 4</Email> <ID>77788085-f550-4765-a29d-a8dcfe4ed88b</ID> <Name>sample string 2</Name> <Surname>sample string 3</Surname> </CreateBy> <CreateDT>2025-07-08T11:54:42.5883244+03:00</CreateDT> <UpdateBy> <Email>sample string 4</Email> <ID>77788085-f550-4765-a29d-a8dcfe4ed88b</ID> <Name>sample string 2</Name> <Surname>sample string 3</Surname> </UpdateBy> <UpdateDT>2025-07-08T11:54:42.5883244+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>3ce842b7-b324-4103-b072-7cb0e9d8f969</CompanyID> <ID>0a0a4fc7-ab11-4529-9cd0-b091a59d8ca7</ID> <Code>sample string 18</Code> <CreateBy> <Email>sample string 4</Email> <ID>77788085-f550-4765-a29d-a8dcfe4ed88b</ID> <Name>sample string 2</Name> <Surname>sample string 3</Surname> </CreateBy> <CreateDT>2025-07-08T11:54:42.5883244+03:00</CreateDT> <UpdateBy> <Email>sample string 4</Email> <ID>77788085-f550-4765-a29d-a8dcfe4ed88b</ID> <Name>sample string 2</Name> <Surname>sample string 3</Surname> </UpdateBy> <UpdateDT>2025-07-08T11:54:42.5883244+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>451016c3-5112-45d5-ab26-a78d2bf9be53</CompanyID> <ID>e9cc0534-39b0-4c8d-9db8-c0a1ea42d35c</ID> <Code>sample string 2</Code> <Name>sample string 1</Name> </PurchaseCurrency> <PurchaseOTV>11.1</PurchaseOTV> <PurchasePrice>12.1</PurchasePrice> <SalePriceGroupOne> <CompanyID>ea9fd057-f9be-4c4c-858a-a05fa9086e0a</CompanyID> <ID>75d8a618-a1d9-47d5-8c18-5ab67af503e5</ID> <Code>sample string 7</Code> <Currency> <CompanyID>451016c3-5112-45d5-ab26-a78d2bf9be53</CompanyID> <ID>e9cc0534-39b0-4c8d-9db8-c0a1ea42d35c</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>fe5836d4-e98a-4ee6-9996-653ee2a4f43e</CompanyID> <ID>2f0e322c-63e9-4bc4-a9b4-9bb9065c2d9b</ID> <Code>sample string 2</Code> <Name>sample string 1</Name> </Unit> <WarrantyEndDate>2025-07-08T11:54:42.5883244+03:00</WarrantyEndDate> </Product> <ProductStockActionID>61d72fb0-78fb-40e7-97e1-1e4e1b8e1436</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholding> <CompanyID>5d831324-3d75-4df9-b0ba-c0a85c3f8d00</CompanyID> <ID>2bc98d29-90f7-4181-b084-a28198c4edcf</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>fe5836d4-e98a-4ee6-9996-653ee2a4f43e</CompanyID> <ID>2f0e322c-63e9-4bc4-a9b4-9bb9065c2d9b</ID> <Code>sample string 2</Code> <Name>sample string 1</Name> </Unit> </ProductStockActionDetailCardDto> <ProductStockActionDetailCardDto> <CompanyID>c910a322-c14e-42dc-855a-11f65d9d724b</CompanyID> <ID>e612c137-02ee-4cf4-bdfc-e5341c7f724b</ID> <Code>sample string 17</Code> <CreateBy> <Email>sample string 4</Email> <ID>77788085-f550-4765-a29d-a8dcfe4ed88b</ID> <Name>sample string 2</Name> <Surname>sample string 3</Surname> </CreateBy> <CreateDT>2025-07-08T11:54:42.5883244+03:00</CreateDT> <UpdateBy> <Email>sample string 4</Email> <ID>77788085-f550-4765-a29d-a8dcfe4ed88b</ID> <Name>sample string 2</Name> <Surname>sample string 3</Surname> </UpdateBy> <UpdateDT>2025-07-08T11:54:42.5883244+03:00</UpdateDT> <Amount>3.1</Amount> <Currency> <CompanyID>451016c3-5112-45d5-ab26-a78d2bf9be53</CompanyID> <ID>e9cc0534-39b0-4c8d-9db8-c0a1ea42d35c</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>45250a81-757a-4820-a0b4-1d8549c56a30</CompanyID> <ID>24c4dc41-f7ae-49f9-b255-4ea1e1d55a32</ID> <Code>sample string 2</Code> <Name>sample string 1</Name> </EntryWarehouse> <ExitWarehouse> <CompanyID>45250a81-757a-4820-a0b4-1d8549c56a30</CompanyID> <ID>24c4dc41-f7ae-49f9-b255-4ea1e1d55a32</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>7a9ef7f3-f95a-4f4d-bd05-06d851c3f39c</CompanyID> <ID>b09d3add-a6dc-43ee-9669-36e5cd666c37</ID> <Code>sample string 2</Code> <CreateBy> <Email>sample string 4</Email> <ID>77788085-f550-4765-a29d-a8dcfe4ed88b</ID> <Name>sample string 2</Name> <Surname>sample string 3</Surname> </CreateBy> <CreateDT>2025-07-08T11:54:42.5883244+03:00</CreateDT> <UpdateBy> <Email>sample string 4</Email> <ID>77788085-f550-4765-a29d-a8dcfe4ed88b</ID> <Name>sample string 2</Name> <Surname>sample string 3</Surname> </UpdateBy> <UpdateDT>2025-07-08T11:54:42.5883244+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>3ce842b7-b324-4103-b072-7cb0e9d8f969</CompanyID> <ID>0a0a4fc7-ab11-4529-9cd0-b091a59d8ca7</ID> <Code>sample string 18</Code> <CreateBy> <Email>sample string 4</Email> <ID>77788085-f550-4765-a29d-a8dcfe4ed88b</ID> <Name>sample string 2</Name> <Surname>sample string 3</Surname> </CreateBy> <CreateDT>2025-07-08T11:54:42.5883244+03:00</CreateDT> <UpdateBy> <Email>sample string 4</Email> <ID>77788085-f550-4765-a29d-a8dcfe4ed88b</ID> <Name>sample string 2</Name> <Surname>sample string 3</Surname> </UpdateBy> <UpdateDT>2025-07-08T11:54:42.5883244+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>451016c3-5112-45d5-ab26-a78d2bf9be53</CompanyID> <ID>e9cc0534-39b0-4c8d-9db8-c0a1ea42d35c</ID> <Code>sample string 2</Code> <Name>sample string 1</Name> </PurchaseCurrency> <PurchaseOTV>11.1</PurchaseOTV> <PurchasePrice>12.1</PurchasePrice> <SalePriceGroupOne> <CompanyID>ea9fd057-f9be-4c4c-858a-a05fa9086e0a</CompanyID> <ID>75d8a618-a1d9-47d5-8c18-5ab67af503e5</ID> <Code>sample string 7</Code> <Currency> <CompanyID>451016c3-5112-45d5-ab26-a78d2bf9be53</CompanyID> <ID>e9cc0534-39b0-4c8d-9db8-c0a1ea42d35c</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>fe5836d4-e98a-4ee6-9996-653ee2a4f43e</CompanyID> <ID>2f0e322c-63e9-4bc4-a9b4-9bb9065c2d9b</ID> <Code>sample string 2</Code> <Name>sample string 1</Name> </Unit> <WarrantyEndDate>2025-07-08T11:54:42.5883244+03:00</WarrantyEndDate> </Product> <ProductStockActionID>61d72fb0-78fb-40e7-97e1-1e4e1b8e1436</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholding> <CompanyID>5d831324-3d75-4df9-b0ba-c0a85c3f8d00</CompanyID> <ID>2bc98d29-90f7-4181-b084-a28198c4edcf</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>fe5836d4-e98a-4ee6-9996-653ee2a4f43e</CompanyID> <ID>2f0e322c-63e9-4bc4-a9b4-9bb9065c2d9b</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":"0eca942e-84e7-4e33-9eef-4da54b68a5d2","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":"2bc98d29-90f7-4181-b084-a28198c4edcf","companyID":"5d831324-3d75-4df9-b0ba-c0a85c3f8d00"},"theWithholdingAmount":16.1,"productStockActionID":"61d72fb0-78fb-40e7-97e1-1e4e1b8e1436","noKDVReason":{"title":"sample string 1","code":"sample string 2","createBy":{"id":"77788085-f550-4765-a29d-a8dcfe4ed88b","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-07-08T11:54:42.5883244+03:00","updateBy":{"id":"77788085-f550-4765-a29d-a8dcfe4ed88b","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-07-08T11:54:42.5883244+03:00","id":"b09d3add-a6dc-43ee-9669-36e5cd666c37","companyID":"7a9ef7f3-f95a-4f4d-bd05-06d851c3f39c"},"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-07-08T11:54:42.5883244+03:00","salePriceGroupOne":{"currency":{"name":"sample string 1","code":"sample string 2","id":"e9cc0534-39b0-4c8d-9db8-c0a1ea42d35c","companyID":"451016c3-5112-45d5-ab26-a78d2bf9be53"},"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":"75d8a618-a1d9-47d5-8c18-5ab67af503e5","companyID":"ea9fd057-f9be-4c4c-858a-a05fa9086e0a"},"purchaseOTV":11.1,"purchasePrice":12.1,"purchaseCurrency":{"name":"sample string 1","code":"sample string 2","id":"e9cc0534-39b0-4c8d-9db8-c0a1ea42d35c","companyID":"451016c3-5112-45d5-ab26-a78d2bf9be53"},"unit":{"name":"sample string 1","code":"sample string 2","id":"2f0e322c-63e9-4bc4-a9b4-9bb9065c2d9b","companyID":"fe5836d4-e98a-4ee6-9996-653ee2a4f43e"},"gtip":"sample string 13","producerCountry":"sample string 14","buyersItemIdentification":"sample string 15","isImported":true,"isActive":true,"code":"sample string 18","createBy":{"id":"77788085-f550-4765-a29d-a8dcfe4ed88b","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-07-08T11:54:42.5883244+03:00","updateBy":{"id":"77788085-f550-4765-a29d-a8dcfe4ed88b","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-07-08T11:54:42.5883244+03:00","id":"0a0a4fc7-ab11-4529-9cd0-b091a59d8ca7","companyID":"3ce842b7-b324-4103-b072-7cb0e9d8f969"},"unit":{"name":"sample string 1","code":"sample string 2","id":"2f0e322c-63e9-4bc4-a9b4-9bb9065c2d9b","companyID":"fe5836d4-e98a-4ee6-9996-653ee2a4f43e"},"currency":{"name":"sample string 1","code":"sample string 2","id":"e9cc0534-39b0-4c8d-9db8-c0a1ea42d35c","companyID":"451016c3-5112-45d5-ab26-a78d2bf9be53"},"entryWarehouse":{"name":"sample string 1","code":"sample string 2","id":"24c4dc41-f7ae-49f9-b255-4ea1e1d55a32","companyID":"45250a81-757a-4820-a0b4-1d8549c56a30"},"exitWarehouse":{"name":"sample string 1","code":"sample string 2","id":"24c4dc41-f7ae-49f9-b255-4ea1e1d55a32","companyID":"45250a81-757a-4820-a0b4-1d8549c56a30"},"code":"sample string 17","createBy":{"id":"77788085-f550-4765-a29d-a8dcfe4ed88b","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-07-08T11:54:42.5883244+03:00","updateBy":{"id":"77788085-f550-4765-a29d-a8dcfe4ed88b","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-07-08T11:54:42.5883244+03:00","id":"e612c137-02ee-4cf4-bdfc-e5341c7f724b","companyID":"c910a322-c14e-42dc-855a-11f65d9d724b"},{"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":"2bc98d29-90f7-4181-b084-a28198c4edcf","companyID":"5d831324-3d75-4df9-b0ba-c0a85c3f8d00"},"theWithholdingAmount":16.1,"productStockActionID":"61d72fb0-78fb-40e7-97e1-1e4e1b8e1436","noKDVReason":{"title":"sample string 1","code":"sample string 2","createBy":{"id":"77788085-f550-4765-a29d-a8dcfe4ed88b","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-07-08T11:54:42.5883244+03:00","updateBy":{"id":"77788085-f550-4765-a29d-a8dcfe4ed88b","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-07-08T11:54:42.5883244+03:00","id":"b09d3add-a6dc-43ee-9669-36e5cd666c37","companyID":"7a9ef7f3-f95a-4f4d-bd05-06d851c3f39c"},"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-07-08T11:54:42.5883244+03:00","salePriceGroupOne":{"currency":{"name":"sample string 1","code":"sample string 2","id":"e9cc0534-39b0-4c8d-9db8-c0a1ea42d35c","companyID":"451016c3-5112-45d5-ab26-a78d2bf9be53"},"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":"75d8a618-a1d9-47d5-8c18-5ab67af503e5","companyID":"ea9fd057-f9be-4c4c-858a-a05fa9086e0a"},"purchaseOTV":11.1,"purchasePrice":12.1,"purchaseCurrency":{"name":"sample string 1","code":"sample string 2","id":"e9cc0534-39b0-4c8d-9db8-c0a1ea42d35c","companyID":"451016c3-5112-45d5-ab26-a78d2bf9be53"},"unit":{"name":"sample string 1","code":"sample string 2","id":"2f0e322c-63e9-4bc4-a9b4-9bb9065c2d9b","companyID":"fe5836d4-e98a-4ee6-9996-653ee2a4f43e"},"gtip":"sample string 13","producerCountry":"sample string 14","buyersItemIdentification":"sample string 15","isImported":true,"isActive":true,"code":"sample string 18","createBy":{"id":"77788085-f550-4765-a29d-a8dcfe4ed88b","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-07-08T11:54:42.5883244+03:00","updateBy":{"id":"77788085-f550-4765-a29d-a8dcfe4ed88b","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-07-08T11:54:42.5883244+03:00","id":"0a0a4fc7-ab11-4529-9cd0-b091a59d8ca7","companyID":"3ce842b7-b324-4103-b072-7cb0e9d8f969"},"unit":{"name":"sample string 1","code":"sample string 2","id":"2f0e322c-63e9-4bc4-a9b4-9bb9065c2d9b","companyID":"fe5836d4-e98a-4ee6-9996-653ee2a4f43e"},"currency":{"name":"sample string 1","code":"sample string 2","id":"e9cc0534-39b0-4c8d-9db8-c0a1ea42d35c","companyID":"451016c3-5112-45d5-ab26-a78d2bf9be53"},"entryWarehouse":{"name":"sample string 1","code":"sample string 2","id":"24c4dc41-f7ae-49f9-b255-4ea1e1d55a32","companyID":"45250a81-757a-4820-a0b4-1d8549c56a30"},"exitWarehouse":{"name":"sample string 1","code":"sample string 2","id":"24c4dc41-f7ae-49f9-b255-4ea1e1d55a32","companyID":"45250a81-757a-4820-a0b4-1d8549c56a30"},"code":"sample string 17","createBy":{"id":"77788085-f550-4765-a29d-a8dcfe4ed88b","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-07-08T11:54:42.5883244+03:00","updateBy":{"id":"77788085-f550-4765-a29d-a8dcfe4ed88b","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-07-08T11:54:42.5883244+03:00","id":"e612c137-02ee-4cf4-bdfc-e5341c7f724b","companyID":"c910a322-c14e-42dc-855a-11f65d9d724b"}]}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.