POST api/ProductStockActionDetail/Add
Request Information
URI Parameters
None.
Body Parameters
ProductStockActionDetailAddDtoName | Description | Type | Additional information |
---|---|---|---|
CurrencyRate | decimal number |
None. |
|
Quantity | decimal number |
None. |
|
Amount | decimal number |
None. |
|
DiscountRate | decimal number |
None. |
|
DiscountAmount | decimal number |
None. |
|
DiscountedUnitPrice | decimal number |
None. |
|
DiscountedTotalPrice | decimal number |
None. |
|
IsDiscountPercentage | boolean |
None. |
|
TotalAmount | decimal number |
None. |
|
KDV | KDV |
None. |
|
KDVAmount | decimal number |
None. |
|
OIV | decimal number |
None. |
|
OIVAmount | decimal number |
None. |
|
OTV | decimal number |
None. |
|
OTVAmount | decimal number |
None. |
|
IsOTVPercentage | boolean |
None. |
|
TheWithholdingID | globally unique identifier |
None. |
|
TheWithholdingAmount | decimal number |
None. |
|
NoKDVReasonID | globally unique identifier |
None. |
|
UnitID | globally unique identifier |
None. |
|
CurrencyID | globally unique identifier |
None. |
|
ProductID | globally unique identifier |
None. |
|
ProductStockActionID | globally unique identifier |
None. |
|
EntryWarehouseID | globally unique identifier |
None. |
|
ExitWarehouseID | globally unique identifier |
None. |
|
CompanyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "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": "3e4d6354-578f-48ca-ba43-d404340c49d6", "theWithholdingAmount": 16.1, "noKDVReasonID": "114b9ac5-d427-469c-94dd-351114b65d53", "unitID": "2b3b0bf5-b113-43c3-ba1e-b749ac80bd93", "currencyID": "fc91099c-cb6d-40fd-8403-1e9def0e7e72", "productID": "93cac2f6-0e78-4a78-9a72-5370e874a728", "productStockActionID": "0e26fb29-50dd-4e2f-b376-66e0f8cce025", "entryWarehouseID": "33aad605-e24c-4aa8-bee3-78951cb15a7d", "exitWarehouseID": "bfd993e4-f783-4903-9c07-a07ba7e69146", "companyID": "6cbfd870-c2cb-4323-b49c-ae73b74e10ce" }
application/xml, text/xml
Sample:
<ProductStockActionDetailAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <Amount>3.1</Amount> <CompanyID>6cbfd870-c2cb-4323-b49c-ae73b74e10ce</CompanyID> <CurrencyID>fc91099c-cb6d-40fd-8403-1e9def0e7e72</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>33aad605-e24c-4aa8-bee3-78951cb15a7d</EntryWarehouseID> <ExitWarehouseID>bfd993e4-f783-4903-9c07-a07ba7e69146</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>114b9ac5-d427-469c-94dd-351114b65d53</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>93cac2f6-0e78-4a78-9a72-5370e874a728</ProductID> <ProductStockActionID>0e26fb29-50dd-4e2f-b376-66e0f8cce025</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>3e4d6354-578f-48ca-ba43-d404340c49d6</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>2b3b0bf5-b113-43c3-ba1e-b749ac80bd93</UnitID> </ProductStockActionDetailAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"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":"3e4d6354-578f-48ca-ba43-d404340c49d6","theWithholdingAmount":16.1,"noKDVReasonID":"114b9ac5-d427-469c-94dd-351114b65d53","unitID":"2b3b0bf5-b113-43c3-ba1e-b749ac80bd93","currencyID":"fc91099c-cb6d-40fd-8403-1e9def0e7e72","productID":"93cac2f6-0e78-4a78-9a72-5370e874a728","productStockActionID":"0e26fb29-50dd-4e2f-b376-66e0f8cce025","entryWarehouseID":"33aad605-e24c-4aa8-bee3-78951cb15a7d","exitWarehouseID":"bfd993e4-f783-4903-9c07-a07ba7e69146","companyID":"6cbfd870-c2cb-4323-b49c-ae73b74e10ce"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.