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": "67670099-d811-4572-b4c9-3b80280ba611",
"ParentId": "845c32eb-22de-454a-91ab-e9e792b104cc",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"b224f59b-c550-4e1c-87d4-75d937fce241",
"16fec5a4-0bab-45cf-8e04-ec0885d18465"
],
"Companies": [
"534cbedf-f985-43cf-9eef-886a1bddadf4",
"4e1ec0b8-5238-46d9-b7eb-ba71a098c71d"
],
"Groups": [
"404d1ddd-a40e-4473-8d43-777df6b2addd",
"67f855c3-6421-47df-aeb7-170e0d2734cf"
],
"Opportunities": [
"3e7004a6-f4dd-452c-96e9-d451c28b3904",
"9b2be2a2-9070-4165-b424-a2e0ec61cbe7"
]
}
}
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:
"d30c6f08-b867-47f6-88ab-639ca1cdeab3"