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-07-08T21:43:59.6375359+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": "9886b7ca-e796-4896-9663-a4b77419a77e", "accountID": "eb280cfd-22c9-4ceb-8b66-1fb79944bd3c", "invoiceID": "d25cae99-7de1-4039-9dde-788d39e86a5a", "serviceReceiptID": "9142c215-b3da-4ba7-9a3a-62cc45a0407d", "productionID": "b0f382a4-64cb-4a8d-8053-7662fb1d32e5", "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": "db1e69fd-7f75-4f20-b16a-d23c25539fbb", "theWithholdingAmount": 16.1, "noKDVReasonID": "c79e3fcc-379a-47ee-bf35-6708ed214822", "unitID": "7205dca1-59e7-40f6-8ceb-6ffdb85dc66b", "currencyID": "0fdb521c-a969-4c12-828e-e34601353555", "productID": "8bfd48f8-8128-452b-9d82-e4ee2fe9e2f6", "productStockActionID": "abd7b332-4fcc-44cd-878d-1012d20bcd1c", "entryWarehouseID": "26825c3b-3580-4892-a015-6bfd24674e40", "exitWarehouseID": "e09bfa20-5cc7-452a-8bd7-b9123ef70e74", "companyID": "9c6f7dd5-bd5a-4eae-b0f7-25de8259971c" }, { "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": "db1e69fd-7f75-4f20-b16a-d23c25539fbb", "theWithholdingAmount": 16.1, "noKDVReasonID": "c79e3fcc-379a-47ee-bf35-6708ed214822", "unitID": "7205dca1-59e7-40f6-8ceb-6ffdb85dc66b", "currencyID": "0fdb521c-a969-4c12-828e-e34601353555", "productID": "8bfd48f8-8128-452b-9d82-e4ee2fe9e2f6", "productStockActionID": "abd7b332-4fcc-44cd-878d-1012d20bcd1c", "entryWarehouseID": "26825c3b-3580-4892-a015-6bfd24674e40", "exitWarehouseID": "e09bfa20-5cc7-452a-8bd7-b9123ef70e74", "companyID": "9c6f7dd5-bd5a-4eae-b0f7-25de8259971c" } ], "id": "3796f726-f2aa-4903-a479-2c67ecc03927", "companyID": "ad95ec15-79fa-45fe-9152-aae70fbea6b3" }
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>ad95ec15-79fa-45fe-9152-aae70fbea6b3</CompanyID> <ID>3796f726-f2aa-4903-a479-2c67ecc03927</ID> <AccountID>eb280cfd-22c9-4ceb-8b66-1fb79944bd3c</AccountID> <Amount>12.1</Amount> <BeforeTaxAmount>6.1</BeforeTaxAmount> <CurrencyID>9886b7ca-e796-4896-9663-a4b77419a77e</CurrencyID> <CurrencyRate>18.1</CurrencyRate> <Date>2025-07-08T21:43:59.6375359+03:00</Date> <Description>sample string 5</Description> <DiscountAmount>11.1</DiscountAmount> <DiscountRate>10.1</DiscountRate> <InvoiceID>d25cae99-7de1-4039-9dde-788d39e86a5a</InvoiceID> <LineDiscountAmount>9.1</LineDiscountAmount> <OrderNumber>sample string 3</OrderNumber> <ProductStockActionDetails> <ProductStockActionDetailAddDto> <Amount>3.1</Amount> <CompanyID>9c6f7dd5-bd5a-4eae-b0f7-25de8259971c</CompanyID> <CurrencyID>0fdb521c-a969-4c12-828e-e34601353555</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>26825c3b-3580-4892-a015-6bfd24674e40</EntryWarehouseID> <ExitWarehouseID>e09bfa20-5cc7-452a-8bd7-b9123ef70e74</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>c79e3fcc-379a-47ee-bf35-6708ed214822</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>8bfd48f8-8128-452b-9d82-e4ee2fe9e2f6</ProductID> <ProductStockActionID>abd7b332-4fcc-44cd-878d-1012d20bcd1c</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>db1e69fd-7f75-4f20-b16a-d23c25539fbb</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>7205dca1-59e7-40f6-8ceb-6ffdb85dc66b</UnitID> </ProductStockActionDetailAddDto> <ProductStockActionDetailAddDto> <Amount>3.1</Amount> <CompanyID>9c6f7dd5-bd5a-4eae-b0f7-25de8259971c</CompanyID> <CurrencyID>0fdb521c-a969-4c12-828e-e34601353555</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>26825c3b-3580-4892-a015-6bfd24674e40</EntryWarehouseID> <ExitWarehouseID>e09bfa20-5cc7-452a-8bd7-b9123ef70e74</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>c79e3fcc-379a-47ee-bf35-6708ed214822</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>8bfd48f8-8128-452b-9d82-e4ee2fe9e2f6</ProductID> <ProductStockActionID>abd7b332-4fcc-44cd-878d-1012d20bcd1c</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>db1e69fd-7f75-4f20-b16a-d23c25539fbb</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>7205dca1-59e7-40f6-8ceb-6ffdb85dc66b</UnitID> </ProductStockActionDetailAddDto> </ProductStockActionDetails> <ProductStockActionType>EntryReceipt</ProductStockActionType> <ProductionID>b0f382a4-64cb-4a8d-8053-7662fb1d32e5</ProductionID> <SerialNumber>sample string 2</SerialNumber> <ServiceReceiptID>9142c215-b3da-4ba7-9a3a-62cc45a0407d</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-07-08T21:43:59.6375359+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":"9886b7ca-e796-4896-9663-a4b77419a77e","accountID":"eb280cfd-22c9-4ceb-8b66-1fb79944bd3c","invoiceID":"d25cae99-7de1-4039-9dde-788d39e86a5a","serviceReceiptID":"9142c215-b3da-4ba7-9a3a-62cc45a0407d","productionID":"b0f382a4-64cb-4a8d-8053-7662fb1d32e5","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":"db1e69fd-7f75-4f20-b16a-d23c25539fbb","theWithholdingAmount":16.1,"noKDVReasonID":"c79e3fcc-379a-47ee-bf35-6708ed214822","unitID":"7205dca1-59e7-40f6-8ceb-6ffdb85dc66b","currencyID":"0fdb521c-a969-4c12-828e-e34601353555","productID":"8bfd48f8-8128-452b-9d82-e4ee2fe9e2f6","productStockActionID":"abd7b332-4fcc-44cd-878d-1012d20bcd1c","entryWarehouseID":"26825c3b-3580-4892-a015-6bfd24674e40","exitWarehouseID":"e09bfa20-5cc7-452a-8bd7-b9123ef70e74","companyID":"9c6f7dd5-bd5a-4eae-b0f7-25de8259971c"},{"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":"db1e69fd-7f75-4f20-b16a-d23c25539fbb","theWithholdingAmount":16.1,"noKDVReasonID":"c79e3fcc-379a-47ee-bf35-6708ed214822","unitID":"7205dca1-59e7-40f6-8ceb-6ffdb85dc66b","currencyID":"0fdb521c-a969-4c12-828e-e34601353555","productID":"8bfd48f8-8128-452b-9d82-e4ee2fe9e2f6","productStockActionID":"abd7b332-4fcc-44cd-878d-1012d20bcd1c","entryWarehouseID":"26825c3b-3580-4892-a015-6bfd24674e40","exitWarehouseID":"e09bfa20-5cc7-452a-8bd7-b9123ef70e74","companyID":"9c6f7dd5-bd5a-4eae-b0f7-25de8259971c"}],"id":"3796f726-f2aa-4903-a479-2c67ecc03927","companyID":"ad95ec15-79fa-45fe-9152-aae70fbea6b3"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.