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": "15c1fe40-d029-4c67-b9d3-bcfd5024cce1",
"ParentId": "dc3e79e7-cae5-4ed8-88d0-ced9ab4cbb0e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"12343f98-9f89-414d-9ecb-f91f7eea84e2",
"ab3a99ec-63e0-4c0f-a014-fd82137c8681"
],
"Companies": [
"f2e366ac-9388-4441-b2fa-58c8a5977f69",
"fc674093-1dc8-42b1-8ec6-7b530934cf1e"
],
"Groups": [
"454282fd-96da-471c-ad5a-aff878d92196",
"58235527-8153-450b-85fb-8e0fe858fed2"
],
"Opportunities": [
"6096da3a-3d64-4ad4-8542-95ec83621b4f",
"2f6fc87e-96c3-4191-a610-31b493da2e21"
]
}
}
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:
"33d2a03d-2edb-460f-87e1-60c91daf222f"