API entity save
From FreeDESK
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.