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": "27134c22-b4ad-42ff-823d-87d8ca64277f",
"ParentId": "7eeaa4c0-0a0f-4349-be76-f58a77267bb0",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"cd641b7a-9478-488d-a631-d0fe6a7eee82",
"eba75dac-491d-4f58-9d92-928f3f502842"
],
"Companies": [
"a3ff713e-7001-44e0-bbdc-d8880430710d",
"59af1a18-2902-4e13-ad3d-c66a6186fd7f"
],
"Groups": [
"a19a1d5c-8077-4e71-a898-a1a2b791ecc1",
"c10211b6-c13e-44d1-a13f-b7eedf36d6dd"
],
"Opportunities": [
"037cff12-ce57-457a-903a-7d7911e2c700",
"9f048f3a-2b5f-4bae-bca5-5654d3e44662"
]
}
}
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:
"5a696170-3423-464f-a0d6-9aa5e07651b8"