PUT api/ProductStockAction/Update
Request Information
URI Parameters
None.
Body Parameters
ProductStockActionUpdateDtoName | Description | Type | Additional information |
---|---|---|---|
ProductStockActionType | ProductStockActionType |
None. |
|
Title | string |
None. |
|
SerialNumber | string |
None. |
|
OrderNumber | string |
None. |
|
Date | date |
None. |
|
Description | string |
None. |
|
BeforeTaxAmount | decimal number |
None. |
|
StopajRate | decimal number |
None. |
|
StopajAmount | decimal number |
None. |
|
LineDiscountAmount | decimal number |
None. |
|
DiscountRate | decimal number |
None. |
|
DiscountAmount | decimal number |
None. |
|
Amount | decimal number |
None. |
|
TotalAmount | decimal number |
None. |
|
TotalDiscountAmount | decimal number |
None. |
|
TotalKDVAmount | decimal number |
None. |
|
TotalOIVAmount | decimal number |
None. |
|
TotalOTVAmount | decimal number |
None. |
|
CurrencyRate | decimal number |
None. |
|
CurrencyID | globally unique identifier |
None. |
|
AccountID | globally unique identifier |
None. |
|
InvoiceID | globally unique identifier |
None. |
|
ServiceReceiptID | globally unique identifier |
None. |
|
ProductionID | globally unique identifier |
None. |
|
ProductStockActionDetails | Collection of ProductStockActionDetailAddDto |
None. |
|
ID | globally unique identifier |
Required |
|
CompanyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "productStockActionType": 1, "title": "sample string 1", "serialNumber": "sample string 2", "orderNumber": "sample string 3", "date": "2025-08-29T12:33:39.3178141+03:00", "description": "sample string 5", "beforeTaxAmount": 6.1, "stopajRate": 7.1, "stopajAmount": 8.1, "lineDiscountAmount": 9.1, "discountRate": 10.1, "discountAmount": 11.1, "amount": 12.1, "totalAmount": 13.1, "totalDiscountAmount": 14.1, "totalKDVAmount": 15.1, "totalOIVAmount": 16.1, "totalOTVAmount": 17.1, "currencyRate": 18.1, "currencyID": "d3133eda-6ca6-4498-aadb-4ecc9786c58a", "accountID": "6922b3ef-638b-4537-b63e-2ea02dd995b1", "invoiceID": "7cf47aee-3170-4326-83b8-92e5b81cf30c", "serviceReceiptID": "92152f9d-2188-4f57-a776-399ba2f9c38a", "productionID": "25030bbf-404b-4054-8836-3b110b50d02e", "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, "theWithholdingID": "12064899-d412-4fa9-8119-e6f08cf79e2f", "theWithholdingAmount": 16.1, "noKDVReasonID": "18e00bd0-890b-4183-9e5d-30ec795838bc", "unitID": "3e8358af-f321-438c-b0d4-d2de7461bb95", "currencyID": "276e7840-8174-4103-b90e-eb2ecdd8fa4c", "productID": "f3666ee9-c79d-4775-8693-faeca05bd2ba", "productStockActionID": "3e43fe5e-1827-4505-a416-067bce6f1d3f", "entryWarehouseID": "8b685382-4a9c-4253-a618-0925ab034f68", "exitWarehouseID": "42e956d8-8ce7-44fb-8da8-b53129ebfd43", "companyID": "a9e41dbf-d4e1-4b39-b14c-62264e593fcf" }, { "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, "theWithholdingID": "12064899-d412-4fa9-8119-e6f08cf79e2f", "theWithholdingAmount": 16.1, "noKDVReasonID": "18e00bd0-890b-4183-9e5d-30ec795838bc", "unitID": "3e8358af-f321-438c-b0d4-d2de7461bb95", "currencyID": "276e7840-8174-4103-b90e-eb2ecdd8fa4c", "productID": "f3666ee9-c79d-4775-8693-faeca05bd2ba", "productStockActionID": "3e43fe5e-1827-4505-a416-067bce6f1d3f", "entryWarehouseID": "8b685382-4a9c-4253-a618-0925ab034f68", "exitWarehouseID": "42e956d8-8ce7-44fb-8da8-b53129ebfd43", "companyID": "a9e41dbf-d4e1-4b39-b14c-62264e593fcf" } ], "id": "176ea498-3718-42fe-a53c-5273b9e0f171", "companyID": "9046f9b7-af3f-4032-a393-58336300f717" }
application/xml, text/xml
Sample:
<ProductStockActionUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CompanyID>9046f9b7-af3f-4032-a393-58336300f717</CompanyID> <ID>176ea498-3718-42fe-a53c-5273b9e0f171</ID> <AccountID>6922b3ef-638b-4537-b63e-2ea02dd995b1</AccountID> <Amount>12.1</Amount> <BeforeTaxAmount>6.1</BeforeTaxAmount> <CurrencyID>d3133eda-6ca6-4498-aadb-4ecc9786c58a</CurrencyID> <CurrencyRate>18.1</CurrencyRate> <Date>2025-08-29T12:33:39.3178141+03:00</Date> <Description>sample string 5</Description> <DiscountAmount>11.1</DiscountAmount> <DiscountRate>10.1</DiscountRate> <InvoiceID>7cf47aee-3170-4326-83b8-92e5b81cf30c</InvoiceID> <LineDiscountAmount>9.1</LineDiscountAmount> <OrderNumber>sample string 3</OrderNumber> <ProductStockActionDetails> <ProductStockActionDetailAddDto> <Amount>3.1</Amount> <CompanyID>a9e41dbf-d4e1-4b39-b14c-62264e593fcf</CompanyID> <CurrencyID>276e7840-8174-4103-b90e-eb2ecdd8fa4c</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>8b685382-4a9c-4253-a618-0925ab034f68</EntryWarehouseID> <ExitWarehouseID>42e956d8-8ce7-44fb-8da8-b53129ebfd43</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>18e00bd0-890b-4183-9e5d-30ec795838bc</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>f3666ee9-c79d-4775-8693-faeca05bd2ba</ProductID> <ProductStockActionID>3e43fe5e-1827-4505-a416-067bce6f1d3f</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>12064899-d412-4fa9-8119-e6f08cf79e2f</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>3e8358af-f321-438c-b0d4-d2de7461bb95</UnitID> </ProductStockActionDetailAddDto> <ProductStockActionDetailAddDto> <Amount>3.1</Amount> <CompanyID>a9e41dbf-d4e1-4b39-b14c-62264e593fcf</CompanyID> <CurrencyID>276e7840-8174-4103-b90e-eb2ecdd8fa4c</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>8b685382-4a9c-4253-a618-0925ab034f68</EntryWarehouseID> <ExitWarehouseID>42e956d8-8ce7-44fb-8da8-b53129ebfd43</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>18e00bd0-890b-4183-9e5d-30ec795838bc</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>f3666ee9-c79d-4775-8693-faeca05bd2ba</ProductID> <ProductStockActionID>3e43fe5e-1827-4505-a416-067bce6f1d3f</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>12064899-d412-4fa9-8119-e6f08cf79e2f</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>3e8358af-f321-438c-b0d4-d2de7461bb95</UnitID> </ProductStockActionDetailAddDto> </ProductStockActionDetails> <ProductStockActionType>EntryReceipt</ProductStockActionType> <ProductionID>25030bbf-404b-4054-8836-3b110b50d02e</ProductionID> <SerialNumber>sample string 2</SerialNumber> <ServiceReceiptID>92152f9d-2188-4f57-a776-399ba2f9c38a</ServiceReceiptID> <StopajAmount>8.1</StopajAmount> <StopajRate>7.1</StopajRate> <Title>sample string 1</Title> <TotalAmount>13.1</TotalAmount> <TotalDiscountAmount>14.1</TotalDiscountAmount> <TotalKDVAmount>15.1</TotalKDVAmount> <TotalOIVAmount>16.1</TotalOIVAmount> <TotalOTVAmount>17.1</TotalOTVAmount> </ProductStockActionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"productStockActionType":1,"title":"sample string 1","serialNumber":"sample string 2","orderNumber":"sample string 3","date":"2025-08-29T12:33:39.3178141+03:00","description":"sample string 5","beforeTaxAmount":6.1,"stopajRate":7.1,"stopajAmount":8.1,"lineDiscountAmount":9.1,"discountRate":10.1,"discountAmount":11.1,"amount":12.1,"totalAmount":13.1,"totalDiscountAmount":14.1,"totalKDVAmount":15.1,"totalOIVAmount":16.1,"totalOTVAmount":17.1,"currencyRate":18.1,"currencyID":"d3133eda-6ca6-4498-aadb-4ecc9786c58a","accountID":"6922b3ef-638b-4537-b63e-2ea02dd995b1","invoiceID":"7cf47aee-3170-4326-83b8-92e5b81cf30c","serviceReceiptID":"92152f9d-2188-4f57-a776-399ba2f9c38a","productionID":"25030bbf-404b-4054-8836-3b110b50d02e","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,"theWithholdingID":"12064899-d412-4fa9-8119-e6f08cf79e2f","theWithholdingAmount":16.1,"noKDVReasonID":"18e00bd0-890b-4183-9e5d-30ec795838bc","unitID":"3e8358af-f321-438c-b0d4-d2de7461bb95","currencyID":"276e7840-8174-4103-b90e-eb2ecdd8fa4c","productID":"f3666ee9-c79d-4775-8693-faeca05bd2ba","productStockActionID":"3e43fe5e-1827-4505-a416-067bce6f1d3f","entryWarehouseID":"8b685382-4a9c-4253-a618-0925ab034f68","exitWarehouseID":"42e956d8-8ce7-44fb-8da8-b53129ebfd43","companyID":"a9e41dbf-d4e1-4b39-b14c-62264e593fcf"},{"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,"theWithholdingID":"12064899-d412-4fa9-8119-e6f08cf79e2f","theWithholdingAmount":16.1,"noKDVReasonID":"18e00bd0-890b-4183-9e5d-30ec795838bc","unitID":"3e8358af-f321-438c-b0d4-d2de7461bb95","currencyID":"276e7840-8174-4103-b90e-eb2ecdd8fa4c","productID":"f3666ee9-c79d-4775-8693-faeca05bd2ba","productStockActionID":"3e43fe5e-1827-4505-a416-067bce6f1d3f","entryWarehouseID":"8b685382-4a9c-4253-a618-0925ab034f68","exitWarehouseID":"42e956d8-8ce7-44fb-8da8-b53129ebfd43","companyID":"a9e41dbf-d4e1-4b39-b14c-62264e593fcf"}],"id":"176ea498-3718-42fe-a53c-5273b9e0f171","companyID":"9046f9b7-af3f-4032-a393-58336300f717"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.