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": "14880307-8937-4134-9d5d-c02235ad22e1",
"ParentId": "044c66f7-4b96-4ce5-82c9-ebebab6c5c36",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"27cbba11-0e65-4f51-9447-05ef1acd2f06",
"160b02c3-2a81-41f5-b762-db7a545675a7"
],
"Companies": [
"7e713fa7-19bf-4693-8e77-56bd1e5db004",
"8ea0afaa-3416-4646-8c6d-fd1476ef3c80"
],
"Groups": [
"dc23bfd0-bd03-40b8-a8da-f434cb32f16e",
"c2becce7-2070-4d0c-b966-50f7592eafe1"
],
"Opportunities": [
"946abc2e-776a-40ff-9599-8449188e3970",
"981245d8-56c8-47a5-9d29-4c525cbb55d6"
]
}
}
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:
"ecec72a9-4766-404e-9702-e506a0e11617"