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": "6c4ac240-2cc7-45b5-bb7f-5f6a7fd4101a",
"ParentId": "fb8355d0-9eee-4a4f-8f42-acef25589797",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"a721171a-f01c-4a1b-b847-084438507227",
"ab6ce274-2409-481e-9a62-e7d590de2925"
],
"Companies": [
"18fa691d-0c7b-4b5a-9396-2524597eb481",
"a28e7c22-9cab-46e5-9ed2-dd9d793be477"
],
"Groups": [
"2c15ebaa-9595-44f4-a512-c18aa4b03aff",
"d193ceb0-a240-4f6b-b76e-f61d97fb773d"
],
"Opportunities": [
"670ca350-eeaa-4054-a776-d11f8578e9d8",
"cafda5cb-d606-45be-878a-36b5d8f66c74"
]
}
}
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:
"d7768a71-b977-4f87-88c1-7cc1d83b1476"