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": "34661d63-f502-4135-a353-107fcae3f46e",
"ParentId": "b6a324ca-e434-4101-bd92-91a5487b5911",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"d0679949-2bf4-49b6-a93c-b306f78d33c5",
"ce61f8ea-789d-4e64-8051-0d0a94753fc6"
],
"Companies": [
"36b56f00-1486-47de-95dd-3083eda9642d",
"e5267444-c58d-4a7b-a2f3-7ec6245a2bc9"
],
"Groups": [
"23be75ab-6da0-495c-8d43-bbf3cc975462",
"78c44c44-1df9-4c08-9c8c-6803e8777f50"
],
"Opportunities": [
"259d3a15-d62a-4e75-a83f-ff25f870e623",
"8696a4b8-742e-435e-9c62-68966f44070b"
]
}
}
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:
"d9ff1145-8db5-4e3f-8497-e3837d7a2d1e"