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": "e7792f95-2db4-40d1-b4cc-5b5071e2b525",
"ParentId": "d1c6cc2d-df2e-4dbc-a4b2-6db8d4c14e3f",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"d479e3d0-9858-4295-a36a-80105a4841ea",
"c84ea2e9-88f9-4c83-a8bc-c37e86d776b1"
],
"Companies": [
"d5a87bc6-b778-4fa9-b99f-88b97be41fda",
"648b4134-a175-4499-be1a-5d7a6ee431d5"
],
"Groups": [
"8289475f-8b4a-4b55-8272-716f0a36737b",
"5771074d-69ad-4d18-a19d-1dd793db37e3"
],
"Opportunities": [
"a9b62c03-f7e3-4281-a3f2-ecb65b4ea424",
"d3eb2e0d-0a85-410a-a5ca-23159bd018e3"
]
}
}
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:
"518236a9-59a5-4bdc-b0bb-8bac12f0fe13"