IWsCommonSetReadNews Method |
Namespace: Aruba.Cloud.WsCommon
[RBACAllowAttribute] [OperationContractAttribute] WsResult SetReadNews( SetReadNewsRequest request )
private static void Test_WsCommon_SetReadNews() { using (var client = new WsCommon.WsCommonClient()) { client.ClientCredentials.UserName.UserName = "ARU-0000"; client.ClientCredentials.UserName.Password = "0123456789"; var res = client.SetReadNews(new WsCommon.SetReadNewsRequest() { SenderType = WsCommon.NewsSenderTypes.Operator, NewsID = 30 }); if (res.Success) { Console.WriteLine("Success"); } else { throw new Exception(res.ResultMessage); } } Console.ReadLine(); }
SetReadNewsResponse: {
SetReadNewsResult: {
ExceptionInfo: [System.String],
ResultCode: 0,
ResultMessage: [System.String],
Success: true,
},
}