scalar api reference c#