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": "d0f4e0ed-aacf-47eb-973a-c5860e62acb1",
"ParentId": "863ec1ab-75c7-40fe-998d-ff357e56c197",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"011aa7d9-1a30-4d0c-b247-70d724136935",
"c767a030-e86d-4836-9d97-4825c183a35e"
],
"Companies": [
"d5bf98a4-46fb-43d8-a910-1a25097e4af9",
"7842b187-bcb6-483e-ae65-faa49d5218d1"
],
"Groups": [
"7fb7ae43-209b-4598-858c-139b558c0f8f",
"fb736d02-a60e-4745-8ebc-40c53acb7c1b"
],
"Opportunities": [
"6044be33-12d9-4cb0-9772-fddc39dc1608",
"fd7995f0-6245-43f8-9273-0be56ef0b11e"
]
}
}
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:
"11500f9d-c1e3-40bb-a9c4-fee4cf7cb1a7"