Creating Group Business Objects via REST API
1 min
you can create records for group business objects (for example, journal#notes) using the rest odata api group names containing a hash (#) must be converted to a url‑safe format before use the following rules apply if the group name contains a hash symbol (#), replace it with a double underscore ( ) example original name journal#notes api‑formatted name journal notes all business object names used in the url must be pluralized by appending an “s” example incident → incidents change → changes journal#notes → journal notess the final url/endpoint format is https // /api/odata/businessobject/ s rest query format get https // /api/odata/businessobject/journal notess base url https // /api/odata/businessobject/ s get group business objects example here is an example to get group business objects url https // /api/odata/businessobject/ s \<font color="#ffffff">method\</font> get header name authorization jwt token/session key/rest api key status code 200 response payload click to view response payload { "@odata context" "https // /api/odata/$metadata# s", "@odata count" 337, "value" \[ { "displaytext" "", "notesbody" "\<sample text>", "source valid" "id 001", "source" "other", "timespent" 0, "category valid" "id 002", "category" "memo", "createdby" "user 001", "createddatetime" "2020 01 01t00 00 00z ", "journaltype" "notes", "lastmodby" "user 001", "lastmoddatetime" "2020 01 01t00🕙00z", "owner valid" "", "owner" "", "ownerteam valid" null, "ownerteam" "", "ownertype" "", "parentlink category" "servicereq", "parentlink recid" "id 003", "parentlink" null, "recid" "rec 001", "subject" "sample subject", "typealias" null, "publishtoweb" true, "attachmentname" null, "attachmentextension" null, "attachmentdata" "", "readonly" false, "isnewrecord" false, "isunread" false, "parentowner" null, "unreadtransition" false, "externalcommentid" null }, { "displaytext" "sample line 1\<br/>sample line 2", "notesbody" "sample note", "source valid" "", "source" "", "timespent" 0, "category valid" "id 002", "category" "memo", "createdby" "user 002", "createddatetime" "2020 01 02t00 00 00z ", "journaltype" "notes", "lastmodby" "user 003", "lastmoddatetime" "2020 01 02t00 00 00z ", "owner valid" "", "owner" "", "ownerteam valid" "", "ownerteam" "", "ownertype" "", "parentlink category" "incident", "parentlink recid" "id 004", "parentlink" null, "recid" "rec 002", "subject" "sample subject", "typealias" null, "publishtoweb" false, "attachmentname" null, "attachmentextension" null, "attachmentdata" "", "readonly" false, "isnewrecord" false, "isunread" false, "parentowner" null, "unreadtransition" false, "externalcommentid" null }, { "displaytext" "sample line a\<br/>sample line b", "notesbody" "sample note", "source valid" "", "source" "", "timespent" 0, "category valid" "id 002", "category" "memo", "createdby" "user 002", "createddatetime" "2020 01 03t17 59 50z ", "journaltype" "notes", "lastmodby" "user 002", "lastmoddatetime" "2020 01 03t17 59 51z ", "owner valid" "", "owner" "", "ownerteam valid" "", "ownerteam" "", "ownertype" "", "parentlink category" "incident", "parentlink recid" "id 005", "parentlink" null, "recid" "rec 003", "subject" "sample subject", "typealias" null, "publishtoweb" false, "attachmentname" null, "attachmentextension" null, "attachmentdata" "", "readonly" false, "isnewrecord" false, "isunread" false, "parentowner" null, "unreadtransition" false, "externalcommentid" null } ] }
