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": "63341822-4c62-45cb-aa66-ee9aa58838d0",
"ParentId": "8350648c-bc7b-4a3f-bf3d-0cbe39b7be2d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"3f5cc28f-20f5-4e64-b631-c0cc83d05800",
"a39d2f57-8196-4123-8867-9f7dac4fdeb4"
],
"Companies": [
"3e8d2b59-ac04-40ed-8039-a2dcfb04d95a",
"2f48bd6c-86be-4e55-8d28-776a4617d747"
],
"Groups": [
"5fd98669-4695-47fc-bd0a-ca8c054740bb",
"ce503234-f807-4c71-890e-95472fd399d8"
],
"Opportunities": [
"4908c94f-d70a-436c-a6ff-c3c1a335b150",
"3901c750-bd20-43cd-872e-fe6546bb59ef"
]
}
}
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:
"e97de705-f479-4836-81bc-24bc628f5441"