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-04T22:36:49.2746979+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": "6f44a74a-04b3-4868-8304-f7c406e5cc36", "accountID": "dc03714e-15c4-4103-8660-a66852cf3b20", "invoiceID": "e68898fb-bb0c-4496-b363-9d55837c8bd0", "serviceReceiptID": "8f9862b8-a6b7-4a28-aaae-f22dd232feaf", "productionID": "18b5afb3-0edb-4503-a574-7dc86edb7778", "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": "4b80dad8-5ab4-41f4-963e-cf3a6c695bd7", "theWithholdingAmount": 16.1, "noKDVReasonID": "fa801ce8-326e-4252-a15d-f296b4780c57", "unitID": "d922a5a1-4409-4aa3-a0c2-db0e7efe776a", "currencyID": "71e53a8d-9f9f-4f4e-96db-edc01a829ddd", "productID": "27761007-2c70-442f-8c3f-d4be3e7795e2", "productStockActionID": "63cc843f-bb61-4c47-9eb6-fb3dc08a4633", "entryWarehouseID": "67325d42-2f76-4d33-80f1-128bf8474e33", "exitWarehouseID": "046b238c-d579-4eea-b65f-fa5e567bedc7", "companyID": "a76250cb-9641-4150-9b59-0b2429345838" }, { "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": "4b80dad8-5ab4-41f4-963e-cf3a6c695bd7", "theWithholdingAmount": 16.1, "noKDVReasonID": "fa801ce8-326e-4252-a15d-f296b4780c57", "unitID": "d922a5a1-4409-4aa3-a0c2-db0e7efe776a", "currencyID": "71e53a8d-9f9f-4f4e-96db-edc01a829ddd", "productID": "27761007-2c70-442f-8c3f-d4be3e7795e2", "productStockActionID": "63cc843f-bb61-4c47-9eb6-fb3dc08a4633", "entryWarehouseID": "67325d42-2f76-4d33-80f1-128bf8474e33", "exitWarehouseID": "046b238c-d579-4eea-b65f-fa5e567bedc7", "companyID": "a76250cb-9641-4150-9b59-0b2429345838" } ], "id": "c6fe17f9-c718-4956-a64b-886fefb87e82", "companyID": "b2b17c43-467a-4c80-89e2-d6b2652c01aa" }
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>b2b17c43-467a-4c80-89e2-d6b2652c01aa</CompanyID> <ID>c6fe17f9-c718-4956-a64b-886fefb87e82</ID> <AccountID>dc03714e-15c4-4103-8660-a66852cf3b20</AccountID> <Amount>12.1</Amount> <BeforeTaxAmount>6.1</BeforeTaxAmount> <CurrencyID>6f44a74a-04b3-4868-8304-f7c406e5cc36</CurrencyID> <CurrencyRate>18.1</CurrencyRate> <Date>2025-08-04T22:36:49.2746979+03:00</Date> <Description>sample string 5</Description> <DiscountAmount>11.1</DiscountAmount> <DiscountRate>10.1</DiscountRate> <InvoiceID>e68898fb-bb0c-4496-b363-9d55837c8bd0</InvoiceID> <LineDiscountAmount>9.1</LineDiscountAmount> <OrderNumber>sample string 3</OrderNumber> <ProductStockActionDetails> <ProductStockActionDetailAddDto> <Amount>3.1</Amount> <CompanyID>a76250cb-9641-4150-9b59-0b2429345838</CompanyID> <CurrencyID>71e53a8d-9f9f-4f4e-96db-edc01a829ddd</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>67325d42-2f76-4d33-80f1-128bf8474e33</EntryWarehouseID> <ExitWarehouseID>046b238c-d579-4eea-b65f-fa5e567bedc7</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>fa801ce8-326e-4252-a15d-f296b4780c57</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>27761007-2c70-442f-8c3f-d4be3e7795e2</ProductID> <ProductStockActionID>63cc843f-bb61-4c47-9eb6-fb3dc08a4633</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>4b80dad8-5ab4-41f4-963e-cf3a6c695bd7</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>d922a5a1-4409-4aa3-a0c2-db0e7efe776a</UnitID> </ProductStockActionDetailAddDto> <ProductStockActionDetailAddDto> <Amount>3.1</Amount> <CompanyID>a76250cb-9641-4150-9b59-0b2429345838</CompanyID> <CurrencyID>71e53a8d-9f9f-4f4e-96db-edc01a829ddd</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>67325d42-2f76-4d33-80f1-128bf8474e33</EntryWarehouseID> <ExitWarehouseID>046b238c-d579-4eea-b65f-fa5e567bedc7</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>fa801ce8-326e-4252-a15d-f296b4780c57</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>27761007-2c70-442f-8c3f-d4be3e7795e2</ProductID> <ProductStockActionID>63cc843f-bb61-4c47-9eb6-fb3dc08a4633</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>4b80dad8-5ab4-41f4-963e-cf3a6c695bd7</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>d922a5a1-4409-4aa3-a0c2-db0e7efe776a</UnitID> </ProductStockActionDetailAddDto> </ProductStockActionDetails> <ProductStockActionType>EntryReceipt</ProductStockActionType> <ProductionID>18b5afb3-0edb-4503-a574-7dc86edb7778</ProductionID> <SerialNumber>sample string 2</SerialNumber> <ServiceReceiptID>8f9862b8-a6b7-4a28-aaae-f22dd232feaf</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-04T22:36:49.2746979+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":"6f44a74a-04b3-4868-8304-f7c406e5cc36","accountID":"dc03714e-15c4-4103-8660-a66852cf3b20","invoiceID":"e68898fb-bb0c-4496-b363-9d55837c8bd0","serviceReceiptID":"8f9862b8-a6b7-4a28-aaae-f22dd232feaf","productionID":"18b5afb3-0edb-4503-a574-7dc86edb7778","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":"4b80dad8-5ab4-41f4-963e-cf3a6c695bd7","theWithholdingAmount":16.1,"noKDVReasonID":"fa801ce8-326e-4252-a15d-f296b4780c57","unitID":"d922a5a1-4409-4aa3-a0c2-db0e7efe776a","currencyID":"71e53a8d-9f9f-4f4e-96db-edc01a829ddd","productID":"27761007-2c70-442f-8c3f-d4be3e7795e2","productStockActionID":"63cc843f-bb61-4c47-9eb6-fb3dc08a4633","entryWarehouseID":"67325d42-2f76-4d33-80f1-128bf8474e33","exitWarehouseID":"046b238c-d579-4eea-b65f-fa5e567bedc7","companyID":"a76250cb-9641-4150-9b59-0b2429345838"},{"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":"4b80dad8-5ab4-41f4-963e-cf3a6c695bd7","theWithholdingAmount":16.1,"noKDVReasonID":"fa801ce8-326e-4252-a15d-f296b4780c57","unitID":"d922a5a1-4409-4aa3-a0c2-db0e7efe776a","currencyID":"71e53a8d-9f9f-4f4e-96db-edc01a829ddd","productID":"27761007-2c70-442f-8c3f-d4be3e7795e2","productStockActionID":"63cc843f-bb61-4c47-9eb6-fb3dc08a4633","entryWarehouseID":"67325d42-2f76-4d33-80f1-128bf8474e33","exitWarehouseID":"046b238c-d579-4eea-b65f-fa5e567bedc7","companyID":"a76250cb-9641-4150-9b59-0b2429345838"}],"id":"c6fe17f9-c718-4956-a64b-886fefb87e82","companyID":"b2b17c43-467a-4c80-89e2-d6b2652c01aa"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.