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": "dcc26ff9-8671-412b-9b22-8b0250ffc149",
"ParentId": "aa304bd7-636c-428a-92da-1263f347889a",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"64b43986-4fda-45b0-8fcf-61ede8ca60bb",
"50ae38a0-fca0-483b-b763-812c00725e54"
],
"Companies": [
"706d5068-d7de-4ae0-8312-ce7d7f1aaa97",
"fbf17020-db88-4c78-b12a-2be30cefa6e0"
],
"Groups": [
"cf52800f-20f2-477d-b758-dbf13af12d05",
"251a0972-f2da-4790-9288-246afa56b779"
],
"Opportunities": [
"36e6785d-77ad-47d1-bf07-020ad61fb9c6",
"529b1904-7a67-420d-b318-41e6c729aa1f"
]
}
}
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:
"149be59f-4bed-4547-9144-649b1a35ca7a"