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": "e30b0499-3da8-4d83-9fd6-4ba86f3ea1e6",
"ParentId": "16bbe1f9-5106-4eb9-9789-6ef511c07690",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"dd14de34-82a9-47f0-82e1-b361decfcc61",
"7d9de403-eb25-4785-89ab-1d027eead82b"
],
"Companies": [
"aadf0bb1-af82-4429-92d9-1e4c9bfaeb67",
"5befaaca-367b-4608-a32a-f1cb644f9f9b"
],
"Groups": [
"3fc099b5-fc04-4160-9a2f-3493e24edece",
"efd15d4f-79b9-460d-b5bc-9dc0ee84a4c5"
],
"Opportunities": [
"f120922d-c7c6-4377-8882-dd2be1d4ebc5",
"da48749a-5104-4f76-beb9-69f936c4ab59"
]
}
}
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:
"c39be547-85b3-44d6-b726-b1039cbb15ec"