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": "786ff9a1-e144-4a11-91ad-a674707b824d",
"ParentId": "5661227b-e580-45b3-8be1-657bd07f9c3c",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"9131a2f2-c123-4f79-a44b-db3b24222a54",
"b6ef99b0-7e57-48b2-b812-e995e7ef257f"
],
"Companies": [
"37b358f1-7016-4123-be08-45af6db97723",
"45e3d59e-9f62-496e-acb1-3525428141b6"
],
"Groups": [
"df87890d-1c8c-4c80-9d88-6251ac372223",
"59093c4e-1e82-40af-a99e-fd2ebe79d8a9"
],
"Opportunities": [
"d87e2076-64f9-49af-88ee-0edcb259d7a8",
"176538dc-b341-4c8d-a43b-66465b720a62"
]
}
}
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:
"57a30654-e765-4811-9c86-171b47262480"