Retrieves the contract discount with the specified key.

Request Information

URI Parameters :

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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": "1568298c-5f5f-426a-b1fe-f0d506ab67df",
  "contract_id": "410d46ab-32c5-4c67-b99d-fceec1eb8e9d",
  "discount": 3.0,
  "date_start": "2026-09-16T09:24:36.2941213+00:00",
  "date_end": "2026-09-16T09:24:36.2941213+00:00",
  "modified_dateutc": "2026-09-16T09:24:36.2941213+00:00"
}

application/xml, text/xml

Sample:
<contract_discount xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <contract_id>410d46ab-32c5-4c67-b99d-fceec1eb8e9d</contract_id>
  <date_end>2026-09-16T09:24:36.294Z</date_end>
  <date_start>2026-09-16T09:24:36.294Z</date_start>
  <discount>3</discount>
  <id>1568298c-5f5f-426a-b1fe-f0d506ab67df</id>
  <modified_dateutc>2026-09-16T09:24:36.294Z</modified_dateutc>
</contract_discount>