When don't have contact:
Started scenario with empty id
Request text:
http://192.168.1.18:81/0/ServiceModel/GreetingService.svc/GetContact?PhoneNumber=512340
Response text: {"GetContactResult":{"businessphone":null,"businessphone2":null,"company":null,"customvalue":null,"email":null,"firstname":null,"id":0,"lastname":null,"mobilephone":null,"mobilephone2":null,"url":null}}
Response finished
Variable ContactID set to 0
Variable FirstName set to
Variable LastName set to
Variable CompanyName set to
Variable Email set to
Variable PhoneBusiness set to
Variable PhoneBusiness2 set to
Variable PhoneMobile set to
Variable PhoneMobile2 set to
Variable CustomValue set to
Variable ContactUrl set to
Finished scenario with empty id
Started CreateContactRecord
Request text:
http://192.168.1.18:81/0/ServiceModel/GreetingService.svc/CreateContact
Request message: {"firstname":"New","lastname":"3CX Contact 555-12340","Phone":"555-12340"}
Response text: {"CreateContactResult":{"businessphone":null,"businessphone2":null,"company":null,"customvalue":null,"email":null,"firstname":"New ","id":0,"lastname":null,"mobilephone":"555-12340","mobilephone2":"555-12340","url":null}}
Response finished
Variable ContactID set to 0
Variable FirstName set to New
Variable LastName set to
Variable CompanyName set to
Variable Email set to
Variable PhoneBusiness set to
Variable PhoneBusiness2 set to
Variable PhoneMobile set to 555-12340
Variable PhoneMobile2 set to 555-12340
Variable CustomValue set to
Variable ContactUrl set to
Finished CreateContactRecord
Result obtained