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": "1403f30a-6901-4d9a-a159-e0c33b409f10",
"ParentId": "f8a56a3b-0dff-4259-b4a9-f32d88daf8b9",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"34c696fd-064a-4381-840e-8cd74884a8aa",
"634606ad-b2c2-43be-8c60-63ea3ec6a870"
],
"Companies": [
"338ef9ff-b076-4cb7-9bcb-e3256dea5b49",
"3a0d13ed-ffaa-4d74-bd50-9bc7fe7e42b1"
],
"Groups": [
"5f9900dc-9d99-4539-96e4-679ef52c29a2",
"48a5a492-0752-4906-9dcc-21877922e730"
],
"Opportunities": [
"35d275b4-1952-4ac6-bdbe-a000c63ef846",
"bfb5759a-d23e-4a52-8ab1-04134d99fc64"
]
}
}
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:
"cd5fd6d8-d296-443a-a227-cb81172d954a"