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": "3dc35204-f998-4725-ac09-437f60db60bd",
"ParentId": "ebc39de6-9952-4bcc-b5e9-87746db660a7",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"4ef2a0ff-c57b-47f0-a07e-40c40cfd6b6a",
"7bb68da4-7d2c-4560-adbe-78647a2ff861"
],
"Companies": [
"4c4845fc-38ce-4102-bbdb-52ae00b8b7e5",
"2f72ac84-5f56-4d1a-bc9e-8c71520a2462"
],
"Groups": [
"59d19ffe-28fd-4235-b5b2-89c004f67349",
"c78f2268-3906-4734-ab69-7aeb40a90a9d"
],
"Opportunities": [
"173d9f51-0d9e-46ec-b6e5-6fe0d6044017",
"4017cf6c-a99a-4703-a7ee-6a140a467f3d"
]
}
}
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:
"eaf8661a-5133-461c-a8e4-4e57ca24a3b7"