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": "c3eb6991-f1d6-4beb-8e15-3631c111439d",
"ParentId": "97a67902-1fa8-41bd-ae6d-0aa416791a0f",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"dd0cef23-a614-499d-87cb-b17dd9a5d754",
"16333a8d-429e-46e5-8339-cb23bcc2ac9f"
],
"Companies": [
"65fcd139-d9fc-4dbb-b9d7-1aa82a1141a0",
"5c36e8ca-6327-4e0f-a4dc-778b5b28720c"
],
"Groups": [
"ce34d083-4aa2-4878-9e7f-18cc8529a1bc",
"2da9c8e7-d473-4b5c-b673-cce068421331"
],
"Opportunities": [
"18af3d47-5b54-4722-bfa6-30cfb35c611c",
"23cbf549-9804-4f3d-b6df-460c0ead97cb"
]
}
}
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:
"e31979eb-225f-4dc6-b43b-f8210aa5da7a"