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-04T22:34:55.2830609+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": "5b8bc4b5-082a-400b-9e33-5809dbb61f20", "accountID": "acccf983-1544-4a93-8130-5276627de44d", "invoiceID": "e071d5be-eae9-494b-bd9f-f2651eb8e91f", "serviceReceiptID": "ffd02a03-54a5-4c3b-ab8a-00fcc40b1bb5", "productionID": "0d7e8ebb-eed0-4f46-8789-53d23be6e7fd", "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": "8468d0e0-7ea8-457b-9966-2650a46af116", "theWithholdingAmount": 16.1, "noKDVReasonID": "b3e6a15b-1a16-4a49-b8a3-39350256e788", "unitID": "f804c04d-1382-479c-a822-651d678a01bf", "currencyID": "e8efdae8-e413-4906-a9d9-3171f525a1f3", "productID": "11775e91-a9fe-4086-8d84-2ffdbd21faa1", "productStockActionID": "8a651f1f-62c9-4150-99d2-257942c5685e", "entryWarehouseID": "14e24526-0a60-44ad-b60c-979bd137bb98", "exitWarehouseID": "8f1847fc-d6f6-4a02-8e45-f11a421c90e4", "companyID": "b7d1200e-cdd6-4e95-bdf3-f9d41247f2b4" }, { "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": "8468d0e0-7ea8-457b-9966-2650a46af116", "theWithholdingAmount": 16.1, "noKDVReasonID": "b3e6a15b-1a16-4a49-b8a3-39350256e788", "unitID": "f804c04d-1382-479c-a822-651d678a01bf", "currencyID": "e8efdae8-e413-4906-a9d9-3171f525a1f3", "productID": "11775e91-a9fe-4086-8d84-2ffdbd21faa1", "productStockActionID": "8a651f1f-62c9-4150-99d2-257942c5685e", "entryWarehouseID": "14e24526-0a60-44ad-b60c-979bd137bb98", "exitWarehouseID": "8f1847fc-d6f6-4a02-8e45-f11a421c90e4", "companyID": "b7d1200e-cdd6-4e95-bdf3-f9d41247f2b4" } ], "id": "e2dc9708-ae38-4ca4-bbfe-226b92e58a0d", "companyID": "25eccd4f-9805-436f-8115-7ed02a115b4b" }
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>25eccd4f-9805-436f-8115-7ed02a115b4b</CompanyID> <ID>e2dc9708-ae38-4ca4-bbfe-226b92e58a0d</ID> <AccountID>acccf983-1544-4a93-8130-5276627de44d</AccountID> <Amount>12.1</Amount> <BeforeTaxAmount>6.1</BeforeTaxAmount> <CurrencyID>5b8bc4b5-082a-400b-9e33-5809dbb61f20</CurrencyID> <CurrencyRate>18.1</CurrencyRate> <Date>2025-08-04T22:34:55.2830609+03:00</Date> <Description>sample string 5</Description> <DiscountAmount>11.1</DiscountAmount> <DiscountRate>10.1</DiscountRate> <InvoiceID>e071d5be-eae9-494b-bd9f-f2651eb8e91f</InvoiceID> <LineDiscountAmount>9.1</LineDiscountAmount> <OrderNumber>sample string 3</OrderNumber> <ProductStockActionDetails> <ProductStockActionDetailAddDto> <Amount>3.1</Amount> <CompanyID>b7d1200e-cdd6-4e95-bdf3-f9d41247f2b4</CompanyID> <CurrencyID>e8efdae8-e413-4906-a9d9-3171f525a1f3</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>14e24526-0a60-44ad-b60c-979bd137bb98</EntryWarehouseID> <ExitWarehouseID>8f1847fc-d6f6-4a02-8e45-f11a421c90e4</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>b3e6a15b-1a16-4a49-b8a3-39350256e788</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>11775e91-a9fe-4086-8d84-2ffdbd21faa1</ProductID> <ProductStockActionID>8a651f1f-62c9-4150-99d2-257942c5685e</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>8468d0e0-7ea8-457b-9966-2650a46af116</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>f804c04d-1382-479c-a822-651d678a01bf</UnitID> </ProductStockActionDetailAddDto> <ProductStockActionDetailAddDto> <Amount>3.1</Amount> <CompanyID>b7d1200e-cdd6-4e95-bdf3-f9d41247f2b4</CompanyID> <CurrencyID>e8efdae8-e413-4906-a9d9-3171f525a1f3</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>14e24526-0a60-44ad-b60c-979bd137bb98</EntryWarehouseID> <ExitWarehouseID>8f1847fc-d6f6-4a02-8e45-f11a421c90e4</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>b3e6a15b-1a16-4a49-b8a3-39350256e788</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>11775e91-a9fe-4086-8d84-2ffdbd21faa1</ProductID> <ProductStockActionID>8a651f1f-62c9-4150-99d2-257942c5685e</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>8468d0e0-7ea8-457b-9966-2650a46af116</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>f804c04d-1382-479c-a822-651d678a01bf</UnitID> </ProductStockActionDetailAddDto> </ProductStockActionDetails> <ProductStockActionType>EntryReceipt</ProductStockActionType> <ProductionID>0d7e8ebb-eed0-4f46-8789-53d23be6e7fd</ProductionID> <SerialNumber>sample string 2</SerialNumber> <ServiceReceiptID>ffd02a03-54a5-4c3b-ab8a-00fcc40b1bb5</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-04T22:34:55.2830609+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":"5b8bc4b5-082a-400b-9e33-5809dbb61f20","accountID":"acccf983-1544-4a93-8130-5276627de44d","invoiceID":"e071d5be-eae9-494b-bd9f-f2651eb8e91f","serviceReceiptID":"ffd02a03-54a5-4c3b-ab8a-00fcc40b1bb5","productionID":"0d7e8ebb-eed0-4f46-8789-53d23be6e7fd","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":"8468d0e0-7ea8-457b-9966-2650a46af116","theWithholdingAmount":16.1,"noKDVReasonID":"b3e6a15b-1a16-4a49-b8a3-39350256e788","unitID":"f804c04d-1382-479c-a822-651d678a01bf","currencyID":"e8efdae8-e413-4906-a9d9-3171f525a1f3","productID":"11775e91-a9fe-4086-8d84-2ffdbd21faa1","productStockActionID":"8a651f1f-62c9-4150-99d2-257942c5685e","entryWarehouseID":"14e24526-0a60-44ad-b60c-979bd137bb98","exitWarehouseID":"8f1847fc-d6f6-4a02-8e45-f11a421c90e4","companyID":"b7d1200e-cdd6-4e95-bdf3-f9d41247f2b4"},{"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":"8468d0e0-7ea8-457b-9966-2650a46af116","theWithholdingAmount":16.1,"noKDVReasonID":"b3e6a15b-1a16-4a49-b8a3-39350256e788","unitID":"f804c04d-1382-479c-a822-651d678a01bf","currencyID":"e8efdae8-e413-4906-a9d9-3171f525a1f3","productID":"11775e91-a9fe-4086-8d84-2ffdbd21faa1","productStockActionID":"8a651f1f-62c9-4150-99d2-257942c5685e","entryWarehouseID":"14e24526-0a60-44ad-b60c-979bd137bb98","exitWarehouseID":"8f1847fc-d6f6-4a02-8e45-f11a421c90e4","companyID":"b7d1200e-cdd6-4e95-bdf3-f9d41247f2b4"}],"id":"e2dc9708-ae38-4ca4-bbfe-226b92e58a0d","companyID":"25eccd4f-9805-436f-8115-7ed02a115b4b"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.