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": "22999563-87bc-4e29-94f1-94d964935d78", "ParentId": "4e86b786-6655-44e3-8042-4c9f8cfc45da", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "91759242-f303-4573-b536-66163fd74272", "00514700-1106-4658-909d-e8f015db1013" ], "Companies": [ "a1fadbb1-8d87-451b-a602-7c27c059f6cf", "fb724840-17b5-4979-8ac2-69d34be44ed0" ], "Groups": [ "cca650a6-cb38-4e71-8726-384b415cf840", "beebb96c-ff4d-49dd-9a2f-17fd746beada" ], "Opportunities": [ "d84f2c74-9f1a-40f4-9040-510ea42c8235", "15419e7b-da1c-4409-8b55-bc611aeafc25" ] } }
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:
"dc22a76d-d4c6-42a9-b081-36c7e4ffff19"