Retrieves all the contracts

Request Information

URI Parameters :

None.

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": "1a2b017e-4303-4259-846c-3543eb882055",
  "id2": 2,
  "reference_back_office": "sample string 3",
  "name": "sample string 4",
  "company_id": "33e0f53c-ec1c-4b20-a137-a0a8996895b1",
  "contract_type_id": "29c6b7a3-3dc5-4cef-8a7a-de037b8147c4",
  "contract_status_id": "fe635835-e19e-4f9f-8483-cb5093908726",
  "internal_remark": "sample string 8",
  "date_start": "2026-03-07T14:50:46.9032106+00:00",
  "date_end": "2026-03-07T14:50:46.9032106+00:00",
  "hours_free_for_preventive_jobs": true,
  "feelist_id": "9de0086e-4035-4690-a8bd-4311943e6071",
  "article_price_label_id": "3dc7d801-cee1-4a84-a0b4-11971f22232d",
  "travel_fee_fix_discount": 14.0,
  "articles_free_for_preventive_jobs": true,
  "reference": "sample string 16",
  "discount": 17.0,
  "company_discount_family_id": "fea3669c-021e-4cde-8fc0-2eba073370f8",
  "modified_dateutc": "2026-03-07T14:50:46.9032106+00:00"
}

application/xml, text/xml

Sample:
<contract xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <article_price_label_id>3dc7d801-cee1-4a84-a0b4-11971f22232d</article_price_label_id>
  <articles_free_for_preventive_jobs>true</articles_free_for_preventive_jobs>
  <company_discount_family_id>fea3669c-021e-4cde-8fc0-2eba073370f8</company_discount_family_id>
  <company_id>33e0f53c-ec1c-4b20-a137-a0a8996895b1</company_id>
  <contract_status_id>fe635835-e19e-4f9f-8483-cb5093908726</contract_status_id>
  <contract_type_id>29c6b7a3-3dc5-4cef-8a7a-de037b8147c4</contract_type_id>
  <date_end>2026-03-07T14:50:46.903Z</date_end>
  <date_start>2026-03-07T14:50:46.903Z</date_start>
  <discount>17</discount>
  <feelist_id>9de0086e-4035-4690-a8bd-4311943e6071</feelist_id>
  <hours_free_for_preventive_jobs>true</hours_free_for_preventive_jobs>
  <id>1a2b017e-4303-4259-846c-3543eb882055</id>
  <id2>2</id2>
  <internal_remark>sample string 8</internal_remark>
  <modified_dateutc>2026-03-07T14:50:46.903Z</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>