Converse agora com nosso suporte
Chat com o suporte

Identity Manager 9.3 - API Development Guide

Logging out

You can use the imx/logout/<API project name> API method to log out of the API project.

To do this, use the POST HTTP method to send a request without content.

Defining custom error messages

You can define your own error messages in API methods that are suited to your use case. Use the IRead.NotFoundMessage property to do this.

Example

Method.Define("person")
.FromTable("Person")
.EnableRead()
.With(m => m.NotFoundMessage = MultiLanguageStringData.FromWebTranslations("This identity could not be found."))

Date formats

Date values in requests to change or add objects must be specified in ISO 8601 format in the client's local time zone.

Example

2016-03-19T13:09:08.123Z

Related topics

Avoiding deadlocks

API development includes a lot of asynchronous code with async/await constructs. To avoid deadlocks, use the ConfigureAwait(false) method for every await keyword.

For more information, see here and here.

Documentos relacionados

The document was helpful.

Selecione a classificação

I easily found the information I needed.

Selecione a classificação