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": "449bcb55-55f8-43fa-acf3-458f33b39a1c",
"ParentId": "3d7fe922-2a05-495f-a630-e480dba4b35c",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"a8320375-3383-49cf-93a6-35ebf7422c70",
"836545e1-fde1-4145-97d9-a1824a041e6a"
],
"Companies": [
"07e7af7b-1b38-4c35-ab1f-32bc509780e5",
"22668f4a-3896-498b-a07a-be61bcefcdd0"
],
"Groups": [
"a88ff5ce-2fa5-44d8-b236-57d51a2a5202",
"25d387f1-9cb6-4e49-855b-a6e5f7c3b326"
],
"Opportunities": [
"75cc692b-72d4-4f10-8b3e-b138de8aac0a",
"e1f9939a-cf30-40c1-9f59-80cd0c5715f9"
]
}
}
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:
"d1cc2bb1-4e0f-46d7-be03-1607efddf985"