Jump to content

Creating Client How To Return Only Client_Id In The Response


lawrence-ytz

Recommended Posts

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...