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": "ee04d32f-3f39-43dd-90ae-e6f65f6bb746",
"ParentId": "12781eb8-effd-4d5e-8afd-159197ee4e12",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"8be65eb0-7a69-435d-b80d-2aac784241f6",
"e3d488a1-d7a8-4836-9172-b7f446a24b57"
],
"Companies": [
"9e586593-1803-4614-a460-8add597a6446",
"be15da5e-dcc2-4df5-98db-203a67c6f23f"
],
"Groups": [
"ef641a04-36be-4c91-af0c-5320fba6f04b",
"6ab977fd-57b3-474f-ad19-c1cd137c6a55"
],
"Opportunities": [
"cdf9c654-cf08-4fce-b76b-b345a9e84f79",
"f76106f4-a9a1-40dc-b840-33397557ad45"
]
}
}
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:
"fda689aa-8911-424f-a29a-6c9ac186d413"