Retrieves the contract discount with the specified key.
Request Information
URI Parameters :
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The contract discount id. |
globally unique identifier |
Required |
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult containing the contract discount, or 404 Not Found if it doesn't exist.
contract_discount| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Primary key |
globally unique identifier |
Required |
| contract_id |
Contract id |
globally unique identifier | |
| discount |
Discount |
decimal number | |
| date_start |
Date start |
date | |
| date_end |
Date end |
date | |
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date |
Response Formats
application/json, text/json
Sample:
{
"id": "b2dc1b11-d109-4c91-bf65-5ef01f489e2c",
"contract_id": "6cda363e-a8bc-4e00-9cea-f66f9dfc5ad6",
"discount": 3.0,
"date_start": "2026-11-12T14:28:44.7601971+00:00",
"date_end": "2026-11-12T14:28:44.7601971+00:00",
"modified_dateutc": "2026-11-12T14:28:44.7601971+00:00"
}
application/xml, text/xml
Sample:
<contract_discount xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <contract_id>6cda363e-a8bc-4e00-9cea-f66f9dfc5ad6</contract_id> <date_end>2026-11-12T14:28:44.760Z</date_end> <date_start>2026-11-12T14:28:44.760Z</date_start> <discount>3</discount> <id>b2dc1b11-d109-4c91-bf65-5ef01f489e2c</id> <modified_dateutc>2026-11-12T14:28:44.760Z</modified_dateutc> </contract_discount>