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": "9b978141-d720-4cc4-a1ab-9bc5ddcb648e",
"ParentId": "1a54cceb-7bfc-4287-a5ea-a2a8568e183a",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"19fccb97-f958-434b-934f-c7eb834b6236",
"cb5f29e9-158d-4a9e-911f-b5066b3a160b"
],
"Companies": [
"02d44ae9-04f2-4c48-9c60-70900b7ce37b",
"fed9607a-ec52-4ac7-abcd-c7fbde23b1a7"
],
"Groups": [
"b222825a-bdca-4496-94d5-bfddbcd04404",
"067599e9-b330-4740-a476-3de84e353e88"
],
"Opportunities": [
"5fcf16e2-51cc-4ba2-8c7b-24d72d71457d",
"4e591abc-5724-4ff5-a914-03f63f0aa68d"
]
}
}
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:
"e3b2c257-2590-4e3f-b6be-15391e0148ea"