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": "06b2e4cb-3f41-4d39-a100-d1baaa84f0a3",
"ParentId": "c3e83110-5b4e-409d-8487-bd5c84500532",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"df7255ac-905f-4d53-b934-d364d1cc0ca1",
"ad7a83e1-e8d7-4210-8dad-19fe1444e141"
],
"Companies": [
"00da1830-03b2-401c-ba67-03100be4feb5",
"df3f0fc2-b522-4b2f-bd73-3795e00259d0"
],
"Groups": [
"229868c1-8d06-4b8b-8197-e32006bb9ea1",
"a977453b-8643-4198-b86e-1cae95ccca83"
],
"Opportunities": [
"7ae70275-3e7e-4fc1-8bc7-7ead12721f67",
"c28e8b75-d7fb-4b0a-b5b6-1ba52d8df683"
]
}
}
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:
"c759a9d0-c1b5-47c5-8cbe-434c05b728a0"