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": "57b0643b-8da1-4063-aca1-bd75b3c77457",
"ParentId": "cbf5ad50-e9da-4e6f-8f70-79c899c7b76f",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"e837c4cf-9f69-464a-ad9d-ef093499e7f5",
"cdb5d6d5-95ec-4bd8-bf84-46a927e33628"
],
"Companies": [
"c7b8f6c8-0720-4952-a1a0-8386c3ffc3fe",
"4aecca48-14cb-4713-a9af-7fd13e227f5a"
],
"Groups": [
"8d3a8a36-840d-42ee-884b-c348c1b23e7c",
"aae15f9f-7942-4d38-ae43-46ef55e01d96"
],
"Opportunities": [
"8fadd6b6-2407-4229-b7ba-573c076d8a8b",
"1ec17eec-04b4-4eb9-b432-a30aa1192807"
]
}
}
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:
"1104731c-b35e-42a6-a1d9-48d990fdca2b"