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": "446b1841-e7b6-4e16-98de-fc970c728083",
"ParentId": "6b60a87d-9d71-497e-b04c-affdf02637c7",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"76027b54-2c72-42ba-a470-a899d0362a94",
"371add68-df4a-450e-8233-6086b9e29e67"
],
"Companies": [
"74b1e7fb-454c-4646-b059-b9e4f0069643",
"bae330cd-20ae-4d3a-8df4-54d045fdad41"
],
"Groups": [
"2b97a7ba-f847-451a-9edc-d5dfd5e7602a",
"21b20302-5404-48a4-98e4-49f452253e16"
],
"Opportunities": [
"78260a47-3803-4882-8867-e290a996078f",
"e494320f-ab49-47ab-b5a2-fbf3581a8f07"
]
}
}
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:
"37270f5a-8c97-4c89-a00e-30be6f8172b0"