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": "2beef6fa-6275-4674-80f7-19436181129f",
"ParentId": "0c10da08-9a53-48e1-8497-93ece11ab8b7",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"f630508c-dd3f-4cfe-a1f9-edbd0fd296fb",
"73b627bb-d67e-4c1b-9956-ac49680b06af"
],
"Companies": [
"b9ea0628-0b3b-48fc-8164-f8bf36193aef",
"b3058c6b-da9f-4235-9cc5-26ee0ffb482b"
],
"Groups": [
"9dba4957-1254-4d6a-a69a-8d690f7762a0",
"45858970-1bb8-4cfe-90ae-ca6bc0f6be45"
],
"Opportunities": [
"890191af-f81a-4dab-97c3-a2fd3fa0b374",
"ca1420ca-5e33-4ea8-9467-4ec039bda385"
]
}
}
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:
"36f14300-f547-463c-ae28-b8a9118c5148"