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": "6c2d64fb-792b-4336-a048-c51402ebaad1",
"ParentId": "8ac2f94f-1589-47fd-b883-6dd33c89fe61",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"73356695-3a32-4c87-a8d6-8d8af87729ca",
"2953d39d-a131-4723-8112-1e04bd04de40"
],
"Companies": [
"74043832-e818-477a-b4c1-d3f94abb3847",
"946e6802-dca3-4619-927b-c274158de358"
],
"Groups": [
"ffffc7a1-27e5-43c2-bca7-fb901725ae9e",
"0c122d82-00b8-434f-91f9-1bc7247e4aa2"
],
"Opportunities": [
"46d0e9b1-9709-4512-a8f9-abc8689e4407",
"3e1abde1-afca-449a-8895-7d1bd8b484fb"
]
}
}
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:
"c2131ca3-834c-4909-8523-eba0ad9a7cb9"