Retrieves the Contract with the specified key

Request Information

URI Parameters :

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters :

None.

Response Information

Resource Description :

IHttpActionResult

contract
NameDescriptionTypeAdditional information
id

Primary key

globally unique identifier

Required

id2

id2

integer

Required

reference_back_office

Backoffice reference

string
name

Name of the contract

string
company_id

globally unique identifier
contract_type_id

globally unique identifier
contract_status_id

globally unique identifier
internal_remark

string
date_start

date
date_end

date
hours_free_for_preventive_jobs

Hours free for preventive jobs

boolean
feelist_id

Feelist id

globally unique identifier
article_price_label_id

Article price label id

globally unique identifier
travel_fee_fix_discount

decimal number
articles_free_for_preventive_jobs

boolean
reference

string
discount

decimal number
company_discount_family_id

globally unique identifier
modified_dateutc

Readonly system field managed by database, filled with GetUtcDate when adding,updating

date

Response Formats

application/json, text/json

Sample:
{
  "id": "3a41830e-b4d6-4bcc-92ad-e3cad1421056",
  "id2": 2,
  "reference_back_office": "sample string 3",
  "name": "sample string 4",
  "company_id": "41892bb0-7cf9-4a47-8ae7-5f77d3a45f34",
  "contract_type_id": "111e1b9d-06b8-4654-abd3-5f82994392ba",
  "contract_status_id": "7eae7dbc-2cfa-4cc4-97db-6a4a85a47ded",
  "internal_remark": "sample string 8",
  "date_start": "2026-03-07T14:53:13.7336606+00:00",
  "date_end": "2026-03-07T14:53:13.7336606+00:00",
  "hours_free_for_preventive_jobs": true,
  "feelist_id": "78ac0194-0a23-4f25-88bf-d00d62c34bd6",
  "article_price_label_id": "b6b952f3-d441-4804-9340-3ce619f378f2",
  "travel_fee_fix_discount": 14.0,
  "articles_free_for_preventive_jobs": true,
  "reference": "sample string 16",
  "discount": 17.0,
  "company_discount_family_id": "5fd7f065-8f42-421d-8c7a-a454da896f4d",
  "modified_dateutc": "2026-03-07T14:53:13.7336606+00:00"
}

application/xml, text/xml

Sample:
<contract xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <article_price_label_id>b6b952f3-d441-4804-9340-3ce619f378f2</article_price_label_id>
  <articles_free_for_preventive_jobs>true</articles_free_for_preventive_jobs>
  <company_discount_family_id>5fd7f065-8f42-421d-8c7a-a454da896f4d</company_discount_family_id>
  <company_id>41892bb0-7cf9-4a47-8ae7-5f77d3a45f34</company_id>
  <contract_status_id>7eae7dbc-2cfa-4cc4-97db-6a4a85a47ded</contract_status_id>
  <contract_type_id>111e1b9d-06b8-4654-abd3-5f82994392ba</contract_type_id>
  <date_end>2026-03-07T14:53:13.733Z</date_end>
  <date_start>2026-03-07T14:53:13.733Z</date_start>
  <discount>17</discount>
  <feelist_id>78ac0194-0a23-4f25-88bf-d00d62c34bd6</feelist_id>
  <hours_free_for_preventive_jobs>true</hours_free_for_preventive_jobs>
  <id>3a41830e-b4d6-4bcc-92ad-e3cad1421056</id>
  <id2>2</id2>
  <internal_remark>sample string 8</internal_remark>
  <modified_dateutc>2026-03-07T14:53:13.733Z</modified_dateutc>
  <name>sample string 4</name>
  <reference>sample string 16</reference>
  <reference_back_office>sample string 3</reference_back_office>
  <travel_fee_fix_discount>14</travel_fee_fix_discount>
</contract>