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": "3303b01d-6f15-4222-adcc-56309d4895d1",
"ParentId": "60f5171c-a578-4af8-8913-6b1abcbaed5e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"70cc2671-19fb-4c20-bb87-253f0402243b",
"5fd238b2-9ca1-46e7-9d5e-6ab004ad1a88"
],
"Companies": [
"4244b247-1bbd-4c2f-9e28-c0d714c77fa1",
"bc68c3b5-e3cc-4f9d-85a0-0dbb2f3a27ad"
],
"Groups": [
"ac6e1dd6-1bbe-44fa-81b0-f511c553d461",
"2ae80290-8c87-4fc0-af5c-b04efccfdd99"
],
"Opportunities": [
"2b410ac2-5986-4ac4-afaf-a3d6bb40b962",
"9e415248-c52c-4c7f-a9ac-ae2a674b7f09"
]
}
}
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:
"7c9f058d-b6e0-4147-9ce1-a2d07539347d"