POST api/v2/SanitationDevices
Request
URI Parameters
Body Parameters
SanitationDeviceNew| Name | Description | Type | Additional 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": "2026-03-18T19:42:43.8090687Z",
"EditionUser": {
"Active": true,
"CultureId": "sample string 2",
"Login": "sample string 3",
"Email": "sample string 4",
"ServiceCenter": {
"Active": true,
"PriceList": {
"Active": true,
"Expire": "2026-03-18T19:42:43.8090687Z",
"ConsiderServiceCenterPriceListFromSampleOrWork": true,
"Id": 3,
"Identification": "sample string 4"
},
"Id": 2,
"Identification": "sample string 3"
},
"ServiceArea": {
"ServiceCenter": {
"Active": true,
"PriceList": {
"Active": true,
"Expire": "2026-03-18T19:42:43.8090687Z",
"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": "2026-03-18T19:42:43.8090687Z",
"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": "2026-03-18T19:42:43.8090687Z",
"ValidateUser": {
"Active": true,
"CultureId": "sample string 2",
"Login": "sample string 3",
"Email": "sample string 4",
"ServiceCenter": {
"Active": true,
"PriceList": {
"Active": true,
"Expire": "2026-03-18T19:42:43.8090687Z",
"ConsiderServiceCenterPriceListFromSampleOrWork": true,
"Id": 3,
"Identification": "sample string 4"
},
"Id": 2,
"Identification": "sample string 3"
},
"ServiceArea": {
"ServiceCenter": {
"Active": true,
"PriceList": {
"Active": true,
"Expire": "2026-03-18T19:42:43.8090687Z",
"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": "2026-03-18T19:42:43.8090687Z",
"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":"2026-03-18T19:42:43.8090687Z","EditionUser":{"Active":true,"CultureId":"sample string 2","Login":"sample string 3","Email":"sample string 4","ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2026-03-18T19:42:43.8090687Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"},"ServiceArea":{"ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2026-03-18T19:42:43.8090687Z","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":"2026-03-18T19:42:43.8090687Z","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":"2026-03-18T19:42:43.8090687Z","ValidateUser":{"Active":true,"CultureId":"sample string 2","Login":"sample string 3","Email":"sample string 4","ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2026-03-18T19:42:43.8090687Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"},"ServiceArea":{"ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2026-03-18T19:42:43.8090687Z","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":"2026-03-18T19:42:43.8090687Z","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| Name | Description | Type | Additional 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": "2026-03-18T19:42:43.8490657Z",
"EditionUser": {
"Active": true,
"CultureId": "sample string 2",
"Login": "sample string 3",
"Email": "sample string 4",
"ServiceCenter": {
"Active": true,
"PriceList": {
"Active": true,
"Expire": "2026-03-18T19:42:43.8490657Z",
"ConsiderServiceCenterPriceListFromSampleOrWork": true,
"Id": 3,
"Identification": "sample string 4"
},
"Id": 2,
"Identification": "sample string 3"
},
"ServiceArea": {
"ServiceCenter": {
"Active": true,
"PriceList": {
"Active": true,
"Expire": "2026-03-18T19:42:43.8490657Z",
"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": "2026-03-18T19:42:43.8490657Z",
"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": "2026-03-18T19:42:43.8490657Z",
"ValidateUser": {
"Active": true,
"CultureId": "sample string 2",
"Login": "sample string 3",
"Email": "sample string 4",
"ServiceCenter": {
"Active": true,
"PriceList": {
"Active": true,
"Expire": "2026-03-18T19:42:43.8490657Z",
"ConsiderServiceCenterPriceListFromSampleOrWork": true,
"Id": 3,
"Identification": "sample string 4"
},
"Id": 2,
"Identification": "sample string 3"
},
"ServiceArea": {
"ServiceCenter": {
"Active": true,
"PriceList": {
"Active": true,
"Expire": "2026-03-18T19:42:43.8490657Z",
"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": "2026-03-18T19:42:43.8490657Z",
"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":"2026-03-18T19:42:43.8490657Z","EditionUser":{"Active":true,"CultureId":"sample string 2","Login":"sample string 3","Email":"sample string 4","ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2026-03-18T19:42:43.8490657Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"},"ServiceArea":{"ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2026-03-18T19:42:43.8490657Z","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":"2026-03-18T19:42:43.8490657Z","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":"2026-03-18T19:42:43.8490657Z","ValidateUser":{"Active":true,"CultureId":"sample string 2","Login":"sample string 3","Email":"sample string 4","ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2026-03-18T19:42:43.8490657Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"},"ServiceArea":{"ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2026-03-18T19:42:43.8490657Z","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":"2026-03-18T19:42:43.8490657Z","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"}