POST api/Opportunities
Create a new Opportunity Record.
Request Information
URI Parameters
None.
Body Parameters
The Opportunity 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": "4814d8ea-ceea-4f5a-9bcd-9da59207ea30",
"ParentId": "4b494843-b62e-448d-ac9e-f74788442e54",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"fb4c91d8-a2f7-487e-bd65-d85d3935a402",
"c7abd691-d58a-43d4-9cb4-26b71437e359"
],
"Companies": [
"66684c01-9813-4369-81dc-ea5c8c8aa875",
"b65e81d2-6307-4fa6-9436-386f361971f2"
],
"Groups": [
"9544de68-cb1f-4de8-bcb8-65fc901a4002",
"8a2064f4-0d83-400e-90bd-9ea48c578ca2"
],
"Opportunities": [
"b5df76b8-152c-4342-8d2d-a5b4f7f94bac",
"5f5b7f33-44af-4243-be13-40c7f7bba93e"
]
}
}
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:
"313e7795-f988-4530-9855-684150725cb3"