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": "e6b42dd0-dc6c-478b-a702-2c63318e8e99",
"ParentId": "39d882c0-c6bb-4eb6-bea8-45c2ff451b80",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"4666e8ae-371e-44d4-b757-c02c9295acee",
"c458f714-cc5d-4eeb-994e-395baa567933"
],
"Companies": [
"bdba3890-837d-404a-846e-060ff2d7d759",
"3fa1b22b-231f-4a92-a7e7-36c1aba8051d"
],
"Groups": [
"77688196-0979-47d1-bafb-27a0144c15b7",
"e2b45307-1033-47fd-bbc7-000fdb13d816"
],
"Opportunities": [
"76718e96-ce12-456e-92a8-2a6f6f30685e",
"d9a986f7-6b67-4cdc-b388-4b97ade1c620"
]
}
}
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:
"35e0d1c8-7f75-4546-a934-f274a8870122"