SOAP – Example of use from Visual Studio
FollowConfiguration
To use the APIs from Visual Studio:
- In the Solution Explorer, right-click on the project and select Add > Service Reference...
- In the Address field, enter the WSDL URL previously generated, replacing the API_KEY with the key you obtained.
- Click GO to explore the methods exposed by the API.
- Assign a name to the namespace and click OK.
Usage
To pass values to the APIs, you must set the property ending with *Specified of the related field, available in the *Data object of the called method.
The example below shows how to pass the value of the CVID:
.CVID = 10000;
.CVCVIDSpecified = true;Alternatively, you can set the field (in this case, CVID) as required in the view used as the API method. In this case, it is no longer necessary to set the value CVCVIDSpecified = true;
Comments
0 comments
Please sign in to leave a comment.