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": "210d8522-61d2-45f7-8a11-41e49251738c",
"ParentId": "d0dd23aa-ad26-498d-a897-e7aef6d45730",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"9fce3f4e-9502-4718-9923-56fc75002427",
"32081ec8-d4a1-4893-860f-4f1b669a3c7f"
],
"Companies": [
"c5ac1661-b583-4548-8792-bd96b3f507aa",
"418a1fa4-63d0-4743-9787-8c430f0bc187"
],
"Groups": [
"f978aaec-6236-4c17-846a-06a8284c308b",
"dbd3be55-ff8a-4557-a0ec-26179f986ffc"
],
"Opportunities": [
"6acab722-b8b0-45d0-9524-7222dad2b036",
"689d1eda-ce45-428e-9402-9cc8f5719968"
]
}
}
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:
"910635b2-f278-414e-9cd3-a579848da640"