GET api/sync/emailsyncoauthurl/{personId}/{provider}
Get the oauth url for the email sync service from a provider Processes this sync API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| personId |
The unique identifier of the person resource. |
integer |
Required |
| provider |
The provider value supplied with the request. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
AuthUrlDataContract
AuthUrlDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| Url |
The url value. |
string |
None. |
| ExternalProviderEnabled |
Indicates whether external provider enabled is true. |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Url": "sample string 1",
"ExternalProviderEnabled": true
}