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": "a7f9c777-4229-4105-bebf-a42ace41ddda",
"ParentId": "9c712d73-d6b3-4b8e-8192-b3ebd168dc59",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"dc46cbe2-bef8-4333-aadf-9489f4d09c5b",
"d95215c3-db67-4623-81ea-14b602443ef1"
],
"Companies": [
"6d4b2ef5-ee4b-4388-9c0d-c4bfd6dd7004",
"5617bb38-8a36-4364-9df3-cf0e17c21665"
],
"Groups": [
"47a0587b-36f6-4d54-aacd-0bea9478537e",
"21059944-f8fd-4e1b-ad9c-d9ae305e3e0b"
],
"Opportunities": [
"2879a2fe-4db7-4cc0-b25d-27d409e80a28",
"79d5eb4d-4314-4334-8497-81885979c84e"
]
}
}
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:
"194a845b-e846-441f-9a0d-83170a2f5b6b"