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

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

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.