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": "cb323ad9-d257-482d-8fb2-c0ca3c22bfc1",
"ParentId": "21b15f5d-2f89-44f2-9f95-bbda130b238f",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"e86fc45c-5b9a-44e8-919f-4cc2a645cc9c",
"e4168061-facb-45d8-96f9-b856af1f6961"
],
"Companies": [
"8d48e5b1-825c-482d-8777-9e6899206dd9",
"6617dd52-27ac-489c-8b8f-a770decabf74"
],
"Groups": [
"a244ef93-356a-475c-8cc0-7f769426b5f2",
"02f3a85d-5751-4768-a043-8314b02fb795"
],
"Opportunities": [
"09fe6278-a538-4b81-8079-e122f1a281b4",
"a854d53e-0aa6-41a9-9c45-deb2c43ab228"
]
}
}
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:
"58b98348-d12d-4736-ab2e-263e576676df"