Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. class Program
  2. {
  3. static void Main(string[] args)
  4. {
  5.  
  6. ArticleServiceClient client = new ArticleServiceClient();
  7.  
  8. client.ClientCredentials.UserName.UserName = "типа логин";
  9. client.ClientCredentials.UserName.Password = "типа пароль";
  10.  
  11. ozon.api.subagent.RequestPostingReadyForGiveoutListGet req = new ozon.api.subagent.RequestPostingReadyForGiveoutListGet();
  12. req.Login = "типа логин";
  13. req.Password = "типа пароль";
  14. req.ContractID = 23342344234; // типа contract ID
  15.  
  16.  
  17. PostingReadyForGiveoutListGetResponseBody res = new PostingReadyForGiveoutListGetResponseBody();
  18. res.PostingReadyForGiveoutListGetResult = client.PostingReadyForGiveoutListGet(req);
  19.  
  20. Console.WriteLine(res.PostingReadyForGiveoutListGetResult.ResultMessage);
  21.  
  22. client.Close();
  23.  
  24. Console.ReadLine();
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement