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": "edfea0d5-feba-40da-b33a-9366afc334e6",
"ParentId": "11449b0a-a844-442e-86dd-0a1f66c0de98",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"15e49533-4ccd-4ecf-afe2-4519d0c1f039",
"a8a1b614-cad2-43a9-8007-c9cdc3bd40c2"
],
"Companies": [
"0e9b7171-f0c6-4a54-9c60-bd49bd2d0ef1",
"bc92e5f3-6f00-47ee-babe-a1b71ab3068b"
],
"Groups": [
"c8eb6d38-2d8f-49d9-b621-63f78af838ab",
"1ca9aca0-5f2d-4ac1-b13b-764cf0dde621"
],
"Opportunities": [
"9afd4003-e0db-4928-a574-3b0571234d34",
"3d5ddf6a-9fdb-4a2a-bd97-d424a6645d19"
]
}
}
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:
"7d2fb62e-db47-43ba-b696-af67d35f70c6"