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": "3b9207d7-161e-4a58-9684-4187ae3ab49f",
"ParentId": "9bb49d21-7ce8-4522-bce4-bc2657625185",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"d5758abc-4bb4-45b2-9295-0d183c22ec98",
"c5caa54f-2f79-4006-9899-70b4f4f4fbda"
],
"Companies": [
"75f14f5a-7f54-4c2b-8de4-c1b4c5447d89",
"c9c337cb-761e-4323-8d87-9269ca12690c"
],
"Groups": [
"f9171e02-dc0a-4342-8746-daf7956c6d59",
"0ed05b51-0d41-4229-9b26-0aea55b9a795"
],
"Opportunities": [
"34e57829-27f5-45a0-a4f3-0b420f52298b",
"7c34fa2f-4f33-4d59-abcc-f19496fe4767"
]
}
}
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:
"301b8e5b-3140-4919-ac01-1fbb87f4d8c7"