POST api/Groups
Create a new Group Record.
Request Information
URI Parameters
None.
Body Parameters
The Group record data must be passed in through the body of the request in Json format. Set Content-Type header to application/json
MutableEntityExtended| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| ParentId |
This field will only include data when working with Group records. |
globally unique identifier |
None. |
| Fields | Dictionary of string [key] and Object [value] |
None. |
|
| LinkedEntities | LinkedEntities |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "8abd69fa-46ed-47a0-a7e7-f5100014f170",
"ParentId": "5e876118-666d-442a-919a-cacccd38afb2",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"a8438270-9a8d-4dc8-ad27-a7f469b37a2c",
"3ba6cfd8-ea9c-4489-adfd-cf45c53ec38e"
],
"Companies": [
"2e1c4522-3326-41cf-bdae-d5972c84bc05",
"f85d4dee-a7a4-400c-b88d-ed00ff44bb54"
],
"Groups": [
"3d60f2f2-281e-401e-94ed-bab97a7e28ad",
"ea02742f-9f94-464b-a4f3-a30065ba5890"
],
"Opportunities": [
"bd6dd05c-6727-418d-b2b2-e2bb30d0d8c8",
"24093ab5-f688-4c46-9e42-4fa53d831cec"
]
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
This endpoint returns the GUID of the Group record once it is created.
globally unique identifierResponse Formats
application/json, text/json
Sample:
"92e382ee-058a-4949-bfed-dc41180f3b17"