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": "fab7726e-0827-4914-b8de-d8a13114c70f",
"ParentId": "8059f268-0836-417e-843a-060feab47da4",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"afdf9e41-6117-44ec-9873-2f988665f430",
"442f8bb3-1313-4f6a-9aa6-0b61872f11c3"
],
"Companies": [
"ddf763b2-beb2-45a5-a6c9-13c59c2530ad",
"24e5f15d-ec6d-410e-844b-876f2fb530b0"
],
"Groups": [
"af8e6d31-64e3-46c7-ba98-71b60f8922d0",
"b67abf76-fd96-46db-bc3b-50e9c679f218"
],
"Opportunities": [
"1bc9f63d-f452-4ca6-96ac-e41011573630",
"c7bf6418-592a-4536-90d0-f6b02f35115b"
]
}
}
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:
"f3f125ae-a890-4256-888f-d483dca9ef77"