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
MutableEntityExtendedName | 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": "65442a27-6064-4de4-8443-a48b33362f87", "ParentId": "d090d1c8-70fb-45dc-8dab-04920d01b68e", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "b2f6122b-97de-41d2-a715-4daa4fb32c86", "22e5c9cf-8d19-4c9e-aa0b-df0ac93427d8" ], "Companies": [ "4f5da0ad-5a55-4fa0-808d-022ecb210c57", "6c655b7e-ed09-4156-8e23-97ee2756deb5" ], "Groups": [ "fedcd9c5-867f-431e-bc6d-ce4f62b3222f", "64af7cb5-0702-43f4-a208-480e617386c6" ], "Opportunities": [ "a6c11a8a-e653-4213-b7cf-544adda809aa", "1d54a458-8e08-4292-ba63-274e5dba4137" ] } }
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:
"f57ba247-abe5-4ea6-a897-14f68b1b46d8"