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": "0d67a5b3-95b1-4fd5-93b4-444571438af1",
"ParentId": "670237bd-45f2-4091-b55a-3ef65d9ff5f1",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"b79d62f4-0e65-4772-983e-bf59c2172767",
"2e065f15-c358-4297-8b28-ab8ccc8744ae"
],
"Companies": [
"5b54dab2-c791-45eb-8386-dd2b9aabee56",
"02604a7e-3858-40c5-8acf-866187ca43d3"
],
"Groups": [
"68a99888-c6b2-402f-8bea-93f74a30692b",
"debaf861-987c-45a0-ae9b-984d1259fe59"
],
"Opportunities": [
"ed6047db-aff9-4322-bb6f-f301bca7a7cb",
"c851f7b1-6471-4dc9-b67c-7eae46b43553"
]
}
}
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:
"92acc4c9-c3ab-49f6-9f8e-54011ccbf4fd"