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-05-24T17:16:36.4807563+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": "403b8372-5526-4de8-90cd-41a1d317f0fe", "accountID": "6b3c0849-7ea6-42da-98ea-958f959526f5", "invoiceID": "90a66d0c-2dd5-46cf-b0a9-cf2f18c32ca0", "serviceReceiptID": "2843eb08-6c2d-4ffd-9e1a-11e11651f401", "productionID": "78333ae8-0486-4a79-a7c7-6b5f954e01a1", "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": "510c0353-5653-4320-82e5-fc7352dd5fb5", "theWithholdingAmount": 16.1, "noKDVReasonID": "cd38adcf-01d7-4962-8d55-0dcfcb144e35", "unitID": "68e647c3-7bfa-4387-a51a-f6c9212e0b52", "currencyID": "ae1c35b7-7d31-4d6f-841c-f5d669f825ef", "productID": "2b451cd2-406a-4b29-87d2-fd937aad0761", "productStockActionID": "cea8d3d5-8ac0-4160-983a-53ad76422fb2", "entryWarehouseID": "d5533c51-a6a1-4ee3-aad4-c0752d16b777", "exitWarehouseID": "21ae44e0-7ec4-47ad-8f38-2b0cbe3f2ddd", "companyID": "1ae32203-3dd3-4557-9dd7-cc281dc12110" }, { "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": "510c0353-5653-4320-82e5-fc7352dd5fb5", "theWithholdingAmount": 16.1, "noKDVReasonID": "cd38adcf-01d7-4962-8d55-0dcfcb144e35", "unitID": "68e647c3-7bfa-4387-a51a-f6c9212e0b52", "currencyID": "ae1c35b7-7d31-4d6f-841c-f5d669f825ef", "productID": "2b451cd2-406a-4b29-87d2-fd937aad0761", "productStockActionID": "cea8d3d5-8ac0-4160-983a-53ad76422fb2", "entryWarehouseID": "d5533c51-a6a1-4ee3-aad4-c0752d16b777", "exitWarehouseID": "21ae44e0-7ec4-47ad-8f38-2b0cbe3f2ddd", "companyID": "1ae32203-3dd3-4557-9dd7-cc281dc12110" } ], "id": "bf343016-b1b1-4d89-b9e9-dba2fe9c4417", "companyID": "5ec80591-00f7-4ae8-852a-d55e547e2d51" }
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>5ec80591-00f7-4ae8-852a-d55e547e2d51</CompanyID> <ID>bf343016-b1b1-4d89-b9e9-dba2fe9c4417</ID> <AccountID>6b3c0849-7ea6-42da-98ea-958f959526f5</AccountID> <Amount>12.1</Amount> <BeforeTaxAmount>6.1</BeforeTaxAmount> <CurrencyID>403b8372-5526-4de8-90cd-41a1d317f0fe</CurrencyID> <CurrencyRate>18.1</CurrencyRate> <Date>2025-05-24T17:16:36.4807563+03:00</Date> <Description>sample string 5</Description> <DiscountAmount>11.1</DiscountAmount> <DiscountRate>10.1</DiscountRate> <InvoiceID>90a66d0c-2dd5-46cf-b0a9-cf2f18c32ca0</InvoiceID> <LineDiscountAmount>9.1</LineDiscountAmount> <OrderNumber>sample string 3</OrderNumber> <ProductStockActionDetails> <ProductStockActionDetailAddDto> <Amount>3.1</Amount> <CompanyID>1ae32203-3dd3-4557-9dd7-cc281dc12110</CompanyID> <CurrencyID>ae1c35b7-7d31-4d6f-841c-f5d669f825ef</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>d5533c51-a6a1-4ee3-aad4-c0752d16b777</EntryWarehouseID> <ExitWarehouseID>21ae44e0-7ec4-47ad-8f38-2b0cbe3f2ddd</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>cd38adcf-01d7-4962-8d55-0dcfcb144e35</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>2b451cd2-406a-4b29-87d2-fd937aad0761</ProductID> <ProductStockActionID>cea8d3d5-8ac0-4160-983a-53ad76422fb2</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>510c0353-5653-4320-82e5-fc7352dd5fb5</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>68e647c3-7bfa-4387-a51a-f6c9212e0b52</UnitID> </ProductStockActionDetailAddDto> <ProductStockActionDetailAddDto> <Amount>3.1</Amount> <CompanyID>1ae32203-3dd3-4557-9dd7-cc281dc12110</CompanyID> <CurrencyID>ae1c35b7-7d31-4d6f-841c-f5d669f825ef</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>d5533c51-a6a1-4ee3-aad4-c0752d16b777</EntryWarehouseID> <ExitWarehouseID>21ae44e0-7ec4-47ad-8f38-2b0cbe3f2ddd</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>cd38adcf-01d7-4962-8d55-0dcfcb144e35</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>2b451cd2-406a-4b29-87d2-fd937aad0761</ProductID> <ProductStockActionID>cea8d3d5-8ac0-4160-983a-53ad76422fb2</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>510c0353-5653-4320-82e5-fc7352dd5fb5</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>68e647c3-7bfa-4387-a51a-f6c9212e0b52</UnitID> </ProductStockActionDetailAddDto> </ProductStockActionDetails> <ProductStockActionType>EntryReceipt</ProductStockActionType> <ProductionID>78333ae8-0486-4a79-a7c7-6b5f954e01a1</ProductionID> <SerialNumber>sample string 2</SerialNumber> <ServiceReceiptID>2843eb08-6c2d-4ffd-9e1a-11e11651f401</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-05-24T17:16:36.4807563+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":"403b8372-5526-4de8-90cd-41a1d317f0fe","accountID":"6b3c0849-7ea6-42da-98ea-958f959526f5","invoiceID":"90a66d0c-2dd5-46cf-b0a9-cf2f18c32ca0","serviceReceiptID":"2843eb08-6c2d-4ffd-9e1a-11e11651f401","productionID":"78333ae8-0486-4a79-a7c7-6b5f954e01a1","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":"510c0353-5653-4320-82e5-fc7352dd5fb5","theWithholdingAmount":16.1,"noKDVReasonID":"cd38adcf-01d7-4962-8d55-0dcfcb144e35","unitID":"68e647c3-7bfa-4387-a51a-f6c9212e0b52","currencyID":"ae1c35b7-7d31-4d6f-841c-f5d669f825ef","productID":"2b451cd2-406a-4b29-87d2-fd937aad0761","productStockActionID":"cea8d3d5-8ac0-4160-983a-53ad76422fb2","entryWarehouseID":"d5533c51-a6a1-4ee3-aad4-c0752d16b777","exitWarehouseID":"21ae44e0-7ec4-47ad-8f38-2b0cbe3f2ddd","companyID":"1ae32203-3dd3-4557-9dd7-cc281dc12110"},{"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":"510c0353-5653-4320-82e5-fc7352dd5fb5","theWithholdingAmount":16.1,"noKDVReasonID":"cd38adcf-01d7-4962-8d55-0dcfcb144e35","unitID":"68e647c3-7bfa-4387-a51a-f6c9212e0b52","currencyID":"ae1c35b7-7d31-4d6f-841c-f5d669f825ef","productID":"2b451cd2-406a-4b29-87d2-fd937aad0761","productStockActionID":"cea8d3d5-8ac0-4160-983a-53ad76422fb2","entryWarehouseID":"d5533c51-a6a1-4ee3-aad4-c0752d16b777","exitWarehouseID":"21ae44e0-7ec4-47ad-8f38-2b0cbe3f2ddd","companyID":"1ae32203-3dd3-4557-9dd7-cc281dc12110"}],"id":"bf343016-b1b1-4d89-b9e9-dba2fe9c4417","companyID":"5ec80591-00f7-4ae8-852a-d55e547e2d51"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.