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": "f056a4b8-396b-4e74-aea3-937b1b9a0281", "warehouseID": "e645b69a-ceab-4b14-be6c-2d8ea4e7004c", "currencyID": "650da7b8-b30c-4136-b424-9f2e70829606", "productID": "0e3a2194-6f73-45b7-b554-796bc412e032", "serviceReceiptID": "369a46f0-5042-4f4b-9df8-1c41b5322029", "id": "b4b650de-200d-49d3-b29a-6b1460a57ab6", "companyID": "0aafbae2-dcf4-43f8-960b-3f8891103d20" }
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>0aafbae2-dcf4-43f8-960b-3f8891103d20</CompanyID> <ID>b4b650de-200d-49d3-b29a-6b1460a57ab6</ID> <Amount>5.1</Amount> <Cost>1.1</Cost> <CurrencyID>650da7b8-b30c-4136-b424-9f2e70829606</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>0e3a2194-6f73-45b7-b554-796bc412e032</ProductID> <ProductName>sample string 2</ProductName> <Quantity>4.1</Quantity> <ServiceReceiptID>369a46f0-5042-4f4b-9df8-1c41b5322029</ServiceReceiptID> <Title>sample string 1</Title> <TotalAmount>13.1</TotalAmount> <UnitID>f056a4b8-396b-4e74-aea3-937b1b9a0281</UnitID> <WarehouseID>e645b69a-ceab-4b14-be6c-2d8ea4e7004c</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":"f056a4b8-396b-4e74-aea3-937b1b9a0281","warehouseID":"e645b69a-ceab-4b14-be6c-2d8ea4e7004c","currencyID":"650da7b8-b30c-4136-b424-9f2e70829606","productID":"0e3a2194-6f73-45b7-b554-796bc412e032","serviceReceiptID":"369a46f0-5042-4f4b-9df8-1c41b5322029","id":"b4b650de-200d-49d3-b29a-6b1460a57ab6","companyID":"0aafbae2-dcf4-43f8-960b-3f8891103d20"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.