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": "b93c2c0f-9295-493f-9016-8def7f5824d7",
"ParentId": "ecb7300b-4daf-45a0-8aad-6a4bce32113c",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"c85be79c-f941-4b1d-ac99-a05ec6994bae",
"6607cdf4-6f61-44b1-9b03-58d0fa53ae46"
],
"Companies": [
"611a3fc3-d0d0-4212-a344-9ea7e4c66500",
"73e062a0-b063-4bc7-9411-cb55c520e640"
],
"Groups": [
"f1dddaa4-ce3d-40d4-86a8-dfcce0fead2e",
"950ad568-bc54-423c-85f1-90af127c70a5"
],
"Opportunities": [
"e444ba4a-0eed-417b-904e-504ef3a66a44",
"3c61722f-2d1b-4b9b-bb11-4dec2ea17e2c"
]
}
}
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:
"b9f7d9e1-7ef6-466a-a6ac-5e77502654ab"