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": "4c31dd46-83e5-43a0-81f0-539ee6e82522",
"ParentId": "fc283b78-c4c9-4736-a553-5bf250961546",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"09d42ac8-97ae-47be-b8a1-ec783fb547c7",
"652c5268-ee5e-44f4-99bd-d8c3f7ac50c6"
],
"Companies": [
"f0290a32-1570-465c-aa96-028061d88784",
"c4283d57-fa55-4f23-9513-ea9cd84d1e2d"
],
"Groups": [
"34f4b5da-2d8f-4914-ade0-bea6d31162d5",
"657125dc-341f-4b24-b831-7c870c898ff1"
],
"Opportunities": [
"5191cf8e-5e63-4561-8a3b-9b261b8c0d39",
"ba3eb167-f819-4e56-9397-1edb69d48ced"
]
}
}
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:
"3361ce1e-74ca-4551-a117-9964b98a65c6"