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": "f5b4287a-a551-40ec-b875-26b6ac5e7f8e",
"ParentId": "1a9de364-a94c-4fd7-bb47-341ee2787c2e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"cad996da-d407-43f2-861c-1e52f7a18be6",
"faa38b7e-1a51-4a36-9434-d1ff9a282d6f"
],
"Companies": [
"1907a69c-ae3e-47e4-bb0d-c8d3468daa61",
"68883d33-0d29-41f7-a451-41d5e2df5062"
],
"Groups": [
"4f790df9-de07-42fd-a925-c57fe4975b90",
"a5d0e67f-193f-4f09-b5b2-90a6f0a22eaa"
],
"Opportunities": [
"4256b9f8-a56a-47fe-8bdb-1209ed7693c4",
"64473498-b344-4350-b0c9-1fda374cb738"
]
}
}
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:
"a97fc35d-752c-4669-a973-f9d089ef5e56"