SugarCRM SupportProduct GuidesSugar DeveloperSugar Developer Guide 10.1CookbookWeb ServicesREST APIPHP
This release is only available for SugarCloud customers.

PHP

PHP Examples interacting with the v11 REST API.

Topics

    An PHP example demonstrating how to export a list of records using the v11 /<module>/export/:record_list_id REST GET endpoint.
    A PHP example demonstrating how to filter records using the v11 /<module>/filter REST POST endpoints.
    A PHP example demonstrating how to favorite a record using the v11 <module>/:record/favorite REST PUT API endpoint.
    A PHP example demonstrating how to attach a file to a record using the v11 <module>/:record/file/:field REST POST API endpoint, then retrieve it with the GET endpoint.
    A PHP example demonstrating how to fetch related records using the v11 /<module>/:record/link/:link REST GET endpoints.
    A PHP example demonstrating how to use the CRUD (Create, Read, Update, Delete) endpoints in the REST v11 API.
    A PHP example demonstrating how to follow a record using the v11 /<module>/:record/subscribe REST POST endpoint.
    A PHP example demonstrating how to unfavorite a record using the v11 /<module>/:record/unfavorite REST PUT endpoint.
    A PHP example demonstrating how to unfollow a record using the v11 /<module>/:record/unsubscribe REST DELETE endpoint.
    A PHP example demonstrating how to fetch the most active users for meetings, calls, inbound emails, and outbound emails using the v11 /mostactiveusers REST GET endpoint.
    A PHP example on how to authenticate and logout of the v11 REST API using the /oauth2/token and /oauth2/logout POST endpoints.
    A PHP example demonstrating how to ping using the REST v11 /ping GET endpoint.
    A PHP example demonstrating how to fetch the current users time with the v11 /ping/whattimeisit REST GET endpoint.
    A PHP example demonstrating how to retrieve recently viewed records using the v11 /recent REST GET endpoint.
    A PHP example demonstrating how to globally search for records using the REST v11 /search GET endpoint.
    An PHP example demonstrating how to check for duplicate records using the v11 /<module>/duplicateCheck REST POST endpoint.
    A PHP example demonstrating how to manipulate Quotes and related record data such as ProductBundles, Products, and ProductBundleNotes.
    A PHP example demonstrating how to work with tags using the v11 REST endpoints.

Last modified: 2020-06-17 13:08:13