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-05T21:16:43.1661762+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": "85b31c73-3785-4586-8527-5dfb93bcd39a", "accountID": "a708c7b7-3979-4c6d-bb46-414e455eefaf", "invoiceID": "8325c648-ef38-416e-80c0-e24b14c1061c", "serviceReceiptID": "82e9eb8f-cae8-46e2-8f04-948fd805154c", "productionID": "b923121d-cc4e-4f04-8ea1-0be839da2f7a", "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": "d8377506-9773-43bd-9052-f191456463af", "theWithholdingAmount": 16.1, "noKDVReasonID": "8231e416-a34a-487b-8c8b-a855fc9bd91f", "unitID": "9b23811e-f54f-4b96-8846-c7cfe580a7be", "currencyID": "118772c3-4c7e-488a-a7fd-bb84f58742f8", "productID": "6b6d2691-a02b-4b24-9b05-cb9ed0a5582d", "productStockActionID": "7be790dd-6e57-402e-88a8-0591a9f1ee2b", "entryWarehouseID": "c1ca341c-5021-42d6-8b68-4ac5c4e82a93", "exitWarehouseID": "671fa9c3-d5c7-4d96-b1c8-3ef822d1d34d", "companyID": "feaa7ffd-a1a7-4b47-be3b-9a4bfa1d5041" }, { "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": "d8377506-9773-43bd-9052-f191456463af", "theWithholdingAmount": 16.1, "noKDVReasonID": "8231e416-a34a-487b-8c8b-a855fc9bd91f", "unitID": "9b23811e-f54f-4b96-8846-c7cfe580a7be", "currencyID": "118772c3-4c7e-488a-a7fd-bb84f58742f8", "productID": "6b6d2691-a02b-4b24-9b05-cb9ed0a5582d", "productStockActionID": "7be790dd-6e57-402e-88a8-0591a9f1ee2b", "entryWarehouseID": "c1ca341c-5021-42d6-8b68-4ac5c4e82a93", "exitWarehouseID": "671fa9c3-d5c7-4d96-b1c8-3ef822d1d34d", "companyID": "feaa7ffd-a1a7-4b47-be3b-9a4bfa1d5041" } ], "id": "1e8fa14c-f603-4e9f-94b1-e3a962e8ace9", "companyID": "45622cb4-4a94-410b-a9fb-3ac7e97552da" }
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>45622cb4-4a94-410b-a9fb-3ac7e97552da</CompanyID> <ID>1e8fa14c-f603-4e9f-94b1-e3a962e8ace9</ID> <AccountID>a708c7b7-3979-4c6d-bb46-414e455eefaf</AccountID> <Amount>12.1</Amount> <BeforeTaxAmount>6.1</BeforeTaxAmount> <CurrencyID>85b31c73-3785-4586-8527-5dfb93bcd39a</CurrencyID> <CurrencyRate>18.1</CurrencyRate> <Date>2025-08-05T21:16:43.1661762+03:00</Date> <Description>sample string 5</Description> <DiscountAmount>11.1</DiscountAmount> <DiscountRate>10.1</DiscountRate> <InvoiceID>8325c648-ef38-416e-80c0-e24b14c1061c</InvoiceID> <LineDiscountAmount>9.1</LineDiscountAmount> <OrderNumber>sample string 3</OrderNumber> <ProductStockActionDetails> <ProductStockActionDetailAddDto> <Amount>3.1</Amount> <CompanyID>feaa7ffd-a1a7-4b47-be3b-9a4bfa1d5041</CompanyID> <CurrencyID>118772c3-4c7e-488a-a7fd-bb84f58742f8</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>c1ca341c-5021-42d6-8b68-4ac5c4e82a93</EntryWarehouseID> <ExitWarehouseID>671fa9c3-d5c7-4d96-b1c8-3ef822d1d34d</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>8231e416-a34a-487b-8c8b-a855fc9bd91f</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>6b6d2691-a02b-4b24-9b05-cb9ed0a5582d</ProductID> <ProductStockActionID>7be790dd-6e57-402e-88a8-0591a9f1ee2b</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>d8377506-9773-43bd-9052-f191456463af</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>9b23811e-f54f-4b96-8846-c7cfe580a7be</UnitID> </ProductStockActionDetailAddDto> <ProductStockActionDetailAddDto> <Amount>3.1</Amount> <CompanyID>feaa7ffd-a1a7-4b47-be3b-9a4bfa1d5041</CompanyID> <CurrencyID>118772c3-4c7e-488a-a7fd-bb84f58742f8</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>c1ca341c-5021-42d6-8b68-4ac5c4e82a93</EntryWarehouseID> <ExitWarehouseID>671fa9c3-d5c7-4d96-b1c8-3ef822d1d34d</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>8231e416-a34a-487b-8c8b-a855fc9bd91f</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>6b6d2691-a02b-4b24-9b05-cb9ed0a5582d</ProductID> <ProductStockActionID>7be790dd-6e57-402e-88a8-0591a9f1ee2b</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>d8377506-9773-43bd-9052-f191456463af</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>9b23811e-f54f-4b96-8846-c7cfe580a7be</UnitID> </ProductStockActionDetailAddDto> </ProductStockActionDetails> <ProductStockActionType>EntryReceipt</ProductStockActionType> <ProductionID>b923121d-cc4e-4f04-8ea1-0be839da2f7a</ProductionID> <SerialNumber>sample string 2</SerialNumber> <ServiceReceiptID>82e9eb8f-cae8-46e2-8f04-948fd805154c</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-05T21:16:43.1661762+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":"85b31c73-3785-4586-8527-5dfb93bcd39a","accountID":"a708c7b7-3979-4c6d-bb46-414e455eefaf","invoiceID":"8325c648-ef38-416e-80c0-e24b14c1061c","serviceReceiptID":"82e9eb8f-cae8-46e2-8f04-948fd805154c","productionID":"b923121d-cc4e-4f04-8ea1-0be839da2f7a","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":"d8377506-9773-43bd-9052-f191456463af","theWithholdingAmount":16.1,"noKDVReasonID":"8231e416-a34a-487b-8c8b-a855fc9bd91f","unitID":"9b23811e-f54f-4b96-8846-c7cfe580a7be","currencyID":"118772c3-4c7e-488a-a7fd-bb84f58742f8","productID":"6b6d2691-a02b-4b24-9b05-cb9ed0a5582d","productStockActionID":"7be790dd-6e57-402e-88a8-0591a9f1ee2b","entryWarehouseID":"c1ca341c-5021-42d6-8b68-4ac5c4e82a93","exitWarehouseID":"671fa9c3-d5c7-4d96-b1c8-3ef822d1d34d","companyID":"feaa7ffd-a1a7-4b47-be3b-9a4bfa1d5041"},{"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":"d8377506-9773-43bd-9052-f191456463af","theWithholdingAmount":16.1,"noKDVReasonID":"8231e416-a34a-487b-8c8b-a855fc9bd91f","unitID":"9b23811e-f54f-4b96-8846-c7cfe580a7be","currencyID":"118772c3-4c7e-488a-a7fd-bb84f58742f8","productID":"6b6d2691-a02b-4b24-9b05-cb9ed0a5582d","productStockActionID":"7be790dd-6e57-402e-88a8-0591a9f1ee2b","entryWarehouseID":"c1ca341c-5021-42d6-8b68-4ac5c4e82a93","exitWarehouseID":"671fa9c3-d5c7-4d96-b1c8-3ef822d1d34d","companyID":"feaa7ffd-a1a7-4b47-be3b-9a4bfa1d5041"}],"id":"1e8fa14c-f603-4e9f-94b1-e3a962e8ace9","companyID":"45622cb4-4a94-410b-a9fb-3ac7e97552da"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.