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": "67a4ba9f-179e-40e2-8e72-b66084f41adf",
"ParentId": "dd5aa525-db0f-4495-8f66-f8ee82b3c8da",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"cbae00b2-e566-4025-ac0f-905f2cc36f08",
"8993246a-ecfc-4dd2-9e64-ef7bdd0ac4d5"
],
"Companies": [
"7359fb8a-24f5-4fbf-ae7d-6091c8d02cb4",
"593662b9-4709-45d6-81d8-ebec1318530f"
],
"Groups": [
"82450fd6-a8d3-42cc-ba81-550779744ab0",
"d9df72c8-3afe-4432-b982-c626ad85b33f"
],
"Opportunities": [
"a7d88ca0-a24c-49f6-943c-4a323ea0dc9b",
"b3388acc-8cf6-4e7f-ad21-2c34e40ff787"
]
}
}
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:
"6cff7fda-9b48-470b-b3a4-e40ff9c3782f"