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": "99c41228-00ff-421b-84f9-c7fac49b970e",
"ParentId": "2b4eb210-4a60-4057-9f9d-69d4dc01708c",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"d8e630dd-cba0-44f1-80cd-fa8b957402c7",
"56641110-4aa7-4ce3-9131-25fab1ed4fce"
],
"Companies": [
"38ba979f-1ec0-4c2e-88cb-faf25f79e967",
"2e7ba969-ddc9-4eaf-8555-a7235b6f99eb"
],
"Groups": [
"def0a0ae-b99a-4d87-a6a2-0cdb00fcdbd2",
"703bed1a-b2c7-47dd-96cf-6eead9140f1f"
],
"Opportunities": [
"2720cf73-7b11-4e8f-bc4c-6d76dfe09d40",
"34ff9dbe-19c1-4e79-a813-daa24d0d912e"
]
}
}
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:
"6f895d36-09db-432c-885b-3686eb26cbd7"