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": "0c0627bf-02ed-406e-826d-ab45afd6356a",
"ParentId": "182ae988-3218-409f-80ab-9e39dd1336fe",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"220cd1d6-2d05-4a30-ae3c-ec2dc330edb4",
"b1f0cb59-a11e-49af-8c12-c5ddbfdfdce5"
],
"Companies": [
"a8f42c8e-f861-4da5-bf54-4a41706d561b",
"6be87735-4efd-486a-be9f-51f5015e56c7"
],
"Groups": [
"aa1083f6-8d9a-4efa-81a7-1d3034693fd0",
"5fa02239-76b3-4e6a-8bc0-075a1de223eb"
],
"Opportunities": [
"64e4d6e5-5503-4f14-9e19-32496759184e",
"14548e26-ab03-408a-8ad6-550dad667c24"
]
}
}
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:
"73479050-5da9-4ada-b7c1-1708bcff6203"