PUT api/v2/SanitationDevices/{sanitationDeviceId}

Request

URI Parameters

NameDescriptionTypeAdditional information
sanitationDeviceId

integer

Required

Body Parameters

SanitationDeviceUpdate
NameDescriptionTypeAdditional information
ServiceCenters

ObjectCascadeOfSanitationDeviceServiceCenterUpdate

Users

ObjectCascadeOfSanitationDeviceUserUpdate

AutomaticSampleRegistrations

ObjectCascadeOfSanitationDeviceAutomaticSampleRegistrationUpdate

SanitationDevice

SanitationDevicesBasic

Request Formats

application/json, text/json

Sample:
{
  "ServiceCenters": {
    "PostItems": [
      {
        "Id": 1,
        "ServiceCenterId": 2
      },
      {
        "Id": 1,
        "ServiceCenterId": 2
      }
    ],
    "PutItems": [
      {
        "Id": 1,
        "ServiceCenterId": 2
      },
      {
        "Id": 1,
        "ServiceCenterId": 2
      }
    ],
    "DeleteItems": [
      {
        "Id": 1,
        "ServiceCenterId": 2
      },
      {
        "Id": 1,
        "ServiceCenterId": 2
      }
    ]
  },
  "Users": {
    "PostItems": [
      {
        "Id": 1,
        "UserId": 2
      },
      {
        "Id": 1,
        "UserId": 2
      }
    ],
    "PutItems": [
      {
        "Id": 1,
        "UserId": 2
      },
      {
        "Id": 1,
        "UserId": 2
      }
    ],
    "DeleteItems": [
      {
        "Id": 1,
        "UserId": 2
      },
      {
        "Id": 1,
        "UserId": 2
      }
    ]
  },
  "AutomaticSampleRegistrations": {
    "PostItems": [
      {
        "Id": 1,
        "AutomaticSampleRegistrationId": 2
      },
      {
        "Id": 1,
        "AutomaticSampleRegistrationId": 2
      }
    ],
    "PutItems": [
      {
        "Id": 1,
        "AutomaticSampleRegistrationId": 2
      },
      {
        "Id": 1,
        "AutomaticSampleRegistrationId": 2
      }
    ],
    "DeleteItems": [
      {
        "Id": 1,
        "AutomaticSampleRegistrationId": 2
      },
      {
        "Id": 1,
        "AutomaticSampleRegistrationId": 2
      }
    ]
  },
  "SanitationDevice": {
    "Id": 1,
    "Identification": "sample string 2",
    "LicenseGroup": {
      "Id": 1,
      "Identification": "sample string 2",
      "UserReadOnlyAccessCount": 3,
      "UserEditableAccessCount": 4
    },
    "InUse": true,
    "DeviceID": "sample string 4",
    "EditionDateTime": "2025-08-04T18:39:39.3503855Z",
    "EditionUser": {
      "Active": true,
      "CultureId": "sample string 2",
      "Login": "sample string 3",
      "Email": "sample string 4",
      "ServiceCenter": {
        "Active": true,
        "PriceList": {
          "Active": true,
          "Expire": "2025-08-04T18:39:39.3503855Z",
          "ConsiderServiceCenterPriceListFromSampleOrWork": true,
          "Id": 3,
          "Identification": "sample string 4"
        },
        "Id": 2,
        "Identification": "sample string 3"
      },
      "ServiceArea": {
        "ServiceCenter": {
          "Active": true,
          "PriceList": {
            "Active": true,
            "Expire": "2025-08-04T18:39:39.3503855Z",
            "ConsiderServiceCenterPriceListFromSampleOrWork": true,
            "Id": 3,
            "Identification": "sample string 4"
          },
          "Id": 2,
          "Identification": "sample string 3"
        },
        "ExtraTime": 1,
        "ExternalServiceArea": true,
        "Active": true,
        "Id": 3,
        "Identification": "sample string 4"
      },
      "Account": {
        "Complement": "sample string 1",
        "ReferenceKey": "sample string 2",
        "AccountType": {
          "Active": true,
          "RequireRegistryNumber": true,
          "AccountTypeRegistryTypeId": 1,
          "Id": 3,
          "Identification": "sample string 4"
        },
        "PriceList": {
          "Active": true,
          "Expire": "2025-08-04T18:39:39.3503855Z",
          "ConsiderServiceCenterPriceListFromSampleOrWork": true,
          "Id": 3,
          "Identification": "sample string 4"
        },
        "Active": true,
        "RelatedAccountRequired": true,
        "RegistryNumber": "sample string 5",
        "CultureId": "sample string 6",
        "Id": 7,
        "Identification": "sample string 8"
      },
      "SignatureCertFileId": 1,
      "LicenseGroup": {
        "Id": 1,
        "Identification": "sample string 2",
        "UserReadOnlyAccessCount": 3,
        "UserEditableAccessCount": 4
      },
      "ReadOnlyAccess": true,
      "Reserved": true,
      "ServiceAreaId": 1,
      "ExternalUser": "sample string 5",
      "Id": 6,
      "Identification": "sample string 7"
    },
    "UnrestrictedAccessServiceCenter": true,
    "ValidateDateTime": "2025-08-04T18:39:39.3503855Z",
    "ValidateUser": {
      "Active": true,
      "CultureId": "sample string 2",
      "Login": "sample string 3",
      "Email": "sample string 4",
      "ServiceCenter": {
        "Active": true,
        "PriceList": {
          "Active": true,
          "Expire": "2025-08-04T18:39:39.3503855Z",
          "ConsiderServiceCenterPriceListFromSampleOrWork": true,
          "Id": 3,
          "Identification": "sample string 4"
        },
        "Id": 2,
        "Identification": "sample string 3"
      },
      "ServiceArea": {
        "ServiceCenter": {
          "Active": true,
          "PriceList": {
            "Active": true,
            "Expire": "2025-08-04T18:39:39.3503855Z",
            "ConsiderServiceCenterPriceListFromSampleOrWork": true,
            "Id": 3,
            "Identification": "sample string 4"
          },
          "Id": 2,
          "Identification": "sample string 3"
        },
        "ExtraTime": 1,
        "ExternalServiceArea": true,
        "Active": true,
        "Id": 3,
        "Identification": "sample string 4"
      },
      "Account": {
        "Complement": "sample string 1",
        "ReferenceKey": "sample string 2",
        "AccountType": {
          "Active": true,
          "RequireRegistryNumber": true,
          "AccountTypeRegistryTypeId": 1,
          "Id": 3,
          "Identification": "sample string 4"
        },
        "PriceList": {
          "Active": true,
          "Expire": "2025-08-04T18:39:39.3503855Z",
          "ConsiderServiceCenterPriceListFromSampleOrWork": true,
          "Id": 3,
          "Identification": "sample string 4"
        },
        "Active": true,
        "RelatedAccountRequired": true,
        "RegistryNumber": "sample string 5",
        "CultureId": "sample string 6",
        "Id": 7,
        "Identification": "sample string 8"
      },
      "SignatureCertFileId": 1,
      "LicenseGroup": {
        "Id": 1,
        "Identification": "sample string 2",
        "UserReadOnlyAccessCount": 3,
        "UserEditableAccessCount": 4
      },
      "ReadOnlyAccess": true,
      "Reserved": true,
      "ServiceAreaId": 1,
      "ExternalUser": "sample string 5",
      "Id": 6,
      "Identification": "sample string 7"
    },
    "EditionView": "sample string 6"
  }
}

