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": "0677240f-af21-4852-886f-ff14cfac1b3d",
"ParentId": "799bf1cf-f308-41af-8547-0764b2b7a210",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"515227bd-82aa-404a-a2b4-9b7fe5491484",
"b5bdc853-10bd-4bf1-9d87-12edb94ad26f"
],
"Companies": [
"039e3836-0624-4bbf-a641-53c9a35065e3",
"84f4ac30-cd1c-44d5-b860-97b7a45e901d"
],
"Groups": [
"425155af-8854-4185-80db-db9a38d93af7",
"811670cc-f808-4b21-a2bf-1f253fc36801"
],
"Opportunities": [
"99193552-f80e-41e8-9d1b-d97b484dcae2",
"a3df653f-cb6c-4492-a1f5-64090a3177be"
]
}
}
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:
"097cb459-5eef-4b55-b71c-b0c7f0a75b00"