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": "d6bf22dc-c626-4ba7-823d-ff3524ae1272",
"ParentId": "878f7111-8b98-4a89-8d19-d3034ed285b9",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"28443870-005d-4805-9d06-00c118688430",
"deda4205-041f-461c-846c-734db33d3060"
],
"Companies": [
"418d07e8-6cb2-4c0f-af19-483fccd1ec2b",
"79bbf075-46b7-4e7a-96ad-a74fc4964b7b"
],
"Groups": [
"8d0b8a81-9cfe-4ba0-99e1-ae1472141eac",
"0afbb9eb-862d-4496-9395-32a512bf7f10"
],
"Opportunities": [
"0320f1c1-a32d-409b-b9cd-fc8a5302b804",
"fcd4de6c-0bdf-4351-a6a0-ccd01666f622"
]
}
}
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:
"f79a04a0-328c-435f-8402-d0effd7d298b"