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": "233f187f-3273-4c19-b60f-8d9220776eef",
"ParentId": "e1acbd4b-627b-46fd-aad2-cbbd22e83de2",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"d4c995c1-e26c-4368-aab9-72f2d867820f",
"3b2c1b2c-06f0-456c-a4c3-4760e76a5f76"
],
"Companies": [
"6022a27d-89ea-4b9d-9dcf-dda284e5f9a1",
"92309543-01bb-46b5-b183-de709a551f47"
],
"Groups": [
"2b3b14e5-82a4-434d-9713-b306a8172e11",
"116c525e-8c48-4fc7-a015-c5e8159ad1ca"
],
"Opportunities": [
"ce58d856-80ed-43ee-8a5c-da56edaacb05",
"68a7b824-b933-454d-a928-8c60fe604d89"
]
}
}
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:
"787e1707-baba-4da5-926e-28bcbf041688"