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": "865741d6-d522-4ed8-9a30-32fe6d0a2027",
"ParentId": "a2c35126-83ac-4557-bd21-1e1adbb4c90f",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"0de870bf-61ab-483e-86e6-51640c19eca1",
"fb76cf6f-91a4-444f-86e5-ac7ae0dd964c"
],
"Companies": [
"a09447d7-b440-4fe0-87b6-2ee963c0b19e",
"c89a7340-ac42-4f50-9a11-9966fe6c3ec4"
],
"Groups": [
"964a86c4-3038-4d81-ad0b-ecb9b6d1b6cb",
"45be6c4d-f391-42b6-be96-d0ce02aff00c"
],
"Opportunities": [
"f577f1b9-4c79-48c1-92e5-4b468208e8f2",
"a7226b5a-5847-4771-8fe8-1d79ac23a99f"
]
}
}
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:
"7290bd08-45dc-440b-a8f9-0c4946437422"