Glip Compliance Export in C#
Tags: sdk
Mar 1, 2019 at 5:55pm • 4 replies • 0 likes
hai-nguyen
I want to create Data Export Compliance task but I can't find Rc.Restapi().Glip().DataExport(). I dev on C# with Winform frame work. Please help me !!
4 Answers
I follow you and I get taskId and archiveId. But when I using Rc.Restapi().Glip().DataExport(taskId).Archive(archiveId).Get() I receive error:
Response:
StatusCode: 404, ReasonPhrase: 'Not Found', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
Connection: keep-alive
RoutingKey: SJC11P01
RCRequestId: 8ade8990-3caf-11e9-9acd-005056bba449
Date: Sat, 02 Mar 2019 05:53:45 GMT
Server: nginx
Content-Length: 83
Content-Type: application/json
}
Content: {
"errorCode" : "AGW-404",
"message" : "Resource not found",
"errors" : [ ]
}
Request:
Method: GET, RequestUri: ' https://platform.devtest.ringcentral.com/restapi/v1.0/glip/data-export/238074004-238074004-486026144...', Version: 1.1, Content: <null>, Headers:
{
User-Agent: RingCentral.Net
Authorization: Bearer U0pDMTFQMDFQQVMwMHxBQURiejVrdDM5blBqZ19TLVhhTkFOM1VpZ0N3RGRWMVhjdzBzQzZFYlFZVEtFbnBGTk95cFFWUVQ3ZjB1em9ZVWdSNF9QWWRPMEVYNEhPV3FzbEwwTUtuOTJiWmRXWlJvTkk4RWFEc3FFZ0lVQmgzY3pudlk1OWFBbWVIcmFfcmdxaDdhQ0I5Z3h4WXhuV3ZhcUZpUW1vV2dYbkRfUlFVSmR4eTd2U25rWDM3aXRJdWQ4dnU2dlFab1Zibk5Na0JfOFBrcTVKMHBheFR5N2JSdmNKRHVkWEd8anA2YzNnfElMUnEzZHl0SURsLWJPb3VoQWV1Y3d8QUE
}
I check on the status of an Export Task, I receive "Completed" status. Why message is "Resourcec not found" ?
Response:
StatusCode: 404, ReasonPhrase: 'Not Found', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
Connection: keep-alive
RoutingKey: SJC11P01
RCRequestId: 8ade8990-3caf-11e9-9acd-005056bba449
Date: Sat, 02 Mar 2019 05:53:45 GMT
Server: nginx
Content-Length: 83
Content-Type: application/json
}
Content: {
"errorCode" : "AGW-404",
"message" : "Resource not found",
"errors" : [ ]
}
Request:
Method: GET, RequestUri: ' https://platform.devtest.ringcentral.com/restapi/v1.0/glip/data-export/238074004-238074004-486026144...', Version: 1.1, Content: <null>, Headers:
{
User-Agent: RingCentral.Net
Authorization: Bearer U0pDMTFQMDFQQVMwMHxBQURiejVrdDM5blBqZ19TLVhhTkFOM1VpZ0N3RGRWMVhjdzBzQzZFYlFZVEtFbnBGTk95cFFWUVQ3ZjB1em9ZVWdSNF9QWWRPMEVYNEhPV3FzbEwwTUtuOTJiWmRXWlJvTkk4RWFEc3FFZ0lVQmgzY3pudlk1OWFBbWVIcmFfcmdxaDdhQ0I5Z3h4WXhuV3ZhcUZpUW1vV2dYbkRfUlFVSmR4eTd2U25rWDM3aXRJdWQ4dnU2dlFab1Zibk5Na0JfOFBrcTVKMHBheFR5N2JSdmNKRHVkWEd8anA2YzNnfElMUnEzZHl0SURsLWJPb3VoQWV1Y3d8QUE
}
I check on the status of an Export Task, I receive "Completed" status. Why message is "Resourcec not found" ?
0
https://github.com/ringcentral/RingCentral.Net/blob/master/samples.md#create-data-export-task
RingCentral.Net is the new RingCentral SDK to replace ringcentral-csharp-client. We are going to announce it next week. Please have a try: https://www.nuget.org/packages/RingCentral.Net/
RingCentral.Net is the new RingCentral SDK to replace ringcentral-csharp-client. We are going to announce it next week. Please have a try: https://www.nuget.org/packages/RingCentral.Net/
0
A new Community is coming to RingCentral!
Posts are currently read-only as we transition into our new platform.We thank you for your patience
during this downtime.
Try Workflow Builder
Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!Try RingCentral Workflow Builder