Retrieves the contract discount article rule with the specified key.

Request Information

URI Parameters :

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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": "867c2186-cbec-4549-8607-a0b088e77f9d",
  "contract_id": "ba5a34f4-ac4c-4251-bf98-a28e60f2a282",
  "article_id": "a84103ac-3d33-4b63-b040-b6f675028501",
  "time_span": "sample string 4",
  "discount": 5.0,
  "modified_dateutc": "2026-09-16T08:36:37.009066+00:00"
}

application/xml, text/xml

Sample:
<contract_discount_article xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <article_id>a84103ac-3d33-4b63-b040-b6f675028501</article_id>
  <contract_id>ba5a34f4-ac4c-4251-bf98-a28e60f2a282</contract_id>
  <discount>5</discount>
  <id>867c2186-cbec-4549-8607-a0b088e77f9d</id>
  <modified_dateutc>2026-09-16T08:36:37.009Z</modified_dateutc>
  <time_span>sample string 4</time_span>
</contract_discount_article>