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": "9d52c930-f0f2-4fa6-b6c5-00d36b5ac09d",
"ParentId": "09097e13-5bfd-4db0-843b-3ebea7d391be",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"d09adc57-51b6-4a52-a2d8-99da7db66820",
"b4d47d12-a3b3-45b1-a9f0-98099b1ee497"
],
"Companies": [
"13206a1b-415d-4e10-b531-680e18887b39",
"dd626f8a-826b-4367-9874-b7c8d8cef329"
],
"Groups": [
"0d366691-937b-401b-a749-031b51fd88d8",
"7a1905fd-7c38-4182-aceb-41990cf4f59d"
],
"Opportunities": [
"b9f8a155-a4f4-4746-a102-679c681d2e89",
"ce98c868-fd0b-4cae-a027-64de116b674f"
]
}
}
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:
"8c8cd459-8147-4954-9338-5acfc7978681"