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": "b1d862e4-a61d-441c-b128-5ed4126c6590",
"ParentId": "2cc6c605-d469-4d6c-8239-b87d170f3812",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"41da137a-a225-43f2-9770-251c4cce0e67",
"f6b06126-1500-4509-88e5-586be5b275cb"
],
"Companies": [
"a5d5929b-88ad-43f2-9d24-65c2d57958b2",
"40779667-a769-4922-8925-83de52b0ce32"
],
"Groups": [
"2236fd48-8b81-4893-ae47-c57320e5d974",
"61fb08f3-d680-48e3-b939-5319f22d50b1"
],
"Opportunities": [
"2e82a1fd-409a-4382-8f94-70385de84e40",
"0ee7cc6e-ff53-42f4-99ac-272253c56382"
]
}
}
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:
"35711c75-92d4-4856-a718-a071fde7fc64"