Retrieves the contract discount article rule with the specified key.
Request Information
URI Parameters :
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The contract discount article rule id. |
globally unique identifier |
Required |
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult containing the contract discount article rule, or 404 Not Found if it doesn't exist.
contract_discount_article| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Primary key |
globally unique identifier |
Required |
| contract_id |
Contract id |
globally unique identifier | |
| article_id |
Article id |
globally unique identifier | |
| time_span |
Free-text time span this discount applies within (e.g. relative to install/warranty date). |
string | |
| discount |
Discount percentage applied to the article under this contract. |
decimal number | |
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date |
Response Formats
application/json, text/json
Sample:
{
"id": "1231003e-3b27-425a-b871-27320278edf7",
"contract_id": "a8748f4f-34ef-4e61-84ae-eb87a6e9dc06",
"article_id": "bfa32f6d-f2a2-43e9-bca6-24cafaa25382",
"time_span": "sample string 4",
"discount": 5.0,
"modified_dateutc": "2026-11-12T14:28:50.3540379+00:00"
}
application/xml, text/xml
Sample:
<contract_discount_article xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <article_id>bfa32f6d-f2a2-43e9-bca6-24cafaa25382</article_id> <contract_id>a8748f4f-34ef-4e61-84ae-eb87a6e9dc06</contract_id> <discount>5</discount> <id>1231003e-3b27-425a-b871-27320278edf7</id> <modified_dateutc>2026-11-12T14:28:50.354Z</modified_dateutc> <time_span>sample string 4</time_span> </contract_discount_article>