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": "ff8b73a9-7ad6-4588-9fa4-d934b5bcf2c3",
"ParentId": "869e513c-b256-4228-92a1-846d1c0f2926",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"bb127080-2a40-4130-9a39-e147dc470680",
"d1bf80c5-34d1-4e48-a624-b01ad9764d8d"
],
"Companies": [
"72c4964f-2e4b-4fac-b5e7-a2e30f22ac11",
"d2c0452b-359b-4816-b2c4-814dc09ad676"
],
"Groups": [
"bc077c36-d343-4368-96fc-64471f706111",
"cea56937-1ba6-424d-bc49-d1726e5c1504"
],
"Opportunities": [
"3504e20e-de68-4a03-9aac-16f13563f7a8",
"7751f444-53ae-4951-8918-7f83bb1fda7a"
]
}
}
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:
"7645ac0b-437f-48d8-8e41-4b37d615b073"