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": "2bf1f7f1-97fb-41a0-aff7-ed8ef60434d7",
"ParentId": "45512e8b-0867-48bf-a2dd-70cde64ed646",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"313740fa-e1e4-4d3c-89b3-587961c4fe93",
"167878dc-cbfa-4f93-a1d6-d3f56ec490e0"
],
"Companies": [
"9b2ace17-853a-4742-a790-fc3c338c9d6c",
"1af3f4ed-fd01-4350-81d0-b0b6d0d67b4e"
],
"Groups": [
"211138c2-a8ff-4366-aeb1-6ef41779c0a0",
"36b295f8-e878-4ad5-a5fe-3dcf47523d6d"
],
"Opportunities": [
"8e3b0b9a-3139-47a6-befd-e3c512c0b291",
"d2b6da79-91ba-484f-b828-227974988ef4"
]
}
}
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:
"6e4b4fdf-1fe4-44fd-a92a-10b25f9bb12f"