GET v1/PurchaseDiscounts/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Common.Dto.Get.PurchaseDiscount| Name | Description | Type | Additional information |
|---|---|---|---|
| purchaseId | integer |
None. |
|
| discountType | string |
None. |
|
| amount | decimal number |
None. |
|
| id | integer |
None. |
|
| uri | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"purchaseId": 1,
"discountType": "sample string 2",
"amount": 3.0,
"id": 4,
"uri": "sample string 5"
}