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": "9fe33986-4c1d-4922-8cd0-b29700f41d8f",
"ParentId": "049390b5-e433-4135-b387-22aa29170448",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"7528f1c6-02f8-4cde-9b08-31ff900ef805",
"0e6d0594-77ce-4c66-af1a-ecc1321ee32d"
],
"Companies": [
"0b7e3b5f-02b3-4b9c-bc53-7a57a7f0f94a",
"7eb6ce76-64cb-46ca-b618-547d6e3081ae"
],
"Groups": [
"58b423df-b3d3-496d-9fa7-57a10cace643",
"06d27a7f-d7c5-46b0-a6e6-d3a21cbd34dd"
],
"Opportunities": [
"4876272b-63c1-46d1-bd44-06956b47b82a",
"0fd3732d-9bf6-446f-b078-f546f718f0ac"
]
}
}
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:
"6056794a-b1c3-4837-b311-650462b0b50b"