forked from JoseFuentesDevAp/CRMWebApiExample
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
15 lines (12 loc) · 743 Bytes
/
Program.cs
File metadata and controls
15 lines (12 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ClientConfiguration clientConfiguration = ClientConfiguration.LoadFromXml(@"C:\Users\JoseFuentesLopez\Documents\Projects\CRMCapacitacion\CRMWebApiExample\conf.xml");
AuthHelper authHelper = new AuthHelper(){
clientConfiguration = clientConfiguration
};
string token = await authHelper.getToken();
//ExecTest.CreateAccount(token, clientConfiguration.Resource);
//ExecTest.UpdateAccount(token, clientConfiguration.Resource);
//ExecTest.DeleteAccount(token, clientConfiguration.Resource);
//ExecTest.getFetchXML(token, clientConfiguration.Resource);
//ExecTest.getAccountId(token, clientConfiguration.Resource);
//ExecTest.GetAccounts(token, clientConfiguration.Resource);
ExecTest.createSalesOrder(token, clientConfiguration.Resource);