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": "3d19a393-21e1-49f4-971a-be71c48ed79b",
"ParentId": "f6f14199-9cbe-425b-a5d2-911b4bcdfc62",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"b5a910d5-ec5c-47eb-887b-1730033f8436",
"c5f936c0-a352-4e0c-a742-d6c1557a67b3"
],
"Companies": [
"f0fae3bf-2357-4ae6-b5ae-a5b72cfb9332",
"0c8bf790-fac9-4970-8ece-4e1d8c290a2c"
],
"Groups": [
"138704f2-461f-4f27-9c78-93fcb3d845a5",
"7e0b8837-e3f9-430d-ba0a-b6aacf62f67b"
],
"Opportunities": [
"e2865ea8-6e9b-46bb-8e79-5791083156ed",
"b45ce6d7-6991-4b8a-8e3a-f3fb7996458f"
]
}
}
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:
"b5e4214a-183c-4106-94ed-9d43e9fcd4de"