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": "641c6e37-4793-4b08-86ba-012e7c686075",
"ParentId": "bebc1ba3-e6e6-4071-b86a-52784025d693",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"ce6ebd42-b26e-4308-814f-23e34e947a43",
"482e9de2-4ef8-4acc-a509-794d35fad055"
],
"Companies": [
"3dfd0d0f-96bb-4357-af77-99b274943a51",
"42902121-6194-411b-b2c1-85dc1f55f2c2"
],
"Groups": [
"9314010c-b4f2-40a8-861c-714106e54e85",
"26d92a65-13d8-4c9e-89fe-5692afbf6c73"
],
"Opportunities": [
"c3f3ec7e-dac1-4a6f-939f-ff2337fbdf41",
"3f89e4a9-7959-4a60-bd45-aea210ba10c1"
]
}
}
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:
"be493c85-a553-4b1c-a099-c5467776677b"