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": "e00523ad-4b36-4030-ab7c-066fd6cd0574", "ParentId": "4adec285-6601-469f-aaae-6e95f2ebe985", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "9dc82812-579a-433b-a8ca-8413ccfd74e2", "743422c5-006c-4a3d-8661-7bfd7ce6ad71" ], "Companies": [ "62a35f75-378d-4502-bdd5-4790f9fc45c8", "41ea2b4a-e3ca-43ed-a7c9-83fe057ca331" ], "Groups": [ "e8cae061-b5f6-4896-8154-14c4acc47377", "a452367d-c884-4fcc-91b4-2489371eba17" ], "Opportunities": [ "4ce384be-224c-4458-b884-cb1db08ed8f5", "39624ed5-c05b-41ba-908b-a15b95c388f6" ] } }
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:
"b17b92da-3938-40d9-9898-e86bb33320ac"