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": "8a93259a-b7cb-4629-8faf-ea2ea384bd6b",
"ParentId": "1f1d813a-d44f-4741-af28-81d799b97fd5",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"fd78d58e-3178-48f8-902d-0f1dd11da00c",
"33bc79eb-0da7-4707-9385-55f1c0246857"
],
"Companies": [
"4d67273c-6793-48b6-9277-a19a733370e1",
"9b58334f-6edc-40db-9b9e-e589f5ad3880"
],
"Groups": [
"6e466e3a-d35c-450a-b5f3-cace16f63914",
"85d30d58-ba15-4f5d-adf7-521104ff9baa"
],
"Opportunities": [
"d33a33ac-be4a-4972-bce3-9fc9ce54721a",
"3b6967f8-d7ac-4cba-9ed0-4bb74dd75629"
]
}
}
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:
"33dde154-3b2a-4f6d-a72f-c2bedb8616b0"