Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function write(), nothing is happening. What parameters is needed ? #174

Open
Jedguy opened this issue Feb 28, 2022 · 1 comment
Open

Function write(), nothing is happening. What parameters is needed ? #174

Jedguy opened this issue Feb 28, 2022 · 1 comment

Comments

@Jedguy
Copy link

Jedguy commented Feb 28, 2022

Hi all,

Thanks you for this API, i needed an API for my laravel website and you answered my request.

I've just a problem to create a folder or a file. My list in 'Documents' is a list of document (Document's name : "A1"), and when i want create an object i do : $sp->write('Documents',array('Title'=>'TEST API', 'id'=> '4')); , nothing is happening.

I don't understand what parameters i need to put on function write() for create a folder.

@Jedguy
Copy link
Author

Jedguy commented Mar 1, 2022

For example,

When i display one folder with sp ->read('Documents, 1), i have an array with 17 parameters :
array(17) { ["linkfilename"]=> string(24) "00 - Template rep" ["modified"]=> string(19) "2022-02-16 10:49:21" ["editor"]=> ... ["fileref"]=> string(73) "projecturl" }.
Should I write each parameter with the write function?
And with the same writing as you or what the function read() displays to me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant