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": "fd7118b6-3ed9-461b-937c-bc7c553e3a77",
"ParentId": "9cf21dc0-640a-464d-a069-d4ca0f19d933",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"122bc154-c856-425b-950d-b4b9d8b594ab",
"e65353c3-6870-4dcf-b881-c69d14ff981d"
],
"Companies": [
"3f9513f9-7025-4f23-b646-45e1083be76b",
"798f055e-ee79-49c8-9302-0581ddfa0009"
],
"Groups": [
"1a6ed96a-2193-47ab-8000-0110d5373d35",
"5c40db38-a586-49ae-8d8c-089e36d6d933"
],
"Opportunities": [
"a63dc4d5-8ac5-49b6-860f-d5f4e212cea3",
"7878a391-caa7-4c93-842d-b70949d66c38"
]
}
}
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:
"b50591b4-7fe4-47d7-9166-0f0d4cf055fb"