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": "80fd2414-9ba0-4b06-b2d9-be4383cfa62d",
"ParentId": "1b259a86-250b-4e86-ae96-9ba0c6495f33",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"8baf33d3-db70-412f-b06a-981cd7e17884",
"c014627d-d47b-4986-a654-13b577813161"
],
"Companies": [
"f706e188-015c-4398-9fee-7a71b2c319af",
"43d3f816-4cee-4c9e-b646-04114b081330"
],
"Groups": [
"3a8301ef-bade-46c3-84fe-ccb374559ae8",
"d9e04bd6-b551-42a2-b1a0-b6b5e0ea3c8d"
],
"Opportunities": [
"007db5c7-5d75-4206-a71b-922d05efb7ed",
"2b035bdb-b0ab-4e86-ac8d-ffc12ff8e05e"
]
}
}
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:
"6fadd9cc-1bae-4c0d-ab12-bd9819ac7fdb"