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": "19575f0c-0445-4c63-820a-ffda7c8dcc53",
"ParentId": "28741e8f-3bcd-47fe-8761-8b7a0742f62b",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"154dc948-f1e3-4b4a-8419-373171ef850f",
"98503e4e-0dd0-46c4-ace2-b7bbd442386d"
],
"Companies": [
"2047455a-2a29-45a2-aea8-881d5c735eb4",
"d53ab88c-9646-4c0d-91e5-c691051ce806"
],
"Groups": [
"ed1c2433-8d27-4c8b-90ce-b06bca25a3e9",
"baa9a954-9eb6-4083-9465-02c2bba42ea9"
],
"Opportunities": [
"376dee66-a5de-477f-8c7b-1dcd1cf17185",
"53ba3867-c134-444b-aa70-e01561f27d38"
]
}
}
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:
"48757ef2-f9f3-49e2-97f6-b775c46655f9"