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": "6c77c26c-9f27-497a-89d8-930dbac1fc61",
"ParentId": "6140d420-0253-4bb2-9f73-a1f51e63ab7d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"fdf7e846-f2a3-4a38-989d-6642ba38f777",
"4e8b334a-045f-4392-90f6-ca31529a57b7"
],
"Companies": [
"73c1636c-c1fc-4179-b59c-e02a7e8c5b13",
"e06b06e2-4ed1-4bb9-9fcf-fc60edc664b2"
],
"Groups": [
"3f367c89-e1c6-4a94-a10b-8a93b564c3aa",
"964a9cac-5e81-42be-b4ba-1cf31129ca2f"
],
"Opportunities": [
"d9ca7d85-1db4-4423-894f-be06744f0179",
"6b2b3978-8dfa-4fa4-bb35-8eaeab4c7ae0"
]
}
}
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:
"fb7a8f3b-a2c7-431a-9d1b-4f585208600a"