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": "6128de6f-c820-4600-9264-1d867b1a717b",
"ParentId": "30d0cc80-6b87-4d0e-8947-401c6f56ad80",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"b20e42aa-6f9c-4116-8694-dd1e23923bca",
"33e866c3-975d-4577-95d9-9d37b285d6a5"
],
"Companies": [
"c1077903-3450-4a93-ac59-d38bfc3fcb62",
"bd162ec9-ec1c-4f51-8f57-0257af3749d9"
],
"Groups": [
"afafd158-52dc-451e-abc7-d07ff7dde845",
"4aab35dd-7348-43ef-953e-3010e7d54138"
],
"Opportunities": [
"0e4c699c-5d14-4d9f-b3f0-6b692f0bb24e",
"01b25bbe-5b74-40e3-a58f-055d7e6a3630"
]
}
}
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:
"57bd92cb-bd3b-446d-8256-91c688d58400"