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": "f6a316c2-86e1-45eb-8611-e1cc57316441",
"ParentId": "8a4bac77-df24-48ee-847a-40bb947269fb",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"e1cb34ae-30d2-4d41-a646-ed2052dfa990",
"ab2c6cd2-470b-4617-8a62-517a04e59901"
],
"Companies": [
"cf1705b0-ebc0-4629-879b-72dd40a3f843",
"b0f56bf8-fbeb-4683-8208-39617120a711"
],
"Groups": [
"12d963f2-ac53-4d60-a68c-a92b6d3a4bbc",
"30065351-d75a-44a3-8fdd-421b3c013ba2"
],
"Opportunities": [
"e75a34ab-8fb1-4bf0-8668-e2fb40ce1367",
"0c8244a5-dd81-482f-8d80-7251c5fe4723"
]
}
}
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:
"8dde2730-15c3-4d02-9f73-6a305b2688b7"