public enum StatusCode| None | 0 | No Status Code is applied. This is not an acceptable value. |
| Continue | 100 |
HTTP 100 status: Useful to alert the client for large data bodies that need to be streamed to the server, and that the call isn't finished. This will most likely be used for streaming (live) video and/or audio data. |
| Ok | 200 | HTTP 200 status: Ok represents that the status is good; mostly used for successful validator checks. |
| NoContent | 204 | HTTP 204 status: No content is returned, but the call is Ok (for Api/Web calls) |
| Partial | 206 | HTTP 206 status: Meaning more data will come next |
| InvalidRequest | 400 | HTTP 400 status: Invalid request was send (for Api/Web calls) |
| Unauthorized | 401 |
HTTP 401 status: Will be returned if a logged-in user tries to access items they don't have access to. By default, all unauthorized access attempts will be logged. |
| Unpaid | 402 | Throws an error if a user tries to access a resource they have not paid for. |
| Forbidden | 403 |
HTTP 403 status: Returned if a user tries to retrieve a material they will never have access to. By default, all unauthorized access attempts will be logged. |
| NotFound | 404 |
HTTP 404 status: If a user is not logged in, all pages will return 404, not 401! All hacking attempts consequently also need to return an empty 404. |
| NotAcceptable | 406 | HTTP 406 status: useful for third party developers, in case they send the wrong request headers. |
| Conflict | 409 | HTTP 409 status: Whenever a call conflicts with an existing resource; e.g., trying to upload a file that already exists. |
| Gone | 410 | HTTP 410 status; requested content has been deleted from the server. Also to be used internally as status code if we are trying to access data that has been deleted. |
| PayloadTooLarge | 413 | HTTP 413 status: in case a third party developer sends an insanely large request body |
| TechnicalError | 500 |
HTTP 500 status: In case in the backend a crash occurs. Any and all occurrences of a 500 error are reason for a ticket: user-caused issues should be caught properly. |
| Maintenance | 503 |
HTTP 503 status indicates that the server is currently unavailable (because it is overloaded or down for maintenance). For MobileTrack, this will ONLY be used for maintenance. In other cases a 500 error should be returned. Include a timestamp in the payload when maintenance is expected to be finished. |
| IdNotFilledIn | 1,000 | Id Field was not filled in |
| LabelNotFilledIn | 1,001 | Label Field was not filled in |
| I18NKeyNotFilledIn | 1,002 | Localization Key was not filled in |
| CreatedByInvalid | 1,005 | CreatedBy field has an invalid value |
| ModifiedByInvalid | 1,006 | LastModifiedBy by has an invalid value |
| EmailNotFilledIn | 1,007 | EmailAddress was not filled in |
| EmailIsInvalid | 1,008 | EmailAddress contains an invalid value |
| CompanyIdFieldNotFilledIn | 1,009 | The CompanyDto's Id Field was not filled in |
| PhoneNumberNotFilledIn | 1,010 | PhoneNumber Field was not filled in |
| PhoneNumberIsInvalid | 1,011 | PhoneNumber contains an invalid value |
| AddressFieldNotFilledIn | 1,012 | IHasPhysicalAddress properties were not filled in |
| AddressFieldIsInvalid | 1,013 | IHasPhysicalAddress properties contain an invalid value |
| LocaleNotSet | 1,014 | Localization was not set |
| LocaleIsIncorrect | 1,015 | Localization key is invalid |
| PayloadNotSet | 1,016 | Payload (for ApiResult models) was left empty |
| InvalidDateTime | 1,017 | DateTime field contained an invalid value |
| LatitudeNotFilledIn | 1,018 | Latitude field for Gps Fix was left empty. If no Latitude/Longitude value was given, leave the entire Gps fix empty! |
| LongitudeNotFilledIn | 1,019 | Longitude field for Gps Fix was left empty. If no Latitude/Longitude value was given, leave the entire Gps fix empty! |
| DomainReferenceNotFilledIn | 1,021 | Domain Reference Field was left empty |
| LatitudeOutOfRange | 1,022 | Latitude field for GPS fix has an invalid value. Valid latitudes are expressed as an angle that ranges from -90 to +90 degrees. |
| LongitudeOutOfRange | 1,023 | Longitude field for GPS fix has an invalid value. Valid longitudes are expressed as an angle that must be 0 or greater, and less than 360 degrees. |
| FileContentTypesNotFilledIn | 1,024 | File Content Type was not set |
| FileByteArrayEmpty | 1,025 | File Byte Array was left empty |
| FileSizeNotEqualToByteArraySize | 1,026 | Byte Array size was not equal to promised File Size Field! |
| ValueCannotBeLessThanZero | 1,027 | This int / float value cannot be less than zero. |
| HeadingMustBeBetweenZeroAndThreeSixty | 1,028 | A Heading must be between 0 and 359.99999 |
| CommentTooLarge | 1,030 | Entered comment/remarks was too large |
| LifeSpanIdNotFilledIn | 1,031 | The LifeSpanId was not filled in! |
| DeviceIdNotFilledIn | 1,032 | Device ID Field not filled in |
| ImeiNotFilledIn | 1,033 | Imei Field not filled in |
| TextContainsSpecialCharacters | 1,034 | Text cannot contain special characters! |
| TextStartsOrEndsWithWhiteSpace | 1,035 | Text cannot start or end with whitespace. Trim() them first! |
| CountryCodeNotFilledIn | 1,036 | Country Code (Alpha2) was not filled in |
| CountryCodeIsInvalid | 1,037 | Entered Country Code (Alpha2) was of an invalid value |
| FirstNameNotFilledIn | 1,038 | First name field (usually for accounts) was not filled in |
| FirstNameInvalid | 1,039 | Entered FirstName field was of an invalid value |
| LastNameNotFilledIn | 1,040 | LastName field (usually for accounts) was not filled in |
| LastNameInvalid | 1,041 | Entered LastName field was of an invalid value |
| ItemLacksAssignedEnvironment | 1,042 | Item has no main environment assigned to it |
| TextTooShort | 1,043 | The entered string by the user has too few characters assigned to it. |
| ApiKeyIsEmpty | 1,044 | Key in token object is left empty |
| MapMarkerLabelIsEmpty | 1,045 | MapMarkerDto label is left empty. |
| ApiMessageNotFilledIn | 1,046 | Api status message is left empty |
| AccountFieldNotFilledIn | 1,047 | AccountId in item is left empty |
| DeviceTypeNotFilledIn | 1,048 | Device Type field in item is left empty |
| GpsLocationIsInvalid | 1,049 | GeoLocation is invalid. |
| ImeiCodeAlreadyUsed | 1,050 | Imei Code already used previously |
| TextContainsDigits | 1,051 | Text contains digits where this is not allowed. |
| NullableColorCannotBeTransparent | 1,052 |
If a Color is Nullable, then it cannot be transparent. Then it should just be |
| CreatedAtInvalid | 1,053 | CreatedAt field has an invalid value |
| LastModifiedAtInvalid | 1,054 | LastModifiedAt field has an invalid value |
| DependentOnNotFilledIn | 1,055 | DependentOn can be if not filled in, but not Empty. |
| ColorNotFilledIn | 1,056 | A field requiring a Color (or String hex, Bootstrap icon color, etc.) was not filled in. |
| PortTypeNotFilledIn | 1,057 | A property of type ActionFlowPortType was not filled in. |
| ParameterTypeNotFilledIn | 1,058 | A property of type ParameterType was not filled in. |
| PortIdNotFilledIn | 1,059 | A reference to a PortDto was not filled in. |
| EventTypeNotFilledIn | 1,060 | A property of type EventType was not filled in |
| IconNotFilledIn | 1,061 | Icon field not filled in. (usually a representation of a Bootstrap IconName) |
| NodeTypeNotFilledIn | 1,062 | A property of type ActionFlowNodeType was not filled in |
| ActionFlowIdNotFilledIn | 1,063 | A reference to an ActionFlowDefinitionDto was not filled in. |
| EmailAlreadyUsed | 1,064 | Thrown if another account, regardless of CompanyDto, has the same email address. |
| ItemIsLocked | 1,065 | The user is trying to perform an action which isn't allowed because the item is in a locked state. For example: adding a AccountDto to a locked CompanyDto or EnvironmentDto |
| ParameterNoLongerExists | 1,066 | Invoked when a AlertRuleDto has a parameter in use that has since been deleted from the ActionFlowDefinitionDto. |
| ImageStringNotFilledIn | 1,067 | Image string is empty |
| LanguageCodeNotFilledIn | 1,068 | Language code is empty |
| ImeiInvalid | 1,069 | IMEI code is invalid |
| MapMarkerNotFilledIn | 1,070 | Id reference not filled in. |
| MacAddressInvalid | 1,071 | MAC address is invalid |
| AlertRuleNotFilledIn | 1,072 | Id reference not filled in. |
| CompanyNotFilledIn | 1,073 | CompanyId reference not filled in. |
| ListOfDeviceIsEmpty | 1,074 | DeviceIds reference not filled in. |
| ListOfEventIsEmpty | 1,075 | Events reference not filled in. |
| AlertTypeNotFilledIn | 1,076 | AlertTypeId reference not filled in. |
| TriggerDelayOutOfRange | 1,077 | TriggerDelayInSeconds reference not filled in. |
| ConnectorTypeNotFilledIn | 1,078 | ConnectorType reference not filled in. |
| ConnectorConfigNotFilledIn | 1,079 | Configuration reference not filled in. |
| ClientCertificateNotFilledIn | 1,080 | ClientCertificate reference not filled in. |
| ClientCertificatePasswordNotFilledIn | 1,081 | ClientCertificatePassword reference not filled in. |
| UserNameNotFilledIn | 1,082 | UserName reference not filled in. |
| AlertConfigPasswordNotFilledIn | 1,083 | Password reference not filled in. |
| SecretNotFilledIn | 1,084 | Secret reference not filled in. |
| CustomParametersNotFilledIn | 1,085 | CustomParameters reference not filled in. |
| CustomEventMappingNotFilledIn | 1,086 | CustomEventMapping reference not filled in. |
| EndpointNotFilledIn | 1,087 | Endpoint reference not filled in. |
| LastSequenceNumberNotFilledIn | 1,088 | LastSequenceNumber reference not filled in. |
| DeviceMessageNotFilledIn | 1,089 | DeviceMessageId reference not filled in. |
| DeliveredAtNotFilledIn | 1,090 | DeliveredAt reference not filled in. |
| CompletedAtNotFilledIn | 1,091 | CompletedAt reference not filled in. |
| LastUpdatedNotFilledIn | 1,092 | LastUpdated reference not filled in. |
| PayloadNotFilledIn | 1,093 | MessageSent reference not filled in. |
| MacAddressAlreadyUsed | 1,094 | If a MacAddress is already in use by another device, this error will be thrown. |
| HttpStatusCodeNotFilledIn | 1,095 | HttpStatusCode reference not filled in. |
| AlternativeConnectionStringAlreadyUsed | 1,096 | If an alternative connection string is already used by another DeviceDto, this error will be thrown. |
| ConnectionIdNotFilledIn | 1,097 | If a connection ID of a DevicePayloadDto is not filled in, this error will be thrown. |
| BatteryLevelOutOfRange | 1,098 | If a battery level of a DevicePayloadDto not found, this error will be thrown. |
| XmlInvalid | 1,100 | XML content is invalid or malformed. |
| UpdateIrrelevant | 1,200 | Updating this object is irrelevant; they are exactly the same. |
| UpdateNotAllowed | 1,201 | Certain fields or items cannot be updated |
| DeleteNotAllowed | 1,202 | Cannot delete this object |
| StatusNotSet | 1,203 | Thrown if an object that is required to have a StatusCode doesn't have one assigned. |
| InvalidDeletionThreshold | 1,204 | Thrown if a ItemsDeletionThresholdInDays is higher than SoftDeletedItemsDaysUntilPermanent or 365 days. |
| AccountNotFoundOrNoRightsToView | 1,500 | AccountDto not found (or you do not own this object or have the permissions to view it) |
| EnvironmentNotFoundOrNoRightsToView | 1,501 | EnvironmentDto not found (or you do not own this object or have the permissions to view it) |
| DeviceNotFoundOrNoRightsToView | 1,502 | DeviceDto not found (or you do not own this object or have the permissions to view it) |
| MapMarkerNotFoundOrNoRightsToView | 1,503 | MapMarkerDto not found (or you do not own this object or have the permissions to view it) |
| EnvironmentIsRecursive | 1,504 | The user is trying to assign a parent environment to an environment that is already a child of the current environment. |
| KmlLacksPlacemarks | 1,550 | No Placemarks were provided in the submitted KML file |
| KmlNonExistingStyleReferenced | 1,551 | A style was requested that does not exist |
| ImageWidthTooSmall | 1,600 | Image Width is too small (under 16 pixels) |
| ImageHeightTooSmall | 1,601 | Image Height is too small (under 16 pixels) |
| ImageTypeNotSupported | 1,602 | Image type is not supported. |
| PasswordNotFilledIn | 1,700 | User didn't fill in the Password field |
| EncryptedPasswordLengthWrong | 1,701 | EncryptedPasswordDto length was not of the required precise length |
| SaltLengthWrong | 1,702 | Entered Salt Length for Encrypted Password was of an incorrect length |
| PasswordMustContainLowercase | 1,703 | Password must contain a lowercase character! |
| PasswordMustContainUppercase | 1,704 | Password must contain an uppercase character! |
| PasswordMustContainDigit | 1,705 | Password must contain a digit! |
| PasswordMustContainSpecialCharacter | 1,706 | Password must contain a special character! |
| PasswordInvalidSize | 1,707 | Password must contain a special character! |
| CultureLeftEmpty | 1,800 | CultureInfo field is left empty |
| IconEmptyGuid | 1,802 | Icon field is not , but contains Empty. |
| LogoEmptyGuid | 1,803 | Logo field is not , but contains Empty. |
| OnlyOneInput | 1,804 | When the user filled in multiple inputs fields, but only one was expected. |
| DateNotFilledIn | 1,900 | A DateTime value was not filled in. |
| LogCauseInvalid | 2,000 | The Cause property value wasn't the permitted 0, 1 or 2 values. |
| MapMarkerLacksPoints | 2,100 | A MapMarkerDto's Points must be if there are no points, not an empty list. |
| IpAddressNotFilledIn | 2,200 | A IpAddressStatusDto's Label property was not filled in |
| IpAddressLocationNotFilledIn | 2,201 | A IpAddressStatusDto's LocationName property was not filled in |
| RoleLacksPermissions | 2,300 | Thrown if a RoleDto is created without permissions while also not being a superuser. |
| RoleAssignmentNotFilledIn | 2,301 | Thrown is a RoleId is not filled in |
| ItemBelongsToAnotherCompany | 2,302 | Thrown if an item is assigned to a CompanyDto and a company-agnostic object or object belonging to another company is trying to access it. |
| CompanyAgnosticItemTriesToAccessCompanyItem | 2,303 | Thrown if a company-agnostic object is trying to access a company-specific object. For example; if a ActionFlowDefinitionDto's parameter is trying to access a DeviceDto as its default value. |
| ShouldOnlyContainDigits | 2,304 | The string should only contain digits. |
| InvalidLength | 2,305 | The string has an invalid Length |
| SimCardInvalid | 2,306 | Invalid SimCardNumber input. |