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": "76e758d9-0f98-4a70-9404-c1d65a0d7847",
"ParentId": "4444e96c-9ed2-40d7-8e91-745d51be251b",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"6fdc61c5-82d2-4d0b-a062-28ae73ca9ca0",
"e3cc3450-3966-49fa-8df8-7b6bdda82e46"
],
"Companies": [
"6176d0ab-a17a-426a-ace2-183efe5c07f1",
"5f9afb5f-e406-44a9-8df9-47f900086b4b"
],
"Groups": [
"7945d77a-3552-4ac0-8edf-b99245fc2635",
"2dd97b6f-5e8f-4b52-953b-d420fb17a963"
],
"Opportunities": [
"0ab9b9b9-94fb-4ca6-8f62-ad33c5e993df",
"f675c907-deb8-4ec4-86ef-8de4aefe33be"
]
}
}
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:
"8cc526b4-2419-4819-ab39-baf50ae668fa"