text/html

Sample:
{"ServiceCenters":{"PostItems":[{"Id":1,"ServiceCenterId":2},{"Id":1,"ServiceCenterId":2}],"PutItems":[{"Id":1,"ServiceCenterId":2},{"Id":1,"ServiceCenterId":2}],"DeleteItems":[{"Id":1,"ServiceCenterId":2},{"Id":1,"ServiceCenterId":2}]},"Users":{"PostItems":[{"Id":1,"UserId":2},{"Id":1,"UserId":2}],"PutItems":[{"Id":1,"UserId":2},{"Id":1,"UserId":2}],"DeleteItems":[{"Id":1,"UserId":2},{"Id":1,"UserId":2}]},"AutomaticSampleRegistrations":{"PostItems":[{"Id":1,"AutomaticSampleRegistrationId":2},{"Id":1,"AutomaticSampleRegistrationId":2}],"PutItems":[{"Id":1,"AutomaticSampleRegistrationId":2},{"Id":1,"AutomaticSampleRegistrationId":2}],"DeleteItems":[{"Id":1,"AutomaticSampleRegistrationId":2},{"Id":1,"AutomaticSampleRegistrationId":2}]},"SanitationDevice":{"Id":1,"Identification":"sample string 2","LicenseGroup":{"Id":1,"Identification":"sample string 2","UserReadOnlyAccessCount":3,"UserEditableAccessCount":4},"InUse":true,"DeviceID":"sample string 4","EditionDateTime":"2025-08-04T18:39:39.3503855Z","EditionUser":{"Active":true,"CultureId":"sample string 2","Login":"sample string 3","Email":"sample string 4","ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2025-08-04T18:39:39.3503855Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"},"ServiceArea":{"ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2025-08-04T18:39:39.3503855Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"},"ExtraTime":1,"ExternalServiceArea":true,"Active":true,"Id":3,"Identification":"sample string 4"},"Account":{"Complement":"sample string 1","ReferenceKey":"sample string 2","AccountType":{"Active":true,"RequireRegistryNumber":true,"AccountTypeRegistryTypeId":1,"Id":3,"Identification":"sample string 4"},"PriceList":{"Active":true,"Expire":"2025-08-04T18:39:39.3503855Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Active":true,"RelatedAccountRequired":true,"RegistryNumber":"sample string 5","CultureId":"sample string 6","Id":7,"Identification":"sample string 8"},"SignatureCertFileId":1,"LicenseGroup":{"Id":1,"Identification":"sample string 2","UserReadOnlyAccessCount":3,"UserEditableAccessCount":4},"ReadOnlyAccess":true,"Reserved":true,"ServiceAreaId":1,"ExternalUser":"sample string 5","Id":6,"Identification":"sample string 7"},"UnrestrictedAccessServiceCenter":true,"ValidateDateTime":"2025-08-04T18:39:39.3503855Z","ValidateUser":{"Active":true,"CultureId":"sample string 2","Login":"sample string 3","Email":"sample string 4","ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2025-08-04T18:39:39.3503855Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"},"ServiceArea":{"ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2025-08-04T18:39:39.3503855Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"},"ExtraTime":1,"ExternalServiceArea":true,"Active":true,"Id":3,"Identification":"sample string 4"},"Account":{"Complement":"sample string 1","ReferenceKey":"sample string 2","AccountType":{"Active":true,"RequireRegistryNumber":true,"AccountTypeRegistryTypeId":1,"Id":3,"Identification":"sample string 4"},"PriceList":{"Active":true,"Expire":"2025-08-04T18:39:39.3503855Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Active":true,"RelatedAccountRequired":true,"RegistryNumber":"sample string 5","CultureId":"sample string 6","Id":7,"Identification":"sample string 8"},"SignatureCertFileId":1,"LicenseGroup":{"Id":1,"Identification":"sample string 2","UserReadOnlyAccessCount":3,"UserEditableAccessCount":4},"ReadOnlyAccess":true,"Reserved":true,"ServiceAreaId":1,"ExternalUser":"sample string 5","Id":6,"Identification":"sample string 7"},"EditionView":"sample string 6"}}

