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": "610b260a-32a2-4296-9483-600ddf50e387",
  "id2": 2,
  "reference_back_office": "sample string 3",
  "name": "sample string 4",
  "company_id": "b7088613-02d3-4e25-ad0f-e5735f63f979",
  "contract_type_id": "541deeb2-d9cd-4f3c-883a-1db7b70db566",
  "contract_status_id": "d9cbe926-ec4f-4a2a-a564-d8000dd3adb0",
  "internal_remark": "sample string 8",
  "date_start": "2026-01-11T23:51:37.5275477+00:00",
  "date_end": "2026-01-11T23:51:37.5275477+00:00",
  "hours_free_for_preventive_jobs": true,
  "feelist_id": "c2b0770f-eca0-438f-a4e9-acf0b0436bec",
  "article_price_label_id": "1979b200-6d9c-4865-8656-4fc583e25ff5",
  "travel_fee_fix_discount": 14.0,
  "articles_free_for_preventive_jobs": true,
  "reference": "sample string 16",
  "discount": 17.0,
  "company_discount_family_id": "f18a3c54-7423-4615-b605-ab641d2f3bb9",
  "modified_dateutc": "2026-01-11T23:51:37.5275477+00:00"
}

application/xml, text/xml

Sample:
<contract xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <article_price_label_id>1979b200-6d9c-4865-8656-4fc583e25ff5</article_price_label_id>
  <articles_free_for_preventive_jobs>true</articles_free_for_preventive_jobs>
  <company_discount_family_id>f18a3c54-7423-4615-b605-ab641d2f3bb9</company_discount_family_id>
  <company_id>b7088613-02d3-4e25-ad0f-e5735f63f979</company_id>
  <contract_status_id>d9cbe926-ec4f-4a2a-a564-d8000dd3adb0</contract_status_id>
  <contract_type_id>541deeb2-d9cd-4f3c-883a-1db7b70db566</contract_type_id>
  <date_end>2026-01-11T23:51:37.527Z</date_end>
  <date_start>2026-01-11T23:51:37.527Z</date_start>
  <discount>17</discount>
  <feelist_id>c2b0770f-eca0-438f-a4e9-acf0b0436bec</feelist_id>
  <hours_free_for_preventive_jobs>true</hours_free_for_preventive_jobs>
  <id>610b260a-32a2-4296-9483-600ddf50e387</id>
  <id2>2</id2>
  <internal_remark>sample string 8</internal_remark>
  <modified_dateutc>2026-01-11T23:51:37.527Z</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>