GET api/enableIntegrationWithPeertime?newAppKeyRequired={newAppKeyRequired}
Enable integration with Peertime.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
newAppKeyRequired |
Indicate if regenerating a new app key is required. |
integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
Enable integration with Peertime.
API_Data_IntegrationSettingsName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | IntegrationSettings |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": { "Enabled": true, "AppKey": "sample string 2", "AuthorizationUrl": "api/integration/auth?appKey=sample string 2" } }
application/xml, text/xml
Sample:
<API_Data_IntegrationSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.SystemManage"> <d2p1:AppKey>sample string 2</d2p1:AppKey> <d2p1:Enabled>true</d2p1:Enabled> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_IntegrationSettings>