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": "46734a64-75f5-4bdd-a10f-77ca0f091759",
"ParentId": "55a429b7-7f57-4dd1-bc01-369a247f3fab",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"e85009ce-18da-4d8e-a0e0-5063e045ebf2",
"3a38293c-f608-4235-9383-d78d97c7f167"
],
"Companies": [
"ac9be2c5-9023-4fa9-9da2-9ab86eeec9bb",
"9b2ecb6f-1eaa-4bce-846b-3cb550f98617"
],
"Groups": [
"9f79eb6f-0332-45d2-8e21-daa553dc32d1",
"fac2af73-5517-45a1-ba5a-20067a20c719"
],
"Opportunities": [
"39e15ef8-da22-4883-9547-482168a11308",
"bf174718-315b-457c-9bc5-3197f7117360"
]
}
}
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:
"e62fbcea-6876-4c25-b418-33543ef3f866"