Get All Business Objects
3 min
fetches all records for the specified business object type base url https //{tenant url}/api/odata/businessobject/{business object name} ensure the business object name is suffixed with an "s" get all business objects example here is an example to fetch all business objects of incident type url https //{tenant url}/api/odata/businessobject/incidents \<font color="#ffffff">method\</font> get header name authorization jwt token/session key/rest api key \<font color="#ffffff">status code\</font> 200 \<font color="#ffffff">response payload\</font> click to view response payload { "@odata context" "https //{tenant url}/api/odata/$metadata#incidents", "@odata count" 44, "value" \[ { "actualcategory valid" "14348c1ffa044d8ab1e93005b4a0a287", "actualcategory" "missing item", "category valid" "14348c1ffa044d8ab1e93005b4a0a287", "category" "missing item", "causecode valid" "e2489f3f7da34b898ccd9569ca5541f2", "causecode" "other", "closedby" "jclerk", "createdby" "jclerk", "recid" "003b58c0b4554e4baa30dfd88876582a", "loginid" "kdavidson", "owner valid" "5918944fe08c4f088c5e02e27db7c6e3", }, { "actualcategory valid" "71754ac55675467b8bede187dec5d392", "actualcategory" "backup", "category valid" "71754ac55675467b8bede187dec5d392", "category" "backup", "causecode valid" null, "causecode" null, "closedby" null, "createdby" "frs qa", "recid" "013ccf80552c43f881be6741981cfeb7", "loginid" "agreen", }, the data displayed in the response payload is only a sample data, it does not contain the full list of responses but only a few are shown for sample unsuccessful response invalid url scenario trying to fetch business objects of type incidents with invalid url valid url https //{tenant url}/api/odata/businessobjects/incidents invalid url examples https //{tenant url}/api/odata/businessobjects/incident https //{tenant url}/api/odata/businessobjects/ incident https //{tenant url}/api/odata/businessobjects/ incidents header name authorization sessionkey code ism 4004 description not found message \[ "requested resource not found" ] \<font color="#ffffff">http status code\</font> 404
