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": "afc2c48d-0c36-4556-814b-1852faa1e41f",
"ParentId": "b7b85ace-b503-4fb9-b86b-4ea6f860b790",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"f6659b67-14a8-46d2-a729-f8aa996603b6",
"20e0c723-3605-4440-a547-2d1e7c715460"
],
"Companies": [
"e2b46e03-2843-4ca2-8191-52d5f3c79f4e",
"540a8380-3363-4024-8c1c-b139d0ff2c54"
],
"Groups": [
"410632d6-3261-4097-9e43-1bc0e7fca8fc",
"80d29cf2-71b2-4b60-91cb-78131d90a02a"
],
"Opportunities": [
"839efbb6-f990-49ef-916c-018d9812c69c",
"93e7fac5-4c37-477d-97fb-a5a5ab59960b"
]
}
}
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:
"7b901f2e-bf19-4bac-bd2c-cb7a56da93e3"