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": "d3525a8c-ceb8-4582-a01b-c74b65c66977",
"ParentId": "6c1664f2-e59f-4edb-811b-4cbcc02e6b21",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"8fc6c64f-6b27-4ef0-a5b5-59d6c56b91f4",
"1f712bc2-f14e-465c-b96a-4b814fb76bf5"
],
"Companies": [
"90a4cb4a-5183-48c0-abe9-d85174c76456",
"480b8548-82d7-407f-ac4a-65bcbef9c361"
],
"Groups": [
"46fb887f-17d6-4c1e-931f-f32a1df105a1",
"10e9760e-d077-4a87-9253-5c41d7410ff5"
],
"Opportunities": [
"98f51648-acb2-4bff-b827-9af263023772",
"8f496ff3-cf9c-4fb8-a736-ca575de45d34"
]
}
}
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:
"9adf1fe7-823b-4963-b688-f7a834d084de"