System APIs
Creates a new error-message. An english error-message is required.
HTTP method | POST |
URI | https://api.rambase.net/system/error-messages |
Supported formats | Xml, Html, Json (ex. $format=json) |
Successful HTTP status code | 201 |
API resource identifier | 133, version 6 |
The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.
HttpStatusCode
The HTTP Status Code that will be used when sending out the error-message (ex. 500, 404)
This field is optional.
>{Integer}</HttpStatusCode>Message
The english error-message
This field is optional.
>{String}</Message>Namespace
Namespace of the error message. Used for categorization only.
This field is optional.
>{String}</Namespace>TechnicalDescription
A techinical description describing causes of the error and solutions to the problem
This field is optional.
>{String}</TechnicalDescription>Language
Required/mandatory field
The language of the translated error-message
>{String}</Language>TranslatedMessage
Required/mandatory field
The translated error-message
>{String}</TranslatedMessage>HttpStatusCode
The HTTP Status Code that will be used when sending out the error-message (ex. 500, 404)
This field is optional.
": "{Integer}",Message
The english error-message
This field is optional.
": "{String}",Namespace
Namespace of the error message. Used for categorization only.
This field is optional.
": "{String}",TechnicalDescription
A techinical description describing causes of the error and solutions to the problem
This field is optional.
": "{String}",Language
Required/mandatory field
The language of the translated error-message
": "{String}",TranslatedMessage
Required/mandatory field
The translated error-message
": "{String}"The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.
$access_token String, optional | After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time. |
$db String, optional | Set the database/company for the request |
$useMinimumVersion Integer, optional | Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information. |
$lang String, optional | Specifies the language used in the response, following the 3-letter ISO-639-1 [lll] |
Read more about filters and sorting on how to use filter parameters and named filters.
Read more about filters and sorting on how to use sortable parameters
Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields.
Please note that some fields may be removed from the response, based on user roles/duties/permissions.
ErrorMessageId
Error message identifier
>{Integer}</ErrorMessageId>Status
Object status of the errormessage
>{String}</Status>Namespace
Namespace of the error message. Used for categorization only.
>{String}</Namespace>HttpStatusCode
The HTTP Status Code that will be used when sending out the error-message (ex. 500, 404)
>{Integer}</HttpStatusCode>Message
The english error-message
>{String}</Message>TechnicalDescription
A techinical description describing causes of the error and solutions to the problem
>{String}</TechnicalDescription>IsChanged
Tells whether this object has been changed locally and are ready to be committed to the Repository
>{Boolean}</IsChanged>ChangedBy
EmployeeId of the employee making the change
>{Integer}</ChangedBy>Language
The language of the translated error-message
>{String}</Language>TranslatedMessage
The translated error-message
>{String}</TranslatedMessage>ErrorMessageId
Error message identifier
": "{Integer}",Status
Object status of the errormessage
": "{String}",Namespace
Namespace of the error message. Used for categorization only.
": "{String}",HttpStatusCode
The HTTP Status Code that will be used when sending out the error-message (ex. 500, 404)
": "{Integer}",Message
The english error-message
": "{String}",TechnicalDescription
A techinical description describing causes of the error and solutions to the problem
": "{String}",IsChanged
Tells whether this object has been changed locally and are ready to be committed to the Repository
": "{Boolean}",ChangedBy
EmployeeId of the employee making the change
": "{Integer}",Language
The language of the translated error-message
": "{String}",TranslatedMessage
The translated error-message
": "{String}"
List of available operations/actions for this resource.
See the operations documentation for more information about API operations.
Possible error codes the response might return:
Error 101015 HTTP 404 | Permission not found |
Error 101420 HTTP 404 | Setting definition not found |
Error 100037 HTTP 400 | Message is required when language is specified |
Error 100038 HTTP 400 | Invalid language: {0} |