Response

SanitationDevicesDetail
NameDescriptionTypeAdditional information
Id

integer

Identification

string

LicenseGroup

LicenseGroupBasic

InUse

boolean

DeviceID

string

EditionDateTime

date

EditionUser

UserBasic

UnrestrictedAccessServiceCenter

boolean

ValidateDateTime

date

ValidateUser

UserBasic

EditionView

string

Response Format

application/json, text/json

Sample:
{
  "Id": 1,
  "Identification": "sample string 2",
  "LicenseGroup": {
    "Id": 1,
    "Identification": "sample string 2",
    "UserReadOnlyAccessCount": 3,
    "UserEditableAccessCount": 4
  },
  "InUse": true,
  "DeviceID": "sample string 4",
  "EditionDateTime": "2025-08-04T18:39:39.3603869Z",
  "EditionUser": {
    "Active": true,
    "CultureId": "sample string 2",
    "Login": "sample string 3",
    "Email": "sample string 4",
    "ServiceCenter": {
      "Active": true,
      "PriceList": {
        "Active": true,
        "Expire": "2025-08-04T18:39:39.3603869Z",
        "ConsiderServiceCenterPriceListFromSampleOrWork": true,
        "Id": 3,
        "Identification": "sample string 4"
      },
      "Id": 2,
      "Identification": "sample string 3"
    },
    "ServiceArea": {
      "ServiceCenter": {
        "Active": true,
        "PriceList": {
          "Active": true,
          "Expire": "2025-08-04T18:39:39.3603869Z",
          "ConsiderServiceCenterPriceListFromSampleOrWork": true,
          "Id": 3,
          "Identification": "sample string 4"
        },
        "Id": 2,
        "Identification": "sample string 3"
      },
      "ExtraTime": 1,
      "ExternalServiceArea": true,
      "Active": true,
      "Id": 3,
      "Identification": "sample string 4"
    },
    "Account": {
      "Complement": "sample string 1",
      "ReferenceKey": "sample string 2",
      "AccountType": {
        "Active": true,
        "RequireRegistryNumber": true,
        "AccountTypeRegistryTypeId": 1,
        "Id": 3,
        "Identification": "sample string 4"
      },
      "PriceList": {
        "Active": true,
        "Expire": "2025-08-04T18:39:39.3603869Z",
        "ConsiderServiceCenterPriceListFromSampleOrWork": true,
        "Id": 3,
        "Identification": "sample string 4"
      },
      "Active": true,
      "RelatedAccountRequired": true,
      "RegistryNumber": "sample string 5",
      "CultureId": "sample string 6",
      "Id": 7,
      "Identification": "sample string 8"
    },
    "SignatureCertFileId": 1,
    "LicenseGroup": {
      "Id": 1,
      "Identification": "sample string 2",
      "UserReadOnlyAccessCount": 3,
      "UserEditableAccessCount": 4
    },
    "ReadOnlyAccess": true,
    "Reserved": true,
    "ServiceAreaId": 1,
    "ExternalUser": "sample string 5",
    "Id": 6,
    "Identification": "sample string 7"
  },
  "UnrestrictedAccessServiceCenter": true,
  "ValidateDateTime": "2025-08-04T18:39:39.3603869Z",
  "ValidateUser": {
    "Active": true,
    "CultureId": "sample string 2",
    "Login": "sample string 3",
    "Email": "sample string 4",
    "ServiceCenter": {
      "Active": true,
      "PriceList": {
        "Active": true,
        "Expire": "2025-08-04T18:39:39.3603869Z",
        "ConsiderServiceCenterPriceListFromSampleOrWork": true,
        "Id": 3,
        "Identification": "sample string 4"
      },
      "Id": 2,
      "Identification": "sample string 3"
    },
    "ServiceArea": {
      "ServiceCenter": {
        "Active": true,
        "PriceList": {
          "Active": true,
          "Expire": "2025-08-04T18:39:39.3603869Z",
          "ConsiderServiceCenterPriceListFromSampleOrWork": true,
          "Id": 3,
          "Identification": "sample string 4"
        },
        "Id": 2,
        "Identification": "sample string 3"
      },
      "ExtraTime": 1,
      "ExternalServiceArea": true,
      "Active": true,
      "Id": 3,
      "Identification": "sample string 4"
    },
    "Account": {
      "Complement": "sample string 1",
      "ReferenceKey": "sample string 2",
      "AccountType": {
        "Active": true,
        "RequireRegistryNumber": true,
        "AccountTypeRegistryTypeId": 1,
        "Id": 3,
        "Identification": "sample string 4"
      },
      "PriceList": {
        "Active": true,
        "Expire": "2025-08-04T18:39:39.3603869Z",
        "ConsiderServiceCenterPriceListFromSampleOrWork": true,
        "Id": 3,
        "Identification": "sample string 4"
      },
      "Active": true,
      "RelatedAccountRequired": true,
      "RegistryNumber": "sample string 5",
      "CultureId": "sample string 6",
      "Id": 7,
      "Identification": "sample string 8"
    },
    "SignatureCertFileId": 1,
    "LicenseGroup": {
      "Id": 1,
      "Identification": "sample string 2",
      "UserReadOnlyAccessCount": 3,
      "UserEditableAccessCount": 4
    },
    "ReadOnlyAccess": true,
    "Reserved": true,
    "ServiceAreaId": 1,
    "ExternalUser": "sample string 5",
    "Id": 6,
    "Identification": "sample string 7"
  },
  "EditionView": "sample string 6"
}

