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": "ffe48f00-df10-4cf2-909f-35dc19564dd3",
"ParentId": "5495a0b5-91f5-4036-99b3-6131ba1c49db",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"73a47775-2825-415c-bfac-b51dfd1dec2c",
"3371615b-5ad9-4d94-89bf-3c81deff2300"
],
"Companies": [
"93f84254-b98a-4445-8557-37f902d66102",
"012dc86a-b8b9-4f13-9c34-51af472dec8b"
],
"Groups": [
"a5753d2c-b5e2-45a0-85fd-e8482bb58ad1",
"e6efde6c-dab0-4074-81ff-fe7ad57066ab"
],
"Opportunities": [
"a155105c-68b7-4b01-bf48-07fd6cc3a59b",
"acc550a0-1dc7-4fe8-8160-db246b1fe852"
]
}
}
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:
"eeefb5c1-f016-4465-9fd3-85766bca7bff"