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": "42c94f75-b3dc-4287-99b9-30de1156b640",
"ParentId": "0ac0fe1e-7bb2-4b30-b23d-284863beba8b",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"378bf344-a76c-4b77-9618-c70717df91a8",
"8703c2eb-b249-42f4-a78c-2348b86d1a36"
],
"Companies": [
"4aa6f1c0-e9a7-47ea-89e6-b075a76e4012",
"afbdd236-3783-4865-a3be-230740f72cbf"
],
"Groups": [
"92f62036-4d7c-4eba-bb07-f03416772bff",
"2e2d9c3b-ffba-436a-80f6-e883934680ca"
],
"Opportunities": [
"4bc86f45-0970-4686-9418-a2d3558b718d",
"d19ecb9a-881f-424f-a554-006250808f62"
]
}
}
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:
"4d070253-3552-4858-9291-75edee3937c4"