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": "0119e44b-7ecd-49b5-94b7-cc2f9e844583",
"ParentId": "e8f75618-f59a-4ebf-b16b-cad71b7fff9b",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"56309742-789e-4e99-90a4-7c7895e9ed36",
"d38b5abc-e114-4ef0-8461-b5dadb261be5"
],
"Companies": [
"027ea147-eb4c-4da7-954a-fa553a3d4191",
"7c36d1c5-58c4-421a-ac8f-238809e0757a"
],
"Groups": [
"20a88f36-fe2f-4bcd-a5f6-123a8d884420",
"32269184-b716-4512-beeb-6d6f1c8f5295"
],
"Opportunities": [
"79a4c700-c110-44a8-9eb2-67f727dcd949",
"a26fc2e0-3e8b-4277-88f1-bb0c699ee5b0"
]
}
}
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:
"97d6b77d-709d-4d04-aabe-889c113b29ae"