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": "5fd5f002-840d-4496-9a8d-bb0a8d8cb98d",
"ParentId": "0be0bf47-e74f-4312-a717-dc5bbf14b722",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"fa06e3ce-caa8-4fb0-9d95-ea3d4cd714ff",
"d8c66389-3906-423a-bf65-f5c42b907259"
],
"Companies": [
"36924162-0259-4a07-82b5-8ab054243564",
"35ac1e61-9674-429d-8e87-b691aac16200"
],
"Groups": [
"7f79f837-7ef1-43bc-810c-359844a81f30",
"7cce87e0-7b50-46c2-bb5c-45309800ffad"
],
"Opportunities": [
"bd2a0fa7-7b53-4ef8-9c12-79e4e7d44637",
"872fadd4-17bf-4926-9cc5-ddd86de1e0ac"
]
}
}
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:
"b23e8f98-c09f-430f-a133-b030f9c45665"