How to Create An Application Key. Click on the Accounts API Demo Tool link. Select the createDeveloperAppKeys operation from the list of Operations on the top left hand side of the demo tool. Enter a sessionToken in the 'Session Token (ssoid)' text box. You can find instructions on how to find your ...
You are attempting to create an Application Key for an account that has already had them assigned. Each account is assigned with a unique set of Application Keys; once you have successfully created your set of Application Keys you cannot create additional keys.
I am trying to create an app key via the visualiser to use the new API, but I can't get it working. Below is my console log when calling createDeveloperAppKeys and getDeveloperAppKeys from the visualiser.
Select the createDeveloperAppKeys operation from the list of Operations on the top left hand side of the visualiser. Login to www.betfair.com via a separate browser tab and refresh the page to automatically input the Session Token field into the Session Token (ssoid) field. Enter your Application Name (this must be unique) in the 'Request' column.
curl -k -i -H "Accept: application/json" -H "X-Application: AppKey" -H "X-Authentication: <token>" https://identitysso.betfair.com/api/keepAlive You can use Keep Alive to extend the session timeout period.
This is the main, brain code snippet of the json-rpc calls all methods go through here, initially we create a request object, which contains necessary headers. the appkey and session token are in the custom headers which gets instantiated when the client is instantiated., the invoke methods actually serializes the request objects makes the request, and upon receiving the response, de-serialize it into the response object specified as the T using generics.
WebRequest.Create("https://identitysso.betfair.com/api/certlogin") request.Method = "POST" request.ContentType = "application/x-www-form-urlencoded" request.Headers.Add("X-Application: YOUR_APPKEY ") request.ClientCertificates.Add(cert) request.Accept = "application/json" Using dataStream As Stream = request.GetRequestStream()