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": "589e5b70-c54a-4d7d-ae17-64a0676e09b2",
"ParentId": "44861a0a-0f69-46ae-8739-5793d7cfe3e0",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"0d967ade-9ada-4505-9079-bea8824ef506",
"ff59b973-83f0-4be8-b40f-d39f6f02598b"
],
"Companies": [
"c238ec1a-7302-44dd-96a8-1d97dfbf6c8a",
"794c8c82-2fb0-4571-a6a3-c6254baee0ab"
],
"Groups": [
"d4f7a137-99a1-4b11-b97f-64582a24ddc1",
"77d3cc7b-6695-47e2-849a-5e7d1f7ef68a"
],
"Opportunities": [
"ee6cf8c5-5912-4d46-9475-bbb64ba0a3f9",
"e749a4cd-ecbb-473f-895d-623c621c61db"
]
}
}
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:
"c1538aa8-9892-4530-ad07-61e6554a9702"