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-24T14:59:45.292533+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": "57b7d735-7e8e-4ce1-b8fc-b17709df3647", "accountID": "013913da-e46f-4e7d-a40c-77bc84fc5644", "invoiceID": "dfcba21d-f24a-4cb9-b35e-f0af4da41939", "serviceReceiptID": "d747f74f-2424-42af-a362-f05960fd1886", "productionID": "0c8fb210-efa0-4539-a28c-f5a6cb32b352", "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": "b79b6633-cc0b-46ea-ab33-7bdd663134ea", "theWithholdingAmount": 16.1, "noKDVReasonID": "4593a81b-04d7-47b9-91b2-87ef0cdbd5a8", "unitID": "d5e35185-bde3-4f4f-bce2-e3151dfaf4c6", "currencyID": "99f29b6d-0176-44be-aa4c-0e8c512a6a8b", "productID": "e5075313-0238-4c48-89ed-8dc85c472c50", "productStockActionID": "eadd5bd8-a5a8-4370-ab8b-1c740aa84d28", "entryWarehouseID": "8a292c13-2d85-4ec8-80af-526ca3aa87dd", "exitWarehouseID": "06a61c88-df59-4620-9c7b-c42eff00c50c", "companyID": "00003f7e-89e2-4acf-9805-034af6ea3180" }, { "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": "b79b6633-cc0b-46ea-ab33-7bdd663134ea", "theWithholdingAmount": 16.1, "noKDVReasonID": "4593a81b-04d7-47b9-91b2-87ef0cdbd5a8", "unitID": "d5e35185-bde3-4f4f-bce2-e3151dfaf4c6", "currencyID": "99f29b6d-0176-44be-aa4c-0e8c512a6a8b", "productID": "e5075313-0238-4c48-89ed-8dc85c472c50", "productStockActionID": "eadd5bd8-a5a8-4370-ab8b-1c740aa84d28", "entryWarehouseID": "8a292c13-2d85-4ec8-80af-526ca3aa87dd", "exitWarehouseID": "06a61c88-df59-4620-9c7b-c42eff00c50c", "companyID": "00003f7e-89e2-4acf-9805-034af6ea3180" } ], "id": "f8a3e963-9b38-4049-ae1f-35175fc4e9fe", "companyID": "26dd7fe4-3d8e-4053-91fe-dc266f4710db" }
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>26dd7fe4-3d8e-4053-91fe-dc266f4710db</CompanyID> <ID>f8a3e963-9b38-4049-ae1f-35175fc4e9fe</ID> <AccountID>013913da-e46f-4e7d-a40c-77bc84fc5644</AccountID> <Amount>12.1</Amount> <BeforeTaxAmount>6.1</BeforeTaxAmount> <CurrencyID>57b7d735-7e8e-4ce1-b8fc-b17709df3647</CurrencyID> <CurrencyRate>18.1</CurrencyRate> <Date>2025-05-24T14:59:45.292533+03:00</Date> <Description>sample string 5</Description> <DiscountAmount>11.1</DiscountAmount> <DiscountRate>10.1</DiscountRate> <InvoiceID>dfcba21d-f24a-4cb9-b35e-f0af4da41939</InvoiceID> <LineDiscountAmount>9.1</LineDiscountAmount> <OrderNumber>sample string 3</OrderNumber> <ProductStockActionDetails> <ProductStockActionDetailAddDto> <Amount>3.1</Amount> <CompanyID>00003f7e-89e2-4acf-9805-034af6ea3180</CompanyID> <CurrencyID>99f29b6d-0176-44be-aa4c-0e8c512a6a8b</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>8a292c13-2d85-4ec8-80af-526ca3aa87dd</EntryWarehouseID> <ExitWarehouseID>06a61c88-df59-4620-9c7b-c42eff00c50c</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>4593a81b-04d7-47b9-91b2-87ef0cdbd5a8</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>e5075313-0238-4c48-89ed-8dc85c472c50</ProductID> <ProductStockActionID>eadd5bd8-a5a8-4370-ab8b-1c740aa84d28</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>b79b6633-cc0b-46ea-ab33-7bdd663134ea</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>d5e35185-bde3-4f4f-bce2-e3151dfaf4c6</UnitID> </ProductStockActionDetailAddDto> <ProductStockActionDetailAddDto> <Amount>3.1</Amount> <CompanyID>00003f7e-89e2-4acf-9805-034af6ea3180</CompanyID> <CurrencyID>99f29b6d-0176-44be-aa4c-0e8c512a6a8b</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>8a292c13-2d85-4ec8-80af-526ca3aa87dd</EntryWarehouseID> <ExitWarehouseID>06a61c88-df59-4620-9c7b-c42eff00c50c</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>4593a81b-04d7-47b9-91b2-87ef0cdbd5a8</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>e5075313-0238-4c48-89ed-8dc85c472c50</ProductID> <ProductStockActionID>eadd5bd8-a5a8-4370-ab8b-1c740aa84d28</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>b79b6633-cc0b-46ea-ab33-7bdd663134ea</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>d5e35185-bde3-4f4f-bce2-e3151dfaf4c6</UnitID> </ProductStockActionDetailAddDto> </ProductStockActionDetails> <ProductStockActionType>EntryReceipt</ProductStockActionType> <ProductionID>0c8fb210-efa0-4539-a28c-f5a6cb32b352</ProductionID> <SerialNumber>sample string 2</SerialNumber> <ServiceReceiptID>d747f74f-2424-42af-a362-f05960fd1886</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-24T14:59:45.292533+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":"57b7d735-7e8e-4ce1-b8fc-b17709df3647","accountID":"013913da-e46f-4e7d-a40c-77bc84fc5644","invoiceID":"dfcba21d-f24a-4cb9-b35e-f0af4da41939","serviceReceiptID":"d747f74f-2424-42af-a362-f05960fd1886","productionID":"0c8fb210-efa0-4539-a28c-f5a6cb32b352","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":"b79b6633-cc0b-46ea-ab33-7bdd663134ea","theWithholdingAmount":16.1,"noKDVReasonID":"4593a81b-04d7-47b9-91b2-87ef0cdbd5a8","unitID":"d5e35185-bde3-4f4f-bce2-e3151dfaf4c6","currencyID":"99f29b6d-0176-44be-aa4c-0e8c512a6a8b","productID":"e5075313-0238-4c48-89ed-8dc85c472c50","productStockActionID":"eadd5bd8-a5a8-4370-ab8b-1c740aa84d28","entryWarehouseID":"8a292c13-2d85-4ec8-80af-526ca3aa87dd","exitWarehouseID":"06a61c88-df59-4620-9c7b-c42eff00c50c","companyID":"00003f7e-89e2-4acf-9805-034af6ea3180"},{"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":"b79b6633-cc0b-46ea-ab33-7bdd663134ea","theWithholdingAmount":16.1,"noKDVReasonID":"4593a81b-04d7-47b9-91b2-87ef0cdbd5a8","unitID":"d5e35185-bde3-4f4f-bce2-e3151dfaf4c6","currencyID":"99f29b6d-0176-44be-aa4c-0e8c512a6a8b","productID":"e5075313-0238-4c48-89ed-8dc85c472c50","productStockActionID":"eadd5bd8-a5a8-4370-ab8b-1c740aa84d28","entryWarehouseID":"8a292c13-2d85-4ec8-80af-526ca3aa87dd","exitWarehouseID":"06a61c88-df59-4620-9c7b-c42eff00c50c","companyID":"00003f7e-89e2-4acf-9805-034af6ea3180"}],"id":"f8a3e963-9b38-4049-ae1f-35175fc4e9fe","companyID":"26dd7fe4-3d8e-4053-91fe-dc266f4710db"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.