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-07-08T21:48:40.4422376+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": "a7ab6d4d-04b9-477b-92f2-f17955e2c997", "accountID": "1cf875df-12de-4723-a808-4e11636c4e88", "invoiceID": "cbeb94ec-f7f3-4b65-99c2-26d9cac82902", "serviceReceiptID": "2a58f7f4-0475-40aa-947b-2851d913fbd0", "productionID": "55126682-139c-43c7-8c4e-62cba5e91182", "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": "2fcfd0a3-32a5-474b-92ef-77a872e392dc", "theWithholdingAmount": 16.1, "noKDVReasonID": "ca1f8fc7-762d-4245-8026-7c8402e207b8", "unitID": "27fa50ac-d969-4eaa-af55-1bce9082084f", "currencyID": "4ff21a7f-98bf-43d3-8f14-ee964344a0ec", "productID": "4b6f61ba-7b50-4960-b4ac-6091f219efe6", "productStockActionID": "05b16779-c848-43fc-ad03-51c88c9ef6aa", "entryWarehouseID": "2f93b905-fd6a-44a1-a6a7-feb79c75dedc", "exitWarehouseID": "96c9dc19-4b52-4072-93b5-c404c59833c6", "companyID": "24c2b168-daaf-413a-b5cf-2d37569065cb" }, { "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": "2fcfd0a3-32a5-474b-92ef-77a872e392dc", "theWithholdingAmount": 16.1, "noKDVReasonID": "ca1f8fc7-762d-4245-8026-7c8402e207b8", "unitID": "27fa50ac-d969-4eaa-af55-1bce9082084f", "currencyID": "4ff21a7f-98bf-43d3-8f14-ee964344a0ec", "productID": "4b6f61ba-7b50-4960-b4ac-6091f219efe6", "productStockActionID": "05b16779-c848-43fc-ad03-51c88c9ef6aa", "entryWarehouseID": "2f93b905-fd6a-44a1-a6a7-feb79c75dedc", "exitWarehouseID": "96c9dc19-4b52-4072-93b5-c404c59833c6", "companyID": "24c2b168-daaf-413a-b5cf-2d37569065cb" } ], "id": "5edde364-acd8-4e70-81e6-9609e108a3a0", "companyID": "b058850b-f7c8-477c-9fc2-be69b9dcdb2d" }
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>b058850b-f7c8-477c-9fc2-be69b9dcdb2d</CompanyID> <ID>5edde364-acd8-4e70-81e6-9609e108a3a0</ID> <AccountID>1cf875df-12de-4723-a808-4e11636c4e88</AccountID> <Amount>12.1</Amount> <BeforeTaxAmount>6.1</BeforeTaxAmount> <CurrencyID>a7ab6d4d-04b9-477b-92f2-f17955e2c997</CurrencyID> <CurrencyRate>18.1</CurrencyRate> <Date>2025-07-08T21:48:40.4422376+03:00</Date> <Description>sample string 5</Description> <DiscountAmount>11.1</DiscountAmount> <DiscountRate>10.1</DiscountRate> <InvoiceID>cbeb94ec-f7f3-4b65-99c2-26d9cac82902</InvoiceID> <LineDiscountAmount>9.1</LineDiscountAmount> <OrderNumber>sample string 3</OrderNumber> <ProductStockActionDetails> <ProductStockActionDetailAddDto> <Amount>3.1</Amount> <CompanyID>24c2b168-daaf-413a-b5cf-2d37569065cb</CompanyID> <CurrencyID>4ff21a7f-98bf-43d3-8f14-ee964344a0ec</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>2f93b905-fd6a-44a1-a6a7-feb79c75dedc</EntryWarehouseID> <ExitWarehouseID>96c9dc19-4b52-4072-93b5-c404c59833c6</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>ca1f8fc7-762d-4245-8026-7c8402e207b8</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>4b6f61ba-7b50-4960-b4ac-6091f219efe6</ProductID> <ProductStockActionID>05b16779-c848-43fc-ad03-51c88c9ef6aa</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>2fcfd0a3-32a5-474b-92ef-77a872e392dc</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>27fa50ac-d969-4eaa-af55-1bce9082084f</UnitID> </ProductStockActionDetailAddDto> <ProductStockActionDetailAddDto> <Amount>3.1</Amount> <CompanyID>24c2b168-daaf-413a-b5cf-2d37569065cb</CompanyID> <CurrencyID>4ff21a7f-98bf-43d3-8f14-ee964344a0ec</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>2f93b905-fd6a-44a1-a6a7-feb79c75dedc</EntryWarehouseID> <ExitWarehouseID>96c9dc19-4b52-4072-93b5-c404c59833c6</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>ca1f8fc7-762d-4245-8026-7c8402e207b8</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>4b6f61ba-7b50-4960-b4ac-6091f219efe6</ProductID> <ProductStockActionID>05b16779-c848-43fc-ad03-51c88c9ef6aa</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>2fcfd0a3-32a5-474b-92ef-77a872e392dc</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>27fa50ac-d969-4eaa-af55-1bce9082084f</UnitID> </ProductStockActionDetailAddDto> </ProductStockActionDetails> <ProductStockActionType>EntryReceipt</ProductStockActionType> <ProductionID>55126682-139c-43c7-8c4e-62cba5e91182</ProductionID> <SerialNumber>sample string 2</SerialNumber> <ServiceReceiptID>2a58f7f4-0475-40aa-947b-2851d913fbd0</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-07-08T21:48:40.4422376+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":"a7ab6d4d-04b9-477b-92f2-f17955e2c997","accountID":"1cf875df-12de-4723-a808-4e11636c4e88","invoiceID":"cbeb94ec-f7f3-4b65-99c2-26d9cac82902","serviceReceiptID":"2a58f7f4-0475-40aa-947b-2851d913fbd0","productionID":"55126682-139c-43c7-8c4e-62cba5e91182","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":"2fcfd0a3-32a5-474b-92ef-77a872e392dc","theWithholdingAmount":16.1,"noKDVReasonID":"ca1f8fc7-762d-4245-8026-7c8402e207b8","unitID":"27fa50ac-d969-4eaa-af55-1bce9082084f","currencyID":"4ff21a7f-98bf-43d3-8f14-ee964344a0ec","productID":"4b6f61ba-7b50-4960-b4ac-6091f219efe6","productStockActionID":"05b16779-c848-43fc-ad03-51c88c9ef6aa","entryWarehouseID":"2f93b905-fd6a-44a1-a6a7-feb79c75dedc","exitWarehouseID":"96c9dc19-4b52-4072-93b5-c404c59833c6","companyID":"24c2b168-daaf-413a-b5cf-2d37569065cb"},{"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":"2fcfd0a3-32a5-474b-92ef-77a872e392dc","theWithholdingAmount":16.1,"noKDVReasonID":"ca1f8fc7-762d-4245-8026-7c8402e207b8","unitID":"27fa50ac-d969-4eaa-af55-1bce9082084f","currencyID":"4ff21a7f-98bf-43d3-8f14-ee964344a0ec","productID":"4b6f61ba-7b50-4960-b4ac-6091f219efe6","productStockActionID":"05b16779-c848-43fc-ad03-51c88c9ef6aa","entryWarehouseID":"2f93b905-fd6a-44a1-a6a7-feb79c75dedc","exitWarehouseID":"96c9dc19-4b52-4072-93b5-c404c59833c6","companyID":"24c2b168-daaf-413a-b5cf-2d37569065cb"}],"id":"5edde364-acd8-4e70-81e6-9609e108a3a0","companyID":"b058850b-f7c8-477c-9fc2-be69b9dcdb2d"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.