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": "1c4d3051-78d5-4fd9-bf2a-2310d2b9a084",
"ParentId": "fb17c864-081d-4f69-a408-37c062b2150e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"0521fb9f-f9cb-4a32-aa46-ba3635c36781",
"c3c24ccf-80d8-47cf-b899-4fee1f3b5ddc"
],
"Companies": [
"b377049b-f9a5-43a2-ab55-151550739b60",
"2b617aff-290a-4f2d-8735-913b21547c8f"
],
"Groups": [
"4a7992c4-8d75-4ef7-9ef7-4fab0e381a26",
"ae42072f-4e6d-4aa0-b03e-3515377a9002"
],
"Opportunities": [
"28c2e41f-5caf-4593-a312-519a991ad65a",
"cf1084d1-b70c-49b2-8012-59a1b2ad3f3e"
]
}
}
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:
"9651dc13-3dc6-4042-8103-0b807db4cf41"