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": "b03cb35e-acc2-4da4-8d18-62cd63d07a95",
"ParentId": "f3946f45-e21d-4819-bcba-09ea9e5283af",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"0130c8b9-6409-4822-a5e1-8b7982645d87",
"598c785b-f0b0-4637-8677-cbc55a2f2b4d"
],
"Companies": [
"3405dd0e-f26f-432e-949b-12cbf0fc66ef",
"915477a2-647c-4197-8076-6038922cd9ce"
],
"Groups": [
"aaebf9cf-3641-4c23-9698-50936aa4e672",
"6ca27296-f35d-4e23-addc-c45ce4014c0e"
],
"Opportunities": [
"14af3cc2-2cf8-4ca1-a73a-904c09bfa5db",
"49262247-98c8-48ed-b46a-f16d9b9fc57f"
]
}
}
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:
"d9d8e7e8-7393-4eb6-a20f-2c49146c4b4c"