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": "8a008561-dd2b-4308-bc3a-177703b467c3",
"ParentId": "6cb5fbd7-8cda-495f-900a-de0c8504fdec",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"974729ed-cd77-43ce-8ace-88c7d2a4fd40",
"29331624-5dcf-48ab-8276-eeeaa4288ed8"
],
"Companies": [
"50ac2383-40a1-4afd-ac57-8e4beea4efa7",
"c3b1ef68-edca-4f70-bde3-61384c994a85"
],
"Groups": [
"055fa4e9-b0d5-4835-b86d-ddb0f1f45b22",
"efb74d9b-d9a1-4c06-bada-5571951634da"
],
"Opportunities": [
"99913cdc-cf68-4b82-bf04-1bc447189794",
"31bc992b-b88b-4ffb-b33b-d769f1e1cb18"
]
}
}
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:
"cfdbea70-e153-4a27-a0f7-f06b45af2f71"