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": "d5534d99-2fa0-499c-9f2b-42abb47ce952",
"ParentId": "b6adce37-2a92-4495-8886-1034f73a5cef",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"9f596a68-3299-41a0-b224-c728a62ddc69",
"baecdddd-a6ab-4763-b8e3-06f7fe4328b0"
],
"Companies": [
"d285ba64-c148-42bd-8192-8f88ea6b743a",
"061fcdf7-e32e-4f56-98ec-bda7b2ef6301"
],
"Groups": [
"78c4447f-2071-4dbe-961e-058004194cb4",
"17221a9a-6798-45f7-8baf-b14c8f7ed14c"
],
"Opportunities": [
"6668bab5-19f9-44d2-b61a-caf47d7357c7",
"ec8d2bf7-d056-4208-810d-6530a303bfc2"
]
}
}
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:
"01172d98-b548-4b79-8498-fe71fab5b0b1"