I'm trying to use the Tooling API in order to create new sandboxes via a Console application in .NET, with C#.
So far I've been able to authenticate with the partner wsdl and perform overall queries, etc. The problem is I can't find barely any information on the Tooling API except the offical SOAP docs and even less code samples which try to do anything.
As far as I've understood, according to the official docs I need to:
- Create a SandboxInfo record.
- To find the status of a sandbox after it is enqueued, query SandboxProcess for a given SandboxInfoId field to find the latest SandboxProcess record. The value of Completed in Status indicates that the creation process is finished.
But how can I do this in C#? If you could guide me through the flow and point me to some classes, I'm sure I can find my way :)