text/html

Sample:
{"Id":1,"Identification":"sample string 2","LicenseGroup":{"Id":1,"Identification":"sample string 2","UserReadOnlyAccessCount":3,"UserEditableAccessCount":4},"InUse":true,"DeviceID":"sample string 4","EditionDateTime":"2025-08-04T18:39:39.3603869Z","EditionUser":{"Active":true,"CultureId":"sample string 2","Login":"sample string 3","Email":"sample string 4","ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2025-08-04T18:39:39.3603869Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"},"ServiceArea":{"ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2025-08-04T18:39:39.3603869Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"},"ExtraTime":1,"ExternalServiceArea":true,"Active":true,"Id":3,"Identification":"sample string 4"},"Account":{"Complement":"sample string 1","ReferenceKey":"sample string 2","AccountType":{"Active":true,"RequireRegistryNumber":true,"AccountTypeRegistryTypeId":1,"Id":3,"Identification":"sample string 4"},"PriceList":{"Active":true,"Expire":"2025-08-04T18:39:39.3603869Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Active":true,"RelatedAccountRequired":true,"RegistryNumber":"sample string 5","CultureId":"sample string 6","Id":7,"Identification":"sample string 8"},"SignatureCertFileId":1,"LicenseGroup":{"Id":1,"Identification":"sample string 2","UserReadOnlyAccessCount":3,"UserEditableAccessCount":4},"ReadOnlyAccess":true,"Reserved":true,"ServiceAreaId":1,"ExternalUser":"sample string 5","Id":6,"Identification":"sample string 7"},"UnrestrictedAccessServiceCenter":true,"ValidateDateTime":"2025-08-04T18:39:39.3603869Z","ValidateUser":{"Active":true,"CultureId":"sample string 2","Login":"sample string 3","Email":"sample string 4","ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2025-08-04T18:39:39.3603869Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"},"ServiceArea":{"ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2025-08-04T18:39:39.3603869Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"},"ExtraTime":1,"ExternalServiceArea":true,"Active":true,"Id":3,"Identification":"sample string 4"},"Account":{"Complement":"sample string 1","ReferenceKey":"sample string 2","AccountType":{"Active":true,"RequireRegistryNumber":true,"AccountTypeRegistryTypeId":1,"Id":3,"Identification":"sample string 4"},"PriceList":{"Active":true,"Expire":"2025-08-04T18:39:39.3603869Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Active":true,"RelatedAccountRequired":true,"RegistryNumber":"sample string 5","CultureId":"sample string 6","Id":7,"Identification":"sample string 8"},"SignatureCertFileId":1,"LicenseGroup":{"Id":1,"Identification":"sample string 2","UserReadOnlyAccessCount":3,"UserEditableAccessCount":4},"ReadOnlyAccess":true,"Reserved":true,"ServiceAreaId":1,"ExternalUser":"sample string 5","Id":6,"Identification":"sample string 7"},"EditionView":"sample string 6"}