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": "ec7f216d-2c55-4302-98cc-4a31024e7918",
"ParentId": "7839ce1b-6df2-4828-a3eb-5ce1d5869611",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"86737375-c097-4a27-b14e-18a22f498041",
"897ec449-2205-495a-ab01-60ec17687b4e"
],
"Companies": [
"363075b8-d2e1-4160-8868-70e7a94b798f",
"ec87addf-107d-4ee9-9ff5-1a87c637cc64"
],
"Groups": [
"ff9b8fd7-0ccd-4af6-b688-a73d4b5beff1",
"7eb9fb49-0238-4abb-a631-a0cc170bd45d"
],
"Opportunities": [
"7e15b4f1-8c1d-4d5e-9df9-f9f2abdd7f31",
"bf203008-0389-461b-96a4-86be38e38d6d"
]
}
}
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:
"289f637d-61c8-4a97-8aac-c4c37a6528d4"