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": "ad83930b-bb1a-4613-8275-5f7eb78e27c2",
"ParentId": "60851f57-7495-416d-b562-61c904e70df8",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"b9f14b19-b514-4edf-be26-f9ed3c36b80f",
"ffefcf13-a44c-406e-ba82-dea0c2425ad4"
],
"Companies": [
"b6dd82db-4905-4ad5-824d-e1a725170e48",
"5e173db2-357e-4eda-b2ed-a465e11e6a93"
],
"Groups": [
"a0e21b01-b98d-4d2c-8ff5-c46b79581df6",
"e2fc20dc-0d24-442f-8984-8fcd051e9054"
],
"Opportunities": [
"40442d9c-cf17-431b-8574-16357f687e4c",
"e2013400-d5bc-4f3c-8313-71ef04e7fc28"
]
}
}
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:
"77c5a0a1-b812-42e8-b690-5958bfa8badc"