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": "ebf55d4e-7c92-4fe3-8b19-996ab67e2d10",
"ParentId": "b764a1c1-2267-4b19-a2ba-be6f5b43a893",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"abf7758b-d8ae-46c6-8329-46d97f189e22",
"e70a6c45-8c68-4d8d-b9fd-9930f6bd953e"
],
"Companies": [
"7043c343-61fd-4a53-baf3-c25ac0ed48e5",
"733a482f-0572-4900-b794-97615e35357f"
],
"Groups": [
"5824bf32-ea08-4fcd-a5d3-178f49d57137",
"757e7216-1bc4-4bb1-8d2d-9bd66f91c966"
],
"Opportunities": [
"b649c802-15a7-406e-9bb1-769368badfe7",
"67546434-70d0-48a3-8f14-34c01f4be07b"
]
}
}
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:
"d89c739c-ab69-445f-8905-4107aa058c61"