PUT api/ServiceReceiptProduct/Update
Request Information
URI Parameters
None.
Body Parameters
ServiceReceiptProductUpdateDtoName | Description | Type | Additional information |
---|---|---|---|
Title | string |
None. |
|
ProductName | string |
None. |
|
CurrencyRate | decimal number |
None. |
|
Quantity | decimal number |
None. |
|
Amount | decimal number |
None. |
|
LeanAmount | decimal number |
None. |
|
Description | string |
None. |
|
Cost | 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. |
|
UnitID | globally unique identifier |
None. |
|
WarehouseID | globally unique identifier |
None. |
|
CurrencyID | globally unique identifier |
None. |
|
ProductID | globally unique identifier |
None. |
|
ServiceReceiptID | globally unique identifier |
None. |
|
ID | globally unique identifier |
Required |
|
CompanyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "title": "sample string 1", "productName": "sample string 2", "currencyRate": 3.1, "quantity": 4.1, "amount": 5.1, "leanAmount": 6.1, "description": "sample string 7", "cost": 1.1, "discountRate": 8.1, "discountAmount": 9.1, "discountedUnitPrice": 10.1, "discountedTotalPrice": 11.1, "isDiscountPercentage": true, "totalAmount": 13.1, "kdv": 0, "kdvAmount": 14.1, "unitID": "3639507e-054f-42d3-a6ab-c74be2b8897f", "warehouseID": "c9110051-09ca-4b6e-b1ef-2b067505d301", "currencyID": "4764d81c-f99f-43c2-8d67-f4472a0d3c30", "productID": "4cd8fb33-48a2-448c-bc8b-52d01e04eed5", "serviceReceiptID": "9c0a32a4-514d-4d37-b1b4-70baae81b626", "id": "5365b365-ea8c-4aa4-9b3f-5c507985e47f", "companyID": "c9951e8a-3614-499e-810a-b329a6efa328" }
application/xml, text/xml
Sample:
<ServiceReceiptProductUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CompanyID>c9951e8a-3614-499e-810a-b329a6efa328</CompanyID> <ID>5365b365-ea8c-4aa4-9b3f-5c507985e47f</ID> <Amount>5.1</Amount> <Cost>1.1</Cost> <CurrencyID>4764d81c-f99f-43c2-8d67-f4472a0d3c30</CurrencyID> <CurrencyRate>3.1</CurrencyRate> <Description>sample string 7</Description> <DiscountAmount>9.1</DiscountAmount> <DiscountRate>8.1</DiscountRate> <DiscountedTotalPrice>11.1</DiscountedTotalPrice> <DiscountedUnitPrice>10.1</DiscountedUnitPrice> <IsDiscountPercentage>true</IsDiscountPercentage> <KDV>KDV0</KDV> <KDVAmount>14.1</KDVAmount> <LeanAmount>6.1</LeanAmount> <ProductID>4cd8fb33-48a2-448c-bc8b-52d01e04eed5</ProductID> <ProductName>sample string 2</ProductName> <Quantity>4.1</Quantity> <ServiceReceiptID>9c0a32a4-514d-4d37-b1b4-70baae81b626</ServiceReceiptID> <Title>sample string 1</Title> <TotalAmount>13.1</TotalAmount> <UnitID>3639507e-054f-42d3-a6ab-c74be2b8897f</UnitID> <WarehouseID>c9110051-09ca-4b6e-b1ef-2b067505d301</WarehouseID> </ServiceReceiptProductUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"title":"sample string 1","productName":"sample string 2","currencyRate":3.1,"quantity":4.1,"amount":5.1,"leanAmount":6.1,"description":"sample string 7","cost":1.1,"discountRate":8.1,"discountAmount":9.1,"discountedUnitPrice":10.1,"discountedTotalPrice":11.1,"isDiscountPercentage":true,"totalAmount":13.1,"kdv":0,"kdvAmount":14.1,"unitID":"3639507e-054f-42d3-a6ab-c74be2b8897f","warehouseID":"c9110051-09ca-4b6e-b1ef-2b067505d301","currencyID":"4764d81c-f99f-43c2-8d67-f4472a0d3c30","productID":"4cd8fb33-48a2-448c-bc8b-52d01e04eed5","serviceReceiptID":"9c0a32a4-514d-4d37-b1b4-70baae81b626","id":"5365b365-ea8c-4aa4-9b3f-5c507985e47f","companyID":"c9951e8a-3614-499e-810a-b329a6efa328"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.