PUT v1/ServiceContract

Update an existing ServiceContract.

Request Information

URI Parameters

None.

Body Parameters

The ServiceContract.

ServiceContractChanges
NameDescriptionTypeAdditional information
LocationContactInfoId

integer

None.

DeliveryAddressContactInfoId

integer

None.

OrderId

integer

None.

WallCabinetPinCode

string

Max length: 50

StatusId

integer

None.

CustomerReference

string

Max length: 50

ShopId

integer

Required

ServiceComment

string

Max length: 2147483647

EndOfWarrantyDate

date

None.

ActiveStatusId

integer

None.

EndDate

date

None.

NewContractStartDate

date

None.

SerialNumber

string

Max length: 50

StockItemId

integer

None.

AutoGenerateOrder

boolean

Required

NextOrderDate

date

None.

NextMaintenanceDate

date

None.

OrderDiscountPercentage

integer

Required

InternalReference

string

Max length: 2147483647

CurrentExpiryDateBattery

date

None.

CurrentExpiryDateElectrode

date

None.

CurrentExpiryDatePaediatricElectrode

date

None.

ProductionYear

integer

None.

AutoGenerateServiceAppointment

boolean

Required

Rows

Collection of ServiceContractRow

None.

Id

integer

Required

Code

string

None.

TypeId

integer

None.

CustomerId

integer

Required

StartDate

date

Required

ServiceProductId

integer

Required

Location

ContactInfo

None.

DeliveryAddress

ContactInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "LocationContactInfoId": 1,
  "DeliveryAddressContactInfoId": 1,
  "OrderId": 1,
  "WallCabinetPinCode": "sample string 1",
  "StatusId": 1,
  "CustomerReference": "sample string 2",
  "ShopId": 3,
  "ServiceComment": "sample string 4",
  "EndOfWarrantyDate": "2026-01-11T16:13:17.5980302+01:00",
  "ActiveStatusId": 5,
  "EndDate": "2026-01-11T16:13:17.5980302+01:00",
  "NewContractStartDate": "2026-01-11T16:13:17.5980302+01:00",
  "SerialNumber": "sample string 6",
  "StockItemId": 1,
  "AutoGenerateOrder": true,
  "NextOrderDate": "2026-01-11T16:13:17.5980302+01:00",
  "NextMaintenanceDate": "2026-01-11T16:13:17.5980302+01:00",
  "OrderDiscountPercentage": 1,
  "InternalReference": "sample string 8",
  "CurrentExpiryDateBattery": "2026-01-11T16:13:17.5980302+01:00",
  "CurrentExpiryDateElectrode": "2026-01-11T16:13:17.5980302+01:00",
  "CurrentExpiryDatePaediatricElectrode": "2026-01-11T16:13:17.5980302+01:00",
  "ProductionYear": 1,
  "AutoGenerateServiceAppointment": true,
  "Rows": null,
  "Id": 9,
  "Code": "sample string 10",
  "TypeId": 1,
  "CustomerId": 11,
  "StartDate": "2026-01-11T16:13:17.5980302+01:00",
  "ServiceProductId": 12,
  "Location": {
    "VatNumber": "sample string 1",
    "FullName": "sample string 2",
    "DateOfBirth": "2026-01-11T16:13:17.5980302+01:00",
    "Gender": "sample string 3",
    "PersonTitle": "sample string 4",
    "MiddleName": "sample string 5",
    "FirstName": "sample string 6",
    "LastName": "sample string 7",
    "LastNamePrefix": "sample string 8",
    "Id": 9,
    "CompanyName": "sample string 10",
    "Address": "sample string 11",
    "Address2": "sample string 12",
    "StreetAddress": "sample string 13",
    "StreetAddressNumber": "sample string 14",
    "StreetAddressExtension": "sample string 15",
    "PostalCode": "sample string 16",
    "City": "sample string 17",
    "CountryId": 1,
    "CountryCode": "sample string 18",
    "CountryName": null,
    "EMail": "sample string 19",
    "Phone": "sample string 20",
    "Phone2": "sample string 21",
    "StateProvince": "sample string 22",
    "StateProvinceCode": "sample string 23"
  },
  "DeliveryAddress": {
    "VatNumber": "sample string 1",
    "FullName": "sample string 2",
    "DateOfBirth": "2026-01-11T16:13:17.5980302+01:00",
    "Gender": "sample string 3",
    "PersonTitle": "sample string 4",
    "MiddleName": "sample string 5",
    "FirstName": "sample string 6",
    "LastName": "sample string 7",
    "LastNamePrefix": "sample string 8",
    "Id": 9,
    "CompanyName": "sample string 10",
    "Address": "sample string 11",
    "Address2": "sample string 12",
    "StreetAddress": "sample string 13",
    "StreetAddressNumber": "sample string 14",
    "StreetAddressExtension": "sample string 15",
    "PostalCode": "sample string 16",
    "City": "sample string 17",
    "CountryId": 1,
    "CountryCode": "sample string 18",
    "CountryName": null,
    "EMail": "sample string 19",
    "Phone": "sample string 20",
    "Phone2": "sample string 21",
    "StateProvince": "sample string 22",
    "StateProvinceCode": "sample string 23"
  }
}

Response Information

Resource Description

The HttpResponseMessage object.

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.