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": "c2fe1203-2190-475d-8546-1664c1cf6a2f",
"ParentId": "f5498224-6caa-42ad-9352-e08cc22998f8",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"7a93448d-00d6-46ee-97a1-da659ee68336",
"9349d25f-a82c-4e70-9246-172abbb4a0a8"
],
"Companies": [
"5bc901f8-9a76-4299-9833-de5219e389c6",
"b1cc0be5-2658-4df9-9680-e0ae8fe21026"
],
"Groups": [
"dc61bdb7-fd2a-4f87-87b3-61b55699374d",
"deacc534-5707-4362-9e8e-6d392b65e561"
],
"Opportunities": [
"f630acd5-9889-4159-bf28-7ec621e367f2",
"0c2c1dd8-774d-4665-a7c8-538c9bf352af"
]
}
}
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:
"f7c60bb1-5037-4949-837a-850f167a74e0"