POST 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:26:46.5730831+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": "f39b5ef8-8c86-457d-a18b-c7ddfb49db2c", "accountID": "17e729e9-c13e-493b-96aa-d757f391b882", "invoiceID": "0d5e24f1-5124-4d6d-903c-056b83ea1503", "serviceReceiptID": "bc1aebfc-b08e-403c-bfa5-da0333578764", "productionID": "2f324777-f76e-4eec-8a35-4b91d87844ec", "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": "f040d74f-60d1-4167-8e0a-11c2108a622b", "theWithholdingAmount": 16.1, "noKDVReasonID": "45e57e3c-d04f-43ea-ae40-c32a5e714e3e", "unitID": "627adb25-b741-4009-a7a7-a8cabd41965e", "currencyID": "6de1d67b-6971-4602-8c8b-a74e5f37063b", "productID": "c0a38c9a-3297-49ca-96e4-bfa9846c9f62", "productStockActionID": "6c39e24f-e5e1-437a-8421-bde42f19ecb4", "entryWarehouseID": "9b5efe88-c21d-4de5-8e9c-4c7f16fef7c8", "exitWarehouseID": "36f9f98d-1ce3-4ffa-8624-ed0cf189996d", "companyID": "e7a623d5-4f78-4b19-a420-96a9790096bb" }, { "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": "f040d74f-60d1-4167-8e0a-11c2108a622b", "theWithholdingAmount": 16.1, "noKDVReasonID": "45e57e3c-d04f-43ea-ae40-c32a5e714e3e", "unitID": "627adb25-b741-4009-a7a7-a8cabd41965e", "currencyID": "6de1d67b-6971-4602-8c8b-a74e5f37063b", "productID": "c0a38c9a-3297-49ca-96e4-bfa9846c9f62", "productStockActionID": "6c39e24f-e5e1-437a-8421-bde42f19ecb4", "entryWarehouseID": "9b5efe88-c21d-4de5-8e9c-4c7f16fef7c8", "exitWarehouseID": "36f9f98d-1ce3-4ffa-8624-ed0cf189996d", "companyID": "e7a623d5-4f78-4b19-a420-96a9790096bb" } ], "id": "ba030a6d-a32e-4399-b4f1-c6a94f098eea", "companyID": "468b8d61-1273-4bb5-bdcb-6e58fa2b7653" }
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>468b8d61-1273-4bb5-bdcb-6e58fa2b7653</CompanyID> <ID>ba030a6d-a32e-4399-b4f1-c6a94f098eea</ID> <AccountID>17e729e9-c13e-493b-96aa-d757f391b882</AccountID> <Amount>12.1</Amount> <BeforeTaxAmount>6.1</BeforeTaxAmount> <CurrencyID>f39b5ef8-8c86-457d-a18b-c7ddfb49db2c</CurrencyID> <CurrencyRate>18.1</CurrencyRate> <Date>2025-08-29T12:26:46.5730831+03:00</Date> <Description>sample string 5</Description> <DiscountAmount>11.1</DiscountAmount> <DiscountRate>10.1</DiscountRate> <InvoiceID>0d5e24f1-5124-4d6d-903c-056b83ea1503</InvoiceID> <LineDiscountAmount>9.1</LineDiscountAmount> <OrderNumber>sample string 3</OrderNumber> <ProductStockActionDetails> <ProductStockActionDetailAddDto> <Amount>3.1</Amount> <CompanyID>e7a623d5-4f78-4b19-a420-96a9790096bb</CompanyID> <CurrencyID>6de1d67b-6971-4602-8c8b-a74e5f37063b</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>9b5efe88-c21d-4de5-8e9c-4c7f16fef7c8</EntryWarehouseID> <ExitWarehouseID>36f9f98d-1ce3-4ffa-8624-ed0cf189996d</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>45e57e3c-d04f-43ea-ae40-c32a5e714e3e</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>c0a38c9a-3297-49ca-96e4-bfa9846c9f62</ProductID> <ProductStockActionID>6c39e24f-e5e1-437a-8421-bde42f19ecb4</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>f040d74f-60d1-4167-8e0a-11c2108a622b</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>627adb25-b741-4009-a7a7-a8cabd41965e</UnitID> </ProductStockActionDetailAddDto> <ProductStockActionDetailAddDto> <Amount>3.1</Amount> <CompanyID>e7a623d5-4f78-4b19-a420-96a9790096bb</CompanyID> <CurrencyID>6de1d67b-6971-4602-8c8b-a74e5f37063b</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>9b5efe88-c21d-4de5-8e9c-4c7f16fef7c8</EntryWarehouseID> <ExitWarehouseID>36f9f98d-1ce3-4ffa-8624-ed0cf189996d</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>45e57e3c-d04f-43ea-ae40-c32a5e714e3e</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>c0a38c9a-3297-49ca-96e4-bfa9846c9f62</ProductID> <ProductStockActionID>6c39e24f-e5e1-437a-8421-bde42f19ecb4</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>f040d74f-60d1-4167-8e0a-11c2108a622b</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>627adb25-b741-4009-a7a7-a8cabd41965e</UnitID> </ProductStockActionDetailAddDto> </ProductStockActionDetails> <ProductStockActionType>EntryReceipt</ProductStockActionType> <ProductionID>2f324777-f76e-4eec-8a35-4b91d87844ec</ProductionID> <SerialNumber>sample string 2</SerialNumber> <ServiceReceiptID>bc1aebfc-b08e-403c-bfa5-da0333578764</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:26:46.5730831+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":"f39b5ef8-8c86-457d-a18b-c7ddfb49db2c","accountID":"17e729e9-c13e-493b-96aa-d757f391b882","invoiceID":"0d5e24f1-5124-4d6d-903c-056b83ea1503","serviceReceiptID":"bc1aebfc-b08e-403c-bfa5-da0333578764","productionID":"2f324777-f76e-4eec-8a35-4b91d87844ec","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":"f040d74f-60d1-4167-8e0a-11c2108a622b","theWithholdingAmount":16.1,"noKDVReasonID":"45e57e3c-d04f-43ea-ae40-c32a5e714e3e","unitID":"627adb25-b741-4009-a7a7-a8cabd41965e","currencyID":"6de1d67b-6971-4602-8c8b-a74e5f37063b","productID":"c0a38c9a-3297-49ca-96e4-bfa9846c9f62","productStockActionID":"6c39e24f-e5e1-437a-8421-bde42f19ecb4","entryWarehouseID":"9b5efe88-c21d-4de5-8e9c-4c7f16fef7c8","exitWarehouseID":"36f9f98d-1ce3-4ffa-8624-ed0cf189996d","companyID":"e7a623d5-4f78-4b19-a420-96a9790096bb"},{"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":"f040d74f-60d1-4167-8e0a-11c2108a622b","theWithholdingAmount":16.1,"noKDVReasonID":"45e57e3c-d04f-43ea-ae40-c32a5e714e3e","unitID":"627adb25-b741-4009-a7a7-a8cabd41965e","currencyID":"6de1d67b-6971-4602-8c8b-a74e5f37063b","productID":"c0a38c9a-3297-49ca-96e4-bfa9846c9f62","productStockActionID":"6c39e24f-e5e1-437a-8421-bde42f19ecb4","entryWarehouseID":"9b5efe88-c21d-4de5-8e9c-4c7f16fef7c8","exitWarehouseID":"36f9f98d-1ce3-4ffa-8624-ed0cf189996d","companyID":"e7a623d5-4f78-4b19-a420-96a9790096bb"}],"id":"ba030a6d-a32e-4399-b4f1-c6a94f098eea","companyID":"468b8d61-1273-4bb5-bdcb-6e58fa2b7653"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.