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": "9832d191-03f6-4c72-a966-acc9b8e1df6a",
"ParentId": "baf96422-4102-4ad9-9be6-8bbf0d36d561",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"a710d63b-3ad4-4b77-952e-69cc961f4208",
"1cf25473-fa2b-42de-8395-4a2196b35fe1"
],
"Companies": [
"e25d1c3d-6076-4511-9382-edea08d6bc94",
"c24242fd-e66b-491b-bca2-88c19b82263b"
],
"Groups": [
"c939d2e7-2c98-4734-aa04-3aa25e31686f",
"cf2e4faf-8ff7-4325-a05f-5503cd303865"
],
"Opportunities": [
"11597da6-c1bb-4fd6-b86b-59cf84abb141",
"549b4f70-0770-4492-8c5d-2ba3ddd1db50"
]
}
}
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:
"3b1bb280-f251-47fc-8f57-c8e97655fce6"