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": "93f03024-9017-4d11-9878-5048999e282c",
"ParentId": "0bd6a6a1-6683-4602-9931-86595b186989",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"137c81e5-974a-4e44-beae-364e23202f0e",
"367900cc-046b-40ac-9150-cc9d6613f165"
],
"Companies": [
"78bac13b-fcb5-451e-898a-a58124ff46e0",
"e9807826-ae0c-4e9b-a716-86149be4785c"
],
"Groups": [
"561b34bb-557c-4c33-a6d0-afb535c6ea55",
"538fbbb1-f7f4-42c1-886c-75f237f00669"
],
"Opportunities": [
"ff4d5b78-22aa-4228-b6ba-a2cf4395c5eb",
"dd931729-84d0-447a-a22d-42ca35584ff2"
]
}
}
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:
"76e8d8f6-a095-4163-806a-9b4de7bb6e92"