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": "a61a3e54-6d0f-4526-b3a3-e6dfff573682",
"ParentId": "28000f6f-0f48-4024-ab67-89566683e45f",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"d23347ca-686b-436b-8cf8-3f8bde5c6c14",
"16721170-a12a-4d30-9551-ce07927d2f5c"
],
"Companies": [
"08c02e61-b87d-4ea9-9b6f-399681855406",
"de51af32-c2eb-4afa-8a5d-4b15ee30407f"
],
"Groups": [
"47c552f6-eec3-4fdc-bb87-b87879892a1d",
"d2264cfa-d3d9-4a68-9017-fd0e8fbb897c"
],
"Opportunities": [
"7ee7f8ee-9f5f-4423-8d62-35f751c8a81f",
"a0c0dcf0-24a2-4f89-9bb8-19228d6e7221"
]
}
}
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:
"5eb6f9b9-3513-4a3b-acf0-768acc993ed0"