IWsCommonGetContracts Method |
Namespace: Aruba.Cloud.WsCommon
[RBACAllowAttribute] [OperationContractAttribute] WsResult<List<Contract>> GetContracts( GetContractsRequest request )
private static void Test_WsCommon_GetContracts() { using (var client = new WsCommon.WsCommonClient()) { client.ClientCredentials.UserName.UserName = ARU_0000; client.ClientCredentials.UserName.Password = ARU_PSW; var req = new WsCommon.GetContractsRequest() { LanguageIsoCode = "it-IT", ServiceName = "Jelastic" }; var res = client.GetContracts(req); if (res.Success) { foreach (var c in res.Value) { Console.WriteLine( string.Format( "{0} {1} {2} {3} {4} {5} {6} {7} {8} {9}", c.BackEndUri, c.ContractId, c.ContractTypeCode, c.FrontEndUri, c.IsMandatory, c.LanguageIsoCode, c.OrderIndex, c.Text, c.Version, c.ServiceCode)); } } else { throw new Exception(res.ResultMessage); } } Console.ReadLine(); }
GetContractsResponse: {
GetContractsResult: {
ExceptionInfo: [System.String],
ResultCode: 0,
ResultMessage: [System.String],
Success: true,
Value: {
Contract: {
BackEndUri: [System.String],
ContractConditions: [System.String],
ContractId: 209,
ContractTypeCode: CLJE1,
FrontEndUri: [System.String],
IsMandatory: true,
LanguageIsoCode: it-IT,
OrderIndex: 1,
ServiceCode: CL_JE,
Text: Dichiaro di aver preso visione dell'Informativa <a href="##FileURLFrontEnd##" title="" target="_black">[link]</a> sul trattamento dei dati personali resa da Aruba Spa e Jelastic � [corretta ragione sociale] ai sensi dell�Art. 13 Regolamento Europeo 679/2016,
Version: 1.00,
},
Contract: {
BackEndUri: [System.String],
ContractConditions: [System.String],
ContractId: 210,
ContractTypeCode: CLJE2,
FrontEndUri: [System.String],
IsMandatory: true,
LanguageIsoCode: it-IT,
OrderIndex: 2,
ServiceCode: CL_JE,
Text: Presa visione di quanto indicato nell'informativa rilasciata da Aruba Spa e Jelastic S.L. <a href="##FileURLFrontEnd##" title="Clausole per la registrazione dei domini .it" target="_black">[link]</a> acconsento al trasferimento dei dati personali forniti per le finalit� ivi indicate in Paesi terzi situati al di fuori dell'Unione Europea nei quali non � applicato il Regolamento UE 679/2016 (GDPR) e non vi � una decisione di adeguatezza ai sensi dell'art. 45 del GDPR. La manifestazione di tale consenso � libera, ma in sua assenza non si potr� dar seguito all'erogazione delle prestazioni contrattuali.,
Version: 1.00,
},
},
},
},
}