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": "cb5e3d68-4926-4701-9b85-05878dd7cbb2",
"ParentId": "91ef8a35-b4ac-437d-a46b-51970f1f50a8",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"b73c7393-7403-4c2a-a2d1-164c39053fd8",
"cf37895e-9632-4afe-920a-9637ec4bc824"
],
"Companies": [
"e88e77f7-c524-4826-93dc-c3a20371a9ab",
"aff6956c-4676-4418-beb3-f2aeb699a73e"
],
"Groups": [
"3bcfba36-0b9d-483f-aa1b-455cfdf3a933",
"d8909651-aa79-4992-90e8-24fe005676b7"
],
"Opportunities": [
"591bb668-a69d-478d-a6ec-35071d687dc8",
"54771176-f8ec-4c7c-9de0-f445fc0acbfa"
]
}
}
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:
"bf23146b-13de-4461-b672-6ca33f80a62d"