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": "a737fdad-9e74-432b-88ff-1534e31c4210", "theWithholdingAmount": 16.1, "noKDVReasonID": "d23d29b0-fa86-4464-a9fe-a6e862b8a091", "unitID": "961e8669-5e2c-49ed-ad4f-4a2dd80379ed", "currencyID": "cd4e3f5e-274f-427d-862a-06621383ddf2", "productID": "9083e501-3ce3-4fb8-bfa1-71c03f044717", "productStockActionID": "e44953b8-ae0e-434f-a714-6fa33fa4bad0", "entryWarehouseID": "19349bc8-34f0-4dcb-af73-8865bae3f60f", "exitWarehouseID": "8a3ac1e2-2dac-4850-bb28-90459ca32768", "companyID": "d427d9ea-e812-4f8e-8596-1ebb399cb8e8" }
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>d427d9ea-e812-4f8e-8596-1ebb399cb8e8</CompanyID> <CurrencyID>cd4e3f5e-274f-427d-862a-06621383ddf2</CurrencyID> <CurrencyRate>1.1</CurrencyRate> <DiscountAmount>5.1</DiscountAmount> <DiscountRate>4.1</DiscountRate> <DiscountedTotalPrice>7.1</DiscountedTotalPrice> <DiscountedUnitPrice>6.1</DiscountedUnitPrice> <EntryWarehouseID>19349bc8-34f0-4dcb-af73-8865bae3f60f</EntryWarehouseID> <ExitWarehouseID>8a3ac1e2-2dac-4850-bb28-90459ca32768</ExitWarehouseID> <IsDiscountPercentage>true</IsDiscountPercentage> <IsOTVPercentage>true</IsOTVPercentage> <KDV>KDV0</KDV> <KDVAmount>10.1</KDVAmount> <NoKDVReasonID>d23d29b0-fa86-4464-a9fe-a6e862b8a091</NoKDVReasonID> <OIV>11.1</OIV> <OIVAmount>12.1</OIVAmount> <OTV>13.1</OTV> <OTVAmount>14.1</OTVAmount> <ProductID>9083e501-3ce3-4fb8-bfa1-71c03f044717</ProductID> <ProductStockActionID>e44953b8-ae0e-434f-a714-6fa33fa4bad0</ProductStockActionID> <Quantity>2.1</Quantity> <TheWithholdingAmount>16.1</TheWithholdingAmount> <TheWithholdingID>a737fdad-9e74-432b-88ff-1534e31c4210</TheWithholdingID> <TotalAmount>9.1</TotalAmount> <UnitID>961e8669-5e2c-49ed-ad4f-4a2dd80379ed</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":"a737fdad-9e74-432b-88ff-1534e31c4210","theWithholdingAmount":16.1,"noKDVReasonID":"d23d29b0-fa86-4464-a9fe-a6e862b8a091","unitID":"961e8669-5e2c-49ed-ad4f-4a2dd80379ed","currencyID":"cd4e3f5e-274f-427d-862a-06621383ddf2","productID":"9083e501-3ce3-4fb8-bfa1-71c03f044717","productStockActionID":"e44953b8-ae0e-434f-a714-6fa33fa4bad0","entryWarehouseID":"19349bc8-34f0-4dcb-af73-8865bae3f60f","exitWarehouseID":"8a3ac1e2-2dac-4850-bb28-90459ca32768","companyID":"d427d9ea-e812-4f8e-8596-1ebb399cb8e8"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.