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": "6f5f6c2d-1290-4e78-a652-cd3fce8f49a3",
"ParentId": "2d84b5fc-97dd-4690-b458-915d8364310c",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"1c0b7b09-0608-4cd3-8fd3-baf5fd276bec",
"e490aa1c-a2b8-4071-8ddb-b8db7f211ec1"
],
"Companies": [
"a31a7b29-060d-4109-a5a6-6e83da3e084d",
"3f21dc4f-c809-459b-bdf3-4f19757d2b30"
],
"Groups": [
"59c72f08-7ebd-47d6-9bfc-559c5f9dd224",
"44b105dc-fab7-4195-a356-1716028ec026"
],
"Opportunities": [
"a46e2785-8aa9-4da9-8023-ec67ae0b2db1",
"1928ec40-2eb3-4bb4-b5b1-93aa62f1b55c"
]
}
}
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:
"0d0e4fb7-db8d-42da-b1a1-8633695e771a"