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": "7ae743db-85e9-4a5b-8d6c-96f12585d821",
"ParentId": "69807db4-e68d-4b91-8593-29ae73271ce1",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"43aee365-b226-43a1-a6f2-944608c796ad",
"288d0441-054a-4c26-b406-5a49e0efd07c"
],
"Companies": [
"c17f4ed1-bf91-4984-ab1b-e343618357bf",
"0ca87924-c9ac-4ff3-befc-6fbdfa995054"
],
"Groups": [
"25e5bd90-f470-45f9-8795-273b72f14d26",
"c46c2b70-e297-4f43-893d-66b276f68528"
],
"Opportunities": [
"6206c7e9-e6a1-4f91-87e1-cd5289fa2a99",
"6364d839-34c7-4334-8dbb-2922642286dd"
]
}
}
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:
"6df0b7d4-86b5-46b3-95e5-31f54efa3d56"