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": "2749058a-0f67-4e96-8250-5c45dabf2d49",
"ParentId": "c057e03f-fb14-4cc9-9216-9b03d7fa4575",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"56e9070a-d9c4-4b68-8611-07c0527f70e3",
"40c95bee-da75-4820-a11b-12905c717744"
],
"Companies": [
"53f6820d-46fc-4fbf-ae77-ad93d55fcc80",
"c291d6f0-ca41-4d7c-a60a-73106bd02cde"
],
"Groups": [
"efe3ffff-a4a5-4d85-9fdd-0b90c96fc43c",
"d59b32f6-4cb6-49a1-950a-2e596b60f381"
],
"Opportunities": [
"c7b81317-06c4-4ad8-bfae-6ddb6ec9871e",
"3897afbf-59f3-4098-ad7e-b029bc6ddac2"
]
}
}
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:
"758f2e73-032f-4d8e-a667-687c7eb197f6"