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": "7ebe628b-e49a-4813-a2a0-8b5e56b17134",
"ParentId": "99ec9f41-2f0c-466b-b21d-7af97f56e15b",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"3bc36d5e-fa28-4522-92d3-4f1a6a2416c3",
"5cb5b4cb-b88b-454d-8a51-fc5bf2181cdf"
],
"Companies": [
"9e00e665-eec1-48f9-92df-6c3abeeee1cd",
"28305b1b-bd99-4892-b80d-26cdf47c78d8"
],
"Groups": [
"bcb99868-bc37-45fc-a926-154b36e40110",
"b646ad19-375a-4241-a0cd-98fdba00d0af"
],
"Opportunities": [
"e9484425-9265-4f74-9e2b-a33912c8e938",
"5d7502ff-c271-4f2b-ba66-72b2e0f6b4ed"
]
}
}
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:
"6017a45c-516f-4686-ba79-4012030427f4"