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": "be922249-24e8-499f-96f4-e31655e54af0",
"ParentId": "a158f833-7099-42ad-b17b-a3bc320c6f4d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"c3c0fdb5-1264-434e-b334-cc886b879a35",
"ff75fe3e-2893-4c3d-a1d2-b7e7d3ba3689"
],
"Companies": [
"d7b0abd9-dda2-497c-b8de-c591be88953f",
"76799845-d90e-4350-8b02-0379178d36c4"
],
"Groups": [
"8eccfd5d-1036-4734-98cb-6e1a13f0c85b",
"cda405ff-d926-4f64-9908-10d8a05d394a"
],
"Opportunities": [
"077aa39a-3680-4cdf-901c-1d3698c50cf0",
"530012cc-f370-4093-bf45-cb2b2dba03fa"
]
}
}
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:
"15b85be4-f375-4f6c-a1da-8ebe71816b1c"