GET api/Contract

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Contract
NameDescriptionTypeAdditional information
id

string

None.

customerNo

integer

None.

fromDate

date

None.

toDate

date

None.

label

string

None.

price

decimal number

None.

productNo

string

None.

unitId

integer

None.

productDescription

string

None.

unitDescription

string

None.

customerName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": "sample string 1",
    "customerNo": 2,
    "fromDate": "2025-11-29T15:06:30.4165673+01:00",
    "toDate": "2025-11-29T15:06:30.4165673+01:00",
    "label": "sample string 5",
    "price": 6.0,
    "productNo": "sample string 7",
    "unitId": 1,
    "productDescription": "sample string 8",
    "unitDescription": "sample string 9",
    "customerName": "sample string 10"
  },
  {
    "id": "sample string 1",
    "customerNo": 2,
    "fromDate": "2025-11-29T15:06:30.4165673+01:00",
    "toDate": "2025-11-29T15:06:30.4165673+01:00",
    "label": "sample string 5",
    "price": 6.0,
    "productNo": "sample string 7",
    "unitId": 1,
    "productDescription": "sample string 8",
    "unitDescription": "sample string 9",
    "customerName": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfContract xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Contract>
    <id>sample string 1</id>
    <customerNo>2</customerNo>
    <fromDate>2025-11-29T15:06:30.4165673+01:00</fromDate>
    <toDate>2025-11-29T15:06:30.4165673+01:00</toDate>
    <label>sample string 5</label>
    <price>6</price>
    <productNo>sample string 7</productNo>
    <unitId>1</unitId>
    <productDescription>sample string 8</productDescription>
    <unitDescription>sample string 9</unitDescription>
    <customerName>sample string 10</customerName>
  </Contract>
  <Contract>
    <id>sample string 1</id>
    <customerNo>2</customerNo>
    <fromDate>2025-11-29T15:06:30.4165673+01:00</fromDate>
    <toDate>2025-11-29T15:06:30.4165673+01:00</toDate>
    <label>sample string 5</label>
    <price>6</price>
    <productNo>sample string 7</productNo>
    <unitId>1</unitId>
    <productDescription>sample string 8</productDescription>
    <unitDescription>sample string 9</unitDescription>
    <customerName>sample string 10</customerName>
  </Contract>
</ArrayOfContract>