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": "c13c973d-0275-4686-b4dc-fd1f4ee24fae",
"ParentId": "bf15f0cc-315c-4ed0-a0d7-14f957b0c1c5",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"90ecef80-4c39-4870-ad8b-3b08ad8a806d",
"57c70fde-64e0-429e-8178-2b2aaf69fbd2"
],
"Companies": [
"7f952ceb-e0ee-4d02-983c-96f70b63beb9",
"be405b9f-9e3a-467c-8e97-e88f9c44fe94"
],
"Groups": [
"59c29be8-36d2-48e5-86ce-daeed087c8ee",
"b3241253-97a0-4dce-bc76-a4f9062cc2a2"
],
"Opportunities": [
"96c2214a-85f6-4f34-a95d-6ced5d6a1dec",
"3ea26240-328f-46eb-8be7-f0e203dd1136"
]
}
}
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:
"e2d88f2c-eb40-40ef-93d9-5546dd30732d"