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": "9bb2aee7-9f26-4a49-8c26-9573afbf36ea",
"ParentId": "dc552684-a88e-4d2c-a12e-2e78b99efa6b",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"53b5ff59-ab49-413e-bd25-36723e5c21ca",
"6acd5532-818c-420b-8abd-cdfe4314d6d6"
],
"Companies": [
"982690eb-6f3c-4554-8aff-cab19a966aaa",
"0210f2db-6959-44da-9f81-6b40cf209f43"
],
"Groups": [
"9686edf5-2da3-4499-9ee5-b12fe6bd6444",
"536830f0-f46d-480e-bf99-ca29ca5b4148"
],
"Opportunities": [
"bf9c4f8a-f81f-492d-9f4e-71f98d6c0dd0",
"c6713d8e-7636-43f9-98b1-368c72d278aa"
]
}
}
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:
"a27d7ac6-33dc-4875-9fd7-25c29d7c6aac"