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": "cf9059f8-1e39-4685-8ead-d84bb8b7ed89",
  "id2": 2,
  "reference_back_office": "sample string 3",
  "name": "sample string 4",
  "company_id": "a2e677ad-e7e3-44c9-b0a7-7989d6e6c8e8",
  "contract_type_id": "d9fc4cb4-9d3b-43b4-9476-5eb64a9b4f02",
  "contract_status_id": "440bc6ee-837c-4c13-92de-101d60b07706",
  "internal_remark": "sample string 8",
  "date_start": "2026-06-16T21:21:36.2541558+00:00",
  "date_end": "2026-06-16T21:21:36.2541558+00:00",
  "hours_free_for_preventive_jobs": true,
  "feelist_id": "b5ca0fa0-c783-4df8-8e66-ce5eb38f05ab",
  "article_price_label_id": "64bd95e2-0cee-43c6-aaf3-e3883da4ace5",
  "travel_fee_fix_discount": 14.0,
  "articles_free_for_preventive_jobs": true,
  "reference": "sample string 16",
  "discount": 17.0,
  "company_discount_family_id": "6a42f203-9953-47af-9793-45f7ecafab3b",
  "modified_dateutc": "2026-06-16T21:21:36.2541558+00:00"
}

application/xml, text/xml

Sample:
<contract xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <article_price_label_id>64bd95e2-0cee-43c6-aaf3-e3883da4ace5</article_price_label_id>
  <articles_free_for_preventive_jobs>true</articles_free_for_preventive_jobs>
  <company_discount_family_id>6a42f203-9953-47af-9793-45f7ecafab3b</company_discount_family_id>
  <company_id>a2e677ad-e7e3-44c9-b0a7-7989d6e6c8e8</company_id>
  <contract_status_id>440bc6ee-837c-4c13-92de-101d60b07706</contract_status_id>
  <contract_type_id>d9fc4cb4-9d3b-43b4-9476-5eb64a9b4f02</contract_type_id>
  <date_end>2026-06-16T21:21:36.254Z</date_end>
  <date_start>2026-06-16T21:21:36.254Z</date_start>
  <discount>17</discount>
  <feelist_id>b5ca0fa0-c783-4df8-8e66-ce5eb38f05ab</feelist_id>
  <hours_free_for_preventive_jobs>true</hours_free_for_preventive_jobs>
  <id>cf9059f8-1e39-4685-8ead-d84bb8b7ed89</id>
  <id2>2</id2>
  <internal_remark>sample string 8</internal_remark>
  <modified_dateutc>2026-06-16T21:21:36.254Z</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>