Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

todoidnumberThe ID of the todo to add the photo to.
titlestringA file title (not a file name)
imagedatabinaryA binary stream containing photo data in jpeg format.
onxnetboolean1 if the file should be visible on the extranet
createdatedateWhen the photo was taken
createtimetimeWhen the photo was taken
tagscollection [number]An optional collection of tags to attach to this image (tag IDs)

Output


Nonedocument-document-A document object

AddPhotoToCustomer

Add a photo file to a company.

...

customeridnumberThe ID of the customer to add the photo to.
titlestringA file title (not a file name)
imagedatabinaryA binary stream containing photo data in jpeg format.
onxnetboolean1 if the file should be visible on the extranet
createdatedateWhen the photo was taken
createtimetimeWhen the photo was taken
tagscollection [number]An optional collection of tags to attach to this image (tag IDs)

Output


Nonedocument-document-A document object

AddPhotoToTool

Add a photo file to a tool/equipment.

...

toolidnumberThe ID of the tool to add the photo to.
titlestringA file title (not a file name)
imagedatabinaryA binary stream containing photo data in jpeg format.
onxnetboolean1 if the file should be visible on the extranet
createdatedateWhen the photo was taken
createtimetimeWhen the photo was taken
tagscollection [number]An optional collection of tags to attach to this image (tag IDs)

Output


Nonedocument-document-A document object

AddFileToTodo

Add a file to a task.

...