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": "9daf3fe8-38d1-4b65-8296-e2d8734e81d9",
"ParentId": "3c5a5382-de5f-4ea5-92b7-292b72de9b5a",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"a878fa0b-204b-4a51-b2ab-1e9a3848d4fc",
"4a0be9a6-6236-478e-be54-8999adb58e18"
],
"Companies": [
"c7d85caf-5f2b-45b5-af78-1b46abc3083f",
"38c927d7-b2e1-4188-ad84-8b01ff459c00"
],
"Groups": [
"8a27ffbf-ea5a-4a3b-9719-4ff7c3f05d87",
"a206550b-0b6f-43aa-8051-0bcc3790c2eb"
],
"Opportunities": [
"97dbe77f-ce51-4717-b3da-fa7057b02559",
"0f7fe76b-9506-4dc0-81a3-9daeb7ee3181"
]
}
}
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:
"50afb1d4-c5aa-4529-b41e-eac6867cf2a8"