lawrence-ytz Posted November 24, 2014 Report Share Posted November 24, 2014 I'm having trouble accessing only the value for client_id in the response, is there a way to return and store only the client_id of the response in a string? Quote Link to comment Share on other sites More sharing options...
Tyson Posted November 24, 2014 Report Share Posted November 24, 2014 I'm having trouble accessing only the value for client_id in the response, is there a way to return and store only the client_id of the response in a string? I'm not sure I understand the question. If you take a look at the API, the return values are listed for each method. e.g. Clients::create would return an object, of which the client ID is the "id" property of the resulting object. Clients:add simply returns the integer ID of the client. Quote Link to comment Share on other sites More sharing options...
lawrence-ytz Posted November 26, 2014 Author Report Share Posted November 26, 2014 solved, typo issue Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.