Advertisement
RyanFarley

Untitled

Oct 2nd, 2017
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.34 KB | None | 0 0
  1. var client = new SDataClient("http://localhost/sdata/slx/dynamic/-/")
  2. {
  3.     UserName = "admin",
  4.     Password = ""
  5. };
  6.  
  7. var account = new Account
  8. {
  9.     AccountName = "Test1234567890",
  10.     Type = "Test",
  11.     CAdditionalInfo = new CAdditionalInfo
  12.     {
  13.         Date_of_birth = new DateTime(1978, 10, 26, 0, 0, 0),
  14.         Do_not_call = false
  15.     }
  16. };
  17.  
  18. client.Post(account);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement