Jump to content

Add Contact sample needed


pjhacker

Recommended Posts

What are you confused about exactly? The permission descriptions should be pretty clear.

If you're unsure about any particular option I'd recommend logging in as the sub-account and seeing which pages they can/can't access.

 

John,

 

I am using the api to create a contact and I am unclear on what the array of values should be that gets passed in for permissions. I basically want the contact to recieve general emails and open/edit support tickets. Is the array that gets passed in numeric based? Is it text based? I am unclear on what values get passed in.

Link to comment
Share on other sites

Still having this issue.

 

I understand what permissions values there are, the question is the format that needs to be passed into the API. I'm writing a .NET app that calls the WHMCS API. To collect values to pass in, I basically use a name value pair. Everything works when I call the Add Contact API method except setting permissions, I think because I don't have the format of the string for permissions correct. Can you please help shed some light on that?

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated