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": "4102aba1-314a-41b9-b6fe-bfdd8f86242a",
"ParentId": "2e7d283d-f5bc-4ac6-9ced-8b67023b0d90",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"5a1d68ff-4510-4d37-8eee-c7ab5857f8a5",
"fa2a487c-36d1-4428-b6d5-0c4d7ef7d0ea"
],
"Companies": [
"0c1c3a7f-c2ad-4fd5-a781-70d5558da7d3",
"ff87baae-f08b-4ce2-a884-3e62369c3e7e"
],
"Groups": [
"c39a0e24-85c3-416d-aa4a-75376d29cfe4",
"591b67a7-0733-4439-8bb2-2189c0ae5a8f"
],
"Opportunities": [
"6bfe453c-c0e0-41af-93cd-2b7488374d53",
"9bb27113-cd62-42ef-99fb-ebb61c70eab3"
]
}
}
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:
"39e15d3c-cb4f-43c9-8e3b-fafb7f89a8da"