API entity save

From FreeDESK
Revision as of 21:31, 21 August 2012 by Dave (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Entity Save
Call/Mode: entity_save
Description: Save an entity record
Parameters: entity, [fields]
Returned Data: XML success or error

This article details a FreeDESK API call.

Description

This call will update a stored entity record

Using the Call

Pass in the following parameters using GET or POST

  • entity : Entity name
  • [fields] : Field list in the format fieldname=value

For example

api.php?mode=entity_save&entity=customer&customerid=1&firstname=David

Please note that you 'must' pass the keyfield for the entity unmodified for the record to be successfully updated.

Returned Data

XML containing either a XML Operation Confirmation or a FreeDESK error on failure.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox