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": "d7ca10b6-3642-4fd2-8317-03a6b7282b43",
"ParentId": "b8e02cde-5684-45aa-b365-798862b63e49",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"d0172eee-a9e7-4772-8c37-91d525e7c200",
"876f87e3-0292-4383-b954-e1c1f1e4e673"
],
"Companies": [
"52d376a4-746a-4a0b-a952-64441969c0a2",
"1547c2ca-2f43-4cd6-b0e5-34ea3f73a997"
],
"Groups": [
"4d64742a-00c9-45d0-ba6f-6917b9d8fda5",
"49469e81-48db-4cf6-9696-49d9895e572e"
],
"Opportunities": [
"0b40d129-22b6-40e0-91a3-028b449dacc5",
"e1ef77f4-e344-4556-b2f5-a0c8be8a9569"
]
}
}
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:
"016a8d2a-6f04-4ec6-8924-2b118f76107b"