POST api/credentials/emailsync/usernamepassword

Creates or Updates Email Sync Security Credentials This also uses the credentials to do a quick check and see if they are working it will throw an internal server error if there is an issue with the connection but this may be the server address (set in admin centre) or the username/password

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.External.Api.Credentials.Command.UsernamePasswordCredentialDataContract
NameDescriptionTypeAdditional information
Username

string

None.

Password

string

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Password": "sample string 2"
}

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.