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-05T21:16:12.4860024+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": "6f577d99-bc01-4413-b9a1-812a0e65ee15", "accountID": "9d4abadf-d364-4588-9314-1ea552c36288", "invoiceID": "81de3c5d-e0e0-46ff-993f-57a79816eaba", "serviceReceiptID": "e4ffde2d-2612-4357-8a86-db070342b5ef", "productionID": "9f6f0ed7-ea70-4002-8a10-1125e2c096a8", "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": "edf5797e-59c3-45c8-9711-18e8590de340", "theWithholdingAmount": 16.1, "noKDVReasonID": "8d813c53-ccb1-480f-ae0d-b8fcb435b0a5", "unitID": "ec8dc17b-1d9e-4c33-9007-a1a4713e086f", "currencyID": "e037b9cf-6742-476f-a404-ac89393e07c0", "productID": "a01d0cb8-dd25-43a3-a609-1ac401afd9dd", "productStockActionID": "007ab85a-a053-4f13-8eab-38d414bfc10b", "entryWarehouseID": "2e4de910-56f1-441a-870b-00899f259b0f", "exitWarehouseID": "5927ccf2-6830-4e4e-9eae-4650d91b15b8", "companyID": "93c98858-6f0f-4ed2-9e36-27e41438f073" }, { "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": "edf5797e-59c3-45c8-9711-18e8590de340", "theWithholdingAmount": 16.1, "noKDVReasonID": "8d813c53-ccb1-480f-ae0d-b8fcb435b0a5", "unitID": "ec8dc17b-1d9e-4c33-9007-a1a4713e086f", "currencyID": "e037b9cf-6742-476f-a404-ac89393e07c0", "productID": "a01d0cb8-dd25-43a3-a609-1ac401afd9dd", "productStockActionID": "007ab85a-a053-4f13-8eab-38d414bfc10b", "entryWarehouseID": "2e4de910-56f1-441a-870b-00899f259b0f", "exitWarehouseID": "5927ccf2-6830-4e4e-9eae-4650d91b15b8", "companyID": "93c98858-6f0f-4ed2-9e36-27e41438f073" } ], "id": "14758640-be83-4556-89a6-b9fc520005f9", "companyID": "e07fe085-26f1-4293-91c8-c171eb021725" }
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>e07fe085-26f1-4293-91c8-c171eb021725</CompanyID> <ID>14758640-be83-4556-89a6-b9fc520005f9</ID> <AccountID>9d4abadf-d364-4588-9314-1ea552c36288</AccountID> <Amount>12.1</Amount> <BeforeTaxAmount>6.1</BeforeTaxAmount> <CurrencyID>6f577d99-bc01-4413-b9a1-812a0e65ee15</CurrencyID> <CurrencyRate>18.1</CurrencyRate> <Date>2025-08-05T21:16:12.4860024+03:00</Date> <Description>sample string 5</Description> <DiscountAmount>11.1</DiscountAmount> <DiscountRate>10.1</DiscountRate> <InvoiceID>81de3c5d-e0e0-46ff-993f-57a79816eaba</InvoiceID> <LineDiscountAmount>9.1</LineDiscountAmount> <OrderNumber>sample string 3</OrderNumber> <ProductStockActionDetails> <ProductStockActionDetailAddDto> <Amount>3.1</Amount> <CompanyID>93c98858-6f0f-4ed2-9e36-27e41438f073</CompanyID> <CurrencyID>e037b9cf-6742-476f-a404-ac89393e07c0</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>2e4de910-56f1-441a-870b-00899f259b0f</EntryWarehouseID> <ExitWarehouseID>5927ccf2-6830-4e4e-9eae-4650d91b15b8</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>8d813c53-ccb1-480f-ae0d-b8fcb435b0a5</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>a01d0cb8-dd25-43a3-a609-1ac401afd9dd</ProductID> <ProductStockActionID>007ab85a-a053-4f13-8eab-38d414bfc10b</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>edf5797e-59c3-45c8-9711-18e8590de340</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>ec8dc17b-1d9e-4c33-9007-a1a4713e086f</UnitID> </ProductStockActionDetailAddDto> <ProductStockActionDetailAddDto> <Amount>3.1</Amount> <CompanyID>93c98858-6f0f-4ed2-9e36-27e41438f073</CompanyID> <CurrencyID>e037b9cf-6742-476f-a404-ac89393e07c0</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>2e4de910-56f1-441a-870b-00899f259b0f</EntryWarehouseID> <ExitWarehouseID>5927ccf2-6830-4e4e-9eae-4650d91b15b8</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>8d813c53-ccb1-480f-ae0d-b8fcb435b0a5</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>a01d0cb8-dd25-43a3-a609-1ac401afd9dd</ProductID> <ProductStockActionID>007ab85a-a053-4f13-8eab-38d414bfc10b</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>edf5797e-59c3-45c8-9711-18e8590de340</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>ec8dc17b-1d9e-4c33-9007-a1a4713e086f</UnitID> </ProductStockActionDetailAddDto> </ProductStockActionDetails> <ProductStockActionType>EntryReceipt</ProductStockActionType> <ProductionID>9f6f0ed7-ea70-4002-8a10-1125e2c096a8</ProductionID> <SerialNumber>sample string 2</SerialNumber> <ServiceReceiptID>e4ffde2d-2612-4357-8a86-db070342b5ef</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:12.4860024+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":"6f577d99-bc01-4413-b9a1-812a0e65ee15","accountID":"9d4abadf-d364-4588-9314-1ea552c36288","invoiceID":"81de3c5d-e0e0-46ff-993f-57a79816eaba","serviceReceiptID":"e4ffde2d-2612-4357-8a86-db070342b5ef","productionID":"9f6f0ed7-ea70-4002-8a10-1125e2c096a8","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":"edf5797e-59c3-45c8-9711-18e8590de340","theWithholdingAmount":16.1,"noKDVReasonID":"8d813c53-ccb1-480f-ae0d-b8fcb435b0a5","unitID":"ec8dc17b-1d9e-4c33-9007-a1a4713e086f","currencyID":"e037b9cf-6742-476f-a404-ac89393e07c0","productID":"a01d0cb8-dd25-43a3-a609-1ac401afd9dd","productStockActionID":"007ab85a-a053-4f13-8eab-38d414bfc10b","entryWarehouseID":"2e4de910-56f1-441a-870b-00899f259b0f","exitWarehouseID":"5927ccf2-6830-4e4e-9eae-4650d91b15b8","companyID":"93c98858-6f0f-4ed2-9e36-27e41438f073"},{"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":"edf5797e-59c3-45c8-9711-18e8590de340","theWithholdingAmount":16.1,"noKDVReasonID":"8d813c53-ccb1-480f-ae0d-b8fcb435b0a5","unitID":"ec8dc17b-1d9e-4c33-9007-a1a4713e086f","currencyID":"e037b9cf-6742-476f-a404-ac89393e07c0","productID":"a01d0cb8-dd25-43a3-a609-1ac401afd9dd","productStockActionID":"007ab85a-a053-4f13-8eab-38d414bfc10b","entryWarehouseID":"2e4de910-56f1-441a-870b-00899f259b0f","exitWarehouseID":"5927ccf2-6830-4e4e-9eae-4650d91b15b8","companyID":"93c98858-6f0f-4ed2-9e36-27e41438f073"}],"id":"14758640-be83-4556-89a6-b9fc520005f9","companyID":"e07fe085-26f1-4293-91c8-c171eb021725"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.