Rest API
3 min
with the rest api, a new interface to perform data operations on the business objects of is available a set of intuitive and customer definable apis allow you to automate many of your day to day operations to know more about the supported apis in , click the respective links create business object docid 9ceuqpxdsocgdad04csmb create out of the box or custom business objects of your choice get business objects docid 5obizoohwuhwzbok6khpo fetch all or specific business objects such as by recid , in a particular order or number, by filtering out or by searching by keyword update business object docid\ ahuom5b rgbxhq s48mu4 update a specific business object delete business object docid\ clugeql8taw7dy5q eiaz delete a specific business object search docid\ jctjhycpz99czxe1g2cms search business objects by a keyword or a saved search relationship apis docid\ rte3hja1f35jncxtqi s1 you can link multiple business objects, get related business objects or delete related business objects that are linked to a particular business object attachment docid 6wg2xn b21bjzsclho qe upload or delete files to a business object quick actions docid\ gevizuac8c06h5qzg we0 perform quick action such as close, clone, or resolve a business object templates docid 16 ofa5bi87j3sjj2miwo apply template to a business object metadata docid\ pkocqfv2d86th3l22mggy fetches details such as the list of fields, relationships, fields of related business objects, saved search names, template names and quick action names for a business object rest api v2 rest api v2 introduces support for nested filters using brackets, enabling more complex and precise queries this enhancement improves logical grouping and filter mapping for advanced query conditions endpoint example https //xyz api example com/api/odatav2/businessobject/employees key improvements nested filter support rest api v2 implementation supports logical grouping with brackets, allowing advanced query conditions query examples basic filter query $filter=firstname eq 'allen' result firstname = 'allen' filter with multiple conditions query $filter=firstname eq 'allen' and lastname eq 'davis' result firstname = 'allen' and lastname = 'davis' nested filter query $filter=firstname eq 'allen' and (lastname eq 'davis' or lastname eq 'cope') result firstname = 'allen' and (lastname = 'davis' or lastname = 'cope') improved filter mapping rest api v2 provides enhanced mapping of filter expressions each parsed filter rule includes property description fieldname name of the filtered field value value used in the filter join logical join operator (and, or) bracketlevel nesting level of the filter condition isclosingbracket indicates the end of a grouped condition
